Skip to content

Commit

Permalink
Update ADR
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez committed Mar 25, 2020
1 parent c4a4047 commit f20db1c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/architecture/adr-020-protobuf-transaction-encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f20db1c

Please sign in to comment.