Migrate vault & cross-chain operators to the new Talos signer (+ unpause rebases)#2911
Open
sparrowDom wants to merge 9 commits into
Open
Migrate vault & cross-chain operators to the new Talos signer (+ unpause rebases)#2911sparrowDom wants to merge 9 commits into
sparrowDom wants to merge 9 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2911 +/- ##
==========================================
- Coverage 50.83% 44.57% -6.26%
==========================================
Files 110 110
Lines 4873 4873
Branches 1353 1353
==========================================
- Hits 2477 2172 -305
- Misses 2392 2698 +306
+ Partials 4 3 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Overview
Contains migration files to migrate the signer to
0x739212d5bAfE6AAC8Be49a60B7d003bD41DBf38bwhich is the new Talos Relayer. The migration includesoperatorAddr), and unpauses OETHb rebases. Executed via the Base Timelock (schedule + execute by the 5/8).OPERATOR_ROLEon the Base MerklPoolBoosterBribesModule. Directly executed by the 2/8.OPERATOR_ROLEonClaimBribesSafeModule1. Directly executed by the ClaimBribes 2/8 (0xb6D85Ce798660076152d6FD3a484129668839c95).OPERATOR_ROLEonClaimBribesSafeModule3. Directly executed by the base.strategist 1/2 (0x28bce2eE5775B652D92bB7c2891A89F036619703).operatorAddr), unpauses rebases, and sets the registrator on the SonicStakingStrategy. Executed via the Sonic Timelock (schedule + execute by the 5/8). The Sonic OriginARM operator is migrated separately in thearm-oethrepo.deploymentWithGnosisSafehelper (utils/deploy.js) that writes a Gnosis Safe Transaction Builder JSON and impersonates the Safe on fork; the timelock migrations (051, 030, 003) usedeployOnBase/deployOnSonic/deployOnHyperEVM(schedule + execute JSON). Cross-chain fork fixtures now read the operator from the strategy instead of hardcoding the relayer.Collect XOGN Rewards Module:
Grants
OPERATOR_ROLEonCollectXOGNRewardsModule1–5to the new Talos signer so it can callcollectRewards(ogn_claimAndForwardRewards).Each module is admined by its own external 3/5 XOGN Safe, so this is **5 separate Safe transactions
Shared call (identical in all 5 transactions)
grantRole(bytes32 role, address account)role(OPERATOR_ROLE)0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929account(new Talos signer)0x739212d5bAfE6AAC8Be49a60B7d003bD41DBf38b0data)0x2f2ff15d97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929000000000000000000000000739212d5bafe6aac8be49a60b7d003bd41dbf38bOnly the executing Safe and the target (
to) module differ between the five — the function, params, and calldata above are the same in every one.The 5 transactions
CollectXOGNRewardsModuleN0x5c8228e709D7F91209DE898F6a7B8c6035A7B78f0x15228dAE3B228175fBD9639d049265eFb08e60b60x69497A2A170c138876F05Df01bFfDd5C4b651CF20x8e32A930CcFE108DC560eC9e630BA6b5f7E179c90x684b38997afbBBC055e0BEB6d536686Ebd171bdB0x460e4a0B14bD3F1e12f0c2194830c0204E5Bb1470xe555EFA16d38747F9e496926b576FD1ebD31DeCa0xFbBb82c4F3B6f479DE1451C04A76ea80da4ff0100x6E75645EeDCCCAA0f472323Afce8f82B875C8CB90xAE67b612bD859378b7d0f6314E7Ee39ad4c6aBE6