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

refactor(starknet_batcher): add getters to the proposal manger #2480

Conversation

dafnamatsry
Copy link
Collaborator

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

@dafnamatsry dafnamatsry marked this pull request as ready for review December 5, 2024 12:02
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.

Project coverage is 6.22%. Comparing base (e3165c4) to head (b241765).
Report is 756 commits behind head on main.

Files with missing lines Patch % Lines
crates/starknet_batcher/src/proposal_manager.rs 53.84% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2480       +/-   ##
==========================================
- Coverage   40.10%   6.22%   -33.88%     
==========================================
  Files          26     141      +115     
  Lines        1895   17113    +15218     
  Branches     1895   17113    +15218     
==========================================
+ Hits          760    1066      +306     
- Misses       1100   15989    +14889     
- Partials       35      58       +23     

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

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 2 files reviewed, 1 unresolved discussion (waiting on @alonh5 and @dafnamatsry)


crates/starknet_batcher/src/proposal_manager.rs line 93 at r1 (raw file):

    pub abort_signal_sender: tokio::sync::oneshot::Sender<()>,
    pub join_handle: tokio::task::JoinHandle<()>,
}

why is the pub required?

Code quote:

pub struct ProposalTask {
    pub abort_signal_sender: tokio::sync::oneshot::Sender<()>,
    pub join_handle: tokio::task::JoinHandle<()>,
}

@dafnamatsry dafnamatsry force-pushed the 12-05-refactor_starknet_batcher_add_getters_to_the_proposal_manger branch from f37c942 to b241765 Compare December 8, 2024 09:17
Copy link
Collaborator Author

@dafnamatsry dafnamatsry 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 2 files reviewed, 1 unresolved discussion (waiting on @alonh5 and @Yael-Starkware)


crates/starknet_batcher/src/proposal_manager.rs line 93 at r1 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

why is the pub required?

Removed. (left by mistake)

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 2 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @alonh5)

Copy link
Collaborator

@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.

:lgtm:

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

Copy link
Collaborator Author

dafnamatsry commented Dec 9, 2024

Merge activity

  • Dec 9, 6:47 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Dec 9, 6:47 AM EST: A user merged this pull request with Graphite.

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.

4 participants