-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat(derive): BatchValidator
stage
#703
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files☔ View full report in Codecov by Sentry. |
f842945
to
084e7f1
Compare
f25c54f
to
30c78f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but it seems like there's a lot of duplicate logic with the batch_queue
. Is it not possible to de-dup into a split out validator that holds the l1 blocks? Happy to allow any enhancements to be follow on since this works.
* feat(derive): `BatchValidator` stage * tests * lint * tests tests * 🧹 * tests * lint
Overview
Adds a new stage to take place of the
BatchQueue
after Holocene activation, theBatchValidator
. This stage's only role is to consume theSingleBatch
es from theBatchStream
, validate them, and send them off to theAttributesQueue
.This PR does not hook this stage up to a multiplexer stage with the
BatchQueue
, and that will be done in a follow-up.