This commit is contained in:
0xoasis 2026-07-17 12:48:29 +00:00 committed by GitHub
commit 6e2add8d44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -207,7 +207,7 @@ type Config struct {
// EngineMaxReorgDepth is the maximum depth the chain head can be rewound
// to an already-canonical ancestor by engine API forkchoiceUpdated calls
// (0 = no limit).
EngineMaxReorgDepth uint64 `toml:",omitempty"`
EngineMaxReorgDepth uint64
// OverrideOsaka (TODO: remove after the fork)
OverrideOsaka *uint64 `toml:",omitempty"`

View file

@ -63,7 +63,7 @@ func (c Config) MarshalTOML() (interface{}, error) {
RPCGasCap uint64
RPCEVMTimeout time.Duration
RPCTxFeeCap float64
EngineMaxReorgDepth uint64 `toml:",omitempty"`
EngineMaxReorgDepth uint64
OverrideOsaka *uint64 `toml:",omitempty"`
OverrideAmsterdam *uint64 `toml:",omitempty"`
OverrideBPO1 *uint64 `toml:",omitempty"`
@ -181,7 +181,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error {
RPCGasCap *uint64
RPCEVMTimeout *time.Duration
RPCTxFeeCap *float64
EngineMaxReorgDepth *uint64 `toml:",omitempty"`
EngineMaxReorgDepth *uint64
OverrideOsaka *uint64 `toml:",omitempty"`
OverrideAmsterdam *uint64 `toml:",omitempty"`
OverrideBPO1 *uint64 `toml:",omitempty"`