chore: iavl-v0.20-alpha1 and cosmos-db (#14411)

Co-authored-by: marbar3778 <marbar3778@yahoo.com>
This commit is contained in:
Jacob Gadikian
2022-12-28 21:42:00 +01:00
committed by GitHub
co-authored by marbar3778
parent 829c487de8
commit 1bb0629846
95 changed files with 1279 additions and 864 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ import (
"fmt"
"path/filepath"
db "github.com/cosmos/cosmos-db"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/types"
db "github.com/tendermint/tm-db"
"google.golang.org/grpc"
bam "github.com/cosmos/cosmos-sdk/baseapp"
@@ -24,7 +24,7 @@ import (
// similar to a real app. Make sure rootDir is empty before running the test,
// in order to guarantee consistent results.
func NewApp(rootDir string, logger log.Logger) (abci.Application, error) {
db, err := db.NewGoLevelDB("mock", filepath.Join(rootDir, "data"))
db, err := db.NewGoLevelDB("mock", filepath.Join(rootDir, "data"), nil)
if err != nil {
return nil, err
}
+1 -1
View File
@@ -3,8 +3,8 @@ package mock
import (
"io"
dbm "github.com/cosmos/cosmos-db"
protoio "github.com/cosmos/gogoproto/io"
dbm "github.com/tendermint/tm-db"
pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types"
snapshottypes "github.com/cosmos/cosmos-sdk/store/snapshots/types"
+1 -1
View File
@@ -3,8 +3,8 @@ package mock
import (
"testing"
dbm "github.com/cosmos/cosmos-db"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"