web3wagers / gostarkme

Fund raising project in Starknet ecosystem
http://web3wagers.github.io/gostarkme/
GNU Affero General Public License v3.0
18 stars 74 forks source link

fix: Add new asserts to set_goal #265

Closed ShantelPeters closed 4 days ago

ShantelPeters commented 4 days ago

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