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(starknet_batcher): extract propose/validate block inputs into function #2306

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

alonh5
Copy link
Collaborator

@alonh5 alonh5 commented Nov 27, 2024

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 6.34%. Comparing base (e3165c4) to head (7cbd5e2).
Report is 788 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2306       +/-   ##
==========================================
- Coverage   40.10%   6.34%   -33.77%     
==========================================
  Files          26     141      +115     
  Lines        1895   17183    +15288     
  Branches     1895   17183    +15288     
==========================================
+ Hits          760    1090      +330     
- Misses       1100   16020    +14920     
- Partials       35      73       +38     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alonh5 alonh5 force-pushed the alonh/batcher_test_block_input branch from fe6f6cd to 3848efb Compare November 27, 2024 12:47
Copy link
Contributor

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful!

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArniStarkware)

Copy link
Collaborator Author

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArniStarkware)

@alonh5 alonh5 changed the base branch from arni/batcher/block_builder_factory/proposal_block_input/add_thin_block_info to main November 27, 2024 15:28
@ArniStarkware ArniStarkware force-pushed the alonh/batcher_test_block_input branch 2 times, most recently from ab8b6ac to 3c35d9c Compare December 5, 2024 15:27
@ArniStarkware ArniStarkware changed the title chore(batcher): extract propose/validate block inputs into function chore(starknet_batcher): extract propose/validate block inputs into function Dec 5, 2024
Copy link
Contributor

@Yael-Starkware Yael-Starkware left a 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 1 files reviewed, 2 unresolved discussions (waiting on @alonh5 and @ArniStarkware)


crates/starknet_batcher/src/batcher_test.rs line 85 at r3 (raw file):

        deadline: deadline(),
        retrospective_block_hash: None,
        block_info: Default::default(),

why not use the initial_block_info() for all tests?

Code quote:

Default::default()

crates/starknet_batcher/src/batcher_test.rs line 94 at r3 (raw file):

        deadline: deadline(),
        retrospective_block_hash: None,
        block_info: Default::default(),

same

Code quote:

block_info: Default::default(),

@alonh5 alonh5 force-pushed the alonh/batcher_test_block_input branch from 3c35d9c to aea0aa6 Compare December 9, 2024 15:00
Copy link
Collaborator Author

@alonh5 alonh5 left a 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 1 files reviewed, 2 unresolved discussions (waiting on @ArniStarkware and @Yael-Starkware)


crates/starknet_batcher/src/batcher_test.rs line 85 at r3 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

why not use the initial_block_info() for all tests?

Done.


crates/starknet_batcher/src/batcher_test.rs line 94 at r3 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

same

Done.

Copy link
Collaborator Author

alonh5 commented Dec 9, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArniStarkware)

@alonh5 alonh5 force-pushed the alonh/batcher_test_block_input branch from aea0aa6 to 7cbd5e2 Compare December 9, 2024 16:06
Copy link
Collaborator Author

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArniStarkware)

@alonh5 alonh5 merged commit 3e5404b into main Dec 10, 2024
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants