Skip to content

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

Merged
refcell merged 1 commit intoclabby/op-rethfrom
roberto/1559-config
Aug 2, 2023
Merged

use the parameters from the optimism config in 1559 base fee computation#32
refcell merged 1 commit intoclabby/op-rethfrom
roberto/1559-config

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants