From f40f5d5d5459930b92460a4206a78a12ab761bb7 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Tue, 13 Jan 2026 18:00:14 +0900 Subject: [PATCH] fix failures preventing running tests --- cmd/evm/blockrunner.go | 3 ++- tests/block_test_util.go | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cmd/evm/blockrunner.go b/cmd/evm/blockrunner.go index c6fac5396e..0090cc12af 100644 --- a/cmd/evm/blockrunner.go +++ b/cmd/evm/blockrunner.go @@ -20,6 +20,7 @@ import ( "bufio" "encoding/json" "fmt" + "github.com/ethereum/go-ethereum/cmd/utils" "maps" "os" "regexp" @@ -117,7 +118,7 @@ func runBlockTest(ctx *cli.Context, fname string) ([]testResult, error) { test := tests[name] result := &testResult{Name: name, Pass: true} var finalRoot *common.Hash - if err := test.Run(false, rawdb.PathScheme, ctx.Bool(WitnessCrossCheckFlag.Name), tracer, func(res error, chain *core.BlockChain) { + if err := test.Run(false, rawdb.PathScheme, ctx.Bool(WitnessCrossCheckFlag.Name), ctx.Bool(utils.ExperimentalBALFlag.Name), tracer, func(res error, chain *core.BlockChain) { if ctx.Bool(DumpFlag.Name) { if s, _ := chain.State(); s != nil { result.State = dump(s) diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 74a38d526c..26c4b29b0e 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -259,6 +259,11 @@ func (t *BlockTest) Run(snapshotter bool, scheme string, witness bool, createAnd return nil } +// Network returns the network/fork name for this test. +func (t *BlockTest) Network() string { + return t.json.Network +} + func (t *BlockTest) genesis(config *params.ChainConfig) *core.Genesis { return &core.Genesis{ Config: config,