Add max txs limit to tx pool

This commit is contained in:
Arnau B
2021-01-04 13:16:20 +01:00
parent 926943cb71
commit 622e01e9af
3 changed files with 43 additions and 49 deletions

View File

@@ -217,7 +217,7 @@ func TestMain(m *testing.M) {
panic(err)
}
// L2DB
l2DB := l2db.NewL2DB(database, 10, 100, 24*time.Hour)
l2DB := l2db.NewL2DB(database, 10, 1000, 24*time.Hour)
test.WipeDB(l2DB.DB()) // this will clean HistoryDB and L2DB
// Config (smart contract constants)
chainID := uint16(0)