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
@@ -3,6 +3,7 @@ package simulation_test
import (
"encoding/binary"
"fmt"
"github.com/cosmos/cosmos-sdk/std"
"testing"
"time"
@@ -11,7 +12,6 @@ import (
"github.com/tendermint/tendermint/crypto/ed25519"
tmkv "github.com/tendermint/tendermint/libs/kv"
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/gov/simulation"
@@ -24,7 +24,7 @@ var (
)
func TestDecodeStore(t *testing.T) {
cdc := codecstd.NewAppCodec(codecstd.MakeCodec(simapp.ModuleBasics))
cdc := std.NewAppCodec(std.MakeCodec(simapp.ModuleBasics))
dec := simulation.NewDecodeStore(cdc)
endTime := time.Now().UTC()