Skip to content

Commit 494351a

Browse files
committed
fix: lints
1 parent 514a35d commit 494351a

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

artifacts/risc0/templates/Cargo.toml.tera

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ edition = "{{ edition }}"
1010
zkaleido-risc0-guest-env = { path = "../../../adapters/risc0/guest" }
1111

1212
[patch.crates-io]
13-
sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2-v0.10.8-risczero.0" }
1413
k256 = { git = "https://github.com/risc0/RustCrypto-elliptic-curves", tag = "k256/v0.13.3-risczero.1" }
14+
sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2-v0.10.8-risczero.0" }
1515
substrate-bn = { git = "https://github.com/risc0/paritytech-bn", tag = "v0.6.0-risczero.0" }

examples/fibonacci/src/program.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub mod tests {
4040
use zkaleido::ZkVmProgram;
4141
use zkaleido_native_adapter::{NativeHost, NativeMachine};
4242

43-
use crate::{program::FibProgram, process_fibonacci};
43+
use crate::{process_fibonacci, program::FibProgram};
4444

4545
pub fn get_native_host() -> NativeHost {
4646
NativeHost {

examples/groth16-verify-risc0/src/program.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ impl ZkVmProgram for Risc0Groth16VerifyProgram {
99
type Output = bool;
1010

1111
fn name() -> String {
12-
"risc0_groth16_verify".to_string()
12+
"groth16_verify_risc0".to_string()
1313
}
1414

1515
fn proof_type() -> zkaleido::ProofType {
-396 Bytes
Binary file not shown.

examples/groth16-verify-sp1/src/program.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ impl ZkVmProgram for SP1Groth16VerifyProgram {
99
type Output = bool;
1010

1111
fn name() -> String {
12-
"groth16_verify".to_string()
12+
"groth16_verify_sp1".to_string()
1313
}
1414

1515
fn proof_type() -> zkaleido::ProofType {

examples/sha2-chain/src/program.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mod tests {
4040
use zkaleido::ZkVmProgram;
4141
use zkaleido_native_adapter::{NativeHost, NativeMachine};
4242

43-
use crate::{program::ShaChainProgram, process_sha2_chain};
43+
use crate::{process_sha2_chain, program::ShaChainProgram};
4444

4545
fn get_native_host() -> NativeHost {
4646
NativeHost {

0 commit comments

Comments
 (0)