[VPD-1313] PrimeV2 deployments for BSC#677
Draft
Debugger022 wants to merge 3 commits into
Draft
Conversation
Wiring gated to hardhat (live wires via VIP), add impl verification, and drop the 'Prime' dependency to avoid re-triggering 012's proxy upgrade that reverts under Timelock ownership.
Deployment artifacts from deploying PrimeLeaderboard and PrimeV2 to bsctestnet. Contracts are unwired; setPrimeV2/setPrimeLeaderboard wiring lands via VIP.
…scripts Fold the Timelock ownership transfer into each deploy script so it runs with the deploy tag (the standalone PrimeLeaderboard deploy had no configure step). Removes the now-redundant 015-configure-prime-v2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Deploy pipeline
deploy/014-deploy-prime-leaderboard.tsdeploys PrimeLeaderboard standalone (proxy + initialize).deploy/014-deploy-prime-v2.ts: deploys PrimeV2 only; reads PrimeLeaderboard viagetContract.setPrimeV2/setPrimeLeaderboardwiring to hardhat only — live networks wire via VIP.verify:verify, wrapped in try/catch).Primedependency so deploys no longer re-trigger 012's proxy upgrade, which reverts once ownership has moved to the Timelock.Deployments
Test plan
yarn compilenpx hardhat deploy --tags PrimeLeaderboard --network bsctestnetsucceeds (no 012 re-run)npx hardhat deploy --tags PrimeV2 --network bsctestnetsucceeds; impl verified on BscScanprimeV2()/primeLeaderboard()zero)setPrimeV2/setPrimeLeaderboard+setMintThreshold