This PR adds the option to prefetch all storage inclusion proofs before preflight execution. If (most of) the accessed storage slots are known in advance, their values can be fetched with a single eth_getProof call before the actual execution, instead of using many individual eth_getStorageAt calls during execution. In scenarios where many storage slots are accessed, this greatly reduces the number of RPC calls and improves performance.
This PR also introduces a configurable chunk size when calling eth_getProof.
This PR adds the option to prefetch all storage inclusion proofs before preflight execution. If (most of) the accessed storage slots are known in advance, their values can be fetched with a single
eth_getProof
call before the actual execution, instead of using many individualeth_getStorageAt
calls during execution. In scenarios where many storage slots are accessed, this greatly reduces the number of RPC calls and improves performance.This PR also introduces a configurable chunk size when calling
eth_getProof
.closes WEB3-51 closes WEB3-56