remove reference to increaseAllowance #9
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removed reference to the function
increaseAllowance
in theERC20.spec
.The function
increaseAllowance
is not a standard ERC20 function (see list here https://ethereum.org/developers/docs/standards/tokens/erc-20). It created a bad error message on m0's code when Jared tried to run the rule on their code, which had an ERC20 that did not contain this function:[main] ERROR ALWAYS - Error in spec file (ERC20.spec:102:80): could not type expression "sig:MToken.increaseAllowance(address, uint256)", message: could not find method
https://prover.certora.com/output/7053/8a687fb3ff0e4b06b5c357738a5e8340/?anonymousKey=5cb589114f221eaf6c38bde67e7824d55686a0f5
As we want this spec to be generic, I am removing the reference to this function.