From 8f361e342cb9edc4b75d763bcd9c44f101e3d918 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Mon, 23 Mar 2026 13:03:04 -0400 Subject: [PATCH] fix stale generated file that I forgot to include with recent PR that made some changes to the --bal.executionmode flag --- eth/ethconfig/gen_config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eth/ethconfig/gen_config.go b/eth/ethconfig/gen_config.go index 0775fd828a..ce07385a0b 100644 --- a/eth/ethconfig/gen_config.go +++ b/eth/ethconfig/gen_config.go @@ -3,7 +3,6 @@ package ethconfig import ( - "github.com/ethereum/go-ethereum/core/types/bal" "time" "github.com/ethereum/go-ethereum/common" @@ -11,6 +10,7 @@ import ( "github.com/ethereum/go-ethereum/core/history" "github.com/ethereum/go-ethereum/core/txpool/blobpool" "github.com/ethereum/go-ethereum/core/txpool/legacypool" + "github.com/ethereum/go-ethereum/core/types/bal" "github.com/ethereum/go-ethereum/eth/gasprice" "github.com/ethereum/go-ethereum/miner" ) @@ -181,7 +181,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { TxSyncDefaultTimeout *time.Duration `toml:",omitempty"` TxSyncMaxTimeout *time.Duration `toml:",omitempty"` RangeLimit *uint64 `toml:",omitempty"` - BALExecutionMode *int + BALExecutionMode *bal.BALExecutionMode } var dec Config if err := unmarshal(&dec); err != nil { @@ -341,7 +341,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { c.RangeLimit = *dec.RangeLimit } if dec.BALExecutionMode != nil { - c.BALExecutionMode = bal.BALExecutionMode(*dec.BALExecutionMode) + c.BALExecutionMode = *dec.BALExecutionMode } return nil }