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

avoid calling token.decimals() in reserve trade flow #515

Open
ilanDoron opened this issue Dec 4, 2019 · 0 comments
Open

avoid calling token.decimals() in reserve trade flow #515

ilanDoron opened this issue Dec 4, 2019 · 0 comments

Comments

@ilanDoron
Copy link
Contributor

ilanDoron commented Dec 4, 2019

in the reserve make sure this is a function that saves decimals for new tokens.
so we should never call token.decimals() as part of trade flow.
to avoid extra gas consumption.

@ilanDoron ilanDoron changed the title avoid calling token.decimals() in network / reserve avoid calling token.decimals() in reserve trade flow Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant