shouldDeployBeacon
is misinterpreted as _contractsDeployedAlready
in constructor of L2NativeTokenVault
While performing force deployment of NTV, a package of parameters are passed to its constructor.
The data package is provided by _getForceDeploymentsData
function:
However, on the receiving end (constructor of L2NativeTokenVault), it is interpreted as _contractsDeployedAlready
- which is totally opposite meaning.
As a result, deployment operation would go in a opposite way regarding the deployment of beacon contract. Worst case, it would revert with error.
Deployment operation would go in a opposite way regarding the deployment of beacon contract. This is serious because in worst case, it would revert with error.
Manual Review
Make sure the boolean value shouldDeployBeacon
is correctly used in constructor of L2NativeTokenVault
contract.
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.