Skip to content
Discussion options

You must be logged in to vote

You can't do this function invariant_gettersShouldNotRevert(uint256 tokenSeed) public view { as the invariant function does not take any arguments. You could create a handler and use the handler to give fuzz input to the getter function of the implementation contract.

For your argument that it makes to fuzz token input in a getter that should never revert, I leave you to do you.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@accurec
Comment options

@EngrPips
Comment options

Answer selected by accurec
@accurec
Comment options

@EngrPips
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants