Skip to content

Commit

Permalink
Robert/move amino stdtx (cosmos#7301)
Browse files Browse the repository at this point in the history
* x/auth: move amino StdTx... to a legacy package

* legacytx: move RegisterLegacyAminoCodec from init to tests/init

* merge fixes

Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 22, 2020
1 parent b5ea3ab commit 85683fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions params/amino.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package params
import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx"
)

// MakeEncodingConfig creates an EncodingConfig for an amino based test configuration.
Expand All @@ -17,7 +17,7 @@ func MakeEncodingConfig() EncodingConfig {
return EncodingConfig{
InterfaceRegistry: interfaceRegistry,
Marshaler: marshaler,
TxConfig: authtypes.StdTxConfig{Cdc: cdc},
TxConfig: legacytx.StdTxConfig{Cdc: cdc},
Amino: cdc,
}
}

0 comments on commit 85683fd

Please sign in to comment.