Skip to content
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

Fix alternative receiver behaviour for amb-erc-to-erc #408

Merged
merged 3 commits into from
Apr 21, 2020

Conversation

k1rill-fedoseev
Copy link
Member

It was found that fixed tokens receiver is different from the tokens sender when an alternative receiver is used in the mediator contracts, see #394 (comment)

In order to fix this, it is proposed to save an actual tokens sender instead of chosen receiver here:
https://github.com/poanetwork/tokenbridge-contracts/blob/0ef9071a0d39dcf59a09a5304cbafb711901d1b2/contracts/upgradeable_contracts/amb_erc677_to_erc677/BasicAMBErc677ToErc677.sol#L80

@k1rill-fedoseev k1rill-fedoseev self-assigned this Apr 17, 2020
@varasev varasev mentioned this pull request Apr 17, 2020
Copy link
Collaborator

@akolotov akolotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are changing existing methods here consider to add the description headers for every method touched.

@akolotov akolotov requested a review from patitonar April 20, 2020 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants