Skip to content
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

[test] Test issued when the fund contract receives a donation #175

Closed
wants to merge 0 commits into from

Conversation

salazarsebas
Copy link

Pull Request

Changes description

These tests verify that issue 183 #138 is correctly executed and make sure that the event emits the expected values, the tests pass successfully.

Current output

tests code

Comments

I hope the solution solves what you requested, please let me know of any changes I need to make. Best regards.

@salazarsebas
Copy link
Author

Please tell me what you think of the pr. @adrianvrj @EmmanuelAR ⛩️🚀⌨️

@EmmanuelAR EmmanuelAR self-requested a review November 1, 2024 15:54

#[test]
#[fork("Mainnet")]
fn test_donation_received() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change this method name for someone more specific like this:
test_emit_event_donation_received()

@EmmanuelAR EmmanuelAR linked an issue Nov 1, 2024 that may be closed by this pull request
@EmmanuelAR EmmanuelAR self-requested a review November 1, 2024 17:55
Copy link
Collaborator

@EmmanuelAR EmmanuelAR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refresh the branch and conflicts

```bash
export PATH="$HOME/.local/bin:$PATH"
```
It is recommended to recharge the terminal.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change recharge for restart please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[test] Test event emit when fund contract receives donation [feat] Emit event when fund receives a donation
3 participants