Skip to content

Use estimateGas for gasLimit instead of arbitrary value #219

Description

@TimDaub

Scope

  • Currently when sending a transaction from a metaAccount, we simply take an arbitrary gasLimit value e.g. 200000
  • Often these transactions use way less gas
  • web3 implements a method on its Contract methods interface that is estimateGas
  • This runs a gasLimit simulation locally and returns a gasLimit that fairly accurately predicts how much gas will actually be spent

Deliverables

  • Identify all occurrences where gasLimits are set arbitrarily and replace them with estimateGas

Gains for the project

  • Users have to spend less money on sending transactions

Roles

bounty gardener: @TimDaub / 10%
bounty worker: name / 75%
bounty reviewer: name / 15%

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions