-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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(Prover CLI): Batch proof compression job status #1789
feat(Prover CLI): Batch proof compression job status #1789
Conversation
…sync-era into prover_cli_compressor_status
) | ||
.fetch_optional(self.storage.conn()) | ||
.await | ||
.unwrap(); |
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.
I think we can use a map here for this one, very similar to get_oldest_not_compressed_batch
approach.
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.
Overall LGTM. Left a nit.
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.
LGTM, like the emojis, hehe
@@ -229,3 +230,33 @@ impl FromStr for GpuProverInstanceStatus { | |||
} | |||
} | |||
} | |||
|
|||
#[derive(Debug, EnumString, Display)] | |||
pub enum ProofCompressionJobStatus { |
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.
Isn't there a similar enum in types? May we reuse it 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.
Yes! This is the one that you are talking about, I just moved it to the right module.
What ❔
Handles the batch proof compression status for the
status batch
command.Why ❔
A user that will do maintenance on the prover could find useful to see the batch proof compression job status.
Example
Checklist
zk fmt
andzk lint
.zk spellcheck
.zk linkcheck
.