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

chore: Set upgrade heights and change codename #11599

Merged
merged 6 commits into from Feb 13, 2024
Merged

Conversation

rjan90
Copy link
Contributor

@rjan90 rjan90 commented Jan 25, 2024

Proposed Changes

  • Set calibration height to 1390534 which is 2024-02-27T14:00:00Z
    • And Drand swithc UpgradePhoenixHeight to 120 epochs after the nv22 upgrade.
  • Set upgrade epoch in Butterfly to epoch 5760 which is two days from reset, allowing for us to get some states in the network before the upgrade height.
  • Change nv22 codename from Pineapple to Dragon, and Mango to Phoenix (Drand-switch)

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.
  • New features have usage guidelines and / or documentation updates in
  • Tests exist for new functionality or change in behavior
  • CI is green

@rjan90 rjan90 changed the title chore: Prep Butterfly for nv22 testing [WIP] chore: prep Butterfly for nv22 testing Jan 25, 2024
@rjan90 rjan90 changed the title [WIP] chore: prep Butterfly for nv22 testing chore: prep Butterfly for nv22 testing Jan 25, 2024
@rjan90 rjan90 marked this pull request as ready for review January 26, 2024 07:18
@rjan90 rjan90 requested a review from a team as a code owner January 26, 2024 07:18
@rjan90 rjan90 requested review from Stebalien and arajasek and removed request for a team January 26, 2024 07:18
@rjan90 rjan90 force-pushed the phi-butterfly-prep branch 2 times, most recently from a669b5d to 7181cd3 Compare January 31, 2024 07:29
@rjan90 rjan90 changed the title chore: prep Butterfly for nv22 testing chore: Set upgrade heights and change codename Feb 9, 2024
Update upgrade heights

Co-Authored-By: Steven Allen <steven@stebalien.com>

var UpgradeMangoHeight = UpgradePineappleHeight + 10
var UpgradeMangoHeight = UpgradeDragonHeight + 10
Copy link
Contributor

Choose a reason for hiding this comment

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

Per discussion, we'll probably wind up going with something like + 100 instead. But that doesn't have to change in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to +100 in 9112e85.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we also want the Drand switch to be +100 epochs away from the nv22 upgrade in the butterfly/calibration/mainnet ?

Copy link
Member

Choose a reason for hiding this comment

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

Do we also want the Drand switch to be +100 epochs away from the nv22 upgrade in the butterfly/calibration/mainnet ?

We really only care about mainnet.

@arajasek can we make this 120 so it falls on an hour mark?

Update epoch after nv22 DRAND switch
Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

Quibbles over names but this looks correct.

api/types.go Show resolved Hide resolved
build/params_2k.go Outdated Show resolved Hide resolved
@@ -89,10 +89,10 @@ const UpgradeWatermelonFixHeight = 1070494
// 2023-11-21T13:00:00Z
const UpgradeWatermelonFix2Height = 1108174

// ??????
const UpgradePineappleHeight = 999999999999999
// 2024-02-27T14:00:00Z
Copy link
Member

Choose a reason for hiding this comment

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

Verified.

rjan90 and others added 4 commits February 13, 2024 11:20
Make the codename for the Drand-change inline with Dragon style.
Make gen and UpgradePhoenixHeight in butterfly and local devnet to be in line with Calibration and Mainnet
@rjan90 rjan90 merged commit fe75ee0 into feat/nv22 Feb 13, 2024
84 of 90 checks passed
@rjan90 rjan90 deleted the phi-butterfly-prep branch February 13, 2024 16:13
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.

None yet

3 participants