Skip to content

eth_simulateV1 wrong error code and message for fee cap below base fee #11215

Description

@svlachakis

Spec error code: -38012 — "Transactions baseFeePerGas is too low"

Description

When validation: true and a transaction's maxFeePerGas is below the block's baseFee, Nethermind returns -32602 with "miner premium is negative".

The spec mandates:

  • Code: -38012
  • Message: "Transactions baseFeePerGas is too low"

Both the code and the message are wrong.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions