Skip to content
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

fix: build: an epoch is near an upgrade iff the upgrade is enabled #11401

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

Stebalien
Copy link
Member

Proposed Changes

Only consider an epoch near an upgrade if the upgrade is enabled (the upgrade epoch is >= 0). This isn't a huge deal, but we'd otherwise consider the first finality epochs (or so) to be "near" any disabled upgrade.

Checklist

Before you mark the PR ready for review, please make sure that:

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • If the PR affects users (e.g., new feature, bug fix, system requirements change), update the CHANGELOG.md and add details to the UNRELEASED section.
  • CI is green

This isn't a huge deal, but we'd otherwise consider the first finality
epochs (or so) to be "near" any disabled upgrade.
@Stebalien Stebalien requested a review from a team as a code owner November 8, 2023 19:57
@Stebalien Stebalien closed this Nov 16, 2023
@Stebalien Stebalien reopened this Nov 16, 2023
build/isnearupgrade.go Outdated Show resolved Hide resolved
@Stebalien Stebalien enabled auto-merge (squash) November 29, 2023 12:21
Co-authored-by: Friðrik Ásmundsson <fridrik01@gmail.com>
@Stebalien Stebalien merged commit 8fec6e3 into master Nov 29, 2023
79 of 87 checks passed
@Stebalien Stebalien deleted the steb/fix-is-near-upgrade branch November 29, 2023 12:50
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.

2 participants