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

Feat add new asserts to set reason #268

Merged

Conversation

josephchimebuka
Copy link
Contributor

Closes #253

Added new assert that validates that the caller should be the admins in set_reason method

@ncoquelet
Copy link
Contributor

Hi @josephchimebuka, I'm in charge to add tests over your feature.
Are you sure of your implementation ? In state, none admin get permission to change reason 😉

contracts/src/fund.cairo Outdated Show resolved Hide resolved
Copy link
Member

@adrianvrj adrianvrj left a comment

Choose a reason for hiding this comment

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

nice work, just a small change

@adrianvrj adrianvrj requested a review from EmmanuelAR November 25, 2024 14:28
contracts/src/fund.cairo Outdated Show resolved Hide resolved
@josephchimebuka
Copy link
Contributor Author

OKay ser @EmmanuelAR and @adrianvrj I have made requested changes

@EmmanuelAR EmmanuelAR merged commit f8d5de4 into web3wagers:dev Nov 25, 2024
5 checks passed
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.

[feat] Add new asserts to set_reason
4 participants