fix stale generated file that I forgot to include with recent PR that made some changes to the --bal.executionmode flag

This commit is contained in:
Jared Wasinger 2026-03-23 13:03:04 -04:00
parent 418d8207b3
commit 8f361e342c

View file

@ -3,7 +3,6 @@
package ethconfig package ethconfig
import ( import (
"github.com/ethereum/go-ethereum/core/types/bal"
"time" "time"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
@ -11,6 +10,7 @@ import (
"github.com/ethereum/go-ethereum/core/history" "github.com/ethereum/go-ethereum/core/history"
"github.com/ethereum/go-ethereum/core/txpool/blobpool" "github.com/ethereum/go-ethereum/core/txpool/blobpool"
"github.com/ethereum/go-ethereum/core/txpool/legacypool" "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/eth/gasprice"
"github.com/ethereum/go-ethereum/miner" "github.com/ethereum/go-ethereum/miner"
) )
@ -181,7 +181,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error {
TxSyncDefaultTimeout *time.Duration `toml:",omitempty"` TxSyncDefaultTimeout *time.Duration `toml:",omitempty"`
TxSyncMaxTimeout *time.Duration `toml:",omitempty"` TxSyncMaxTimeout *time.Duration `toml:",omitempty"`
RangeLimit *uint64 `toml:",omitempty"` RangeLimit *uint64 `toml:",omitempty"`
BALExecutionMode *int BALExecutionMode *bal.BALExecutionMode
} }
var dec Config var dec Config
if err := unmarshal(&dec); err != nil { if err := unmarshal(&dec); err != nil {
@ -341,7 +341,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error {
c.RangeLimit = *dec.RangeLimit c.RangeLimit = *dec.RangeLimit
} }
if dec.BALExecutionMode != nil { if dec.BALExecutionMode != nil {
c.BALExecutionMode = bal.BALExecutionMode(*dec.BALExecutionMode) c.BALExecutionMode = *dec.BALExecutionMode
} }
return nil return nil
} }