-
Notifications
You must be signed in to change notification settings - Fork 17
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
Before Pectra voting script #329
base: master
Are you sure you want to change the base?
Conversation
1c40c6c
to
c8501b8
Compare
Co-authored-by: Alexander M <[email protected]>
Add a separate script for launching on Holesky and new vote items: - rotation of GateSeals - changing voting and objection time
agent_forward([encode_cs_fee_oracle_set_consensus_version()]), | ||
), | ||
( | ||
"9. Revoke MANAGE_CONSENSUS_VERSION_ROLE role on Validator Exit Bus Oracle from Aragon Agent", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"9. Revoke MANAGE_CONSENSUS_VERSION_ROLE role on Validator Exit Bus Oracle from Aragon Agent", | |
"9. Revoke MANAGE_CONSENSUS_VERSION_ROLE role on CSFeeOracle from Aragon Agent", |
""" | ||
Release part of the update before the Pectra upgrade | ||
|
||
1. Grant MANAGE_CONSENSUS_VERSION_ROLE role on Accounting Oracle to Aragon Agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider adding detailed description with addresses as it's done for non pectra items
def _check_role(contract: Contract, role: str, holder: str): | ||
role_bytes = web3.keccak(text=role).hex() | ||
assert contract.getRoleMemberCount(role_bytes) == 1, f"Role {role} on {contract} should have exactly one holder" | ||
assert contract.getRoleMember(role_bytes, 0) == holder, f"Role {role} holder on {contract} should be {holder}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the holder address be transformed to lowercase, as done in line 102?
) | ||
|
||
# Grant PAUSE_ROLE on WithdrawalQueue for the new GateSeal | ||
validate_grant_role_event(events[18], PAUSE_ROLE, NEW_GATE_SEAL, contracts.agent) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, validate_grant_role_event()
doesn't check which address emitted the event
), | ||
# Change GateSeal on WithdrawalQueue and ValidatorsExitBusOracle | ||
( | ||
"19. Grant PAUSE_ROLE on WithdrawalQueue 0xc7cc160b58F8Bb0baC94b80847E2CF2800565C50 to the new GateSeal 0xAE6eCd77DCC656c5533c4209454Fd56fB46e1778", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Descriptions in items 19–22 contain
instead of regular spaces. Is this intentional?
No description provided.