ethereum/execution-apis

`eth_call` doesn't specify behaviour when `Block` parameter is omitted

SamWilsn opened this issue · 4 comments

What is the behaviour when you don't specify a block? Should it default to latest?

s1na commented

In Geth block is mandatory and an error will be raised if its not given. But I think it makes sense to default to latest. Happy to submit a PR if other clients agree. In fact we plan to do that for eth_multicall #383.

I'd have no problem with changing:

required: false

To:

required: true

If that's less work.


if other clients agree

Like on ACD, or can this be more informal?

s1na commented

Ah I didn't know the spec says optional. I just opened ethereum/go-ethereum#28165

s1na commented

Geth defaults to "latest" now.