Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

use the parameters from the optimism config in 1559 base fee computation #32

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

roberto-bayardo
Copy link

@roberto-bayardo roberto-bayardo commented Jul 28, 2023

1559 base fee computation is parameterized by elasticity_muliplier and base_fee_change_denominator. Currently these values are obtained through (conditionally compiled) constants, which does not allow for them to be configured via chain config as required by optimism superchains.

This change makes all base fee computations obtain the parameter values via the ChainSpec.

addresses paradigmxyz#3750

@refcell refcell merged commit cf47477 into clabby/op-reth Aug 2, 2023
@roberto-bayardo
Copy link
Author

roberto-bayardo commented Aug 2, 2023

@refcell should we roll this back as I'm upstreaming much of this? I should have probably moved this back to draft mode while I finish that up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants