Skip to content

fix(basefee)!: add fip-0115 feature flag (LOTUS_FEES_FIP0115HEIGHT)#13550

Merged
wjmelements merged 3 commits intomasterfrom
fix/fip-0115-feature-flag
Mar 20, 2026
Merged

fix(basefee)!: add fip-0115 feature flag (LOTUS_FEES_FIP0115HEIGHT)#13550
wjmelements merged 3 commits intomasterfrom
fix/fip-0115-feature-flag

Conversation

@wjmelements
Copy link
Copy Markdown
Contributor

Reviewers @rvagg @jennijuju
#13531 mistakenly scheduled FIP-0115 for inclusion in the next network version.
That change also causes the localnet to activate the feature at block 20.
This fix creates a flag that can be used to configure activation, allowing localnets to test activation.
It defaults to never activating (-1), an improvement over the previous 999999999999999 activation.
There is also a stern warning against activation.

Changes

  • add new configuration for activating fip-0115
  • warn against activating in production
  • update docs
  • fix previous changelog

wjmelements and others added 2 commits March 16, 2026 17:07
Replaces the hard-coded UpgradeXxHeight check in ComputeBaseFee with a
configurable Fees.FIP0115Height (env: LOTUS_FEES_FIP0115HEIGHT). Defaults
to -1 (disabled). Testers can set the epoch to activate the premium-based
base fee algorithm independently of any network upgrade.

WARNING: this is a consensus-breaking change and should only be used for testing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@wjmelements wjmelements requested review from jennijuju and rvagg March 16, 2026 22:30
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Mar 16, 2026
@wjmelements
Copy link
Copy Markdown
Contributor Author

Test failure (itest-daily_fees) is unrelated, and might be fixed by #13551

@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting Review in FilOz Mar 17, 2026
@jennijuju jennijuju requested a review from Kubuxu March 18, 2026 22:41
Copy link
Copy Markdown
Contributor

@ZenGround0 ZenGround0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Only thing I would add is a follow on issue for reverting this PR once the FIP is accepted. But you probably won't forget anyway.

@github-project-automation github-project-automation Bot moved this from 🔎 Awaiting Review to ✔️ Approved by reviewer in FilOz Mar 19, 2026
@wjmelements wjmelements merged commit 9a507ee into master Mar 20, 2026
176 of 177 checks passed
@wjmelements wjmelements deleted the fix/fip-0115-feature-flag branch March 20, 2026 07:16
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Mar 20, 2026
wjmelements added a commit that referenced this pull request Apr 17, 2026
rjan90 pushed a commit that referenced this pull request Apr 20, 2026
…HEIGHT`)" (#13581)

Revert "fix(basefee)!: add fip-0115 feature flag (`LOTUS_FEES_FIP0115HEIGHT`) (#13550)"

This reverts commit 9a507ee.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

4 participants