diff --git a/Cargo.lock b/Cargo.lock index 136aea8b204..2d839223619 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -59,6 +59,15 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e" +[[package]] +name = "aead" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" +dependencies = [ + "generic-array", +] + [[package]] name = "aes" version = "0.6.0" @@ -67,7 +76,19 @@ checksum = "884391ef1066acaa41e766ba8f596341b96e93ce34f9a43e7d24bf0a0eaf0561" dependencies = [ "aes-soft", "aesni", - "cipher", + "cipher 0.2.5", +] + +[[package]] +name = "aes" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" +dependencies = [ + "cfg-if 1.0.0", + "cipher 0.3.0", + "cpufeatures", + "opaque-debug", ] [[package]] @@ -76,7 +97,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072" dependencies = [ - "cipher", + "cipher 0.2.5", "opaque-debug", ] @@ -86,7 +107,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce" dependencies = [ - "cipher", + "cipher 0.2.5", "opaque-debug", ] @@ -258,6 +279,12 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" +[[package]] +name = "base64ct" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a32fd6af2b5827bce66c29053ba0e7c42b9dcab01835835058558c10851a46b" + [[package]] name = "bech32" version = "0.8.1" @@ -280,12 +307,12 @@ dependencies = [ "blake2s_simd", "byteorder", "crossbeam", - "ff", + "ff 0.10.0", "futures 0.1.30", "futures-cpupool", - "group", + "group 0.10.0", "num_cpus", - "pairing", + "pairing 0.20.0", "rand_core 0.6.3", "subtle", ] @@ -351,6 +378,20 @@ dependencies = [ "which", ] +[[package]] +name = "bip0039" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0830ae4cc96b0617cc912970c2b17e89456fecbf55e8eed53a956f37ab50c41" +dependencies = [ + "hmac", + "pbkdf2", + "rand 0.8.4", + "sha2", + "unicode-normalization", + "zeroize", +] + [[package]] name = "bit-set" version = "0.5.2" @@ -431,7 +472,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57a0e8073e8baa88212fb5823574c02ebccb395136ba9a164ab89379ec6072f0" dependencies = [ "block-padding", - "cipher", + "cipher 0.2.5", +] + +[[package]] +name = "block-modes" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cb03d1bed155d89dce0f845b7899b18a9a163e148fd004e1c28421a783e2d8e" +dependencies = [ + "block-padding", + "cipher 0.3.0", ] [[package]] @@ -446,9 +497,22 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54757888b09a69be70b5ec303e382a74227392086ba808cb01eeca29233a2397" dependencies = [ - "ff", - "group", - "pairing", + "ff 0.10.0", + "group 0.10.0", + "pairing 0.20.0", + "rand_core 0.6.3", + "subtle", +] + +[[package]] +name = "bls12_381" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d28daeeded7949f1c7c72693377c98473b00be0aa0023760a84a300e4e7c74b" +dependencies = [ + "ff 0.11.0", + "group 0.11.0", + "pairing 0.21.0", "rand_core 0.6.3", "subtle", ] @@ -555,6 +619,31 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "chacha20" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01b72a433d0cf2aef113ba70f62634c56fddb0f244e6377185c56a7cadbd8f91" +dependencies = [ + "cfg-if 1.0.0", + "cipher 0.3.0", + "cpufeatures", + "zeroize", +] + +[[package]] +name = "chacha20poly1305" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b84ed6d1d5f7aa9bdde921a5090e0ca4d934d250ea3b402a5fab3a994e28a2a" +dependencies = [ + "aead", + "chacha20", + "cipher 0.3.0", + "poly1305", + "zeroize", +] + [[package]] name = "chrono" version = "0.4.19" @@ -578,6 +667,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "cipher" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" +dependencies = [ + "generic-array", +] + [[package]] name = "clang-sys" version = "1.2.0" @@ -899,18 +997,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] -name = "crypto_api" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f855e87e75a4799e18b8529178adcde6fd4f97c1449ff4821e747ff728bb102" - -[[package]] -name = "crypto_api_chachapoly" -version = "0.4.3" +name = "crypto-mac" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930b6a026ce9d358a17f9c9046c55d90b14bb847f36b6ebb6b19365d4feffb8" +checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ - "crypto_api", + "generic-array", + "subtle", ] [[package]] @@ -1136,7 +1229,7 @@ dependencies = [ [[package]] name = "equihash" version = "0.1.0" -source = "git+https://github.com/zcash/librustzcash.git?rev=0c3ed159985affa774e44d10172d4471d798a85a#0c3ed159985affa774e44d10172d4471d798a85a" +source = "git+https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d33a421cb76d3e3124d1e4c1c9036068e" dependencies = [ "blake2b_simd", "byteorder", @@ -1163,6 +1256,17 @@ dependencies = [ "subtle", ] +[[package]] +name = "ff" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2958d04124b9f27f175eaeb9a9f383d026098aa837eadd8ba22c11f13a05b9e" +dependencies = [ + "bitvec", + "rand_core 0.6.3", + "subtle", +] + [[package]] name = "flate2" version = "1.0.19" @@ -1197,9 +1301,23 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a25080721bbcd2cd4d765b7d607ea350425fa087ce53cd3e31afcacdab850352" dependencies = [ - "aes", - "block-modes", - "num-bigint", + "aes 0.6.0", + "block-modes 0.7.0", + "num-bigint 0.3.3", + "num-integer", + "num-traits", +] + +[[package]] +name = "fpe" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcf3e40fc9accc7218e082db8a75aeea244b8f5db73e591774ef93b4276365e6" +dependencies = [ + "block-modes 0.8.1", + "cipher 0.3.0", + "libm", + "num-bigint 0.4.2", "num-integer", "num-traits", ] @@ -1440,7 +1558,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c363a5301b8f153d80747126a04b3c82073b9fe3130571a9d170cacdeaf7912" dependencies = [ "byteorder", - "ff", + "ff 0.10.0", + "rand_core 0.6.3", + "subtle", +] + +[[package]] +name = "group" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc5ac374b108929de78460075f3dc439fa66df9d8fc77e8f12caa5165fcf0c89" +dependencies = [ + "byteorder", + "ff 0.11.0", "rand_core 0.6.3", "subtle", ] @@ -1512,16 +1642,16 @@ checksum = "62aca2aba2d62b4a7f5b33f3712cb1b0692779a56fb510499d5c0aa594daeaf3" [[package]] name = "halo2" -version = "0.0.1" -source = "git+https://github.com/zcash/halo2.git?rev=236115917df9db45282fec24d1e1e36f275f71ab#236115917df9db45282fec24d1e1e36f275f71ab" +version = "0.1.0-beta.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f186b85ed81082fb1cf59d52b0111f02915e89a4ac61d292b38d075e570f3a9" dependencies = [ "blake2b_simd", - "crossbeam-utils 0.8.0", - "ff", - "group", - "num_cpus", + "ff 0.11.0", + "group 0.11.0", "pasta_curves", "rand 0.8.4", + "rayon", ] [[package]] @@ -1582,6 +1712,16 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hmac" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" +dependencies = [ + "crypto-mac", + "digest", +] + [[package]] name = "hostname" version = "0.3.1" @@ -1735,6 +1875,14 @@ dependencies = [ "serde", ] +[[package]] +name = "incrementalmerkletree" +version = "0.1.0" +source = "git+https://github.com/zcash/incrementalmerkletree.git?rev=b7bd6246122a6e9ace8edb51553fbf5228906cbb#b7bd6246122a6e9ace8edb51553fbf5228906cbb" +dependencies = [ + "serde", +] + [[package]] name = "indenter" version = "0.3.0" @@ -1841,9 +1989,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "593fc4726ca80edb47ee18ab4d826719e25c2096991a79308b44fb915c6014ef" dependencies = [ "bitvec", - "bls12_381", - "ff", - "group", + "bls12_381 0.5.0", + "ff 0.10.0", + "group 0.10.0", + "rand_core 0.6.3", + "subtle", +] + +[[package]] +name = "jubjub" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e7baec19d4e83f9145d4891178101a604565edff9645770fc979804138b04c" +dependencies = [ + "bitvec", + "bls12_381 0.6.0", + "ff 0.11.0", + "group 0.11.0", "rand_core 0.6.3", "subtle", ] @@ -1911,6 +2073,12 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "libm" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" + [[package]] name = "librocksdb-sys" version = "6.17.3" @@ -2008,6 +2176,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memuse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f69d25cd7528769ad3d897e99eb942774bff8b23165012af490351a44c5b583b" +dependencies = [ + "nonempty", +] + [[package]] name = "metrics" version = "0.13.0-alpha.8" @@ -2186,9 +2363,9 @@ dependencies = [ [[package]] name = "nonempty" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fa586da3e43cc7df44aae0e21ed2e743218b876de3f38035683d30bd8a3828e" +checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" [[package]] name = "ntapi" @@ -2210,6 +2387,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-bigint" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74e768dff5fb39a41b3bcd30bb25cf989706c90d028d1ad71971987aa309d535" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + [[package]] name = "num-format" version = "0.4.0" @@ -2276,21 +2464,25 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "orchard" version = "0.0.0" -source = "git+https://github.com/zcash/orchard.git?rev=37b1b7f357cd34d93f9c55bb96efd05ab4e84408#37b1b7f357cd34d93f9c55bb96efd05ab4e84408" +source = "git+https://github.com/zcash/orchard.git?rev=2c8241f25b943aa05203eacf9905db117c69bd29#2c8241f25b943aa05203eacf9905db117c69bd29" dependencies = [ - "aes", + "aes 0.7.5", "arrayvec 0.7.1", + "bigint", "bitvec", "blake2b_simd", - "ff", - "fpe", - "group", + "ff 0.11.0", + "fpe 0.5.0", + "group 0.11.0", "halo2", + "incrementalmerkletree 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static", + "memuse", "nonempty", "pasta_curves", "rand 0.8.4", "reddsa", + "serde", "subtle", "zcash_note_encryption", ] @@ -2331,7 +2523,16 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7de9d09263c9966e8196fe0380c9dbbc7ea114b5cf371ba29004bc1f9c6db7f3" dependencies = [ - "group", + "group 0.10.0", +] + +[[package]] +name = "pairing" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2e415e349a3006dd7d9482cdab1c980a845bed1377777d768cb693a44540b42" +dependencies = [ + "group 0.11.0", ] [[package]] @@ -2360,21 +2561,42 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "password-hash" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d791538a6dcc1e7cb7fe6f6b58aca40e7f79403c45b2bc274008b5e647af1d8" +dependencies = [ + "base64ct", + "rand_core 0.6.3", + "subtle", +] + [[package]] name = "pasta_curves" -version = "0.1.1" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "179df750e20069669699f537ec0c4bcb248283f45a78b8c66d797fb73dbbb455" +checksum = "d647d91972bad78120fd61e06b225fcda117805c9bbf17676b51bd03a251278b" dependencies = [ "blake2b_simd", - "ff", - "group", + "ff 0.11.0", + "group 0.11.0", "lazy_static", "rand 0.8.4", "static_assertions", "subtle", ] +[[package]] +name = "pbkdf2" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f05894bce6a1ba4be299d0c5f29563e08af2bc18bb7d48313113bed71e904739" +dependencies = [ + "crypto-mac", + "password-hash", +] + [[package]] name = "peeking_take_while" version = "0.1.2" @@ -2479,6 +2701,17 @@ dependencies = [ "plotters-backend", ] +[[package]] +name = "poly1305" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" +dependencies = [ + "cpufeatures", + "opaque-debug", + "universal-hash", +] + [[package]] name = "ppv-lite86" version = "0.2.10" @@ -2750,9 +2983,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674" +checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" dependencies = [ "autocfg", "crossbeam-deque 0.8.0", @@ -2762,9 +2995,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.9.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a" +checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" dependencies = [ "crossbeam-channel 0.5.1", "crossbeam-deque 0.8.0", @@ -2785,13 +3018,13 @@ dependencies = [ [[package]] name = "reddsa" version = "0.0.0" -source = "git+https://github.com/str4d/redjubjub.git?rev=d5d8c5f3bb704bad8ae88fe4a29ae1f744774cb2#d5d8c5f3bb704bad8ae88fe4a29ae1f744774cb2" +source = "git+https://github.com/str4d/redjubjub.git?rev=416a6a8ebf8bd42c114c938883016c04f338de72#416a6a8ebf8bd42c114c938883016c04f338de72" dependencies = [ "blake2b_simd", "byteorder", "digest", - "group", - "jubjub", + "group 0.11.0", + "jubjub 0.8.0", "pasta_curves", "rand_core 0.6.3", "serde", @@ -2807,7 +3040,7 @@ dependencies = [ "blake2b_simd", "byteorder", "digest", - "jubjub", + "jubjub 0.7.0", "rand_core 0.6.3", "serde", "thiserror", @@ -4040,6 +4273,16 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" +[[package]] +name = "universal-hash" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" +dependencies = [ + "generic-array", + "subtle", +] + [[package]] name = "untrusted" version = "0.7.1" @@ -4429,10 +4672,19 @@ dependencies = [ "zeroize", ] +[[package]] +name = "zcash_encoding" +version = "0.0.0" +source = "git+https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d33a421cb76d3e3124d1e4c1c9036068e" +dependencies = [ + "byteorder", + "nonempty", +] + [[package]] name = "zcash_history" version = "0.2.0" -source = "git+https://github.com/zcash/librustzcash.git?rev=0c3ed159985affa774e44d10172d4471d798a85a#0c3ed159985affa774e44d10172d4471d798a85a" +source = "git+https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d33a421cb76d3e3124d1e4c1c9036068e" dependencies = [ "bigint", "blake2b_simd", @@ -4442,13 +4694,14 @@ dependencies = [ [[package]] name = "zcash_note_encryption" version = "0.0.0" -source = "git+https://github.com/zcash/librustzcash.git?rev=0c3ed159985affa774e44d10172d4471d798a85a#0c3ed159985affa774e44d10172d4471d798a85a" +source = "git+https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d33a421cb76d3e3124d1e4c1c9036068e" dependencies = [ "blake2b_simd", "byteorder", - "crypto_api_chachapoly", - "ff", - "group", + "chacha20", + "chacha20poly1305", + "ff 0.11.0", + "group 0.11.0", "rand_core 0.6.3", "subtle", ] @@ -4456,23 +4709,26 @@ dependencies = [ [[package]] name = "zcash_primitives" version = "0.5.0" -source = "git+https://github.com/zcash/librustzcash.git?rev=0c3ed159985affa774e44d10172d4471d798a85a#0c3ed159985affa774e44d10172d4471d798a85a" +source = "git+https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d33a421cb76d3e3124d1e4c1c9036068e" dependencies = [ - "aes", + "aes 0.7.5", + "bip0039", "bitvec", "blake2b_simd", "blake2s_simd", - "bls12_381", + "bls12_381 0.6.0", "byteorder", - "crypto_api_chachapoly", - "equihash 0.1.0 (git+https://github.com/zcash/librustzcash.git?rev=0c3ed159985affa774e44d10172d4471d798a85a)", - "ff", - "fpe", - "group", + "chacha20poly1305", + "equihash 0.1.0 (git+https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e)", + "ff 0.11.0", + "fpe 0.5.0", + "group 0.11.0", "hex", - "jubjub", + "incrementalmerkletree 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "jubjub 0.8.0", "lazy_static", "log", + "memuse", "nonempty", "orchard", "pasta_curves", @@ -4480,6 +4736,7 @@ dependencies = [ "rand_core 0.6.3", "sha2", "subtle", + "zcash_encoding", "zcash_note_encryption", ] @@ -4499,14 +4756,14 @@ dependencies = [ name = "zebra-chain" version = "1.0.0-alpha.17" dependencies = [ - "aes", + "aes 0.6.0", "bech32", "bigint", "bitflags", "bitvec", "blake2b_simd", "blake2s_simd", - "bls12_381", + "bls12_381 0.5.0", "bs58", "byteorder", "chrono", @@ -4515,14 +4772,14 @@ dependencies = [ "displaydoc", "ed25519-zebra", "equihash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fpe", + "fpe 0.4.0", "futures 0.3.17", - "group", + "group 0.10.0", "halo2", "hex", - "incrementalmerkletree", + "incrementalmerkletree 0.1.0 (git+https://github.com/zcash/incrementalmerkletree.git?rev=b7bd6246122a6e9ace8edb51553fbf5228906cbb)", "itertools 0.10.1", - "jubjub", + "jubjub 0.7.0", "lazy_static", "proptest", "proptest-derive", @@ -4556,13 +4813,13 @@ version = "1.0.0-alpha.17" dependencies = [ "bellman", "blake2b_simd", - "bls12_381", + "bls12_381 0.5.0", "chrono", "color-eyre", "displaydoc", "futures 0.3.17", "futures-util", - "jubjub", + "jubjub 0.7.0", "lazy_static", "metrics", "once_cell", @@ -4647,7 +4904,7 @@ dependencies = [ "halo2", "hex", "itertools 0.10.1", - "jubjub", + "jubjub 0.7.0", "lazy_static", "metrics", "multiset", @@ -4752,9 +5009,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.1.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f33972566adbd2d3588b0491eb94b98b43695c4ef897903470ede4f3f5a28a" +checksum = "bf68b08513768deaa790264a7fac27a58cbf2705cfcdc9448362229217d7e970" dependencies = [ "zeroize_derive", ] diff --git a/Cargo.toml b/Cargo.toml index 3c66e32740b..ffd2b335a12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,5 @@ tower = { git = "https://github.com/tower-rs/tower", rev = "d4d1c67c6a0e4213a52a # TODO: remove these after a new librustzcash release. # These are librustzcash requirements specified in its workspace Cargo.toml that we must replicate here -halo2 = { git = "https://github.com/zcash/halo2.git", rev = "236115917df9db45282fec24d1e1e36f275f71ab" } -orchard = { git = "https://github.com/zcash/orchard.git", rev = "37b1b7f357cd34d93f9c55bb96efd05ab4e84408" } -zcash_note_encryption = { git = "https://github.com/zcash/librustzcash.git", rev = "0c3ed159985affa774e44d10172d4471d798a85a" } +orchard = { git = "https://github.com/zcash/orchard.git", rev = "2c8241f25b943aa05203eacf9905db117c69bd29" } +zcash_note_encryption = { git = "https://github.com/zcash/librustzcash.git", rev = "53d0a51d33a421cb76d3e3124d1e4c1c9036068e" } diff --git a/zebra-chain/Cargo.toml b/zebra-chain/Cargo.toml index e5e74080d1c..e97c20ba9c5 100644 --- a/zebra-chain/Cargo.toml +++ b/zebra-chain/Cargo.toml @@ -15,7 +15,7 @@ bench = ["zebra-test"] [dependencies] aes = "0.6" bech32 = "0.8.1" -bigint = "4" +bigint = "4.4.3" bitflags = "1.2.1" bitvec = "0.22" blake2b_simd = "0.5.11" @@ -28,11 +28,9 @@ displaydoc = "0.2.2" fpe = "0.4" futures = "0.3" group = "0.10" -# TODO: replace w/ crate version when released: https://github.com/ZcashFoundation/zebra/issues/2083 -# Note: if updating this, also update the workspace Cargo.toml to match. -halo2 = { git = "https://github.com/zcash/halo2.git", rev = "236115917df9db45282fec24d1e1e36f275f71ab" } +halo2 = "=0.1.0-beta.1" hex = "0.4" -incrementalmerkletree = "0.1.0" +incrementalmerkletree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "b7bd6246122a6e9ace8edb51553fbf5228906cbb" } jubjub = "0.7.0" lazy_static = "1.4.0" rand_core = "0.6" @@ -45,8 +43,8 @@ subtle = "2.4" thiserror = "1" uint = "0.9.1" x25519-dalek = { version = "1.1", features = ["serde"] } -zcash_history = { git = "https://github.com/zcash/librustzcash.git", rev = "0c3ed159985affa774e44d10172d4471d798a85a" } -zcash_primitives = { git = "https://github.com/zcash/librustzcash.git", rev = "0c3ed159985affa774e44d10172d4471d798a85a" } +zcash_history = { git = "https://github.com/zcash/librustzcash.git", rev = "53d0a51d33a421cb76d3e3124d1e4c1c9036068e" } +zcash_primitives = { git = "https://github.com/zcash/librustzcash.git", rev = "53d0a51d33a421cb76d3e3124d1e4c1c9036068e" } proptest = { version = "0.10", optional = true } proptest-derive = { version = "0.3.0", optional = true } diff --git a/zebra-state/Cargo.toml b/zebra-state/Cargo.toml index fd0725085e5..068998ac0f1 100644 --- a/zebra-state/Cargo.toml +++ b/zebra-state/Cargo.toml @@ -49,7 +49,7 @@ tempdir = "0.3.7" tokio = { version = "0.3.6", features = ["full"] } # TODO: replace w/ crate version when released: https://github.com/ZcashFoundation/zebra/issues/2083 # Note: if updating this, also update the workspace Cargo.toml to match. -halo2 = { git = "https://github.com/zcash/halo2.git", rev = "236115917df9db45282fec24d1e1e36f275f71ab" } +halo2 = "=0.1.0-beta.1" jubjub = "0.7.0" proptest = "0.10.1"