Update ADR
This commit is contained in:
parent
c4a4047ed2
commit
f20db1c835
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue