-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
l2 geth: feat debug_ingestTransactions
#853
Conversation
🦋 Changeset detectedLatest commit: f25fc70 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report
@@ Coverage Diff @@
## develop #853 +/- ##
========================================
Coverage 82.21% 82.21%
========================================
Files 48 48
Lines 1895 1895
Branches 303 303
========================================
Hits 1558 1558
Misses 337 337 Continue to review full report at Codecov.
|
* l2geth: debug_ingestTransactions endpoint * chore: add changeset * l2geth: remove dead type * chore: update changeset Co-authored-by: Georgios Konstantopoulos <[email protected]>
Description
Adds a new RPC endpoint
debug_ingestTransactions
which takes a list of transactions and then applies them to the state without any validation. This RPC must not be exposed to the internet because it is unsafe. It was added to the private debug namespace which also includesdebug_setHead
which can be used to reorganize the chain arbitrarily.Additional context
This is useful for testing and generating state deterministically in geth