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"
Spec behavior: When
validationisfalse, all transaction validation (balance, fees, nonces) must be skipped.Description
When
eth_simulateV1is called with"validation": false, Nethermind stillapplies balance checks and returns
-38014 "insufficient sender balance"forcalls from addresses with no balance. The spec requires all validation to be
bypassed when
validation: falseis set — the simulation must proceed withwhatever state exists.
Steps to Reproduce
{ "blockStateCalls": [{ "calls": [{ "from": "0x1111111111111111111111111111111111111111", "to": "0x2222222222222222222222222222222222222222", "value": "0x52B7D2DCC80CD2E40000" }] }], "validation": false }Expected: success (no error)
Actual:
-38014 "insufficient sender balance"