-
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
Soloseng/L2-lockedGold #10986
Soloseng/L2-lockedGold #10986
Conversation
Soloseng/L2-lockedGold
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
@@ -131,7 +133,7 @@ contract LockedGold is | |||
/** | |||
* @notice Locks gold to be used for voting. | |||
*/ | |||
function lock() external payable nonReentrant { | |||
function lock() external payable nonReentrant onlyL1 { |
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.
we need to keep this function in L2 otherwise governance voting will not work
I believe this PR is not necessary since we want to keep these functions even in L2 |
This should have been closed when the issue was closed. Closing now. |
Description
Updated LockedGold to reflect proposed L2 changes
Tested
unit tested
Related issues
Backwards compatibility
This PR deprecates the following functions post L2 migration, and will revert when called: