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

Support code delegations when purging confirmed blocks in the layered txpool #8018

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fab-10
Copy link
Contributor

@fab-10 fab-10 commented Dec 11, 2024

PR description

When an EIP-7702 transaction is confirmed, we need to look at its code delegations and extract the nonce for the authority and use that information to purge pending transaction in the txpool, like we do for the senders of all the confirmed txs.

Fixed Issue(s)

fixes #7985

Thanks for sending a pull request! Have you done the following?

  • Checked out our contribution guidelines?
  • Considered documentation and added the doc-change-required label to this PR if updates are required.
  • Considered the changelog and included an update if required.
  • For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

  • unit tests: ./gradlew build
  • acceptance tests: ./gradlew acceptanceTest
  • integration tests: ./gradlew integrationTest
  • reference tests: ./gradlew ethereum:referenceTests:referenceTests

@fab-10 fab-10 force-pushed the txpool-confirmed-block-7702-management branch from f7f0833 to 9442e4c Compare December 11, 2024 17:21
@fab-10 fab-10 changed the title Support code delegations when purging confirmed blocks in the layered… Support code delegations when purging confirmed blocks in the layered txpool Dec 11, 2024
@fab-10 fab-10 marked this pull request as ready for review December 11, 2024 17:28
@fab-10 fab-10 force-pushed the txpool-confirmed-block-7702-management branch 2 times, most recently from 17ff21a to 3f11111 Compare December 17, 2024 11:40
@fab-10 fab-10 force-pushed the txpool-confirmed-block-7702-management branch from 3f11111 to eaea960 Compare December 17, 2024 11:48
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.

Add support for EIP-7702 transactions to the txpool
1 participant