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

Add a reth import command that can import RLP-encoded blocks #878

Closed
Tracked by #851
onbjerg opened this issue Jan 13, 2023 · 0 comments · Fixed by #877
Closed
Tracked by #851

Add a reth import command that can import RLP-encoded blocks #878

onbjerg opened this issue Jan 13, 2023 · 0 comments · Fixed by #877
Assignees
Labels
A-cli Related to the reth CLI C-enhancement New feature or request

Comments

@onbjerg
Copy link
Member

onbjerg commented Jan 13, 2023

Add a reth import <path> command that can import one or more RLP-encoded blocks from a file.

The file is a stand-in for syncing over the network, i.e. the file import replaces the online stages (headers and bodies). The blocks should be run through the rest of the sync pipeline, which will also validate them.

The tool makes it possible to test all of the offline stages from a file.

This is mostly a debugging/testing tool for our own CI and Hive (#851).

@onbjerg onbjerg added the A-cli Related to the reth CLI label Jan 13, 2023
@onbjerg onbjerg self-assigned this Jan 13, 2023
@onbjerg onbjerg added the C-enhancement New feature or request label Jan 13, 2023
@onbjerg onbjerg moved this from Todo to In Progress in Reth Tracker Jan 13, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Related to the reth CLI C-enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants