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

Implement admin_exportChain for admin rpc #7813

Open
obasekiosa opened this issue Nov 26, 2024 · 9 comments
Open

Implement admin_exportChain for admin rpc #7813

obasekiosa opened this issue Nov 26, 2024 · 9 comments

Comments

@obasekiosa
Copy link
Contributor

Is your feature request related to a problem? Please describe.
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin#admin-exportchain

Allows for the exportation of a range of blocks.

@arnavchhokra
Copy link

Can I tackle this one?

@obasekiosa
Copy link
Contributor Author

@arnavchhokra
feel free to give it a shot.

ask questions within this thread

@arnavchhokra
Copy link

Question: for exporting chain data I am supposed to provide the first and the last block, so for fetching it can i use this: https://docs.nethermind.io/interacting/json-rpc-ns/eth#eth_getblockbynumber ?

@arnavchhokra
Copy link

The relevant function: public ResultWrapper<BlockForRpc> eth_getBlockByNumber(BlockParameter blockParameter, bool returnFullTransactionObjects) { return GetBlock(blockParameter, returnFullTransactionObjects); }

@MarekM25
Copy link
Contributor

@obasekiosa Could you elaborate why we need this change?

@mimisavage
Copy link

Could I take a shot at this?

@obasekiosa
Copy link
Contributor Author

@obasekiosa Could you elaborate why we need this change?

same reason as the others

@Nityam573
Copy link

Could I take on this issue?

@mymiracle0118
Copy link

I’d love to work on this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants