-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add emit event to receiveDonation function #161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exc work @NueloSE just some changes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
contracts/src/fund.cairo
Outdated
self | ||
.emit( | ||
DonationReceived { | ||
donor_address: get_caller_address(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also change the event, please run the scarb build and fmt
@EmmanuelAR fixed the typo now |
Pull Request
Closes [feat] Emit event when fund receives a donation #138
Open
Added tests (if necessary)
Run tests
Run formatting
Commented the code
Changes description