PR https://github.com/alloy-rs/op-alloy/pull/97 introduces the op-alloy-genesis crate that contains the SystemConfig. As part of the SystemConfig, it contains functionality to handle update logs. The function signature to process the system config update log (raw bytes) is currently the following:
Internally, this update_with_receipts method only uses the rollup_config and l1_time to check if ecotone is active for the gas config update. We should be able to simplify this signature to pre-load the calculation, and simply pass in a boolean if ecotone is active.
Component
genesis
Describe the feature you would like
PR https://github.com/alloy-rs/op-alloy/pull/97 introduces the
op-alloy-genesis
crate that contains theSystemConfig
. As part of theSystemConfig
, it contains functionality to handle update logs. The function signature to process the system config update log (raw bytes) is currently the following:Internally, this
update_with_receipts
method only uses therollup_config
andl1_time
to check if ecotone is active for the gas config update. We should be able to simplify this signature to pre-load the calculation, and simply pass in a boolean if ecotone is active.Additional context
No response