Skip to content

eth_estimateGas is not supplied the gasPrice parameter #118

@wjmelements

Description

@wjmelements

Because Ethereum transactions can call the GASPRICE opcode (3a) and branch on it, eth_estimateGas without a gasPrice parameter can return inaccurate results. Transactions that do not supply enough gasLimit will revert.

You can test this by estimating gas on a TrueUSD transfer. The gasLimit required is approximately 21k higher for a 40 gwei tx than for a 1 wei tx.

A discussion of this issue for another project is here.

TrueUSD is the rank 4 ERC20 token by market cap. Please prioritize this issue so your users can use TrueUSD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions