-
Notifications
You must be signed in to change notification settings - Fork 359
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
Display more deployed addresses #1203
Display more deployed addresses #1203
Conversation
…es' into sb-display-more-deployed-addresses
"evmBytecodeHash": "0x534bc5e7432735c8808d91708e9eab901f55a7ec6f7c0f878bb562757b6a99d9", | ||
"evmBytecodePath": "/l1-contracts/out/Utils.sol/Utils.json", | ||
"evmDeployedBytecodeHash": "0x43081c39edfbf9f44a8f1c1f0e5e00423e727da0da196eab876aed9949811e77" | ||
"evmBytecodeHash": "0x4c9033aa9f834d00d4110549c502fecc1028b31b071c5d4833f1e23a59c941bf", |
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.
this one changed because previously for the l1-contracts/Utils
we used /l1-contracts/out/Utils.sol/Utils.json
, while now we are using /l1-contracts/out/SystemContractsCaller.sol/Utils.json
. The former was from a test, while the latter is actually a library in code
securityCouncilDigest = EIP712Utils.buildDomainHash(securityCouncilAddr, "SecurityCouncil", "1"); | ||
} | ||
|
||
bytes[] memory securityCouncilRawSignatures = new bytes[](12); |
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.
comment why 12 - and maybe do a constant?
@@ -1002,6 +1006,53 @@ library Utils { | |||
} | |||
} | |||
|
|||
function securityCouncilApproveUpgrade( |
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.
add a comment on what this method does
safeDigest = ISafe(securityCouncilMembers[i]).getMessageHash(abi.encode(digest)); | ||
} | ||
{ | ||
(uint8 v, bytes32 r, bytes32 s) = vm.sign(_governorWallet, safeDigest); |
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.
so we're using governor's wallet 12 times ?
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.
yes, this is the case for the staging env
What ❔
Note, that I changed ValidatorTimelock constructor params to better correspond to those in the Solidity file. The previous one worked because Solidity ignores any additional bytes after the main constructor params
Why ❔
Checklist