Skip to content

Time-Aware Base Fee Calculation - #4

Draft
adietrichs wants to merge 16 commits into
masterfrom
time-aware-basefee
Draft

Time-Aware Base Fee Calculation#4
adietrichs wants to merge 16 commits into
masterfrom
time-aware-basefee

Conversation

@adietrichs

@adietrichs adietrichs commented Oct 28, 2021

Copy link
Copy Markdown

wip

todo:

  • adapt specification
  • ensure all low-number edge cases are covered
  • add MAX_GAS_TARGET_PERCENT to rationale
  • write out motivation, rationale, backward compatibility, security considerations (so far: keywords)
  • write abstract

Comment thread EIPS/eip-time_aware_basefee.md Outdated
MAX_GAS_TARGET_PERCENT = 95

class World(ABC):
def validate_block(self, block: Block) -> None:

Copy link
Copy Markdown

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(...)

adietrichs and others added 5 commits October 29, 2021 14:57
Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
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.

3 participants