Skip to content

Gas limit intermittently set too high #6777

@danfinlay

Description

@danfinlay

Josh from FunFair writes:

not sure what's happened on your latest release but we currently do not send gas estimates to you and you guys normally work it out. We seen today Gas limit are intermittently getting set much too high then they should by you guys. Gas limit should of been around 350,000 for that transaction... not sure if you know any issues on the latest release for you guys?

sc1

this shows its getting it correct and then wrong at the same time as well.

sc2

We estimate our gas limit from a combination of sources:

  • We call eth_estimateGas for the currently connected RPC
  • We fudge the number up 10% to account for gas refunds mid-transaction.

The first question I have here is: Is this inaccuracy coming from Geth or our own internal 10% addition? (Guide to opening the background inspector here should make it easy to view Network and see if the RPC node is returning a bad number).

Did we recently adjust gas estimation?

What RPC node is Josh connected to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions