all: update tm-db to 0.6.5

This commit is contained in:
Tess Rinearson
2021-08-06 11:46:34 +02:00
parent 823f2acb14
commit 97fd8f136e
46 changed files with 243 additions and 245 deletions
+2 -3
View File
@@ -7,14 +7,13 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
abci "github.com/tendermint/tendermint/abci/types"
tmstate "github.com/tendermint/tendermint/proto/tendermint/state"
ctypes "github.com/tendermint/tendermint/rpc/core/types"
rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tm-db/memdb"
)
func TestBlockchainInfo(t *testing.T) {
@@ -81,7 +80,7 @@ func TestBlockResults(t *testing.T) {
}
env := &Environment{}
env.StateStore = sm.NewStore(dbm.NewMemDB())
env.StateStore = sm.NewStore(memdb.NewDB())
err := env.StateStore.SaveABCIResponses(100, results)
require.NoError(t, err)
env.BlockStore = mockBlockStore{height: 100}