Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: low
Invalid

Incorrect Error Type in Constructor

Summary

The constructor in Governance currently validates the _veTokenAddr parameter using the InvalidTimelockAddress error, which is misleading because this parameter represents the veRAAC token address—not a timelock address.

Recommendations

Define a new error, e.g. InvalidVeTokenAddress, specifically for veRAAC token address validation. Update the constructor to check _veTokenAddr against 0x0 using the new error so that the error message accurately reflects the parameter being validated.

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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

Give us feedback!