Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masp vp parallel verification #2972

Merged
merged 7 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improved masp vp verification to run in parallel.
([\#2972](https://github.com/anoma/namada/pull/2972))
159 changes: 154 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ ledger-transport-hid = "0.10.0"
libc = "0.2.97"
libloading = "0.7.2"
linkme = "0.3.24"
# branch = "main"
masp_primitives = { git = "https://github.com/anoma/masp", rev = "3aacc707c5948e7423589ac617305448bead9842" }
masp_proofs = { git = "https://github.com/anoma/masp", rev = "3aacc707c5948e7423589ac617305448bead9842", default-features = false, features = ["local-prover"] }
# branch = "murisi/namada-integration"
masp_primitives = { git = "https://github.com/anoma/masp", rev = "3689da58610bb65aaa303912750f1fa89f8c4a34" }
masp_proofs = { git = "https://github.com/anoma/masp", rev = "3689da58610bb65aaa303912750f1fa89f8c4a34", default-features = false, features = ["local-prover"] }
num256 = "0.3.5"
num_cpus = "1.13.0"
num-derive = "0.4"
Expand Down Expand Up @@ -196,6 +196,10 @@ winapi = "0.3.9"
yansi = "0.5.1"
zeroize = { version = "1.5.5", features = ["zeroize_derive"] }

[patch.crates-io]
# Patch to the fork containing the correct personalization and basepoints for masp
reddsa = { git = "https://github.com/heliaxdev/reddsa", rev = "46d363b929e1b940688fa0c53d637e304a755185" }

[profile.release]
lto = true
opt-level = 3
Expand Down
25 changes: 13 additions & 12 deletions crates/benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ name = "native_vps"
harness = false
path = "native_vps.rs"

[[bench]]
name = "process_wrapper"
harness = false
path = "process_wrapper.rs"
# [[bench]]
# name = "process_wrapper"
# harness = false
# path = "process_wrapper.rs"

[[bench]]
name = "host_env"
harness = false
path = "host_env.rs"
# [[bench]]
# name = "host_env"
# harness = false
# path = "host_env.rs"

[[bench]]
name = "wasm_opcodes"
harness = false
path = "wasm_opcodes.rs"
# [[bench]]
# name = "wasm_opcodes"
# harness = false
# path = "wasm_opcodes.rs"

[features]
namada-eth-bridge = [
Expand All @@ -46,6 +46,7 @@ namada = { path = "../namada", features = ["rand", "benches"] }
namada_apps_lib = { path = "../apps_lib" }
namada_node = { path = "../node", features = ["benches"] }
masp_primitives.workspace = true
masp_proofs = { workspace = true, features = ["benchmarks"] }
borsh.workspace = true
borsh-ext.workspace = true
criterion = { version = "0.5", features = ["html_reports"] }
Expand Down
Loading
Loading