Skip to content

Commit d1e34e8

Browse files
Merge pull request #26 from Lightprotocol/sergey/validity_proof_v2
refactor: validity proof
2 parents 6bbf1ca + a62faf1 commit d1e34e8

17 files changed

+1068
-992
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ name = "photon-tree-validator"
3434
path = "src/tools/tree_validator/main.rs"
3535

3636
[dependencies]
37+
ark-serialize = "0.5"
38+
ark-bn254 = "0.5"
39+
3740
anchor-lang = "0.29.0"
3841
anyhow = "1.0.79"
3942
async-std = { version = "1", features = ["attributes", "tokio1"] }
@@ -52,7 +55,6 @@ itertools = "0.12.1"
5255
jsonrpsee = { version = "0.16.2", features = ["server", "macros"] }
5356
jsonrpsee-core = { version = "0.16.2", features = ["server"] }
5457
lazy_static = "1.4.0"
55-
light-poseidon = "0.2.0"
5658
log = "0.4.17"
5759
once_cell = "1.19.0"
5860
rstest = "0.18.2"
@@ -78,12 +80,13 @@ solana-sdk = "1.18.0"
7880
solana-pubkey = "2.3.0"
7981

8082
solana-transaction-status = "1.18.0"
83+
84+
light-poseidon = "0.3.0"
8185
light-batched-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "368f9f08272db78c74b2ade1a1c2fead27dd0a96" }
8286
light-compressed-account = { git = "https://github.com/Lightprotocol/light-protocol", rev = "368f9f08272db78c74b2ade1a1c2fead27dd0a96" }
8387
light-concurrent-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "368f9f08272db78c74b2ade1a1c2fead27dd0a96" }
8488
light-hasher = { git = "https://github.com/Lightprotocol/light-protocol", rev = "368f9f08272db78c74b2ade1a1c2fead27dd0a96" }
8589
light-merkle-tree-metadata = { git = "https://github.com/Lightprotocol/light-protocol", rev = "368f9f08272db78c74b2ade1a1c2fead27dd0a96" }
86-
light-prover-client = { git = "https://github.com/Lightprotocol/light-protocol", rev = "368f9f08272db78c74b2ade1a1c2fead27dd0a96" }
8790
light-sdk = { git = "https://github.com/Lightprotocol/light-protocol", rev = "368f9f08272db78c74b2ade1a1c2fead27dd0a96" }
8891

8992
sqlx = { version = "0.6.2", features = [
@@ -97,7 +100,6 @@ sqlx = { version = "0.6.2", features = [
97100
] }
98101
thiserror = "1.0.31"
99102
# time pinned because of https://github.com/launchbadge/sqlx/issues/3189
100-
ark-bn254 = "0.4.0"
101103
hex = "0.4.3"
102104
num-bigint = "0.4.4"
103105
num-traits = "0.2.18"
@@ -125,6 +127,7 @@ rand = "0.8.5"
125127
bincode = "1.3.3"
126128
rust-s3 = "0.34.0"
127129

130+
128131
[dev-dependencies]
129132
function_name = "0.3.0"
130133
serial_test = "2.0.0"

0 commit comments

Comments
 (0)