Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ethclient/simulated/rollback_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import (
"time"

"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth/ethconfig"
"github.com/ethereum/go-ethereum/node"
)

// TestTransactionRollbackBehavior tests that calling Rollback on the simulated backend doesn't prevent subsequent
Expand All @@ -34,6 +36,11 @@ func TestTransactionRollbackBehavior(t *testing.T) {
testAddr: {Balance: big.NewInt(10000000000000000)},
testAddr2: {Balance: big.NewInt(10000000000000000)},
},
// Disable Osaka to prevent blob v0→v1 conversion in blobpool.
// BSC does not support blob sidecar v1.
func(nodeConf *node.Config, ethConf *ethconfig.Config) {
ethConf.Genesis.Config.OsakaTime = nil
},
)
defer sim.Close()
client := sim.Client()
Expand Down