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

Prototype eth_multicallV1 RPC API endpoint #5586

Closed
pistomat opened this issue Nov 27, 2023 · 4 comments
Closed

Prototype eth_multicallV1 RPC API endpoint #5586

pistomat opened this issue Nov 27, 2023 · 4 comments
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started S-stale This issue/PR is stale and will close with no further activity

Comments

@pistomat
Copy link
Contributor

pistomat commented Nov 27, 2023

Describe the feature

There is an ongoing effort to standardise an endpoint for a multicall across execution clients and introduce a new RPC method eth_multicallV1, which allows users to make complex RPC calls to Ethereum nodes. Compared to eth_call, it has many new additional features such as multiple dependent calls, various new overrides or simulating multiple blocks.

This endpoint is not finalised yet, but implementing it will help it's development.

Additional context

The specification for this RPC method can be found here: ethereum/execution-apis#484

Other client's implementation

Geth: https://github.com/s1na/go-ethereum/tree/multicall
Nethermind: https://github.com/NethermindEth/nethermind/tree/feature/eth_multicall

@pistomat pistomat added C-enhancement New feature or request S-needs-triage This issue needs to be labelled labels Nov 27, 2023
@mattsse mattsse added D-good-first-issue Nice and easy! A great choice to get started A-rpc Related to the RPC implementation and removed S-needs-triage This issue needs to be labelled labels Nov 27, 2023
@mattsse
Copy link
Collaborator

mattsse commented Nov 27, 2023

I think this is similar to

/// Simulate arbitrary number of transactions at an arbitrary blockchain index, with the
/// optionality of state overrides
pub async fn call_many(
&self,
bundle: Bundle,
state_context: Option<StateContext>,
mut state_override: Option<StateOverride>,
) -> EthResult<Vec<EthCallResponse>> {

@leontiadZen
Copy link

Hey can I check that with some guidance?

Copy link
Contributor

This issue is stale because it has been open for 21 days with no activity.

@github-actions github-actions bot added the S-stale This issue/PR is stale and will close with no further activity label Dec 24, 2023
Copy link
Contributor

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 31, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Reth Tracker Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started S-stale This issue/PR is stale and will close with no further activity
Projects
Archived in project
Development

No branches or pull requests

3 participants