Skip to content

eth_simulateV1 validation: false not respected — balance check still runs #11216

@svlachakis

Description

@svlachakis

Spec behavior: When validation is false, all transaction validation (balance, fees, nonces) must be skipped.

Description

When eth_simulateV1 is called with "validation": false, Nethermind still
applies balance checks and returns -38014 "insufficient sender balance" for
calls from addresses with no balance. The spec requires all validation to be
bypassed when validation: false is set — the simulation must proceed with
whatever state exists.

Steps to Reproduce

{
  "blockStateCalls": [{
    "calls": [{
      "from": "0x1111111111111111111111111111111111111111",
      "to": "0x2222222222222222222222222222222222222222",
      "value": "0x52B7D2DCC80CD2E40000"
    }]
  }],
  "validation": false
}

Expected: success (no error)
Actual: -38014 "insufficient sender balance"

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