Update testcase after rebase

This commit is contained in:
Christopher Goes 2018-04-25 22:03:45 +02:00
parent db3a82fc97
commit 36e096d4bb
No known key found for this signature in database
GPG Key ID: E828D98232D328D3
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import (
"github.com/stretchr/testify/assert"
dbm "github.com/tendermint/tmlibs/db"
"github.com/tendermint/tmlibs/log"
abci "github.com/tendermint/abci/types"
@ -24,7 +25,7 @@ func defaultComponents(key sdk.StoreKey) (sdk.Context, *wire.Codec) {
cms := store.NewCommitMultiStore(db)
cms.MountStoreWithDB(key, sdk.StoreTypeIAVL, db)
cms.LoadLatestVersion()
ctx := sdk.NewContext(cms, abci.Header{}, false, nil)
ctx := sdk.NewContext(cms, abci.Header{}, false, nil, log.NewNopLogger())
cdc := wire.NewCodec()
return ctx, cdc
}