-
Notifications
You must be signed in to change notification settings - Fork 144
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
eupgrade: lowering the base fee #604
Conversation
Signed-off-by: Darioush Jalali <darioush.jalali@avalabs.org>
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.
LGTM
@@ -30,6 +30,7 @@ const ( | |||
ApricotPhase4BaseFeeChangeDenominator uint64 = 12 | |||
ApricotPhase5TargetGas uint64 = 15_000_000 | |||
ApricotPhase5BaseFeeChangeDenominator uint64 = 36 | |||
EUpgradeMinBaseFee int64 = GWei |
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.
nit: convert all min/max base fee values to use GWei?
@@ -540,7 +540,7 @@ type ChainConfig struct { | |||
// Note: EIP-4895 is excluded since withdrawals are not relevant to the Avalanche C-Chain or Subnets running the EVM. | |||
DurangoBlockTimestamp *uint64 `json:"durangoBlockTimestamp,omitempty"` | |||
// EUpgrade on the Avalanche network. (nil = no fork, 0 = already activated) | |||
// It activates Cancun (TODO) and modifies the min base fee (TODO). | |||
// It activates Cancun and reduces the min base fee. |
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.
nit: follow comment style from above ie. EUpgrade activates...
* eupgrade: base definitions * updates * nit: consistently use EUpgrade for replace later * update test configs * refactor json genesis specs in vm_test.go * set min base fee at EUpgrade * nit: comment * Update params/config.go Signed-off-by: Darioush Jalali <darioush.jalali@avalabs.org> * add ut * nit: comment --------- Signed-off-by: Darioush Jalali <darioush.jalali@avalabs.org>
Why this should be merged
The EUpgrade is considering lowering the base fee: #602
How this works
How this was tested
CI