On June 24th, 2020 Infura will update the backing go-ethereum nodes for the Goerli network to version 1.9.15. This version introduces two minor changes to JSONRPC behavior:
- The
eth_call
,eth_estimateGas
andeth_sendRawTransaction
RPC methods now return the revert reason as a JSON-RPC error when the contract executes REVERT. The returned error includes the decoded reason string in the error message, and also makes the raw REVERT data available in the error’s “data” field:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": 3,
"message": "execution reverted: some error",
"data": "0x08c379a000000000000000000..."
}
}
-
eth_call
now defaults to the0x00..00
account for the sender when none is specified in the incoming JSONRPC request. In general, it is a best practice to always specify an
explicit sender as various ethereum clients have differing default behavior when this field is not specified.
We expect to update other networks to this or a later version of go-ethereum closer to the upcoming Berlin hardfork.