-
Notifications
You must be signed in to change notification settings - Fork 27
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(batcher): use the use_kzg_da flag in batcher block builder #2226
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## arni/batcher/propose_block_input/use_kzg_da/add_value #2226 +/- ##
========================================================================================
- Coverage 12.90% 5.17% -7.74%
========================================================================================
Files 189 146 -43
Lines 23952 16962 -6990
Branches 23952 16962 -6990
========================================================================================
- Hits 3092 877 -2215
+ Misses 20506 16011 -4495
+ Partials 354 74 -280 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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.
Reviewable status: 0 of 6 files reviewed, 1 unresolved discussion (waiting on @ArniStarkware and @Yael-Starkware)
crates/starknet_batcher/src/proposal_manager.rs
line 68 at r1 (raw file):
&mut self, height: BlockNumber, use_kzg_da: bool,
Consider bundling the fields into a struct, that way, you could also remove the clippy override. It will be even more important and convenient when adding the next fields.
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.
Reviewable status: 0 of 6 files reviewed, 1 unresolved discussion (waiting on @alonh5)
crates/starknet_batcher/src/proposal_manager.rs
line 68 at r1 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
Consider bundling the fields into a struct, that way, you could also remove the clippy override. It will be even more important and convenient when adding the next fields.
maybe a BlockInfo struct should be passed here.
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.
Reviewable status: 0 of 6 files reviewed, 1 unresolved discussion (waiting on @alonh5 and @dafnamatsry)
crates/starknet_batcher/src/proposal_manager.rs
line 68 at r1 (raw file):
Previously, Yael-Starkware (YaelD) wrote…
maybe a BlockInfo struct should be passed here.
See #2231 towards that goal.
155dcd2
to
697d9f8
Compare
17e423f
to
ff7c198
Compare
Closing this PR, as a more end-to-end approach was taken. See #2238 |
No description provided.