Merge PR #90: Updates reflecting sdk v0.36.0-rc4

This commit is contained in:
Alexander Bezobchuk
2019-08-06 20:23:22 -04:00
committed by GitHub
parent d4556022bb
commit 7b1465968b
6 changed files with 36 additions and 28 deletions

View File

@@ -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