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

Drop the skipped transaction in the follower node #498

Open
icemelon opened this issue Sep 4, 2023 · 0 comments
Open

Drop the skipped transaction in the follower node #498

icemelon opened this issue Sep 4, 2023 · 0 comments

Comments

@icemelon
Copy link
Member

icemelon commented Sep 4, 2023

Rationale

Currently, the signer node will apply the circuit capacity checker on all txs from the mempool. If a single tx exceeds the circuit capacity, the tx will be dropped from the mempool. However, the follower node won't drop these txs from their mempool since it doesn't enable the circuit capacity checker. It will lead to the incorrect nonce if a client calls eth_getTransactionCount to a rpc node.

Implementation

Do you have ideas regarding the implementation of this feature?
The signer node should communicate the dropped txs to the p2p network and the follower node should verify them locally. But need to dig deeper into the codebase to figure out the details

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

No branches or pull requests

1 participant