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

Document Gas Costs for all state-changing functions in libraries #80

Open
10 tasks
joshuahannan opened this issue Feb 5, 2018 · 0 comments
Open
10 tasks

Comments

@joshuahannan
Copy link
Contributor

What is it?

Document Gas Costs for all state-changing functions in libraries

Problem

We need to know average gas costs for all of the functions in our libraries so we can accurately predict for users of the libraries and platform.

Solution

Run a node on rinkeby and execute scripts that run functions in our libraries with common input parameters as well as edge cases to get minimum/average/max gas costs.

Steps to implement

Sorted by relative order of priority

  • BasicMathLib
  • TokenLib
  • CrowdsaleLib
  • DirectCrowdsaleLib
  • InteractiveCrowdsaleLib
  • ArrayUtilsLib
  • EvenDistroCrowdsaleLib
  • LinkedListLib
  • VestingLib
  • WalletLib
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