-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Prover CLI):
status batch
command (#1638)
## What ❔ This PR adds a new command to the prover CLI: 'status batch'. This command retrieves information about the prover jobs for a list of L1 batch numbers. To run the command: ```shell zk f cargo run -- status batch -n [1..] ``` This command accepts any number of L1 batch numbers. Example output: ``` $ zk f run --release -- status batch -n 1 == Batch 1 Status == > In Progress ⌛️ == Proving Stages == -- Aggregaton Round 0 -- Basic Witness Generator: Done ✅ > Prover Jobs: In progress ⌛️ -- Aggregaton Round 1 -- Leaf Witness Generator: In progress ⌛️ > Prover Jobs: Waiting for proofs ⏱️ -- Aggregaton Round 2 -- Node Witness Generator: In progress ⌛️ > Prover Jobs: Waiting for proofs ⏱️ -- Aggregaton Round 3 -- Recursion Tip: In progress ⌛️ > Prover Jobs: Waiting for proofs ⏱️ -- Aggregaton Round 4 -- Scheduler: In progress ⌛️ > Prover Jobs: Waiting for proofs ⏱️ -- Compressor -- > Compressor job not found 🚫 ``` Please note that this command is temporary. Once the new `zk` tool is ready, this command will be something like 'pli status batch -n 1 2'. For now, the 'zk' tool is needed to set up the environment. ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [x] Documentation comments have been added / updated. - [x] Code has been formatted via `zk fmt` and `zk lint`. - [x] Spellcheck has been run via `zk spellcheck`. - [x] Linkcheck has been run via `zk linkcheck`. --------- Co-authored-by: Joaquin Carletti <joaquin@192.168.1.7> Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com> Co-authored-by: Ivan Litteri <ivanlitteri@Ivans-MacBook-Pro.local> Co-authored-by: ilitteri <ilitteri@fi.uba.ar>
- Loading branch information
1 parent
c8ee740
commit 3fd6d65
Showing
20 changed files
with
1,602 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
pub(crate) mod get_file_info; | ||
pub(crate) mod status; | ||
|
||
pub(crate) use status::StatusCommand; |
Oops, something went wrong.