Skip to content
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

Merged
merged 16 commits into from
Jan 23, 2025

Conversation

StanislavBreadless
Copy link
Collaborator

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

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@StanislavBreadless StanislavBreadless changed the base branch from sync-layer-stable to release-v26 January 17, 2025 09:41
"evmBytecodeHash": "0x534bc5e7432735c8808d91708e9eab901f55a7ec6f7c0f878bb562757b6a99d9",
"evmBytecodePath": "/l1-contracts/out/Utils.sol/Utils.json",
"evmDeployedBytecodeHash": "0x43081c39edfbf9f44a8f1c1f0e5e00423e727da0da196eab876aed9949811e77"
"evmBytecodeHash": "0x4c9033aa9f834d00d4110549c502fecc1028b31b071c5d4833f1e23a59c941bf",
Copy link
Collaborator Author

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);
Copy link
Collaborator

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(
Copy link
Collaborator

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);
Copy link
Collaborator

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 ?

Copy link
Collaborator Author

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

@StanislavBreadless StanislavBreadless merged commit 1b782c6 into release-v26 Jan 23, 2025
22 checks passed
@StanislavBreadless StanislavBreadless deleted the sb-display-more-deployed-addresses branch January 23, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants