Merge pull request #423 from hermeznetwork/feature/integration27

Delete old checkpoints in stateDB automatically & Don't log errors when context done
This commit is contained in:
arnau
2020-12-28 11:15:00 +01:00
committed by GitHub
19 changed files with 216 additions and 81 deletions

View File

@@ -212,7 +212,7 @@ func TestMain(m *testing.M) {
}
}()
chainID := uint16(0)
sdb, err := statedb.NewStateDB(dir, statedb.TypeTxSelector, 0, chainID)
sdb, err := statedb.NewStateDB(dir, 128, statedb.TypeTxSelector, 0, chainID)
if err != nil {
panic(err)
}