Skip to content

Commit

Permalink
feat : merge main and lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun Jangra authored and Arun Jangra committed Jun 19, 2024
2 parents 0416cfa + b625f90 commit b6fccd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions crates/orchestrator/src/tests/common/constants.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pub const MADARA_RPC_URL: &str = "http://localhost:9944";
#[allow(dead_code)]
pub const ETHEREUM_MAX_BYTES_PER_BLOB: u64 = 131072;
#[allow(dead_code)]
pub const ETHEREUM_MAX_BLOB_PER_TXN: u64 = 6;
6 changes: 2 additions & 4 deletions crates/orchestrator/src/tests/workers/proving/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ use mockall::predicate::eq;
use rstest::rstest;
use std::collections::HashMap;
use std::error::Error;
use tracing::log;
use tracing::log::log;
use uuid::Uuid;

#[rstest]
Expand Down Expand Up @@ -41,7 +39,7 @@ async fn test_proving_worker(#[case] incomplete_runs: bool) -> Result<(), Box<dy
for i in num_vec {
db_checks(i, &mut db);
}
}else{
} else {
// Mocking db call for getting successful snos jobs
db.expect_get_successful_snos_jobs_without_proving()
.times(1)
Expand Down Expand Up @@ -109,4 +107,4 @@ fn db_checks(id: i32, db: &mut MockDatabase) {
.times(1)
.withf(move |item| item.internal_id == id.clone().to_string())
.returning(move |_| Ok(get_job_item_mock_by_id(id)));
}
}

0 comments on commit b6fccd0

Please sign in to comment.