-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time-Aware Base Fee Calculation #4
base: master
Are you sure you want to change the base?
Conversation
EIPS/eip-time_aware_basefee.md
Outdated
MAX_GAS_TARGET_PERCENT = 95 | ||
|
||
class World(ABC): | ||
def validate_block(self, block: Block) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to be explicit about what exactly has been changed comparing to the original formula. Also, it would probably be clearer to have a function compute_parent_adjusted_gas_target
and replace parent_gas_target
in the original formula with parent_adjusted_gas_target = compute_parent_adjusted_gas_target(...)
Co-authored-by: Sam Wilson <[email protected]> Co-authored-by: lightclient <[email protected]>
wip
todo:
MAX_GAS_TARGET_PERCENT
to rationale