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

Integration into Rust execution client #15

Closed
Vid201 opened this issue Nov 24, 2022 · 7 comments
Closed

Integration into Rust execution client #15

Vid201 opened this issue Nov 24, 2022 · 7 comments
Labels
question Further information is requested

Comments

@Vid201
Copy link
Member

Vid201 commented Nov 24, 2022

No description provided.

@zsluedem
Copy link
Collaborator

zsluedem commented Jan 5, 2023

I did some investigation these days and found that currently the RETH is still in the early stage and the normal execution client functions are not available and Akula is archived.

@Vid201
Copy link
Member Author

Vid201 commented Jan 5, 2023

Hi @zsluedem. Yes, I saw that Akula is archived/not in development when the Reth came out (which is, in fact, based on Erigon and Akula architecture). I am not entirely sure what you mean by "the normal execution client functions"?

@zsluedem
Copy link
Collaborator

zsluedem commented Jan 5, 2023

Currently, reth doesn't need a consensus client to interact with which means reth could not sync with the network and you have to input the blockhash you want to sync with.
And the standard execution api is not implemented yet.

I just want to comment on the current status of these rust execution clients. reth is under development and we should definitely revisit it later.

@Vid201
Copy link
Member Author

Vid201 commented Jan 5, 2023

Currently, reth doesn't need a consensus client to interact with which means reth could not sync with the network and you have to input the blockhash you want to sync with. And the standard execution api is not implemented yet.

I just want to comment on the current status of these rust execution clients. reth is under development and we should definitely revisit it later.

Ok, I got it.

I agree; it would make sense to revisit this sometime in the future and create a list of all the features missing in Reth that are needed.

@gakonst
Copy link

gakonst commented Jan 15, 2023

Would love to understand which features you need either to use reth as a node, or components of it as a library

@Vid201
Copy link
Member Author

Vid201 commented Jan 17, 2023

Would love to understand which features you need either to use reth as a node, or components of it as a library

@gakonst Most likely both. In the short term, the bundler will be run as a standalone component connecting to the execution client over API (which can work with any execution client, though with some constraints). In the long term, we are exploring making bundling capabilities as part of the Ethereum node.

Short-term: run alongside the execution client node, with communication happening over RPC API (or GRPC). The execution client node must support standard API endpoints (such as eth_sendRawTransaction for submitting bundles) and additional tracing API (at the moment, only supported by geth and Erigon AFAIK).

Long-term: integration into reth would be interesting. Starting reth with some flag parameter (--bundling) would enable bundling to run alongside standard functionalities. In this case, it would make sense to reuse some components (like database and low-level primitives) or extend some other things (RPC endpoints). Some components (db) can also be used in the short term (if it makes sense) to make long-term goals easier to achieve.

@Vid201 Vid201 added the question Further information is requested label May 19, 2023
@Vid201
Copy link
Member Author

Vid201 commented Jul 7, 2023

Look at #160

@Vid201 Vid201 closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants