-
Notifications
You must be signed in to change notification settings - Fork 65
apollo_batcher: define custom input task type #11595
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
base: yoav/apollo_batcher/commitment_manager/wait_for_revert
Are you sure you want to change the base?
apollo_batcher: define custom input task type #11595
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. |
dorimedini-starkware
left a comment
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.
@dorimedini-starkware reviewed 5 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware and @yoavGrs).
crates/apollo_committer_types/src/communication.rs line 55 at r1 (raw file):
CommitBlock(CommitBlockRequest), RevertBlock(RevertBlockRequest), }
is this still used...? if so, where and why?
Code quote:
#[derive(Serialize, Deserialize, Clone, AsRefStr, EnumDiscriminants)]
#[strum_discriminants(
name(CommitterRequestLabelValue),
derive(IntoStaticStr, EnumIter, EnumVariantNames),
strum(serialize_all = "snake_case")
)]
pub enum CommitterRequest {
CommitBlock(CommitBlockRequest),
RevertBlock(RevertBlockRequest),
}
yoavGrs
left a comment
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.
@yoavGrs made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware and @dorimedini-starkware).
crates/apollo_committer_types/src/communication.rs line 55 at r1 (raw file):
Previously, dorimedini-starkware wrote…
is this still used...? if so, where and why?
The "application" use of this struct was replaced by CommitterTaskInput.
58f35ec to
9247b72
Compare
d6f4045 to
c717bf8
Compare
9247b72 to
03d44e1
Compare
c717bf8 to
30cd3f2
Compare
dorimedini-starkware
left a comment
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.
@dorimedini-starkware reviewed 1 file and all commit messages, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware).
03d44e1 to
4803f2e
Compare
30cd3f2 to
57c1215
Compare
amosStarkware
left a comment
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.
@amosStarkware reviewed 5 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @yoavGrs).
crates/apollo_batcher/src/commitment_manager/types.rs line 15 at r2 (raw file):
/// Input for commitment tasks. pub(crate) enum CommitterTaskInput {
Can you rename to TaskInput?
So it's not so similar to CommitmentTask.
can also be done later.
Also - why do you now need this type? and the fancy Display function?
Code quote:
pub(crate) enum CommitterTaskInput {
amosStarkware
left a comment
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.
@amosStarkware resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @yoavGrs).
4803f2e to
a50f4d0
Compare
57c1215 to
5a2be69
Compare
dorimedini-starkware
left a comment
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.
@dorimedini-starkware reviewed 2 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @yoavGrs).
a50f4d0 to
98e5e7d
Compare
5a2be69 to
17f6458
Compare
98e5e7d to
1830aef
Compare
17f6458 to
1e74388
Compare

No description provided.