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 new RPC endpoints debug_setHead & debug_replayBlock #4580

Merged
merged 4 commits into from
Nov 12, 2022

Conversation

daniellehrner
Copy link
Contributor

PR description

debug_setHead: Sets the current head of the local chain by block number.
debug_replayBlock: Reimports a block by block number, by rolling the head of the local chain back to blockNumber - 1 and afterwards importing the given block.

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

@daniellehrner daniellehrner added the doc-change-required Indicates an issue or PR that requires doc to be updated label Oct 31, 2022
@daniellehrner daniellehrner changed the title Add new RPC endpoings debug_setHead & debug_replayBlock Add new RPC endpoints debug_setHead & debug_replayBlock Oct 31, 2022
CHANGELOG.md Outdated Show resolved Hide resolved
gradle.properties Outdated Show resolved Hide resolved
@daniellehrner daniellehrner enabled auto-merge (squash) November 10, 2022 09:24
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
@daniellehrner daniellehrner merged commit 6a3d452 into hyperledger:main Nov 12, 2022
wcgcyx pushed a commit to wcgcyx/besu that referenced this pull request Nov 16, 2022
…4580)

* add debug_setHead & debug_replayBlock endpoint

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: wcgcyx <wcgcyx@gmail.com>
@rolandtyler rolandtyler removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Nov 17, 2022
macfarla pushed a commit to jflo/besu that referenced this pull request Jan 10, 2023
…4580)

* add debug_setHead & debug_replayBlock endpoint

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
…4580)

* add debug_setHead & debug_replayBlock endpoint

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants