Skip to content

Commit 03fc460

Browse files
committed
fix: tw deploy
1 parent 7207bf4 commit 03fc460

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

scripts/triggerable_withdrawals/vote_body.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@ def create_tw_vote(tx_params: Dict[str, str], silent: bool) -> Tuple[int, Option
4141
4242
Contains next steps:
4343
1. Update VEBO implementation
44-
2. Update VEBO consensus version to `4`
45-
# 3. Call finalize upgrade on VEBO # TODO
46-
4. Update WithdrawalVault implementation
47-
5. Grant ADD_FULL_WITHDRAWAL_REQUEST_ROLE to the VEBO in WithdrawalVault
48-
# 6. Call finalize upgrade on WV # TODO
49-
7. Update AO consensus version to `4`
44+
2. Grant VEBO MANAGE_CONSENSUS_VERSION_ROLE to the AGENT
45+
3. Update VEBO consensus version to `4`
46+
4. Revoke VEBO MANAGE_CONSENSUS_VERSION_ROLE from AGENT
47+
5. Update WithdrawalVault implementation
48+
6. Finalize WV upgrade
49+
7. Grant ADD_FULL_WITHDRAWAL_REQUEST_ROLE to the VEBO in WithdrawalVault
50+
8. Grant MANAGE_CONSENSUS_VERSION_ROLE to the AGENT
51+
9. Update AO consensus version to `4`
52+
10. Revoke MANAGE_CONSENSUS_VERSION_ROLE from AGENT
5053
"""
5154

5255
vote_descriptions, call_script_items = zip(
@@ -85,13 +88,12 @@ def create_tw_vote(tx_params: Dict[str, str], silent: bool) -> Tuple[int, Option
8588
(
8689
"5. Update WithdrawalVault implementation",
8790
encode_wv_proxy_upgrade_to(contracts.withdrawal_vault, WITHDRAWAL_VAULT_IMPL)
88-
8991
),
9092
(
91-
"6. Initialize new WV implementation",
93+
"6. Finalize WV upgrade",
9294
(
9395
contracts.withdrawal_vault.address,
94-
contracts.withdrawal_vault.initialize.encode_input(
96+
contracts.withdrawal_vault.finalizeUpgrade_v2.encode_input(
9597
contracts.agent,
9698
),
9799
)

0 commit comments

Comments
 (0)