Stake Link has deployed CommunityVCS
, OperatorVCS
, StakingPool
, and PriorityPool
on mainnet. You can find the contract addresses in the documentation at https://docs.stake.link/resources/contracts-and-integrations. The current contest's scope includes upgraded versions of these contracts. However, an issue arises because some upgraded contracts have differences in their storage layout, which will cause storage collisions when the contracts are upgraded.
Insert the test file
Run a local mainnet fork hardhat node --fork <The URL of the JSON-RPC server to fork from> --fork-block-number 20897953
In a separate terminal run hardhat test --grep "upgradability errors POC"
Result:
These storage layout differences will lead to collisions, breaking the functionality of the upgraded contracts.
Manual Review
To resolve these storage layout collisions, follow the errors reported by the Hardhat tests.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.