diff --git a/ci_scripts/lint-ubuntu.sh b/ci_scripts/lint-ubuntu.sh index e139cdd..9275065 100644 --- a/ci_scripts/lint-ubuntu.sh +++ b/ci_scripts/lint-ubuntu.sh @@ -5,5 +5,45 @@ curl -L https://risczero.com/install | bash cargo install taplo-cli --locked cargo fmt -- --check + +cd accounts cargo clippy --release -- -D warnings +cd .. + +cd consensus +cargo clippy --release -- -D warnings +cd .. + +cd mempool +cargo clippy --release -- -D warnings +cd .. + +cd networking +cargo clippy --release -- -D warnings +cd .. + +cd rpc_primitives +cargo clippy --release -- -D warnings +cd .. + +cd sequencer_core +cargo clippy --release -- -D warnings +cd .. + +cd sequencer_rpc +cargo clippy --release -- -D warnings +cd .. + +cd sequencer_runner +cargo clippy --release -- -D warnings +cd .. + +cd storage +cargo clippy --release -- -D warnings +cd .. + +cd utxo +cargo clippy --release -- -D warnings +cd .. + taplo fmt --check \ No newline at end of file diff --git a/zkvm/src/lib.rs b/zkvm/src/lib.rs index 3b2b4ba..14841d3 100644 --- a/zkvm/src/lib.rs +++ b/zkvm/src/lib.rs @@ -48,9 +48,9 @@ pub fn verify(receipt: Receipt, image_id: impl Into) { #[cfg(test)] mod tests { use super::*; + use test_methods::{BIG_CALCULATION_ELF, BIG_CALCULATION_ID}; use test_methods::{MULTIPLICATION_ELF, MULTIPLICATION_ID}; use test_methods::{SUMMATION_ELF, SUMMATION_ID}; - use test_methods::{BIG_CALCULATION_ELF, BIG_CALCULATION_ID}; #[test] fn prove_simple_sum() { @@ -140,5 +140,5 @@ mod tests { } res - } + } }