DeFiHardhatFoundry
250,000 USDC
View results
Submission Details
Severity: low
Valid

Hardcoded `MERKLE_ROOT` will make the contract unusable

Summary

Hardcoded MERKLE_ROOT will make the contract unusable

Vulnerability Details

Currently, the merkle root in L2ContractMigrationFacet is hardcoded and cannot be changed

bytes32 private constant MERKLE_ROOT =
0xa84dc86252c556839dff46b290f0c401088a65584aa38a163b6b3f7dd7a5b0e8;

When this contract gets deployed, it will be unusable as it cannot be changed.

Impact

DoS

Tools Used

Manual review

Recommendations

Change it to immutable and only set it in the constructor, using admin's input

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Appeal created

deadrosesxyz Submitter
about 1 year ago
inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Hardcoded `MERKLE_ROOT` will make the contract unusable

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.