Skip to content

Calling eth_estimateGas with optional second argument (block number or hash) fails #1636

@cryptoDevTrader

Description

@cryptoDevTrader

System information

Geth version: 2021.03.02-alpha
OS & Version: Linux

Expected behaviour

Calling eth_estimateGas with two arguments (the second being the block number or hash) should estimate gas against the specified block as per ethereum/go-ethereum#2586.

Actual behaviour

Calling eth_estimateGas with two arguments results in the following error:

too many arguments, want at most 1

Steps to reproduce the behaviour

Call eth_estimateGas with a block number or hash as the second argument as per the console binding added in geth at ethereum/go-ethereum@c154442.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions