Skip to content

Commit

Permalink
Tx Height Timeout (cosmos#6089)
Browse files Browse the repository at this point in the history
* Implement TxHeightTimeoutDecorator

* Update error message

* rename type

* set height timeout

* update tests

* update *SignDoc)

* rename

* remove dup

* fix build

* cli updates

* rest updates

* cl++

* Update x/auth/ante/basic.go

Co-authored-by: colin axnér <[email protected]>

* Update x/auth/ante/basic.go

Co-authored-by: colin axnér <[email protected]>

* Update x/auth/ante/basic.go

Co-authored-by: colin axnér <[email protected]>

* Update x/auth/ante/basic.go

Co-authored-by: Federico Kunze <[email protected]>

* rename

* rename

* remove TimeoutHeight from SignDoc

* updates

* fix tests

* update IBC cmd flags

* use omitempty

* update godoc

* add test case to TestStdSignBytes

Co-authored-by: colin axnér <[email protected]>
Co-authored-by: Federico Kunze <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Aug 7, 2020
1 parent bcd0d00 commit c3a67ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions params/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ func MakeEncodingConfig() EncodingConfig {
amino := codec.New()
interfaceRegistry := types.NewInterfaceRegistry()
marshaler := codec.NewHybridCodec(amino, interfaceRegistry)
txGen := tx.NewTxConfig(codec.NewProtoCodec(interfaceRegistry), std.DefaultPublicKeyCodec{}, tx.DefaultSignModes)
txCfg := tx.NewTxConfig(codec.NewProtoCodec(interfaceRegistry), std.DefaultPublicKeyCodec{}, tx.DefaultSignModes)

return EncodingConfig{
InterfaceRegistry: interfaceRegistry,
Marshaler: marshaler,
TxConfig: txGen,
TxConfig: txCfg,
Amino: amino,
}
}

0 comments on commit c3a67ff

Please sign in to comment.