Skip to content

Commit

Permalink
feat(reqactor): impl max_proving_concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
keroro520 committed Jan 15, 2025
1 parent 4f51bef commit 99d8831
Show file tree
Hide file tree
Showing 5 changed files with 616 additions and 552 deletions.
9 changes: 9 additions & 0 deletions reqactor/src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,13 @@ pub enum Action {
},
}

impl Action {
pub fn request_key(&self) -> &RequestKey {
match self {
Action::Prove { request_key, .. } => request_key,
Action::Cancel { request_key, .. } => request_key,
}
}
}

impl_display_using_json_pretty!(Action);
Loading

0 comments on commit 99d8831

Please sign in to comment.