Skip to content

Commit

Permalink
core/txpool/blobpool: fix rebase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Jul 27, 2023
1 parent 844c72c commit 2f445b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/txpool/blobpool/blobpool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ func TestOpenDrops(t *testing.T) {
statedb.AddBalance(crypto.PubkeyToAddress(exceeder.PublicKey), big.NewInt(1000000))
statedb.AddBalance(crypto.PubkeyToAddress(overdrafter.PublicKey), big.NewInt(1000000))
statedb.AddBalance(crypto.PubkeyToAddress(overcapper.PublicKey), big.NewInt(10000000))
statedb.Commit(true)
statedb.Commit(0, true)

chain := &testBlockChain{
config: testChainConfig,
Expand Down Expand Up @@ -632,7 +632,7 @@ func TestOpenIndex(t *testing.T) {
// Create a blob pool out of the pre-seeded data
statedb, _ := state.New(types.EmptyRootHash, state.NewDatabase(rawdb.NewDatabase(memorydb.New())), nil)
statedb.AddBalance(addr, big.NewInt(1_000_000_000))
statedb.Commit(true)
statedb.Commit(0, true)

chain := &testBlockChain{
config: testChainConfig,
Expand Down Expand Up @@ -734,7 +734,7 @@ func TestOpenHeap(t *testing.T) {
statedb.AddBalance(addr1, big.NewInt(1_000_000_000))
statedb.AddBalance(addr2, big.NewInt(1_000_000_000))
statedb.AddBalance(addr3, big.NewInt(1_000_000_000))
statedb.Commit(true)
statedb.Commit(0, true)

chain := &testBlockChain{
config: testChainConfig,
Expand Down Expand Up @@ -814,7 +814,7 @@ func TestOpenCap(t *testing.T) {
statedb.AddBalance(addr1, big.NewInt(1_000_000_000))
statedb.AddBalance(addr2, big.NewInt(1_000_000_000))
statedb.AddBalance(addr3, big.NewInt(1_000_000_000))
statedb.Commit(true)
statedb.Commit(0, true)

chain := &testBlockChain{
config: testChainConfig,
Expand Down Expand Up @@ -1216,7 +1216,7 @@ func TestAdd(t *testing.T) {
store.Put(blob)
}
}
statedb.Commit(true)
statedb.Commit(0, true)
store.Close()

// Create a blob pool out of the pre-seeded dats
Expand Down

0 comments on commit 2f445b9

Please sign in to comment.