-
Notifications
You must be signed in to change notification settings - Fork 869
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
tests(erc20): Add ERC20 transfer integration tests #2085
Conversation
The failing tests are fixed by #2088 through emitting the additional approval event in case of a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Job @MalteHerrmann, very clean and well organized tests. Just left some nit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work! I found a few instances where the result boolean value is not checked
_, _, err = is.factory.CallContractAndCheckLogs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fedekunze good points, I've addressed your suggestion to check the bool values and will apply those changes to the other PRs too.
It would be good to merge this one first before adjust the other PRs, so the changes to the ERC20AllowanceCaller.sol
don't have to be repeated
tests will be fixed in a separate PR |
Description
This PR adds integration tests for ERC20 transfers in the process of merging #2044 in smaller chunks.