Core Contracts

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

`recordVote` function can cause off-chain problems

Likelihood

High

Impact

Very Low (Just the wrong data shown on frontend)

Description

The recordVote is used to "Vote" for the user in veRAACToken.sol, but any user can call the function can cause the event to be emitted causing differences on chain and frontend ( / Backend ) .

Mitigation =>

Complete Removal of Function, because the main functionality for this is present in `Governance.sol`

Updates

Lead Judging Commences

inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Validated
Assigned finding tags:

veRAACToken::recordVote lacks access control, allowing anyone to emit fake events

Support

FAQs

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