Skip to content

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

@joshuahannan

Description

@joshuahannan

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions