`eth_call` doesn't specify behaviour when `Block` parameter is omitted
SamWilsn opened this issue · comments
Sam Wilson commented
What is the behaviour when you don't specify a block? Should it default to latest
?
Sina M 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.
Sam Wilson commented
I'd have no problem with changing:
execution-apis/src/eth/execute.yaml
Line 9 in 5849052
To:
required: true
If that's less work.
if other clients agree
Like on ACD, or can this be more informal?
Sina M commented
Ah I didn't know the spec says optional. I just opened ethereum/go-ethereum#28165
Sina M commented
Geth defaults to "latest" now.