From bf9150b0059f80e8c0c1e5c17186a3415e03bd21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 8 Jan 2025 16:43:39 +0000 Subject: [PATCH 1/3] deps: switch to released sparse-merkle-tree fork --- Cargo.lock | 42 ++++++++++++++++++++++++--------------- Cargo.toml | 3 +-- wasm/Cargo.lock | 38 ++++++++++++++++++++++------------- wasm_for_tests/Cargo.lock | 38 ++++++++++++++++++++++------------- 4 files changed, 75 insertions(+), 46 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd21a50996..8c71dd5950 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4070,6 +4070,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -4702,6 +4711,20 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "nam-sparse-merkle-tree" +version = "0.3.2-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fae108a0f6aabf789e34d6d447c1184608d1c70c087f957b720042226a47ab63" +dependencies = [ + "blake2b-rs", + "borsh", + "cfg-if", + "ics23", + "itertools 0.14.0", + "sha2 0.10.8", +] + [[package]] name = "namada_account" version = "0.46.1" @@ -4851,6 +4874,7 @@ dependencies = [ "lazy_static", "linkme", "masp_primitives", + "nam-sparse-merkle-tree", "namada_macros", "namada_migrations", "num-integer", @@ -4869,7 +4893,6 @@ dependencies = [ "serde_json", "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "tendermint", "tendermint-proto", "thiserror", @@ -5126,12 +5149,12 @@ dependencies = [ "ics23", "itertools 0.12.1", "linkme", + "nam-sparse-merkle-tree", "namada_core", "namada_macros", "namada_migrations", "proptest", "prost 0.13.2", - "sparse-merkle-tree", "thiserror", ] @@ -5170,6 +5193,7 @@ dependencies = [ "linkme", "masp_primitives", "masp_proofs", + "nam-sparse-merkle-tree", "namada_apps_lib", "namada_migrations", "namada_replay_protection", @@ -5194,7 +5218,6 @@ dependencies = [ "serde_json", "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "sysinfo", "tar", "tempfile", @@ -7968,19 +7991,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "sparse-merkle-tree" -version = "0.3.1-pre" -source = "git+https://github.com/heliaxdev/sparse-merkle-tree?rev=a93c55ccd47840ee0967eee237e47d9245478594#a93c55ccd47840ee0967eee237e47d9245478594" -dependencies = [ - "blake2b-rs", - "borsh", - "cfg-if", - "ics23", - "itertools 0.12.1", - "sha2 0.9.9", -] - [[package]] name = "spin" version = "0.5.2" diff --git a/Cargo.toml b/Cargo.toml index e8f5805ff4..2a6e323a94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,8 +69,7 @@ arbitrary = {version = "1.3", features = ["derive"]} ark-bls12-381 = {version = "0.3"} ark-serialize = {version = "0.3"} ark-std = "0.3.0" -# branch = "bat/feat/validate-root" -arse-merkle-tree = {package = "sparse-merkle-tree", git = "https://github.com/heliaxdev/sparse-merkle-tree", rev = "a93c55ccd47840ee0967eee237e47d9245478594", default-features = false, features = ["std", "borsh"]} +arse-merkle-tree = {package = "nam-sparse-merkle-tree", version = "0.3.2-nam.0", default-features = false, features = ["std", "borsh"]} assert_cmd = "1.0.7" assert_matches = "1.5.0" async-trait = {version = "0.1.51"} diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 343b1db0ad..96ad043dd2 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -3251,6 +3251,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -3611,6 +3620,19 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "nam-sparse-merkle-tree" +version = "0.3.2-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fae108a0f6aabf789e34d6d447c1184608d1c70c087f957b720042226a47ab63" +dependencies = [ + "borsh", + "cfg-if", + "ics23", + "itertools 0.14.0", + "sha2 0.10.8", +] + [[package]] name = "namada_account" version = "0.46.1" @@ -3651,6 +3673,7 @@ dependencies = [ "k256", "lazy_static", "masp_primitives", + "nam-sparse-merkle-tree", "namada_macros", "num-integer", "num-rational", @@ -3668,7 +3691,6 @@ dependencies = [ "serde_json", "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "tendermint", "tendermint-proto", "thiserror", @@ -3819,10 +3841,10 @@ dependencies = [ "borsh", "eyre", "ics23", + "nam-sparse-merkle-tree", "namada_core", "namada_macros", "prost 0.13.1", - "sparse-merkle-tree", "thiserror", ] @@ -6085,18 +6107,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "sparse-merkle-tree" -version = "0.3.1-pre" -source = "git+https://github.com/heliaxdev/sparse-merkle-tree?rev=a93c55ccd47840ee0967eee237e47d9245478594#a93c55ccd47840ee0967eee237e47d9245478594" -dependencies = [ - "borsh", - "cfg-if", - "ics23", - "itertools 0.12.1", - "sha2 0.9.9", -] - [[package]] name = "spin" version = "0.5.2" diff --git a/wasm_for_tests/Cargo.lock b/wasm_for_tests/Cargo.lock index f578ba42bc..719de75185 100644 --- a/wasm_for_tests/Cargo.lock +++ b/wasm_for_tests/Cargo.lock @@ -1719,6 +1719,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -1933,6 +1942,19 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "nam-sparse-merkle-tree" +version = "0.3.2-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fae108a0f6aabf789e34d6d447c1184608d1c70c087f957b720042226a47ab63" +dependencies = [ + "borsh", + "cfg-if", + "ics23", + "itertools 0.14.0", + "sha2 0.10.8", +] + [[package]] name = "namada_account" version = "0.46.1" @@ -1971,6 +1993,7 @@ dependencies = [ "indexmap 2.2.4", "k256", "masp_primitives", + "nam-sparse-merkle-tree", "namada_macros", "num-integer", "num-rational", @@ -1985,7 +2008,6 @@ dependencies = [ "serde_json", "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "tendermint", "tendermint-proto", "thiserror", @@ -2090,10 +2112,10 @@ dependencies = [ "borsh", "eyre", "ics23", + "nam-sparse-merkle-tree", "namada_core", "namada_macros", "prost 0.13.2", - "sparse-merkle-tree", "thiserror", ] @@ -3327,18 +3349,6 @@ dependencies = [ "syn 2.0.65", ] -[[package]] -name = "sparse-merkle-tree" -version = "0.3.1-pre" -source = "git+https://github.com/heliaxdev/sparse-merkle-tree?rev=a93c55ccd47840ee0967eee237e47d9245478594#a93c55ccd47840ee0967eee237e47d9245478594" -dependencies = [ - "borsh", - "cfg-if", - "ics23", - "itertools 0.12.1", - "sha2 0.9.9", -] - [[package]] name = "spki" version = "0.7.3" From 4c06ec8322c0d6717cc5e9ae7f067e9c834a6400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Mon, 13 Jan 2025 18:41:50 +0000 Subject: [PATCH 2/3] deps: switch more crates to published versions --- Cargo.lock | 624 +++++++++++++++++++++--------------- Cargo.toml | 16 +- wasm/Cargo.lock | 655 ++++++++++++++++++++++++------------- wasm_for_tests/Cargo.lock | 658 ++++++++++++++++++++++++++------------ 4 files changed, 1272 insertions(+), 681 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8c71dd5950..a1df5ef87a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,7 +192,7 @@ dependencies = [ "ark-serialize", "ark-std", "derivative", - "num-traits 0.2.17", + "num-traits", "zeroize", ] @@ -208,7 +208,7 @@ dependencies = [ "ark-std", "derivative", "num-bigint", - "num-traits 0.2.17", + "num-traits", "paste", "rustc_version 0.3.3", "zeroize", @@ -231,7 +231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" dependencies = [ "num-bigint", - "num-traits 0.2.17", + "num-traits", "quote", "syn 1.0.109", ] @@ -252,7 +252,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ - "num-traits 0.2.17", + "num-traits", "rand 0.8.5", ] @@ -313,7 +313,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -324,7 +324,7 @@ checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -553,7 +553,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -695,19 +695,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "bls12_381" -version = "0.8.0" -source = "git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838#d3ebe9dd6488fac1923db120a7498079e55dd838" -dependencies = [ - "arbitrary", - "ff", - "group", - "pairing", - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "borsh" version = "1.2.1" @@ -728,7 +715,7 @@ dependencies = [ "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", "syn_derive", ] @@ -861,7 +848,7 @@ dependencies = [ "semver 1.0.20", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -944,7 +931,7 @@ dependencies = [ "arbitrary", "iana-time-zone", "js-sys", - "num-traits 0.2.17", + "num-traits", "wasm-bindgen", "windows-targets 0.48.5", ] @@ -1078,7 +1065,7 @@ dependencies = [ "k256", "serde", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -1094,7 +1081,7 @@ dependencies = [ "pbkdf2 0.12.2", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -1114,7 +1101,7 @@ dependencies = [ "serde_derive", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -1157,7 +1144,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f76990911f2267d837d9d0ad060aa63aaad170af40904b29461734c339030d4d" dependencies = [ "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1189,10 +1176,10 @@ dependencies = [ ] [[package]] -name = "const-crc32" -version = "1.3.0" +name = "const-crc32-nostd" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68d13f542d70e5b339bf46f6f74704ac052cfd526c58cd87996bd1ef4615b9a0" +checksum = "808ac43170e95b11dd23d78aa9eaac5bea45776a602955552c4e833f3f0f823d" [[package]] name = "const-hex" @@ -1281,6 +1268,15 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +[[package]] +name = "core2" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "239fa3ae9b63c2dc74bd3fa852d4792b8b305ae64eeede946265b6af62f1fff3" +dependencies = [ + "memchr", +] + [[package]] name = "corosensei" version = "0.1.4" @@ -1408,7 +1404,7 @@ dependencies = [ "criterion-plot", "is-terminal", "itertools 0.10.5", - "num-traits 0.2.17", + "num-traits", "once_cell", "oorandom", "plotters", @@ -1569,7 +1565,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1629,7 +1625,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1651,7 +1647,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core 0.20.3", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1717,13 +1713,13 @@ dependencies = [ [[package]] name = "derive-getters" -version = "0.3.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2c35ab6e03642397cdda1dd58abbc05d418aef8e36297f336d5aba060fe8df" +checksum = "74ef43543e701c01ad77d3a5922755c6a1d71b22d942cb8042be4994b380caff" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.96", ] [[package]] @@ -1734,7 +1730,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1776,7 +1772,7 @@ checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1818,7 +1814,16 @@ version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" dependencies = [ - "dirs-sys", + "dirs-sys 0.3.7", +] + +[[package]] +name = "directories" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" +dependencies = [ + "dirs-sys 0.4.1", ] [[package]] @@ -1832,6 +1837,18 @@ dependencies = [ "winapi", ] +[[package]] +name = "dirs-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.48.0", +] + [[package]] name = "displaydoc" version = "0.2.5" @@ -1840,7 +1857,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1894,7 +1911,7 @@ dependencies = [ "chrono", "rust_decimal", "serde", - "thiserror", + "thiserror 1.0.50", "time", "winnow 0.6.8", ] @@ -1967,7 +1984,7 @@ dependencies = [ "rand_core 0.6.4", "serde", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "zeroize", ] @@ -2034,7 +2051,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f8542ff2a35da7fc94ffcf280f35dc759219c4b48fa930e0a0f268220d7fb6a" dependencies = [ "byteorder", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -2045,8 +2062,8 @@ checksum = "516ae3c7d00515548bf26a6531883335ceac2e9cde4938e70feea7456569be09" dependencies = [ "byteorder", "heapless", - "num-traits 0.2.17", - "thiserror", + "num-traits", + "thiserror 1.0.50", ] [[package]] @@ -2127,7 +2144,7 @@ dependencies = [ "darling 0.20.3", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -2176,7 +2193,7 @@ dependencies = [ "serde_json", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.50", "uuid 0.8.2", ] @@ -2193,7 +2210,7 @@ dependencies = [ "serde", "serde_json", "sha3", - "thiserror", + "thiserror 1.0.50", "uint", ] @@ -2316,7 +2333,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -2336,7 +2353,7 @@ dependencies = [ "regex", "serde", "serde_json", - "syn 2.0.52", + "syn 2.0.96", "toml 0.8.2", "walkdir", ] @@ -2354,7 +2371,7 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -2380,9 +2397,9 @@ dependencies = [ "serde", "serde_json", "strum 0.25.0", - "syn 2.0.52", + "syn 2.0.96", "tempfile", - "thiserror", + "thiserror 1.0.50", "tiny-keccak", "unicode-xid", ] @@ -2399,7 +2416,7 @@ dependencies = [ "semver 1.0.20", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2422,7 +2439,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tokio", "tracing", "tracing-futures", @@ -2454,7 +2471,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tokio", "tracing", "tracing-futures", @@ -2480,7 +2497,7 @@ dependencies = [ "ethers-core", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2648,40 +2665,42 @@ dependencies = [ "libm", "num-bigint", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] name = "frost-core" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45d6280625f1603d160df24b23e4984a6a7286f41455ae606823d0104c32e834" +checksum = "a5afd375261c34d31ff24dad068382f4bc3c95010c919d4fb8d483dc3d85c023" dependencies = [ "byteorder", - "const-crc32", + "const-crc32-nostd", "debugless-unwrap", "derive-getters", "document-features", "hex", - "itertools 0.12.1", + "itertools 0.13.0", "postcard", "rand_core 0.6.4", "serde", "serdect", - "thiserror", + "thiserror 1.0.50", + "thiserror-nostd-notrait", "visibility", "zeroize", ] [[package]] name = "frost-rerandomized" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52c58f58ea009000db490efd9a3936d0035647a2b00c7ba8f3868c2ed0306b0b" +checksum = "1a9d77595060546b53543d96b83dbeacaf3907e40a89763a8bb22124812b0cb6" dependencies = [ "derive-getters", "document-features", "frost-core", + "hex", "rand_core 0.6.4", ] @@ -2763,7 +2782,7 @@ checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -3004,6 +3023,12 @@ dependencies = [ "allocator-api2", ] +[[package]] +name = "hashbrown" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" + [[package]] name = "hashers" version = "1.0.1" @@ -3029,7 +3054,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d" dependencies = [ "byteorder", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -3768,7 +3793,7 @@ source = "git+https://github.com/heliaxdev/cosmos-ibc-rs?rev=38bd2a32f35117d4d91 dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -3892,7 +3917,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" dependencies = [ "integer-sqrt", - "num-traits 0.2.17", + "num-traits", "uint", ] @@ -3951,18 +3976,6 @@ dependencies = [ "serde", ] -[[package]] -name = "indexmap" -version = "2.2.4" -source = "git+https://github.com/heliaxdev/indexmap?tag=2.2.4-heliax-1#b5b5b547bd6ab04bbb16e060326a50ddaeb6c909" -dependencies = [ - "arbitrary", - "borsh", - "equivalent", - "hashbrown 0.14.3", - "serde", -] - [[package]] name = "indexmap" version = "2.2.6" @@ -4017,7 +4030,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" dependencies = [ - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -4070,6 +4083,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -4135,21 +4157,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8499f7a74008aafbecb2a2e608a3e13e4dd3e84df198b604451efe93f2de6e61" dependencies = [ "bitvec", - "bls12_381 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ff", - "group", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "jubjub" -version = "0.10.0" -source = "git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c#a373686962f4e9d0edb3b4716f86ff6bbd9aa86c" -dependencies = [ - "arbitrary", - "bitvec", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", + "bls12_381", "ff", "group", "rand_core 0.6.4", @@ -4251,7 +4259,7 @@ dependencies = [ "ledger-proto", "once_cell", "strum 0.24.1", - "thiserror", + "thiserror 1.0.50", "tokio", "tracing", "tracing-subscriber", @@ -4272,7 +4280,7 @@ dependencies = [ "prost 0.11.9", "prost-types 0.11.9", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -4284,7 +4292,7 @@ dependencies = [ "displaydoc", "encdec", "num_enum 0.6.1", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -4310,7 +4318,7 @@ dependencies = [ "ledger-transport", "libc", "log", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -4322,7 +4330,7 @@ dependencies = [ "async-trait", "ledger-transport", "serde", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -4434,7 +4442,7 @@ checksum = "cb26336e6dc7cc76e7927d2c9e7e3bb376d7af65a6f56a0b16c47d18a9b1abc5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -4490,8 +4498,9 @@ dependencies = [ [[package]] name = "masp_note_encryption" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9736dbd86140a9d6711b464297a87af9cc0ae485d73a956c595f1bc1f6a7920" dependencies = [ "arbitrary", "borsh", @@ -4504,8 +4513,9 @@ dependencies = [ [[package]] name = "masp_primitives" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fb184254ca5cd5fb12e11b81a6a0d6b955d98c7263eae11057f669c31c7123c" dependencies = [ "aes", "arbitrary", @@ -4513,7 +4523,6 @@ dependencies = [ "bitvec", "blake2b_simd", "blake2s_simd", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", "borsh", "byteorder", "ff", @@ -4521,12 +4530,13 @@ dependencies = [ "group", "hex", "incrementalmerkletree", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", "lazy_static", "masp_note_encryption", "memuse", - "nonempty", - "num-traits 0.2.19", + "nam-bls12_381", + "nam-jubjub", + "nam-num-traits", + "nonempty 0.11.0", "proptest", "rand 0.8.5", "rand_core 0.6.4", @@ -4537,22 +4547,23 @@ dependencies = [ [[package]] name = "masp_proofs" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "833eb23ccc5e4781636f6a7b2e720f60f31e53e534d1abb2b0ac5e86eb099c14" dependencies = [ "bellman", "blake2b_simd", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", - "directories", + "directories 5.0.1", "getrandom 0.2.15", "group", - "itertools 0.11.0", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", + "itertools 0.14.0", "lazy_static", "masp_primitives", "minreq", + "nam-bls12_381", + "nam-jubjub", + "nam-redjubjub", "rand_core 0.6.4", - "redjubjub", "tracing", ] @@ -4711,6 +4722,89 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "nam-bls12_381" +version = "0.8.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e768b0e2383163f2f4bbce1112d6454b2cb515950b0a9177733f0d71254d2c68" +dependencies = [ + "arbitrary", + "ff", + "group", + "pairing", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "nam-indexmap" +version = "2.7.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b40876708764895b63bb5a1e9f102d3813cb16baeb9f12932b7c8f2df4248e" +dependencies = [ + "arbitrary", + "borsh", + "equivalent", + "hashbrown 0.15.2", + "serde", +] + +[[package]] +name = "nam-jubjub" +version = "0.10.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdced0f5975d8f80cb82a84d464481acb7b586d22f447dda86947d6a572997b9" +dependencies = [ + "arbitrary", + "bitvec", + "ff", + "group", + "nam-bls12_381", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "nam-num-traits" +version = "0.2.20-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "687832a07242b76ab2760bc95180240954bf77e06bf8d9e825473c373146dc4a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "nam-reddsa" +version = "0.5.2-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1d102b4311bf60c03405350e976d17f5df155d2cb588f6401995a29ae8c1565" +dependencies = [ + "blake2b_simd", + "byteorder", + "frost-rerandomized", + "group", + "hex", + "jubjub", + "pasta_curves", + "rand_core 0.6.4", + "serde", + "thiserror 2.0.11", + "zeroize", +] + +[[package]] +name = "nam-redjubjub" +version = "0.7.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e457988762db7daad8d79f8a837a07295f5cc178d9236ba77db7339072ffb61e" +dependencies = [ + "nam-reddsa", + "rand_core 0.6.4", + "serde", + "thiserror 1.0.50", + "zeroize", +] + [[package]] name = "nam-sparse-merkle-tree" version = "0.3.2-nam.0" @@ -4772,7 +4866,7 @@ dependencies = [ "config", "data-encoding", "derivative", - "directories", + "directories 4.0.1", "either", "eyre", "fd-lock", @@ -4780,7 +4874,6 @@ dependencies = [ "futures", "git2", "itertools 0.12.1", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", "kdam", "lazy_static", "ledger-lib", @@ -4789,6 +4882,7 @@ dependencies = [ "ledger-transport-hid", "linkme", "masp_primitives", + "nam-jubjub", "namada_core", "namada_macros", "namada_migrations", @@ -4810,7 +4904,7 @@ dependencies = [ "tendermint-config", "tendermint-rpc", "textwrap-macros", - "thiserror", + "thiserror 1.0.50", "tokio", "toml 0.5.11", "tracing", @@ -4849,7 +4943,7 @@ version = "0.46.1" dependencies = [ "namada_core", "smooth-operator", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -4869,17 +4963,17 @@ dependencies = [ "ibc", "ics23", "impl-num-traits", - "indexmap 2.2.4", "k256", "lazy_static", "linkme", "masp_primitives", + "nam-indexmap", "nam-sparse-merkle-tree", "namada_macros", "namada_migrations", "num-integer", "num-rational", - "num-traits 0.2.17", + "num-traits", "num256", "num_enum 0.7.1", "primitive-types", @@ -4895,7 +4989,7 @@ dependencies = [ "smooth-operator", "tendermint", "tendermint-proto", - "thiserror", + "thiserror 1.0.50", "tiny-keccak", "tokio", "toml 0.5.11", @@ -4956,7 +5050,7 @@ dependencies = [ "rand 0.8.5", "serde", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "toml 0.5.11", "tracing", ] @@ -4972,7 +5066,7 @@ dependencies = [ "namada_migrations", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -5026,7 +5120,7 @@ dependencies = [ "namada_migrations", "proptest", "serde", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -5058,7 +5152,7 @@ dependencies = [ "serde", "serde_json", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -5098,7 +5192,7 @@ dependencies = [ "serde_json", "sha2 0.9.9", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -5110,7 +5204,7 @@ dependencies = [ "kdam", "namada_core", "tendermint-rpc", - "thiserror", + "thiserror 1.0.50", "tokio", ] @@ -5155,7 +5249,7 @@ dependencies = [ "namada_migrations", "proptest", "prost 0.13.2", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -5203,7 +5297,7 @@ dependencies = [ "namada_vote_ext", "namada_vp", "num-rational", - "num-traits 0.2.17", + "num-traits", "num256", "num_cpus", "once_cell", @@ -5222,7 +5316,7 @@ dependencies = [ "tar", "tempfile", "test-log", - "thiserror", + "thiserror 1.0.50", "tokio", "tokio-test", "toml 0.5.11", @@ -5245,7 +5339,7 @@ dependencies = [ "namada_tx", "namada_vp_env", "smooth-operator", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -5278,7 +5372,7 @@ dependencies = [ "serde", "smooth-operator", "test-log", - "thiserror", + "thiserror 1.0.50", "tracing", "tracing-subscriber", "yansi", @@ -5312,11 +5406,11 @@ dependencies = [ "futures", "init-once", "itertools 0.12.1", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", "lazy_static", "linkme", "masp_primitives", "masp_proofs", + "nam-jubjub", "namada_account", "namada_core", "namada_ethereum_bridge", @@ -5337,7 +5431,7 @@ dependencies = [ "namada_vote_ext", "namada_vp", "namada_wallet", - "num-traits 0.2.17", + "num-traits", "num256", "owo-colors", "paste", @@ -5356,7 +5450,7 @@ dependencies = [ "smooth-operator", "tempfile", "tendermint-rpc", - "thiserror", + "thiserror 1.0.50", "tiny-bip39", "tokio", "toml 0.5.11", @@ -5410,7 +5504,7 @@ dependencies = [ "tempfile", "tendermint-rpc", "test-log", - "thiserror", + "thiserror 1.0.50", "tokio", "tracing", "typed-builder", @@ -5443,7 +5537,7 @@ dependencies = [ "proptest", "smooth-operator", "test-log", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -5463,7 +5557,7 @@ dependencies = [ "regex", "serde", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -5586,7 +5680,7 @@ dependencies = [ "namada_vp", "namada_vp_env", "proptest", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -5611,7 +5705,7 @@ dependencies = [ "namada_macros", "namada_migrations", "num-derive 0.4.2", - "num-traits 0.2.17", + "num-traits", "proptest", "prost 0.13.2", "prost-types 0.13.2", @@ -5620,7 +5714,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "tonic-build", ] @@ -5678,7 +5772,7 @@ dependencies = [ "smooth-operator", "tempfile", "test-log", - "thiserror", + "thiserror 1.0.50", "tracing", "wasm-instrument", "wasmer", @@ -5722,7 +5816,7 @@ dependencies = [ "namada_tx", "namada_vp_env", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -5784,7 +5878,7 @@ dependencies = [ "serde", "slip10_ed25519", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tiny-bip39", "tiny-hderive", "toml 0.5.11", @@ -5853,6 +5947,12 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" +[[package]] +name = "nonempty" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "549e471b99ccaf2f89101bec68f4d244457d5a95a9c3d0672e9564124397741d" + [[package]] name = "ntapi" version = "0.4.1" @@ -5883,7 +5983,7 @@ dependencies = [ "num-integer", "num-iter", "num-rational", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -5894,16 +5994,16 @@ checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ "autocfg", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -5931,7 +6031,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -5941,18 +6041,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" dependencies = [ "autocfg", - "num-traits 0.2.17", + "num-traits", ] [[package]] name = "num-iter" -version = "0.1.43" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" +checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" dependencies = [ "autocfg", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -5964,27 +6064,19 @@ dependencies = [ "autocfg", "num-bigint", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", "libm", ] -[[package]] -name = "num-traits" -version = "0.2.19" -source = "git+https://github.com/heliaxdev/num-traits?rev=3f3657caa34b8e116fdf3f8a3519c4ac29f012fe#3f3657caa34b8e116fdf3f8a3519c4ac29f012fe" -dependencies = [ - "autocfg", -] - [[package]] name = "num256" version = "0.3.5" @@ -5994,7 +6086,7 @@ dependencies = [ "lazy_static", "num", "num-derive 0.3.3", - "num-traits 0.2.17", + "num-traits", "serde", "serde_derive", ] @@ -6035,7 +6127,7 @@ checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6047,7 +6139,7 @@ dependencies = [ "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6125,7 +6217,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6146,6 +6238,12 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "ordered-multimap" version = "0.7.3" @@ -6367,7 +6465,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.50", "ucd-trie", ] @@ -6391,7 +6489,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6442,7 +6540,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6485,7 +6583,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45" dependencies = [ - "num-traits 0.2.17", + "num-traits", "plotters-backend", "plotters-svg", "wasm-bindgen", @@ -6592,7 +6690,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6659,9 +6757,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -6676,7 +6774,7 @@ dependencies = [ "bit-vec", "bitflags 2.5.0", "lazy_static", - "num-traits 0.2.17", + "num-traits", "rand 0.8.5", "rand_chacha 0.3.1", "rand_xorshift", @@ -6742,7 +6840,7 @@ dependencies = [ "prost 0.12.3", "prost-types 0.12.3", "regex", - "syn 2.0.52", + "syn 2.0.96", "tempfile", "which", ] @@ -6770,7 +6868,7 @@ dependencies = [ "itertools 0.11.0", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6783,7 +6881,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6965,37 +7063,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "reddsa" -version = "0.5.1" -source = "git+https://github.com/heliaxdev/reddsa?rev=46d363b929e1b940688fa0c53d637e304a755185#46d363b929e1b940688fa0c53d637e304a755185" -dependencies = [ - "blake2b_simd", - "byteorder", - "frost-rerandomized", - "group", - "hex", - "jubjub 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "pasta_curves", - "rand_core 0.6.4", - "serde", - "thiserror", - "zeroize", -] - -[[package]] -name = "redjubjub" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a60db2c3bc9c6fd1e8631fee75abc008841d27144be744951d6b9b75f9b569c" -dependencies = [ - "rand_core 0.6.4", - "reddsa", - "serde", - "thiserror", - "zeroize", -] - [[package]] name = "redox_syscall" version = "0.4.1" @@ -7013,7 +7080,7 @@ checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ "getrandom 0.2.15", "libredox", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -7293,7 +7360,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1790d1c4c0ca81211399e0e0af16333276f375209e71a37b67698a373db5b47a" dependencies = [ "arrayvec", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -7485,7 +7552,7 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -7667,7 +7734,7 @@ checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -7678,7 +7745,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -7700,7 +7767,7 @@ checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -7888,8 +7955,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ "num-bigint", - "num-traits 0.2.17", - "thiserror", + "num-traits", + "thiserror 1.0.50", "time", ] @@ -7946,7 +8013,7 @@ checksum = "867851a695e22b0d1fc85f2f84dba29fef7e5d571f12fb23253e0b213bf190f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -8081,7 +8148,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -8118,9 +8185,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.52" +version = "2.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07" +checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" dependencies = [ "proc-macro2", "quote", @@ -8136,7 +8203,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -8235,7 +8302,7 @@ dependencies = [ "flex-error", "futures", "k256", - "num-traits 0.2.17", + "num-traits", "once_cell", "prost 0.13.2", "prost-types 0.13.2", @@ -8345,7 +8412,7 @@ dependencies = [ "tendermint", "tendermint-config", "tendermint-proto", - "thiserror", + "thiserror 1.0.50", "time", "tokio", "tracing", @@ -8404,7 +8471,7 @@ checksum = "7ba277e77219e9eea169e8508942db1bf5d8a41ff2db9b20aab5a5aadc9fa25d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -8446,7 +8513,16 @@ version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.50", +] + +[[package]] +name = "thiserror" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +dependencies = [ + "thiserror-impl 2.0.11", ] [[package]] @@ -8457,7 +8533,38 @@ checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", +] + +[[package]] +name = "thiserror-nostd-notrait" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8444e638022c44d2a9337031dee8acb732bcc7fbf52ac654edc236b26408b61" +dependencies = [ + "thiserror-nostd-notrait-impl", +] + +[[package]] +name = "thiserror-nostd-notrait-impl" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585e5ef40a784ce60b49c67d762110688d211d395d39e096be204535cf64590e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", ] [[package]] @@ -8523,7 +8630,7 @@ dependencies = [ "rand 0.7.3", "rustc-hash", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "unicode-normalization", "wasm-bindgen", "zeroize", @@ -8601,7 +8708,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -8807,7 +8914,7 @@ dependencies = [ "proc-macro2", "prost-build", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -8881,7 +8988,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" dependencies = [ "crossbeam-channel", - "thiserror", + "thiserror 1.0.50", "time", "tracing-subscriber", ] @@ -8894,7 +9001,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -8989,7 +9096,7 @@ dependencies = [ "log", "rand 0.8.5", "sha1", - "thiserror", + "thiserror 1.0.50", "url", "utf-8", ] @@ -9011,7 +9118,7 @@ checksum = "f9534daa9fd3ed0bd911d462a37f172228077e7abf18c18a5f67199d959205f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -9223,7 +9330,7 @@ checksum = "b3fd98999db9227cf28e59d83e1f120f42bc233d4b152e8fab9bc87d5bb1e0f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -9318,7 +9425,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", "wasm-bindgen-shared", ] @@ -9352,7 +9459,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -9398,7 +9505,7 @@ dependencies = [ "serde-wasm-bindgen", "shared-buffer", "target-lexicon", - "thiserror", + "thiserror 1.0.50", "tracing", "wasm-bindgen", "wasmer-compiler", @@ -9418,7 +9525,7 @@ checksum = "79fd0889f8844b7c70b8ee8fbf1d1f6ccff99399c6f3d3627048cde04b1ac493" dependencies = [ "blake3", "hex", - "thiserror", + "thiserror 1.0.50", "wasmer", ] @@ -9443,7 +9550,7 @@ dependencies = [ "self_cell", "shared-buffer", "smallvec", - "thiserror", + "thiserror 1.0.50", "wasmer-types", "wasmer-vm", "wasmparser 0.121.2", @@ -9506,7 +9613,7 @@ dependencies = [ "serde_cbor", "serde_json", "serde_yaml 0.9.34+deprecated", - "thiserror", + "thiserror 1.0.50", "toml 0.8.2", "url", ] @@ -9539,7 +9646,7 @@ dependencies = [ "rkyv", "sha2 0.10.8", "target-lexicon", - "thiserror", + "thiserror 1.0.50", "webc", "xxhash-rust", ] @@ -9567,7 +9674,7 @@ dependencies = [ "more-asserts", "region", "scopeguard", - "thiserror", + "thiserror 1.0.50", "wasmer-types", "winapi", ] @@ -9661,7 +9768,7 @@ dependencies = [ "shared-buffer", "tar", "tempfile", - "thiserror", + "thiserror 1.0.50", "toml 0.7.8", "url", "wasmer-config", @@ -10007,7 +10114,7 @@ dependencies = [ "pharos", "rustc_version 0.4.0", "send_wrapper 0.6.0", - "thiserror", + "thiserror 1.0.50", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -10076,11 +10183,12 @@ checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" [[package]] name = "zcash_encoding" -version = "0.2.0" -source = "git+https://github.com/zcash/librustzcash?rev=bd7f9d7#bd7f9d7c3ce5cfd14af169ffe0e1c5c903162f46" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3654116ae23ab67dd1f849b01f8821a8a156f884807ff665eac109bf28306c4d" dependencies = [ - "byteorder", - "nonempty", + "core2", + "nonempty 0.7.0", ] [[package]] @@ -10100,7 +10208,7 @@ checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -10120,7 +10228,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 2a6e323a94..25805f828b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -123,11 +123,10 @@ ibc-derive = { git = "https://github.com/heliaxdev/cosmos-ibc-rs", rev = "38bd2a ibc-testkit = { git = "https://github.com/heliaxdev/cosmos-ibc-rs", rev = "38bd2a32f35117d4d9165a3c68c64ccd87ad56dd", default-features = false } ics23 = "0.12.0" usize-set = { version = "0.10.3", features = ["serialize-borsh", "serialize-serde"] } -indexmap = { git = "https://github.com/heliaxdev/indexmap", tag = "2.2.4-heliax-1", features = ["borsh-schema", "serde"] } +indexmap = { package = "nam-indexmap", version = "2.7.1-nam.0", features = ["borsh-schema", "serde"] } init-once = "0.6.0" itertools = "0.12.1" -# branch "tomas/arbitrary" -jubjub = { git = "https://github.com/heliaxdev/jubjub.git", rev = "a373686962f4e9d0edb3b4716f86ff6bbd9aa86c" } +jubjub = { package = "nam-jubjub", version = "0.10.1-nam.0" } k256 = { version = "0.13.0", default-features = false, features = ["ecdsa", "pkcs8", "precomputed-tables", "serde", "std"]} kdam = "0.5.2" konst = { version = "0.3.8", default-features = false } @@ -140,14 +139,13 @@ ledger-transport-hid = "0.10.0" libc = "0.2.97" libloading = "0.7.2" linkme = "0.3.24" -# branch = "tomas/arbitrary" -masp_primitives = { git = "https://github.com/anoma/masp", rev = "0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" } -masp_proofs = { git = "https://github.com/anoma/masp", rev = "0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe", default-features = false, features = ["local-prover"] } +masp_primitives = { version = "1.2" } +masp_proofs = { version = "1.2", default-features = false, features = ["local-prover"] } num256 = "0.3.5" num_cpus = "1.13.0" num-derive = "0.4" num-rational = "0.4.1" -num-traits = "0.2.14" +num-traits = "0.2.19" once_cell = "1.8.0" orion = "0.16.0" owo-colors = "3.5.0" @@ -221,10 +219,6 @@ yansi = "0.5.1" zeroize = { version = "1.5.5", features = ["zeroize_derive"] } zstd = "0.13.2" -[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 diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 96ad043dd2..5a1b8b23b1 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -116,7 +116,7 @@ dependencies = [ "ark-serialize", "ark-std", "derivative", - "num-traits 0.2.17", + "num-traits", "zeroize", ] @@ -132,7 +132,7 @@ dependencies = [ "ark-std", "derivative", "num-bigint", - "num-traits 0.2.17", + "num-traits", "paste", "rustc_version 0.3.3", "zeroize", @@ -155,7 +155,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" dependencies = [ "num-bigint", - "num-traits 0.2.17", + "num-traits", "quote", "syn 1.0.109", ] @@ -176,7 +176,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ - "num-traits 0.2.17", + "num-traits", "rand 0.8.5", ] @@ -211,7 +211,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -222,7 +222,7 @@ checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -236,6 +236,15 @@ dependencies = [ "rustc_version 0.4.0", ] +[[package]] +name = "atomic-polyfill" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" +dependencies = [ + "critical-section", +] + [[package]] name = "atomic-waker" version = "1.1.2" @@ -540,18 +549,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "bls12_381" -version = "0.8.0" -source = "git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838#d3ebe9dd6488fac1923db120a7498079e55dd838" -dependencies = [ - "ff", - "group", - "pairing", - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "borsh" version = "1.4.0" @@ -572,7 +569,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", "syn_derive", ] @@ -673,7 +670,7 @@ dependencies = [ "semver 1.0.20", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -739,7 +736,7 @@ dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", - "num-traits 0.2.17", + "num-traits", "wasm-bindgen", "windows-targets 0.48.5", ] @@ -795,6 +792,12 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbd0f76e066e64fdc5631e3bb46381254deab9ef1158292f27c8c57e3bf3fe59" +[[package]] +name = "cobs" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" + [[package]] name = "coins-bip32" version = "0.8.7" @@ -808,7 +811,7 @@ dependencies = [ "k256", "serde", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -824,7 +827,7 @@ dependencies = [ "pbkdf2 0.12.2", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -844,7 +847,7 @@ dependencies = [ "serde_derive", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -854,9 +857,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f76990911f2267d837d9d0ad060aa63aaad170af40904b29461734c339030d4d" dependencies = [ "quote", - "syn 2.0.52", + "syn 2.0.96", ] +[[package]] +name = "const-crc32-nostd" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808ac43170e95b11dd23d78aa9eaac5bea45776a602955552c4e833f3f0f823d" + [[package]] name = "const-default" version = "1.0.0" @@ -910,6 +919,15 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +[[package]] +name = "core2" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "239fa3ae9b63c2dc74bd3fa852d4792b8b305ae64eeede946265b6af62f1fff3" +dependencies = [ + "memchr", +] + [[package]] name = "corosensei" version = "0.1.4" @@ -1024,6 +1042,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + [[package]] name = "crossbeam-deque" version = "0.8.3" @@ -1173,7 +1197,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1195,7 +1219,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core 0.20.3", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1217,6 +1241,12 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +[[package]] +name = "debugless-unwrap" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f400d0750c0c069e8493f2256cb4da6f604b6d2eeb69a0ca8863acde352f8400" + [[package]] name = "der" version = "0.7.8" @@ -1253,6 +1283,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-getters" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74ef43543e701c01ad77d3a5922755c6a1d71b22d942cb8042be4994b380caff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", +] + [[package]] name = "derive_builder" version = "0.12.0" @@ -1292,7 +1333,7 @@ checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1318,22 +1359,23 @@ dependencies = [ [[package]] name = "directories" -version = "4.0.1" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.3.7" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", + "option-ext", "redox_users", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -1344,7 +1386,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1371,7 +1413,7 @@ dependencies = [ "chrono", "rust_decimal", "serde", - "thiserror", + "thiserror 1.0.50", "time", "winnow 0.6.8", ] @@ -1444,7 +1486,7 @@ dependencies = [ "rand_core 0.6.4", "serde", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "zeroize", ] @@ -1474,6 +1516,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + [[package]] name = "encoding_rs" version = "0.8.33" @@ -1539,7 +1593,7 @@ dependencies = [ "darling 0.20.3", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1576,7 +1630,7 @@ dependencies = [ "serde_json", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.50", "uuid 0.8.2", ] @@ -1593,7 +1647,7 @@ dependencies = [ "serde", "serde_json", "sha3", - "thiserror", + "thiserror 1.0.50", "uint", ] @@ -1706,7 +1760,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -1726,7 +1780,7 @@ dependencies = [ "regex", "serde", "serde_json", - "syn 2.0.52", + "syn 2.0.96", "toml 0.8.2", "walkdir", ] @@ -1744,7 +1798,7 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -1770,9 +1824,9 @@ dependencies = [ "serde", "serde_json", "strum 0.25.0", - "syn 2.0.52", + "syn 2.0.96", "tempfile", - "thiserror", + "thiserror 1.0.50", "tiny-keccak", "unicode-xid", ] @@ -1789,7 +1843,7 @@ dependencies = [ "semver 1.0.20", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -1812,7 +1866,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tokio", "tracing", "tracing-futures", @@ -1844,7 +1898,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tokio", "tracing", "tracing-futures", @@ -1870,7 +1924,7 @@ dependencies = [ "ethers-core", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2020,7 +2074,43 @@ dependencies = [ "libm", "num-bigint", "num-integer", - "num-traits 0.2.17", + "num-traits", +] + +[[package]] +name = "frost-core" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5afd375261c34d31ff24dad068382f4bc3c95010c919d4fb8d483dc3d85c023" +dependencies = [ + "byteorder", + "const-crc32-nostd", + "debugless-unwrap", + "derive-getters", + "document-features", + "hex", + "itertools 0.13.0", + "postcard", + "rand_core 0.6.4", + "serde", + "serdect", + "thiserror 1.0.50", + "thiserror-nostd-notrait", + "visibility", + "zeroize", +] + +[[package]] +name = "frost-rerandomized" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a9d77595060546b53543d96b83dbeacaf3907e40a89763a8bb22124812b0cb6" +dependencies = [ + "derive-getters", + "document-features", + "frost-core", + "hex", + "rand_core 0.6.4", ] [[package]] @@ -2095,7 +2185,7 @@ checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -2289,6 +2379,15 @@ version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" +[[package]] +name = "hash32" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" +dependencies = [ + "byteorder", +] + [[package]] name = "hashbrown" version = "0.12.3" @@ -2304,6 +2403,12 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +[[package]] +name = "hashbrown" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" + [[package]] name = "hashers" version = "1.0.1" @@ -2313,6 +2418,20 @@ dependencies = [ "fxhash", ] +[[package]] +name = "heapless" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" +dependencies = [ + "atomic-polyfill", + "hash32", + "rustc_version 0.4.0", + "serde", + "spin 0.9.8", + "stable_deref_trait", +] + [[package]] name = "heck" version = "0.4.1" @@ -2977,7 +3096,7 @@ source = "git+https://github.com/heliaxdev/cosmos-ibc-rs?rev=38bd2a32f35117d4d91 dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -3100,7 +3219,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" dependencies = [ "integer-sqrt", - "num-traits 0.2.17", + "num-traits", "uint", ] @@ -3159,17 +3278,6 @@ dependencies = [ "serde", ] -[[package]] -name = "indexmap" -version = "2.2.4" -source = "git+https://github.com/heliaxdev/indexmap?tag=2.2.4-heliax-1#b5b5b547bd6ab04bbb16e060326a50ddaeb6c909" -dependencies = [ - "borsh", - "equivalent", - "hashbrown 0.14.3", - "serde", -] - [[package]] name = "indexmap" version = "2.2.6" @@ -3224,7 +3332,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" dependencies = [ - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -3251,6 +3359,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -3296,20 +3413,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8499f7a74008aafbecb2a2e608a3e13e4dd3e84df198b604451efe93f2de6e61" dependencies = [ "bitvec", - "bls12_381 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ff", - "group", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "jubjub" -version = "0.10.0" -source = "git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c#a373686962f4e9d0edb3b4716f86ff6bbd9aa86c" -dependencies = [ - "bitvec", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", + "bls12_381", "ff", "group", "rand_core 0.6.4", @@ -3444,8 +3548,9 @@ dependencies = [ [[package]] name = "masp_note_encryption" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9736dbd86140a9d6711b464297a87af9cc0ae485d73a956c595f1bc1f6a7920" dependencies = [ "borsh", "chacha20", @@ -3457,15 +3562,15 @@ dependencies = [ [[package]] name = "masp_primitives" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fb184254ca5cd5fb12e11b81a6a0d6b955d98c7263eae11057f669c31c7123c" dependencies = [ "aes", "bip0039", "bitvec", "blake2b_simd", "blake2s_simd", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", "borsh", "byteorder", "ff", @@ -3473,12 +3578,13 @@ dependencies = [ "group", "hex", "incrementalmerkletree", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", "lazy_static", "masp_note_encryption", "memuse", - "nonempty", - "num-traits 0.2.19", + "nam-bls12_381", + "nam-jubjub", + "nam-num-traits", + "nonempty 0.11.0", "proptest", "rand 0.8.5", "rand_core 0.6.4", @@ -3489,22 +3595,23 @@ dependencies = [ [[package]] name = "masp_proofs" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "833eb23ccc5e4781636f6a7b2e720f60f31e53e534d1abb2b0ac5e86eb099c14" dependencies = [ "bellman", "blake2b_simd", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", "directories", "getrandom 0.2.15", "group", - "itertools 0.11.0", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", + "itertools 0.14.0", "lazy_static", "masp_primitives", "minreq", + "nam-bls12_381", + "nam-jubjub", + "nam-redjubjub", "rand_core 0.6.4", - "redjubjub", "tracing", ] @@ -3620,6 +3727,86 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "nam-bls12_381" +version = "0.8.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e768b0e2383163f2f4bbce1112d6454b2cb515950b0a9177733f0d71254d2c68" +dependencies = [ + "ff", + "group", + "pairing", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "nam-indexmap" +version = "2.7.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b40876708764895b63bb5a1e9f102d3813cb16baeb9f12932b7c8f2df4248e" +dependencies = [ + "borsh", + "equivalent", + "hashbrown 0.15.2", + "serde", +] + +[[package]] +name = "nam-jubjub" +version = "0.10.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdced0f5975d8f80cb82a84d464481acb7b586d22f447dda86947d6a572997b9" +dependencies = [ + "bitvec", + "ff", + "group", + "nam-bls12_381", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "nam-num-traits" +version = "0.2.20-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "687832a07242b76ab2760bc95180240954bf77e06bf8d9e825473c373146dc4a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "nam-reddsa" +version = "0.5.2-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1d102b4311bf60c03405350e976d17f5df155d2cb588f6401995a29ae8c1565" +dependencies = [ + "blake2b_simd", + "byteorder", + "frost-rerandomized", + "group", + "hex", + "jubjub", + "pasta_curves", + "rand_core 0.6.4", + "serde", + "thiserror 2.0.11", + "zeroize", +] + +[[package]] +name = "nam-redjubjub" +version = "0.7.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e457988762db7daad8d79f8a837a07295f5cc178d9236ba77db7339072ffb61e" +dependencies = [ + "nam-reddsa", + "rand_core 0.6.4", + "serde", + "thiserror 1.0.50", + "zeroize", +] + [[package]] name = "nam-sparse-merkle-tree" version = "0.3.2-nam.0" @@ -3651,7 +3838,7 @@ version = "0.46.1" dependencies = [ "namada_core", "smooth-operator", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -3669,15 +3856,15 @@ dependencies = [ "ibc", "ics23", "impl-num-traits", - "indexmap 2.2.4", "k256", "lazy_static", "masp_primitives", + "nam-indexmap", "nam-sparse-merkle-tree", "namada_macros", "num-integer", "num-rational", - "num-traits 0.2.17", + "num-traits", "num256", "num_enum", "primitive-types", @@ -3693,7 +3880,7 @@ dependencies = [ "smooth-operator", "tendermint", "tendermint-proto", - "thiserror", + "thiserror 1.0.50", "tiny-keccak", "tokio", "tracing", @@ -3728,7 +3915,7 @@ dependencies = [ "namada_vp_env", "serde", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -3741,7 +3928,7 @@ dependencies = [ "namada_macros", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -3754,7 +3941,7 @@ dependencies = [ "namada_events", "namada_macros", "serde", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -3776,7 +3963,7 @@ dependencies = [ "serde", "serde_json", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -3807,7 +3994,7 @@ dependencies = [ "serde_json", "sha2 0.9.9", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -3819,7 +4006,7 @@ dependencies = [ "kdam", "namada_core", "tendermint-rpc", - "thiserror", + "thiserror 1.0.50", "tokio", ] @@ -3845,7 +4032,7 @@ dependencies = [ "namada_core", "namada_macros", "prost 0.13.1", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -3859,7 +4046,7 @@ dependencies = [ "namada_tx", "namada_vp_env", "smooth-operator", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -3882,7 +4069,7 @@ dependencies = [ "proptest", "serde", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -3912,10 +4099,10 @@ dependencies = [ "futures", "init-once", "itertools 0.12.1", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", "lazy_static", "masp_primitives", "masp_proofs", + "nam-jubjub", "namada_account", "namada_core", "namada_ethereum_bridge", @@ -3935,7 +4122,7 @@ dependencies = [ "namada_vote_ext", "namada_vp", "namada_wallet", - "num-traits 0.2.17", + "num-traits", "num256", "owo-colors", "paste", @@ -3954,7 +4141,7 @@ dependencies = [ "smooth-operator", "tempfile", "tendermint-rpc", - "thiserror", + "thiserror 1.0.50", "tiny-bip39", "tokio", "toml 0.5.11", @@ -3998,7 +4185,7 @@ dependencies = [ "sha2 0.9.9", "smooth-operator", "tempfile", - "thiserror", + "thiserror 1.0.50", "tracing", "typed-builder", "xorf", @@ -4023,7 +4210,7 @@ dependencies = [ "patricia_tree", "proptest", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -4041,7 +4228,7 @@ dependencies = [ "regex", "serde", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -4127,7 +4314,7 @@ dependencies = [ "namada_tx", "namada_tx_env", "namada_vp_env", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -4148,7 +4335,7 @@ dependencies = [ "namada_gas", "namada_macros", "num-derive 0.4.2", - "num-traits 0.2.17", + "num-traits", "proptest", "prost 0.13.1", "prost-types 0.13.1", @@ -4156,7 +4343,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "tonic-build", ] @@ -4209,7 +4396,7 @@ dependencies = [ "rayon", "smooth-operator", "tempfile", - "thiserror", + "thiserror 1.0.50", "tracing", "wasm-instrument", "wasmer", @@ -4248,7 +4435,7 @@ dependencies = [ "namada_tx", "namada_vp_env", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -4308,7 +4495,7 @@ dependencies = [ "serde", "slip10_ed25519", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tiny-bip39", "tiny-hderive", "toml 0.5.11", @@ -4347,6 +4534,12 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" +[[package]] +name = "nonempty" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "549e471b99ccaf2f89101bec68f4d244457d5a95a9c3d0672e9564124397741d" + [[package]] name = "num" version = "0.4.1" @@ -4358,7 +4551,7 @@ dependencies = [ "num-integer", "num-iter", "num-rational", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -4369,7 +4562,7 @@ checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ "autocfg", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -4378,7 +4571,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -4406,7 +4599,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -4416,7 +4609,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" dependencies = [ "autocfg", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -4427,7 +4620,7 @@ checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" dependencies = [ "autocfg", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -4439,27 +4632,19 @@ dependencies = [ "autocfg", "num-bigint", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", "libm", ] -[[package]] -name = "num-traits" -version = "0.2.19" -source = "git+https://github.com/heliaxdev/num-traits?rev=3f3657caa34b8e116fdf3f8a3519c4ac29f012fe#3f3657caa34b8e116fdf3f8a3519c4ac29f012fe" -dependencies = [ - "autocfg", -] - [[package]] name = "num256" version = "0.3.5" @@ -4469,7 +4654,7 @@ dependencies = [ "lazy_static", "num", "num-derive 0.3.3", - "num-traits 0.2.17", + "num-traits", "serde", "serde_derive", ] @@ -4492,7 +4677,7 @@ dependencies = [ "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -4564,7 +4749,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -4585,6 +4770,12 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "orion" version = "0.16.1" @@ -4784,7 +4975,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.50", "ucd-trie", ] @@ -4825,7 +5016,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -4873,6 +5064,19 @@ version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" +[[package]] +name = "postcard" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "170a2601f67cc9dba8edd8c4870b15f71a6a2dc196daec8c83f72b59dff628a8" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "heapless", + "serde", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -4892,7 +5096,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -4953,9 +5157,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -4970,7 +5174,7 @@ dependencies = [ "bit-vec", "bitflags 2.5.0", "lazy_static", - "num-traits 0.2.17", + "num-traits", "rand 0.8.5", "rand_chacha 0.3.1", "rand_xorshift", @@ -5017,7 +5221,7 @@ dependencies = [ "prost 0.12.3", "prost-types 0.12.3", "regex", - "syn 2.0.52", + "syn 2.0.96", "tempfile", "which", ] @@ -5032,7 +5236,7 @@ dependencies = [ "itertools 0.11.0", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -5045,7 +5249,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -5209,37 +5413,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "reddsa" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78a5191930e84973293aa5f532b513404460cd2216c1cfb76d08748c15b40b02" -dependencies = [ - "blake2b_simd", - "byteorder", - "group", - "hex", - "jubjub 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "pasta_curves", - "rand_core 0.6.4", - "serde", - "thiserror", - "zeroize", -] - -[[package]] -name = "redjubjub" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a60db2c3bc9c6fd1e8631fee75abc008841d27144be744951d6b9b75f9b569c" -dependencies = [ - "rand_core 0.6.4", - "reddsa", - "serde", - "thiserror", - "zeroize", -] - [[package]] name = "redox_syscall" version = "0.4.1" @@ -5257,7 +5430,7 @@ checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ "getrandom 0.2.15", "libredox", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -5493,7 +5666,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1790d1c4c0ca81211399e0e0af16333276f375209e71a37b67698a373db5b47a" dependencies = [ "arrayvec", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -5664,7 +5837,7 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -5840,7 +6013,7 @@ checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -5851,7 +6024,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -5873,7 +6046,7 @@ checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6032,8 +6205,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ "num-bigint", - "num-traits 0.2.17", - "thiserror", + "num-traits", + "thiserror 1.0.50", "time", ] @@ -6084,7 +6257,7 @@ checksum = "867851a695e22b0d1fc85f2f84dba29fef7e5d571f12fb23253e0b213bf190f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6191,7 +6364,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6241,9 +6414,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.52" +version = "2.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07" +checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" dependencies = [ "proc-macro2", "quote", @@ -6259,7 +6432,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6344,7 +6517,7 @@ dependencies = [ "flex-error", "futures", "k256", - "num-traits 0.2.17", + "num-traits", "once_cell", "prost 0.13.1", "prost-types 0.13.1", @@ -6427,7 +6600,7 @@ dependencies = [ "tendermint", "tendermint-config", "tendermint-proto", - "thiserror", + "thiserror 1.0.50", "time", "url", "uuid 1.8.0", @@ -6478,7 +6651,7 @@ checksum = "7ba277e77219e9eea169e8508942db1bf5d8a41ff2db9b20aab5a5aadc9fa25d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6487,7 +6660,16 @@ version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.50", +] + +[[package]] +name = "thiserror" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +dependencies = [ + "thiserror-impl 2.0.11", ] [[package]] @@ -6498,7 +6680,38 @@ checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", +] + +[[package]] +name = "thiserror-nostd-notrait" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8444e638022c44d2a9337031dee8acb732bcc7fbf52ac654edc236b26408b61" +dependencies = [ + "thiserror-nostd-notrait-impl", +] + +[[package]] +name = "thiserror-nostd-notrait-impl" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585e5ef40a784ce60b49c67d762110688d211d395d39e096be204535cf64590e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", ] [[package]] @@ -6554,7 +6767,7 @@ dependencies = [ "rand 0.7.3", "rustc-hash", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "unicode-normalization", "wasm-bindgen", "zeroize", @@ -6622,7 +6835,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6779,7 +6992,7 @@ dependencies = [ "proc-macro2", "prost-build", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -6833,7 +7046,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -7126,7 +7339,7 @@ checksum = "f9534daa9fd3ed0bd911d462a37f172228077e7abf18c18a5f67199d959205f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] [[package]] @@ -7285,6 +7498,17 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "visibility" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d674d135b4a8c1d7e813e2f8d1c9a58308aee4a680323066025e53132218bd91" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", +] + [[package]] name = "vp_implicit" version = "0.46.1" @@ -7378,7 +7602,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", "wasm-bindgen-shared", ] @@ -7412,7 +7636,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -7458,7 +7682,7 @@ dependencies = [ "serde-wasm-bindgen", "shared-buffer", "target-lexicon", - "thiserror", + "thiserror 1.0.50", "tracing", "wasm-bindgen", "wasmer-compiler", @@ -7478,7 +7702,7 @@ checksum = "79fd0889f8844b7c70b8ee8fbf1d1f6ccff99399c6f3d3627048cde04b1ac493" dependencies = [ "blake3", "hex", - "thiserror", + "thiserror 1.0.50", "wasmer", ] @@ -7503,7 +7727,7 @@ dependencies = [ "self_cell", "shared-buffer", "smallvec", - "thiserror", + "thiserror 1.0.50", "wasmer-types", "wasmer-vm", "wasmparser 0.121.2", @@ -7566,7 +7790,7 @@ dependencies = [ "serde_cbor", "serde_json", "serde_yaml", - "thiserror", + "thiserror 1.0.50", "toml 0.8.2", "url", ] @@ -7599,7 +7823,7 @@ dependencies = [ "rkyv", "sha2 0.10.8", "target-lexicon", - "thiserror", + "thiserror 1.0.50", "webc", "xxhash-rust", ] @@ -7627,7 +7851,7 @@ dependencies = [ "more-asserts", "region", "scopeguard", - "thiserror", + "thiserror 1.0.50", "wasmer-types", "winapi", ] @@ -7721,7 +7945,7 @@ dependencies = [ "shared-buffer", "tar", "tempfile", - "thiserror", + "thiserror 1.0.50", "toml 0.7.8", "url", "wasmer-config", @@ -8001,7 +8225,7 @@ dependencies = [ "pharos", "rustc_version 0.4.0", "send_wrapper 0.6.0", - "thiserror", + "thiserror 1.0.50", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -8046,11 +8270,12 @@ checksum = "927da81e25be1e1a2901d59b81b37dd2efd1fc9c9345a55007f09bf5a2d3ee03" [[package]] name = "zcash_encoding" -version = "0.2.0" -source = "git+https://github.com/zcash/librustzcash?rev=bd7f9d7#bd7f9d7c3ce5cfd14af169ffe0e1c5c903162f46" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3654116ae23ab67dd1f849b01f8821a8a156f884807ff665eac109bf28306c4d" dependencies = [ - "byteorder", - "nonempty", + "core2", + "nonempty 0.7.0", ] [[package]] @@ -8070,5 +8295,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.52", + "syn 2.0.96", ] diff --git a/wasm_for_tests/Cargo.lock b/wasm_for_tests/Cargo.lock index 719de75185..6093c82920 100644 --- a/wasm_for_tests/Cargo.lock +++ b/wasm_for_tests/Cargo.lock @@ -74,7 +74,7 @@ dependencies = [ "ark-serialize", "ark-std", "derivative", - "num-traits 0.2.17", + "num-traits", "zeroize", ] @@ -90,9 +90,9 @@ dependencies = [ "ark-std", "derivative", "num-bigint", - "num-traits 0.2.17", + "num-traits", "paste", - "rustc_version", + "rustc_version 0.3.3", "zeroize", ] @@ -113,7 +113,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" dependencies = [ "num-bigint", - "num-traits 0.2.17", + "num-traits", "quote", "syn 1.0.109", ] @@ -134,7 +134,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ - "num-traits 0.2.17", + "num-traits", "rand", ] @@ -158,7 +158,16 @@ checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", +] + +[[package]] +name = "atomic-polyfill" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" +dependencies = [ + "critical-section", ] [[package]] @@ -333,18 +342,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "bls12_381" -version = "0.8.0" -source = "git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838#d3ebe9dd6488fac1923db120a7498079e55dd838" -dependencies = [ - "ff", - "group", - "pairing", - "rand_core", - "subtle", -] - [[package]] name = "borsh" version = "1.2.1" @@ -365,7 +362,7 @@ dependencies = [ "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", "syn_derive", ] @@ -458,7 +455,7 @@ checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" dependencies = [ "android-tzdata", "iana-time-zone", - "num-traits 0.2.17", + "num-traits", "windows-targets 0.48.5", ] @@ -479,6 +476,18 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbd0f76e066e64fdc5631e3bb46381254deab9ef1158292f27c8c57e3bf3fe59" +[[package]] +name = "cobs" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" + +[[package]] +name = "const-crc32-nostd" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808ac43170e95b11dd23d78aa9eaac5bea45776a602955552c4e833f3f0f823d" + [[package]] name = "const-default" version = "1.0.0" @@ -509,6 +518,15 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +[[package]] +name = "core2" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "239fa3ae9b63c2dc74bd3fa852d4792b8b305ae64eeede946265b6af62f1fff3" +dependencies = [ + "memchr", +] + [[package]] name = "cpufeatures" version = "0.2.11" @@ -518,6 +536,12 @@ dependencies = [ "libc", ] +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + [[package]] name = "crossbeam-deque" version = "0.8.5" @@ -590,6 +614,12 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +[[package]] +name = "debugless-unwrap" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f400d0750c0c069e8493f2256cb4da6f604b6d2eeb69a0ca8863acde352f8400" + [[package]] name = "der" version = "0.7.8" @@ -620,6 +650,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-getters" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74ef43543e701c01ad77d3a5922755c6a1d71b22d942cb8042be4994b380caff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", +] + [[package]] name = "derive_more" version = "0.99.18" @@ -628,7 +669,7 @@ checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -654,22 +695,23 @@ dependencies = [ [[package]] name = "directories" -version = "4.0.1" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.3.7" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", + "option-ext", "redox_users", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -680,7 +722,16 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", +] + +[[package]] +name = "document-features" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb6969eaabd2421f8a2775cfd2471a2b634372b4a25d41e3bd647b79912850a0" +dependencies = [ + "litrs", ] [[package]] @@ -725,7 +776,7 @@ dependencies = [ "rand_core", "serde", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "zeroize", ] @@ -755,6 +806,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + [[package]] name = "equivalent" version = "1.0.1" @@ -784,7 +847,7 @@ dependencies = [ "serde", "serde_json", "sha3", - "thiserror", + "thiserror 1.0.50", "uint", ] @@ -895,7 +958,43 @@ dependencies = [ "libm", "num-bigint", "num-integer", - "num-traits 0.2.17", + "num-traits", +] + +[[package]] +name = "frost-core" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5afd375261c34d31ff24dad068382f4bc3c95010c919d4fb8d483dc3d85c023" +dependencies = [ + "byteorder", + "const-crc32-nostd", + "debugless-unwrap", + "derive-getters", + "document-features", + "hex", + "itertools 0.13.0", + "postcard", + "rand_core", + "serde", + "serdect", + "thiserror 1.0.50", + "thiserror-nostd-notrait", + "visibility", + "zeroize", +] + +[[package]] +name = "frost-rerandomized" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a9d77595060546b53543d96b83dbeacaf3907e40a89763a8bb22124812b0cb6" +dependencies = [ + "derive-getters", + "document-features", + "frost-core", + "hex", + "rand_core", ] [[package]] @@ -960,7 +1059,7 @@ checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -1027,12 +1126,41 @@ dependencies = [ "subtle", ] +[[package]] +name = "hash32" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" +dependencies = [ + "byteorder", +] + [[package]] name = "hashbrown" version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +[[package]] +name = "hashbrown" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" + +[[package]] +name = "heapless" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" +dependencies = [ + "atomic-polyfill", + "hash32", + "rustc_version 0.4.1", + "serde", + "spin", + "stable_deref_trait", +] + [[package]] name = "heck" version = "0.4.1" @@ -1527,7 +1655,7 @@ source = "git+https://github.com/heliaxdev/cosmos-ibc-rs?rev=38bd2a32f35117d4d91 dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -1604,7 +1732,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" dependencies = [ "integer-sqrt", - "num-traits 0.2.17", + "num-traits", "uint", ] @@ -1652,17 +1780,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" -[[package]] -name = "indexmap" -version = "2.2.4" -source = "git+https://github.com/heliaxdev/indexmap?tag=2.2.4-heliax-1#b5b5b547bd6ab04bbb16e060326a50ddaeb6c909" -dependencies = [ - "borsh", - "equivalent", - "hashbrown", - "serde", -] - [[package]] name = "indexmap" version = "2.2.6" @@ -1670,7 +1787,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown", + "hashbrown 0.14.3", ] [[package]] @@ -1698,7 +1815,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" dependencies = [ - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -1719,6 +1836,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -1750,20 +1876,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8499f7a74008aafbecb2a2e608a3e13e4dd3e84df198b604451efe93f2de6e61" dependencies = [ "bitvec", - "bls12_381 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ff", - "group", - "rand_core", - "subtle", -] - -[[package]] -name = "jubjub" -version = "0.10.0" -source = "git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c#a373686962f4e9d0edb3b4716f86ff6bbd9aa86c" -dependencies = [ - "bitvec", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", + "bls12_381", "ff", "group", "rand_core", @@ -1848,6 +1961,22 @@ version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +[[package]] +name = "litrs" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" + +[[package]] +name = "lock_api" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +dependencies = [ + "autocfg", + "scopeguard", +] + [[package]] name = "log" version = "0.4.20" @@ -1856,8 +1985,9 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "masp_note_encryption" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9736dbd86140a9d6711b464297a87af9cc0ae485d73a956c595f1bc1f6a7920" dependencies = [ "borsh", "chacha20", @@ -1869,15 +1999,15 @@ dependencies = [ [[package]] name = "masp_primitives" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fb184254ca5cd5fb12e11b81a6a0d6b955d98c7263eae11057f669c31c7123c" dependencies = [ "aes", "bip0039", "bitvec", "blake2b_simd", "blake2s_simd", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", "borsh", "byteorder", "ff", @@ -1885,12 +2015,13 @@ dependencies = [ "group", "hex", "incrementalmerkletree", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", "lazy_static", "masp_note_encryption", "memuse", - "nonempty", - "num-traits 0.2.19", + "nam-bls12_381", + "nam-jubjub", + "nam-num-traits", + "nonempty 0.11.0", "rand", "rand_core", "sha2 0.10.8", @@ -1900,21 +2031,22 @@ dependencies = [ [[package]] name = "masp_proofs" -version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe#0d0da3507a6f9ad135f00fd8201dc54c2f1d9efe" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "833eb23ccc5e4781636f6a7b2e720f60f31e53e534d1abb2b0ac5e86eb099c14" dependencies = [ "bellman", "blake2b_simd", - "bls12_381 0.8.0 (git+https://github.com/heliaxdev/bls12_381.git?rev=d3ebe9dd6488fac1923db120a7498079e55dd838)", "directories", "getrandom", "group", - "itertools 0.11.0", - "jubjub 0.10.0 (git+https://github.com/heliaxdev/jubjub.git?rev=a373686962f4e9d0edb3b4716f86ff6bbd9aa86c)", + "itertools 0.14.0", "lazy_static", "masp_primitives", + "nam-bls12_381", + "nam-jubjub", + "nam-redjubjub", "rand_core", - "redjubjub", "tracing", ] @@ -1942,6 +2074,86 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "nam-bls12_381" +version = "0.8.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e768b0e2383163f2f4bbce1112d6454b2cb515950b0a9177733f0d71254d2c68" +dependencies = [ + "ff", + "group", + "pairing", + "rand_core", + "subtle", +] + +[[package]] +name = "nam-indexmap" +version = "2.7.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b40876708764895b63bb5a1e9f102d3813cb16baeb9f12932b7c8f2df4248e" +dependencies = [ + "borsh", + "equivalent", + "hashbrown 0.15.2", + "serde", +] + +[[package]] +name = "nam-jubjub" +version = "0.10.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdced0f5975d8f80cb82a84d464481acb7b586d22f447dda86947d6a572997b9" +dependencies = [ + "bitvec", + "ff", + "group", + "nam-bls12_381", + "rand_core", + "subtle", +] + +[[package]] +name = "nam-num-traits" +version = "0.2.20-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "687832a07242b76ab2760bc95180240954bf77e06bf8d9e825473c373146dc4a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "nam-reddsa" +version = "0.5.2-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1d102b4311bf60c03405350e976d17f5df155d2cb588f6401995a29ae8c1565" +dependencies = [ + "blake2b_simd", + "byteorder", + "frost-rerandomized", + "group", + "hex", + "jubjub", + "pasta_curves", + "rand_core", + "serde", + "thiserror 2.0.11", + "zeroize", +] + +[[package]] +name = "nam-redjubjub" +version = "0.7.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e457988762db7daad8d79f8a837a07295f5cc178d9236ba77db7339072ffb61e" +dependencies = [ + "nam-reddsa", + "rand_core", + "serde", + "thiserror 1.0.50", + "zeroize", +] + [[package]] name = "nam-sparse-merkle-tree" version = "0.3.2-nam.0" @@ -1972,7 +2184,7 @@ version = "0.46.1" dependencies = [ "namada_core", "smooth-operator", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -1990,14 +2202,14 @@ dependencies = [ "ibc", "ics23", "impl-num-traits", - "indexmap 2.2.4", "k256", "masp_primitives", + "nam-indexmap", "nam-sparse-merkle-tree", "namada_macros", "num-integer", "num-rational", - "num-traits 0.2.17", + "num-traits", "num256", "num_enum", "primitive-types", @@ -2010,7 +2222,7 @@ dependencies = [ "smooth-operator", "tendermint", "tendermint-proto", - "thiserror", + "thiserror 1.0.50", "tiny-keccak", "tracing", "uint", @@ -2027,7 +2239,7 @@ dependencies = [ "namada_macros", "serde", "serde_json", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2040,7 +2252,7 @@ dependencies = [ "namada_events", "namada_macros", "serde", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -2061,7 +2273,7 @@ dependencies = [ "serde", "serde_json", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2090,7 +2302,7 @@ dependencies = [ "serde_json", "sha2 0.9.9", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2116,7 +2328,7 @@ dependencies = [ "namada_core", "namada_macros", "prost 0.13.2", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -2130,7 +2342,7 @@ dependencies = [ "namada_tx", "namada_vp_env", "smooth-operator", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -2152,7 +2364,7 @@ dependencies = [ "once_cell", "serde", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2193,7 +2405,7 @@ dependencies = [ "sha2 0.9.9", "smooth-operator", "tempfile", - "thiserror", + "thiserror 1.0.50", "tracing", "typed-builder", "xorf", @@ -2217,7 +2429,7 @@ dependencies = [ "namada_tx", "patricia_tree", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2235,7 +2447,7 @@ dependencies = [ "regex", "serde", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2288,7 +2500,7 @@ dependencies = [ "namada_tx", "namada_tx_env", "namada_vp_env", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2309,14 +2521,14 @@ dependencies = [ "namada_gas", "namada_macros", "num-derive 0.4.2", - "num-traits 0.2.17", + "num-traits", "prost 0.13.2", "prost-types 0.13.2", "rand_core", "serde", "serde_json", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.50", "tonic-build", ] @@ -2368,7 +2580,7 @@ dependencies = [ "namada_tx", "namada_vp_env", "smooth-operator", - "thiserror", + "thiserror 1.0.50", "tracing", ] @@ -2414,6 +2626,12 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" +[[package]] +name = "nonempty" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "549e471b99ccaf2f89101bec68f4d244457d5a95a9c3d0672e9564124397741d" + [[package]] name = "num" version = "0.4.1" @@ -2425,7 +2643,7 @@ dependencies = [ "num-integer", "num-iter", "num-rational", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -2436,7 +2654,7 @@ checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ "autocfg", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -2445,7 +2663,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -2473,7 +2691,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -2483,7 +2701,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" dependencies = [ "autocfg", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -2494,7 +2712,7 @@ checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" dependencies = [ "autocfg", "num-integer", - "num-traits 0.2.17", + "num-traits", ] [[package]] @@ -2506,22 +2724,14 @@ dependencies = [ "autocfg", "num-bigint", "num-integer", - "num-traits 0.2.17", -] - -[[package]] -name = "num-traits" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" -dependencies = [ - "autocfg", + "num-traits", ] [[package]] name = "num-traits" version = "0.2.19" -source = "git+https://github.com/heliaxdev/num-traits?rev=3f3657caa34b8e116fdf3f8a3519c4ac29f012fe#3f3657caa34b8e116fdf3f8a3519c4ac29f012fe" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] @@ -2535,7 +2745,7 @@ dependencies = [ "lazy_static", "num", "num-derive 0.3.3", - "num-traits 0.2.17", + "num-traits", "serde", "serde_derive", ] @@ -2558,7 +2768,7 @@ dependencies = [ "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -2573,6 +2783,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "pairing" version = "0.23.0" @@ -2664,7 +2880,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.50", "ucd-trie", ] @@ -2675,7 +2891,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap", ] [[package]] @@ -2711,6 +2927,19 @@ dependencies = [ "universal-hash", ] +[[package]] +name = "postcard" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "170a2601f67cc9dba8edd8c4870b15f71a6a2dc196daec8c83f72b59dff628a8" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "heapless", + "serde", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -2730,7 +2959,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -2789,9 +3018,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.83" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -2833,7 +3062,7 @@ dependencies = [ "prost 0.12.3", "prost-types 0.12.3", "regex", - "syn 2.0.65", + "syn 2.0.96", "tempfile", "which", ] @@ -2848,7 +3077,7 @@ dependencies = [ "itertools 0.11.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -2861,7 +3090,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -2947,37 +3176,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "reddsa" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78a5191930e84973293aa5f532b513404460cd2216c1cfb76d08748c15b40b02" -dependencies = [ - "blake2b_simd", - "byteorder", - "group", - "hex", - "jubjub 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "pasta_curves", - "rand_core", - "serde", - "thiserror", - "zeroize", -] - -[[package]] -name = "redjubjub" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a60db2c3bc9c6fd1e8631fee75abc008841d27144be744951d6b9b75f9b569c" -dependencies = [ - "rand_core", - "reddsa", - "serde", - "thiserror", - "zeroize", -] - [[package]] name = "redox_syscall" version = "0.4.1" @@ -2995,7 +3193,7 @@ checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.50", ] [[package]] @@ -3080,7 +3278,16 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" dependencies = [ - "semver", + "semver 0.11.0", +] + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver 1.0.24", ] [[package]] @@ -3153,9 +3360,15 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.65", + "syn 2.0.96", ] +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + [[package]] name = "sec1" version = "0.7.3" @@ -3180,6 +3393,12 @@ dependencies = [ "semver-parser", ] +[[package]] +name = "semver" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" + [[package]] name = "semver-parser" version = "0.10.2" @@ -3224,7 +3443,7 @@ checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -3235,7 +3454,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -3257,7 +3476,7 @@ checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -3346,7 +3565,16 @@ checksum = "867851a695e22b0d1fc85f2f84dba29fef7e5d571f12fb23253e0b213bf190f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +dependencies = [ + "lock_api", ] [[package]] @@ -3359,6 +3587,12 @@ dependencies = [ "der", ] +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + [[package]] name = "static_assertions" version = "1.1.0" @@ -3434,9 +3668,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.65" +version = "2.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106" +checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" dependencies = [ "proc-macro2", "quote", @@ -3452,7 +3686,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -3487,7 +3721,7 @@ dependencies = [ "flex-error", "futures", "k256", - "num-traits 0.2.17", + "num-traits", "once_cell", "prost 0.13.2", "prost-types 0.13.2", @@ -3540,7 +3774,16 @@ version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.50", +] + +[[package]] +name = "thiserror" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +dependencies = [ + "thiserror-impl 2.0.11", ] [[package]] @@ -3551,7 +3794,38 @@ checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", +] + +[[package]] +name = "thiserror-nostd-notrait" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8444e638022c44d2a9337031dee8acb732bcc7fbf52ac654edc236b26408b61" +dependencies = [ + "thiserror-nostd-notrait-impl", +] + +[[package]] +name = "thiserror-nostd-notrait-impl" +version = "1.0.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585e5ef40a784ce60b49c67d762110688d211d395d39e096be204535cf64590e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", ] [[package]] @@ -3620,7 +3894,7 @@ version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" dependencies = [ - "indexmap 2.2.6", + "indexmap", "toml_datetime", "winnow", ] @@ -3631,7 +3905,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.2.6", + "indexmap", "toml_datetime", "winnow", ] @@ -3646,7 +3920,7 @@ dependencies = [ "proc-macro2", "prost-build", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -3668,7 +3942,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -3825,7 +4099,7 @@ checksum = "f9534daa9fd3ed0bd911d462a37f172228077e7abf18c18a5f67199d959205f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] [[package]] @@ -3914,6 +4188,17 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "visibility" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d674d135b4a8c1d7e813e2f8d1c9a58308aee4a680323066025e53132218bd91" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.96", +] + [[package]] name = "vp_always_false" version = "0.46.1" @@ -4015,7 +4300,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", "wasm-bindgen-shared", ] @@ -4037,7 +4322,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -4060,28 +4345,6 @@ dependencies = [ "rustix", ] -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - [[package]] name = "windows-core" version = "0.51.1" @@ -4254,11 +4517,12 @@ dependencies = [ [[package]] name = "zcash_encoding" -version = "0.2.0" -source = "git+https://github.com/zcash/librustzcash?rev=bd7f9d7#bd7f9d7c3ce5cfd14af169ffe0e1c5c903162f46" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3654116ae23ab67dd1f849b01f8821a8a156f884807ff665eac109bf28306c4d" dependencies = [ - "byteorder", - "nonempty", + "core2", + "nonempty 0.7.0", ] [[package]] @@ -4278,5 +4542,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.96", ] From 9645d8e3f451b8f5bd783c8cbaf22cbc9ed7fbf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 15 Jan 2025 10:40:07 +0000 Subject: [PATCH 3/3] switch to published ledger-lib fork --- Cargo.lock | 183 +++++++++++++++++++++++++++++------------------------ Cargo.toml | 3 +- 2 files changed, 102 insertions(+), 84 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a1df5ef87a..200c355a78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2036,44 +2036,34 @@ checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" [[package]] name = "encdec" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25de94e10baa85551f7c65730423239370ed5bed60bf8d2a9cbf2683327ba421" +checksum = "2ec7aafa197dadfa18575eb62d05adaec89237d0fb0663baf2e141529b3a20b0" dependencies = [ - "encdec-base 0.9.0", + "encdec-base", "encdec-macros", ] [[package]] name = "encdec-base" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f8542ff2a35da7fc94ffcf280f35dc759219c4b48fa930e0a0f268220d7fb6a" -dependencies = [ - "byteorder", - "num-traits", -] - -[[package]] -name = "encdec-base" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "516ae3c7d00515548bf26a6531883335ceac2e9cde4938e70feea7456569be09" +checksum = "5abc9d559c177b2a75892e92c1812216e5cec7e1a14e0682b25ed6f5c0bd78a2" dependencies = [ "byteorder", - "heapless", + "heapless 0.8.0", "num-traits", - "thiserror 1.0.50", + "thiserror 2.0.11", ] [[package]] name = "encdec-macros" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15497932aae6b53bf8548cc63c65929b4fab6be54e28709c80fc72f5707eeed" +checksum = "ace893fa216d3c4cd14239cf2807b48c1ad8abcf583d779a29f410cd35cff413" dependencies = [ "darling 0.14.4", - "encdec-base 0.8.3", + "encdec-base", "proc-macro2", "quote", "syn 1.0.109", @@ -2389,7 +2379,7 @@ dependencies = [ "ethabi", "generic-array", "k256", - "num_enum 0.7.1", + "num_enum", "once_cell", "open-fastrlp", "rand 0.8.5", @@ -3004,6 +2994,15 @@ dependencies = [ "byteorder", ] +[[package]] +name = "hash32" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" +dependencies = [ + "byteorder", +] + [[package]] name = "hashbrown" version = "0.12.3" @@ -3088,19 +3087,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" dependencies = [ "atomic-polyfill", - "hash32", + "hash32 0.2.1", "rustc_version 0.4.0", "serde", "spin 0.9.8", "stable_deref_trait", ] +[[package]] +name = "heapless" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" +dependencies = [ + "hash32 0.3.1", + "stable_deref_trait", +] + [[package]] name = "heck" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.3.9" @@ -4247,25 +4262,6 @@ dependencies = [ "snafu", ] -[[package]] -name = "ledger-lib" -version = "0.1.0" -source = "git+https://github.com/heliaxdev/rust-ledger?rev=f96f4559b3237d09218f7583df01acf36034ea79#f96f4559b3237d09218f7583df01acf36034ea79" -dependencies = [ - "async-trait", - "displaydoc", - "encdec", - "futures", - "ledger-proto", - "once_cell", - "strum 0.24.1", - "thiserror 1.0.50", - "tokio", - "tracing", - "tracing-subscriber", - "uuid 1.8.0", -] - [[package]] name = "ledger-namada-rs" version = "0.0.1" @@ -4283,18 +4279,6 @@ dependencies = [ "thiserror 1.0.50", ] -[[package]] -name = "ledger-proto" -version = "0.1.0" -source = "git+https://github.com/heliaxdev/rust-ledger?rev=f96f4559b3237d09218f7583df01acf36034ea79#f96f4559b3237d09218f7583df01acf36034ea79" -dependencies = [ - "bitflags 2.5.0", - "displaydoc", - "encdec", - "num_enum 0.6.1", - "thiserror 1.0.50", -] - [[package]] name = "ledger-transport" version = "0.10.0" @@ -4764,6 +4748,39 @@ dependencies = [ "subtle", ] +[[package]] +name = "nam-ledger-lib" +version = "0.1.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e8a354ab142e05ce98b2b315989f7d79e392079e007364164e45cc86e043269" +dependencies = [ + "async-trait", + "displaydoc", + "encdec", + "futures", + "nam-ledger-proto", + "once_cell", + "strum 0.26.3", + "thiserror 2.0.11", + "tokio", + "tracing", + "tracing-subscriber", + "uuid 1.8.0", +] + +[[package]] +name = "nam-ledger-proto" +version = "0.1.1-nam.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e46bb3019d4f618a8209c5db034aaebd97e1f617716ec86ff1e39971b23d3419" +dependencies = [ + "bitflags 2.5.0", + "displaydoc", + "encdec", + "num_enum", + "thiserror 2.0.11", +] + [[package]] name = "nam-num-traits" version = "0.2.20-nam.0" @@ -4876,13 +4893,13 @@ dependencies = [ "itertools 0.12.1", "kdam", "lazy_static", - "ledger-lib", "ledger-namada-rs", "ledger-transport", "ledger-transport-hid", "linkme", "masp_primitives", "nam-jubjub", + "nam-ledger-lib", "namada_core", "namada_macros", "namada_migrations", @@ -4975,7 +4992,7 @@ dependencies = [ "num-rational", "num-traits", "num256", - "num_enum 0.7.1", + "num_enum", "primitive-types", "proptest", "prost-types 0.13.2", @@ -6101,33 +6118,13 @@ dependencies = [ "libc", ] -[[package]] -name = "num_enum" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1" -dependencies = [ - "num_enum_derive 0.6.1", -] - [[package]] name = "num_enum" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683751d591e6d81200c39fb0d1032608b77724f34114db54f571ff1317b337c0" dependencies = [ - "num_enum_derive 0.7.1", -] - -[[package]] -name = "num_enum_derive" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", + "num_enum_derive", ] [[package]] @@ -6630,7 +6627,7 @@ checksum = "a55c51ee6c0db07e68448e336cf8ea4131a620edefebf9893e759b2d793420f8" dependencies = [ "cobs", "embedded-io", - "heapless", + "heapless 0.7.17", "serde", ] @@ -6830,7 +6827,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" dependencies = [ "bytes", - "heck", + "heck 0.4.1", "itertools 0.11.0", "log", "multimap", @@ -6878,7 +6875,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acf0c195eebb4af52c752bec4f52f645da98b6e92077a04110c7f349477ae5ac" dependencies = [ "anyhow", - "itertools 0.12.1", + "itertools 0.13.0", "proc-macro2", "quote", "syn 2.0.96", @@ -8032,7 +8029,7 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "990079665f075b699031e9c08fd3ab99be5029b96f3b78dc0709e8f77e4efebf" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 1.0.109", @@ -8125,13 +8122,22 @@ dependencies = [ "strum_macros 0.25.3", ] +[[package]] +name = "strum" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros 0.26.4", +] + [[package]] name = "strum_macros" version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -8144,7 +8150,20 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ - "heck", + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.96", +] + +[[package]] +name = "strum_macros" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +dependencies = [ + "heck 0.5.0", "proc-macro2", "quote", "rustversion", diff --git a/Cargo.toml b/Cargo.toml index 25805f828b..6a4245dff6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -131,8 +131,7 @@ k256 = { version = "0.13.0", default-features = false, features = ["ecdsa", "pkc kdam = "0.5.2" konst = { version = "0.3.8", default-features = false } lazy_static = "1.4.0" -# TODO: upstreamed in https://github.com/ledger-community/rust-ledger/pull/9 -ledger-lib = { git = "https://github.com/heliaxdev/rust-ledger", rev = "f96f4559b3237d09218f7583df01acf36034ea79", default-features = false, features = ["transport_tcp"] } +ledger-lib = { package="nam-ledger-lib", version = "0.1.1-nam.0", default-features = false, features = ["transport_tcp"] } ledger-namada-rs = { git = "https://github.com/Zondax/ledger-namada", tag = "v2.0.2" } ledger-transport = "0.10.0" ledger-transport-hid = "0.10.0"