Starknet Auction

First Flight #26

Starknet Auction

Beginner FriendlyNFT
100 EXP
View results
Submission Details
Severity: low
Valid

Incorrect bid amount emitted in `NewHighestBid` event in the `bid` function.

Updates

Lead Judging Commences

bube Lead Judge 3 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Incorrectly emitted parameter in `NewHighestBid` event

The `bid` function emits `NewHighestBid` event with wrong parameter. The `amount` parameter is `self.highest_bid.read()` that is called before the update of the `highest_bid` variable.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources