-
Notifications
You must be signed in to change notification settings - Fork 389
chore: remove dev mode functionality on Proof Aggregation Service contract #2176
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
base: testnet
Are you sure you want to change the base?
Conversation
| address public constant VERIFIER_MOCK_ADDRESS = address(0xFF); | ||
| /// if true, verification checks are skipped (only for test deployments) | ||
| /// This flag is set only at initialization and cannot be changed afterwards. | ||
| bool public devMode; |
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.
| bool public devMode; | |
| bool public immutable devMode; |
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.
Done in 0d48d3f
MauroToscano
left a comment
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.
Make devMode immutable, and rename it to IS_DEV_MODE
Changes to gas cost
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
| function run(string memory alignedLayerDeploymentFilePath, string memory proofAggregatorConfigFilePath) external returns (address, address) { | ||
| string memory aligned_deployment_file = vm.readFile(alignedLayerDeploymentFilePath); | ||
| string memory config_data = vm.readFile(proofAggregatorConfigFilePath); |
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 change can be removed right?
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, removed in 60b37dc
Description
This PR removes the mock functionality from the Aligned Proof Aggregation Service contract, since it had no real uses.
How to test
To test this PR, you should test that the normal workflows are working as expected. This means following these steps:
Type of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging