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

Consistent call of onTokenTransfer #412

Merged
merged 1 commit into from
May 4, 2020
Merged

Conversation

akolotov
Copy link
Collaborator

@akolotov akolotov commented May 3, 2020

Below is the list of the reason why these changes were introduced:

  1. It was found that abi.encodeWithSelector is worth to use instead of abi.encodeWithSignature since the contract storage is used in more efficient way.
  2. Other places where onTokenTransfer is being called uses abi.encodeWithSelector.

@akolotov akolotov merged commit a620e47 into develop May 4, 2020
@akolotov akolotov deleted the fallback-call-consistency branch May 4, 2020 08:16
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.

2 participants