-
Notifications
You must be signed in to change notification settings - Fork 32
Test fails #1
Copy link
Copy link
Open
Description
There are several issues with the test:
- It searches for contract
Random Ape. Should beRandomAPE - It passes too many arguments to the safeMint function. Need to delete the second argument.
- There is an issue with access control when trying to run
claimRewardin the test
Error: VM Exception while processing transaction: reverted with reason string 'AccessControl: account 0x9fe46736679d2d9a65f0992f2272de9f3c7fa6e0 is missing role 0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6'
It appears that claimReward runs the mint function but the user doesn't have the MINTER_ROLE role
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels