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

chore: Speed up tx validation in sequencer #10869

Open
spalladino opened this issue Dec 19, 2024 · 0 comments · May be fixed by #10921
Open

chore: Speed up tx validation in sequencer #10869

spalladino opened this issue Dec 19, 2024 · 0 comments · May be fixed by #10921
Assignees

Comments

@spalladino
Copy link
Collaborator

spalladino commented Dec 19, 2024

The sequencer currently picks up every single transaction in the p2p layer, validates all of them, and then slices the one it strictly needs. We need to change the tx validator so it can be instructed to stop at a threshold (note that validating one by one without a shared context could lead to duplicate nullifiers). Also, we should remove from the sequencer the validations already performed by the p2p layer.

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 a pull request may close this issue.

1 participant