Merge pull request #6085: Move codec/std to std

This commit is contained in:
Aaron Craelius
2020-04-27 15:40:50 -04:00
committed by GitHub
parent 9b51908597
commit cc90f2e002
39 changed files with 233 additions and 234 deletions
+2 -2
View File
@@ -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()