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

fix: Add new asserts to set_goal #265

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

ShantelPeters
Copy link
Contributor

@ShantelPeters ShantelPeters commented Nov 25, 2024

Pull Request

Changes description

-I remove assert where the fund manager can call the method set_method
-I add new assert that validate that the caller should be the admins in set_goal method in contracts/src/fund.cairo using the two admins (VALID_ADDRESS_1,VALID_ADDRESS_2) constants located in contracts/src/constants/funds/fund_manager_constants.cairo

Current output

Screenshot_20241125_043512

Time spent breakdown

less than 24 hours, which is due to some installation issue on window

Comments

None,
Thanks

@EmmanuelAR EmmanuelAR self-requested a review November 25, 2024 04:31
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.

LGMT

@EmmanuelAR EmmanuelAR merged commit 8762be6 into undefinedorgcr: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_goal
2 participants