Update ADR

This commit is contained in:
Aleksandr Bezobchuk 2020-03-25 11:03:36 -04:00
parent c4a4047ed2
commit f20db1c835
No known key found for this signature in database
GPG Key ID: 7DAC30FBD99879B0
1 changed files with 5 additions and 4 deletions

View File

@ -125,10 +125,11 @@ type ClientTx interface {
We then update `CLIContext` to have a new field: `Marshler`.
Then, each module client handler will at the minimum accept a `Marshaler` instead
of a concrete Amino codec and a `Generator`. If the module needs to work with any
interface types, it will use the `Codec` interface defined by the module which also
extends `Marshaler`.
Then, each module's client handler will at the minimum accept a `Marshaler` instead
of a concrete Amino codec and a `Generator` along with an `AccountRetriever` so
that account fields can be retrieved for signing. If the module needs to work with
any interface types, it will use the `Codec` interface defined by the module which
also extends `Marshaler`.
## Future Improvements