-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle DA errors, progress towards allowing retry (#20)
* feat: start work on separating out celestia and zkp client calls * feat: move to recursive worker model to make more clear state machine progression for workers * feat: handle errors in job progress, add some debug helpers * feat: add failure retry possibility * docs: add some rust API docs * cargo machete * justfile helper improvements * feature gate some parts of common and make mods for them
- Loading branch information
Showing
23 changed files
with
826 additions
and
4,162 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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,12 +1,17 @@ | ||
fn main() -> Result<(), Box<dyn std::error::Error>> { | ||
let code_gen_path = std::path::Path::new("src/generated"); | ||
if !code_gen_path.exists() { | ||
std::fs::create_dir_all(code_gen_path)?; | ||
#[cfg(feature = "grpc")] | ||
{ | ||
let code_gen_path = std::path::Path::new("src/generated"); | ||
if !code_gen_path.exists() { | ||
std::fs::create_dir_all(code_gen_path)?; | ||
} | ||
tonic_build::configure() | ||
.build_server(true) | ||
.build_client(true) | ||
.out_dir(code_gen_path) | ||
.compile(&["proto/eqservice.proto"], &["proto/"])?; | ||
Ok(()) | ||
} | ||
tonic_build::configure() | ||
.build_server(true) | ||
.build_client(true) | ||
.out_dir(code_gen_path) | ||
.compile(&["proto/eqservice.proto"], &["proto/"])?; | ||
#[cfg(not(feature = "grpc"))] | ||
Ok(()) | ||
} |
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
Oops, something went wrong.