Merge PR #90: Updates reflecting sdk v0.36.0-rc4
This commit is contained in:
committed by
GitHub
parent
d4556022bb
commit
7b1465968b
@@ -377,7 +377,7 @@ func BenchmarkFullAppSimulation(b *testing.B) {
|
||||
db, _ = sdk.NewLevelDB("Simulation", dir)
|
||||
defer func() {
|
||||
db.Close()
|
||||
os.RemoveAll(dir)
|
||||
_ = os.RemoveAll(dir)
|
||||
}()
|
||||
app := NewGaiaApp(logger, db, nil, true, 0)
|
||||
|
||||
@@ -446,7 +446,7 @@ func TestFullAppSimulation(t *testing.T) {
|
||||
|
||||
defer func() {
|
||||
db.Close()
|
||||
os.RemoveAll(dir)
|
||||
_ = os.RemoveAll(dir)
|
||||
}()
|
||||
|
||||
app := NewGaiaApp(logger, db, nil, true, 0, fauxMerkleModeOpt)
|
||||
@@ -504,7 +504,7 @@ func TestAppImportExport(t *testing.T) {
|
||||
|
||||
defer func() {
|
||||
db.Close()
|
||||
os.RemoveAll(dir)
|
||||
_ = os.RemoveAll(dir)
|
||||
}()
|
||||
|
||||
app := NewGaiaApp(logger, db, nil, true, 0, fauxMerkleModeOpt)
|
||||
@@ -565,11 +565,11 @@ func TestAppImportExport(t *testing.T) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
ctxB := newApp.NewContext(true, abci.Header{})
|
||||
ctxB := newApp.NewContext(true, abci.Header{Height: app.LastBlockHeight()})
|
||||
newApp.mm.InitGenesis(ctxB, genesisState)
|
||||
|
||||
fmt.Printf("Comparing stores...\n")
|
||||
ctxA := app.NewContext(true, abci.Header{})
|
||||
ctxA := app.NewContext(true, abci.Header{Height: app.LastBlockHeight()})
|
||||
|
||||
type StoreKeysPrefixes struct {
|
||||
A sdk.StoreKey
|
||||
|
||||
Reference in New Issue
Block a user