Skip to content

obtain elasticity_multiplier and base_fee_change_denominator from chain config#20

Closed
roberto-bayardo wants to merge 40 commits intoop-rs:clabby/op-rethfrom
roberto-bayardo:roberto/1559-config
Closed

obtain elasticity_multiplier and base_fee_change_denominator from chain config#20
roberto-bayardo wants to merge 40 commits intoop-rs:clabby/op-rethfrom
roberto-bayardo:roberto/1559-config

Conversation

@roberto-bayardo
Copy link

@roberto-bayardo roberto-bayardo commented Jul 19, 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

@roberto-bayardo roberto-bayardo marked this pull request as ready for review July 19, 2023 20:11
@roberto-bayardo
Copy link
Author

redid this in #32

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.

6 participants