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 witness bad block hook implementation #10547

Closed
Tracked by #10405
Rjected opened this issue Aug 26, 2024 · 0 comments · Fixed by #10685
Closed
Tracked by #10405

Add witness bad block hook implementation #10547

Rjected opened this issue Aug 26, 2024 · 0 comments · Fixed by #10685
Assignees
Labels
A-blockchain-tree Related to sidechains, reorgs and pending blocks A-cli Related to the reth CLI C-enhancement New feature or request

Comments

@Rjected
Copy link
Member

Rjected commented Aug 26, 2024

Once we have a crate in #10546, we will need some hook implementations. For example, we should have one which does the equivalent of debug_executionWitness, re-executing the block and outputting the witness, like the one generated here, to a file:

let witness = state_provider
.witness(HashedPostState::default(), hashed_state)
.map_err(Into::into)?;

@Rjected Rjected added C-enhancement New feature or request A-cli Related to the reth CLI A-blockchain-tree Related to sidechains, reorgs and pending blocks labels Aug 26, 2024
@shekhirin shekhirin self-assigned this Sep 4, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Reth Tracker Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blockchain-tree Related to sidechains, reorgs and pending blocks 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