celo-monorepo
celo-monorepo copied to clipboard
Soloseng/L2-lockedGold
Description
Updated LockedGold to reflect proposed L2 changes
Tested
unit tested
Related issues
- Fixes https://github.com/celo-org/celo-blockchain-planning/issues/205
Backwards compatibility
This PR deprecates the following functions post L2 migration, and will revert when called:
- lock()
- relock(uint256 index, uint256 value)
- slash(...)
- setUnlockingPeriod(uint256 value)
- setMaxDelegateesCount(uint256 value)
Soloseng/L2-lockedGold
Generated at commit: 0cc0d82c1ea21f17f00e9fa4eb727bf0bf70bb1d
🚨 Report Summary
Severity Level | Results | |
---|---|---|
Contracts | Critical High Medium Low Note Total | 2 3 0 15 40 60 |
Dependencies | Critical High Medium Low Note Total | 0 0 0 0 0 0 |
For more details view the full report in OpenZeppelin Code Inspector
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.