Skip to content

Commit bb5301d

Browse files
committed
chore: use lambdaworks commit with default fix
1 parent 3bac29f commit bb5301d

File tree

13 files changed

+44
-57
lines changed

13 files changed

+44
-57
lines changed

aggregation_mode/Cargo.lock

Lines changed: 7 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aggregation_mode/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tokio = { version = "1", features = ["time"]}
1717
sha3 = "0.10.8"
1818
reqwest = { version = "0.12" }
1919
ciborium = "=0.2.2"
20-
lambdaworks-crypto = { version = "0.12.0", features = ["serde"]}
20+
lambdaworks-crypto = { git = "https://github.com/lambdaclass/lambdaworks", rev = "5f8f2cfcc8a1a22f77e8dff2d581f1166eefb80b", features = ["serde"]}
2121
# Necessary for the VerificationData type
2222
aligned-sdk = { path = "../batcher/aligned-sdk/" }
2323
# zkvms

aggregation_mode/aggregation_programs/Cargo.lock

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aggregation_mode/aggregation_programs/risc0/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ serde_json = "1.0.117"
1010
# Unstable feature is necessary for tiny-keccak patch, see: https://dev.risczero.com/api/zkvm/precompiles#stability
1111
risc0-zkvm = { git = "https://github.com/risc0/risc0", tag="v2.0.0", default-features = false, features = ["unstable", "std"] }
1212
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
13-
lambdaworks-crypto = { version = "0.12.0", features = ["serde"]}
13+
lambdaworks-crypto = { git = "https://github.com/lambdaclass/lambdaworks", rev = "5f8f2cfcc8a1a22f77e8dff2d581f1166eefb80b", features = ["serde"]}
1414

1515
[lib]
1616
path = "./src/lib.rs"

aggregation_mode/aggregation_programs/risc0/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use lambdaworks_crypto::merkle_tree::traits::IsMerkleTreeBackend;
22
use serde::{Deserialize, Serialize};
33
use tiny_keccak::{Hasher, Keccak};
44

5-
#[derive(Serialize, Deserialize, Default)]
5+
#[derive(Serialize, Deserialize)]
66
pub struct Risc0ImageIdAndPubInputs {
77
pub image_id: [u8; 32],
88
pub public_inputs: Vec<u8>,

aggregation_mode/aggregation_programs/risc0/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
use lambdaworks_crypto::merkle_tree::merkle::MerkleTree;
44
use risc0_aggregation_program::{Input, Risc0ImageIdAndPubInputs};
55
use risc0_zkvm::guest::env;
6-
use tiny_keccak::{Hasher, Keccak};
76

87
risc0_zkvm::guest::entry!(main);
98

aggregation_mode/aggregation_programs/sp1/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sha2 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", tag = "sha2-v
1010
sha3 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", tag = "sha3-v0.10.8-patch-v1" }
1111
serde = { version = "1.0.203", features = ["derive"] }
1212
serde_json = "1.0.117"
13-
lambdaworks-crypto = { version = "0.12.0", features = ["serde"]}
13+
lambdaworks-crypto = { git = "https://github.com/lambdaclass/lambdaworks", rev = "5f8f2cfcc8a1a22f77e8dff2d581f1166eefb80b", features = ["serde"]}
1414

1515
[lib]
1616
path = "./src/lib.rs"

aggregation_mode/aggregation_programs/sp1/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use lambdaworks_crypto::merkle_tree::traits::IsMerkleTreeBackend;
22
use serde::{Deserialize, Serialize};
33
use sha3::{Digest, Keccak256};
44

5-
#[derive(Serialize, Deserialize, Default)]
5+
#[derive(Serialize, Deserialize)]
66
pub struct SP1VkAndPubInputs {
77
pub vk: [u32; 8],
88
pub public_inputs: Vec<u8>,

aggregation_mode/src/aggregators/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ pub enum AlignedProof {
116116
Risc0(Box<Risc0ProofReceiptAndImageId>),
117117
}
118118

119-
impl Default for AlignedProof {
120-
fn default() -> Self {
121-
todo!()
122-
}
123-
}
124-
125119
impl AlignedProof {
126120
pub fn commitment(&self) -> [u8; 32] {
127121
match self {

batcher/Cargo.lock

Lines changed: 28 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)