Upgrade go-ethereum
to v1.13.11
#3774
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #3772
Depends on: #3773
Here we bump up
go-etherum
version tov1.13.11
. This version is ready for the Cancun-Deneb (Dencun) upgrade and adds support for the new “blob-carrying” EIP-4844 transaction type in API methods. The RPC client used in oldergo-ethereum
versions does not recognize EIP-4844 transactions and may error out if there is a need to parse return data from transaction-related functions called against chains where the Dencun upgrade has been enabled. We observed this problem on our Sepolia testnet when callingeth_getBlockByNumber
using versionv1.10.19
after Jan 31th so after the date when Dencun was enabled on SepoliaWe are also taking an opportunity and optimize our
GetBlockHashByNumber
function. So far this function called theBlockByNumber
function of the RPC client. Under the hood, that resulted in an inefficienteth_getBlockByNumber
call with theshow transaction details
flag set totrue
which loaded full transaction data of the given block which is not necessary for the context ofGetBlockHashByNumber
. Here we improve that behavior by using theHeaderByNumber
function of the RPC client. That function callseth_getBlockByNumber
with theshow transaction details
flag set tofalse
which does not load transaction data and returns only data specific to the block header. This is enough to get the hash of the block.