Merge pull request #6085: Move codec/std to std
This commit is contained in:
@@ -2,6 +2,7 @@ package simulation_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/cosmos/cosmos-sdk/std"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -11,7 +12,6 @@ import (
|
||||
tmkv "github.com/tendermint/tendermint/libs/kv"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
codecstd "github.com/cosmos/cosmos-sdk/codec/std"
|
||||
"github.com/cosmos/cosmos-sdk/simapp"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/x/staking/simulation"
|
||||
@@ -33,7 +33,7 @@ func makeTestCodec() (cdc *codec.Codec) {
|
||||
}
|
||||
|
||||
func TestDecodeStore(t *testing.T) {
|
||||
cdc := codecstd.NewAppCodec(codecstd.MakeCodec(simapp.ModuleBasics))
|
||||
cdc := std.NewAppCodec(std.MakeCodec(simapp.ModuleBasics))
|
||||
dec := simulation.NewDecodeStore(cdc)
|
||||
|
||||
bondTime := time.Now().UTC()
|
||||
|
||||
Reference in New Issue
Block a user