mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fix: suggersion added 1
This commit is contained in:
parent
958e1dcb9c
commit
8d3ee36392
68
Cargo.lock
generated
68
Cargo.lock
generated
@ -764,17 +764,6 @@ dependencies = [
|
||||
"generic-array",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bls12_381"
|
||||
version = "0.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d7bc6d6292be3a19e6379786dac800f551e5865a5bb51ebbe3064ab80433f403"
|
||||
dependencies = [
|
||||
"ff",
|
||||
"rand_core 0.6.4",
|
||||
"subtle",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bonsai-sdk"
|
||||
version = "1.4.0"
|
||||
@ -1007,7 +996,6 @@ dependencies = [
|
||||
"anyhow",
|
||||
"elliptic-curve",
|
||||
"hex",
|
||||
"indexed-merkle-tree",
|
||||
"log",
|
||||
"reqwest 0.11.27",
|
||||
"risc0-zkvm",
|
||||
@ -2366,23 +2354,6 @@ version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4ee796ad498c8d9a1d68e477df8f754ed784ef875de1414ebdaf169f70a6a784"
|
||||
|
||||
[[package]]
|
||||
name = "indexed-merkle-tree"
|
||||
version = "0.6.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d86e7e0a70243eb602dba292003d26682c23cff528c5b3c06c002d242a26d865"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bls12_381",
|
||||
"borsh",
|
||||
"hex",
|
||||
"num",
|
||||
"num-bigint 0.4.6",
|
||||
"num-traits",
|
||||
"serde",
|
||||
"sha2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "indexmap"
|
||||
version = "1.9.3"
|
||||
@ -2956,7 +2927,6 @@ dependencies = [
|
||||
"elliptic-curve",
|
||||
"env_logger",
|
||||
"hex",
|
||||
"indexed-merkle-tree",
|
||||
"k256",
|
||||
"log",
|
||||
"rand 0.8.5",
|
||||
@ -3037,20 +3007,6 @@ dependencies = [
|
||||
"minimal-lexical",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num"
|
||||
version = "0.4.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
|
||||
dependencies = [
|
||||
"num-bigint 0.4.6",
|
||||
"num-complex",
|
||||
"num-integer",
|
||||
"num-iter",
|
||||
"num-rational",
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-bigint"
|
||||
version = "0.3.3"
|
||||
@ -3107,28 +3063,6 @@ dependencies = [
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-iter"
|
||||
version = "0.1.45"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"num-integer",
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-rational"
|
||||
version = "0.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
|
||||
dependencies = [
|
||||
"num-bigint 0.4.6",
|
||||
"num-integer",
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-traits"
|
||||
version = "0.2.19"
|
||||
@ -4293,7 +4227,6 @@ dependencies = [
|
||||
"elliptic-curve",
|
||||
"env_logger",
|
||||
"hex",
|
||||
"indexed-merkle-tree",
|
||||
"k256",
|
||||
"light-poseidon",
|
||||
"log",
|
||||
@ -5229,7 +5162,6 @@ dependencies = [
|
||||
"common",
|
||||
"env_logger",
|
||||
"hex",
|
||||
"indexed-merkle-tree",
|
||||
"log",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
||||
@ -45,7 +45,6 @@ tempfile = "3.14.0"
|
||||
light-poseidon = "0.3.0"
|
||||
ark-bn254 = "0.5.0"
|
||||
ark-ff = "0.5.0"
|
||||
indexed-merkle-tree = "0.6.2"
|
||||
|
||||
rocksdb = { version = "0.21.0", default-features = false, features = [
|
||||
"snappy",
|
||||
|
||||
@ -9,7 +9,6 @@ thiserror.workspace = true
|
||||
serde_json.workspace = true
|
||||
serde.workspace = true
|
||||
reqwest.workspace = true
|
||||
indexed-merkle-tree.workspace = true
|
||||
risc0-zkvm = { git = "https://github.com/risc0/risc0.git", branch = "release-2.0" }
|
||||
|
||||
rs_merkle.workspace = true
|
||||
|
||||
@ -12,7 +12,6 @@ serde.workspace = true
|
||||
rand.workspace = true
|
||||
k256.workspace = true
|
||||
sha2.workspace = true
|
||||
indexed-merkle-tree.workspace = true
|
||||
bincode.workspace = true
|
||||
elliptic-curve.workspace = true
|
||||
reqwest.workspace = true
|
||||
|
||||
@ -12,7 +12,6 @@ serde.workspace = true
|
||||
rand.workspace = true
|
||||
k256.workspace = true
|
||||
sha2.workspace = true
|
||||
indexed-merkle-tree.workspace = true
|
||||
bincode.workspace = true
|
||||
elliptic-curve.workspace = true
|
||||
hex.workspace = true
|
||||
|
||||
@ -43,8 +43,6 @@ pub fn validate_in_commitments_proof(
|
||||
in_commitments_proof: &[Vec<u8>],
|
||||
) -> bool {
|
||||
// Placeholder implementation.
|
||||
// Replace with Merkle proof verification logic.
|
||||
// hash(&[pedersen_commitment.serialize().to_vec(), in_commitments_proof.concat()].concat()) == root_commitment
|
||||
|
||||
in_commitments_proof.contains(in_commitment)
|
||||
}
|
||||
|
||||
@ -9,7 +9,6 @@ serde_json.workspace = true
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
serde.workspace = true
|
||||
indexed-merkle-tree.workspace = true
|
||||
sha2.workspace = true
|
||||
hex.workspace = true
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user