Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Check that calls on external contracts did what we expected #14

Open
mmhh1910 opened this issue Mar 10, 2018 · 0 comments
Open

Check that calls on external contracts did what we expected #14

mmhh1910 opened this issue Mar 10, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mmhh1910
Copy link
Contributor

When calling functions in other contracts we make assumptions about what happens there, e.g. with our calls:

Token(token).transfer(msg.sender, amount)
Token(token).transferFrom(msg.sender, this, amount)

We should check after these calls, if what we expected actually happened, e.g. after Token(token).transferFrom(msg.sender, this, amount) we expect amount more tokens in our contract than before.

@mmhh1910 mmhh1910 self-assigned this Mar 10, 2018
@mmhh1910 mmhh1910 added the enhancement New feature or request label Mar 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant