Skip to content

eth_getTransactionCount returns incorrect nonce (0x1 instead of 0x0) for pending txs #623

@mukul3097

Description

@mukul3097

The Base node returned an incorrect nonce (0x1 instead of 0x0) from eth_getTransactionCount.
As a result, our system used nonce 1 to construct a transaction, causing it to get stuck in the mempool.

curl --request POST \ --url https://localhost:8545 \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "eth_getTransactionCount", "id": 1, "params": [ "0x73236DdACe4Aaa22A96aE4AF21C48a49ec2c9861", "pending" ] }'

Environment:
• Client: Op-Geth,Op-node
• Version: v1.101511.0, v1.13.3
• Network: Base Mainnet

Additional Notes:
• We noticed that Reth v1.4.7 includes a fix for a similar issue.
• Op-Geth does not yet appear to have a fix for this.

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