Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEB3-89: Use access list to pre-fetch data #196

Merged
merged 21 commits into from
Sep 5, 2024
Merged

WEB3-89: Use access list to pre-fetch data #196

merged 21 commits into from
Sep 5, 2024

Conversation

Wollac
Copy link
Contributor

@Wollac Wollac commented Aug 17, 2024

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.

closes WEB3-51
closes WEB3-56

Base automatically changed from feat/beacon-input to main August 22, 2024 23:47
@github-actions github-actions bot changed the title Use access list to pre-fetch data WEB3-89: Use access list to pre-fetch data Aug 24, 2024
@Wollac Wollac marked this pull request as ready for review September 3, 2024 13:59
@Wollac Wollac requested a review from capossele as a code owner September 3, 2024 13:59
@Wollac Wollac requested review from nategraf and capossele and removed request for capossele September 3, 2024 13:59
@Wollac Wollac self-assigned this Sep 3, 2024
Wollac and others added 4 commits September 5, 2024 08:45
Makes the EIP-1186 proof request chunk size configurable in the builder.

closes WEB3-56

---------

Co-authored-by: Victor Graf <[email protected]>
@Wollac Wollac merged commit a9af04a into main Sep 5, 2024
9 checks passed
@Wollac Wollac deleted the feat/access-list branch September 5, 2024 11:39
nategraf added a commit that referenced this pull request Sep 10, 2024
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`.

closes WEB3-51 
closes WEB3-56

---------

Co-authored-by: Victor Graf <[email protected]>
nategraf added a commit that referenced this pull request Sep 10, 2024
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`.

closes WEB3-51 
closes WEB3-56

---------

Co-authored-by: Victor Graf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants