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

refactor(protocol): add MainnetGuardianProver #17805

Merged
merged 3 commits into from
Jul 17, 2024
Merged

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Jul 17, 2024

No description provided.

@dantaik dantaik marked this pull request as ready for review July 17, 2024 01:35
@dantaik dantaik enabled auto-merge July 17, 2024 01:36
Copy link

openzeppelin-code bot commented Jul 17, 2024

refactor(protocol): add MainnetGuardianProver

Generated at commit: 686758b7f655ac461374b9020e0dddd2a2186108

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
8
42
54
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@dantaik dantaik added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit 6f68316 Jul 17, 2024
5 checks passed
@dantaik dantaik deleted the mainnet_guardian_prover branch July 17, 2024 06:54
/// @custom:security-contact [email protected]
contract MainnetGuardianProver is GuardianProver {
function _getAddress(uint64 _chainId, bytes32 _name) internal view override returns (address) {
(bool found, address addr) = LibRollupAddressCache.getAddress(_chainId, _name);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we have recorded guardian addresses of all potential sub-chains?

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.

4 participants