diff --git a/Cargo.lock b/Cargo.lock index df768ca8a8..b78efda543 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,7 +27,7 @@ dependencies = [ "parking_lot 0.12.4", "proptest", "proptest-derive 0.7.0", - "rand 0.8.5", + "rand 0.9.0", "rand_core 0.9.3", "rocksdb", "serde 1.0.228", @@ -84,7 +84,7 @@ checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", "cipher", - "cpufeatures", + "cpufeatures 0.2.12", ] [[package]] @@ -193,7 +193,7 @@ dependencies = [ "keccak-asm", "paste", "proptest", - "rand 0.8.5", + "rand 0.8.7", "ruint", "rustc-hash 2.1.1", "serde 1.0.228", @@ -335,7 +335,7 @@ checksum = "3c3610892ee6e0cbce8ae2700349fcf8f98adb0dbfbee85aec3c9179d29cc072" dependencies = [ "base64ct", "blake2", - "cpufeatures", + "cpufeatures 0.2.12", "password-hash 0.5.0", ] @@ -437,6 +437,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" +dependencies = [ + "ark-ff-asm 0.5.0", + "ark-ff-macros 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "arrayvec 0.7.4", + "digest 0.10.7", + "educe", + "itertools 0.13.0", + "num-bigint 0.4.5", + "num-traits 0.2.19", + "paste", + "zeroize", +] + [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -457,6 +477,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-asm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" +dependencies = [ + "quote 1.0.42", + "syn 2.0.111", +] + [[package]] name = "ark-ff-macros" version = "0.3.0" @@ -482,6 +512,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" +dependencies = [ + "num-bigint 0.4.5", + "num-traits 0.2.19", + "proc-macro2 1.0.104", + "quote 1.0.42", + "syn 2.0.111", +] + [[package]] name = "ark-groth16" version = "0.4.0" @@ -554,6 +597,18 @@ dependencies = [ "num-bigint 0.4.5", ] +[[package]] +name = "ark-serialize" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" +dependencies = [ + "ark-std 0.5.0", + "arrayvec 0.7.4", + "digest 0.10.7", + "num-bigint 0.4.5", +] + [[package]] name = "ark-serialize-derive" version = "0.4.2" @@ -584,7 +639,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ "num-traits 0.2.19", - "rand 0.8.5", + "rand 0.8.7", ] [[package]] @@ -594,10 +649,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits 0.2.19", - "rand 0.8.5", + "rand 0.8.7", "rayon", ] +[[package]] +name = "ark-std" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" +dependencies = [ + "num-traits 0.2.19", + "rand 0.8.7", +] + [[package]] name = "arrayref" version = "0.3.7" @@ -1908,7 +1973,18 @@ checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", "cipher", - "cpufeatures", + "cpufeatures 0.2.12", +] + +[[package]] +name = "chacha20" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "rand_core 0.10.1", ] [[package]] @@ -1918,7 +1994,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ "aead", - "chacha20", + "chacha20 0.9.1", "cipher", "poly1305", "zeroize", @@ -2143,7 +2219,7 @@ dependencies = [ "async-trait", "futures", "lazy_static 1.5.0", - "rand 0.8.5", + "rand 0.8.7", "serde 1.0.228", "serde_json", "tokio", @@ -2180,7 +2256,7 @@ dependencies = [ "hmac", "once_cell", "pbkdf2 0.12.2", - "rand 0.8.5", + "rand 0.8.7", "sha2 0.10.9", "thiserror 1.0.69", ] @@ -2276,7 +2352,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b0485bab839b018a8f1723fc5391819fea5f8f0f32288ef8a735fd096b6160c" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.12", "hex", "proptest", "serde 1.0.228", @@ -2492,6 +2568,15 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "cranelift-bforest" version = "0.91.1" @@ -2862,7 +2947,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.12", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", @@ -3119,12 +3204,11 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" dependencies = [ - "powerfmt", - "serde 1.0.228", + "serde_core", ] [[package]] @@ -3602,6 +3686,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "educe" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" +dependencies = [ + "enum-ordinalize", + "proc-macro2 1.0.104", + "quote 1.0.42", + "syn 2.0.111", +] + [[package]] name = "either" version = "1.12.0" @@ -3663,7 +3759,7 @@ dependencies = [ "hex", "k256", "log", - "rand 0.8.5", + "rand 0.8.7", "rlp 0.5.2", "serde 1.0.228", "sha3 0.10.8", @@ -3690,6 +3786,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "enum-ordinalize" +version = "4.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07f808d588c10e464ea6f7d3eaed500049eff30aaac103460f61828c2d65b3eb" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42e528e2d34ba8a67a1a650b86beae8ef69fc5fdb638016f386b973226590432" +dependencies = [ + "proc-macro2 1.0.104", + "quote 1.0.42", + "syn 2.0.111", +] + [[package]] name = "enum_dispatch" version = "0.3.13" @@ -3820,7 +3936,7 @@ dependencies = [ "hex", "hmac", "pbkdf2 0.11.0", - "rand 0.8.5", + "rand 0.8.7", "scrypt 0.10.0", "serde 1.0.228", "serde_json", @@ -4045,7 +4161,7 @@ dependencies = [ "num_enum", "once_cell", "open-fastrlp", - "rand 0.8.5", + "rand 0.8.7", "rlp 0.5.2", "serde 1.0.228", "serde_json", @@ -4150,7 +4266,7 @@ dependencies = [ "elliptic-curve", "eth-keystore", "ethers-core", - "rand 0.8.5", + "rand 0.8.7", "sha2 0.10.9", "thiserror 1.0.69", "tracing", @@ -4351,7 +4467,7 @@ dependencies = [ "num-bigint 0.4.5", "once_cell", "p256", - "rand 0.8.5", + "rand 0.8.7", "readonly", "rfc6979", "rsa 0.8.2", @@ -4436,6 +4552,17 @@ dependencies = [ "bytes", ] +[[package]] +name = "fastrlp" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce8dba4714ef14b8274c371879b175aa55b16b30f269663f19d576f380018dc4" +dependencies = [ + "arrayvec 0.7.4", + "auto_impl", + "bytes", +] + [[package]] name = "ff" version = "0.13.0" @@ -4508,7 +4635,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" dependencies = [ "byteorder", - "rand 0.8.5", + "rand 0.8.7", "rustc-hex", "static_assertions", ] @@ -4521,7 +4648,7 @@ checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "arbitrary", "byteorder", - "rand 0.8.5", + "rand 0.8.7", "rustc-hex", "static_assertions", ] @@ -4902,6 +5029,20 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core 0.10.1", + "wasm-bindgen", +] + [[package]] name = "gherkin" version = "0.14.0" @@ -5029,7 +5170,7 @@ dependencies = [ "parking_lot 0.12.4", "portable-atomic", "quanta", - "rand 0.8.5", + "rand 0.8.7", "smallvec", "spinning_top", ] @@ -5041,7 +5182,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand 0.8.5", + "rand 0.8.7", "rand_core 0.6.4", "rand_xorshift 0.3.0", "subtle", @@ -5900,7 +6041,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5" dependencies = [ "equivalent", - "hashbrown 0.16.0", + "hashbrown 0.15.2", "serde 1.0.228", "serde_core", ] @@ -6147,10 +6288,12 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.69" +version = "0.3.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102" dependencies = [ + "cfg-if", + "futures-util", "wasm-bindgen", ] @@ -6288,7 +6431,7 @@ dependencies = [ "jsonrpsee-types 0.24.9", "parking_lot 0.12.4", "pin-project", - "rand 0.8.5", + "rand 0.8.7", "rustc-hash 2.1.1", "serde 1.0.228", "serde_json", @@ -6493,11 +6636,11 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +checksum = "cb26cec98cce3a3d96cbb7bced3c4b16e3d13f27ec56dbd62cbc8f39cfb9d653" dependencies = [ - "cpufeatures", + "cpufeatures 0.2.12", ] [[package]] @@ -6644,7 +6787,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -6817,6 +6960,12 @@ dependencies = [ "hashbrown 0.16.0", ] +[[package]] +name = "lru-slab" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" + [[package]] name = "lz4" version = "1.28.1" @@ -6933,7 +7082,7 @@ dependencies = [ "once_cell", "parking_lot 0.12.4", "prometheus", - "protobuf 2.28.0", + "protobuf 3.7.2", "scopeguard", "tap", "tokio", @@ -7272,7 +7421,7 @@ dependencies = [ "primitive-types 0.10.1", "proptest", "proptest-derive 0.3.0", - "rand 0.8.5", + "rand 0.8.7", "ref-cast", "regex", "serde 1.0.228", @@ -7526,7 +7675,7 @@ dependencies = [ "num", "once_cell", "pretty", - "rand 0.8.5", + "rand 0.8.7", "regex", "serde 1.0.228", "tera", @@ -7940,7 +8089,7 @@ dependencies = [ "once_cell", "prometheus", "quick_cache", - "rand 0.8.5", + "rand 0.9.0", "raw-store", "rocksdb", "smt", @@ -7965,7 +8114,7 @@ dependencies = [ "primitive-types 0.12.2", "proptest", "proptest-derive 0.7.0", - "rand 0.8.5", + "rand 0.9.0", "schemars", "serde 1.0.228", "serde_bytes", @@ -8008,7 +8157,7 @@ dependencies = [ "anyhow 1.0.95", "cc", "once_cell", - "rand 0.8.5", + "rand 0.9.0", "tracing", "wasmer", "wasmer-compiler-singlepass", @@ -8241,7 +8390,7 @@ checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" dependencies = [ "num-integer", "num-traits 0.2.19", - "rand 0.8.5", + "rand 0.8.7", ] [[package]] @@ -8256,7 +8405,7 @@ dependencies = [ "num-integer", "num-iter", "num-traits 0.2.19", - "rand 0.8.5", + "rand 0.8.7", "smallvec", "zeroize", ] @@ -8272,9 +8421,9 @@ dependencies = [ [[package]] name = "num-conv" -version = "0.1.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" [[package]] name = "num-derive" @@ -8398,7 +8547,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 1.3.1", "proc-macro2 1.0.104", "quote 1.0.42", "syn 2.0.111", @@ -8496,15 +8645,14 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.72" +version = "0.10.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" +checksum = "77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45" dependencies = [ "bitflags 2.9.1", "cfg-if", "foreign-types", "libc", - "once_cell", "openssl-macros", "openssl-sys", ] @@ -8528,9 +8676,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.107" +version = "0.9.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8288979acd84749c744a9014b4382d42b8f7b2592847b5afb2ed29e5d16ede07" +checksum = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695" dependencies = [ "cc", "libc", @@ -8794,7 +8942,7 @@ dependencies = [ "group", "hex", "lazy_static 1.5.0", - "rand 0.8.5", + "rand 0.8.7", "serde 1.0.228", "static_assertions", "subtle", @@ -9018,7 +9166,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" dependencies = [ "phf_shared 0.11.2", - "rand 0.8.5", + "rand 0.8.7", ] [[package]] @@ -9232,7 +9380,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ - "cpufeatures", + "cpufeatures 0.2.12", "opaque-debug", "universal-hash", ] @@ -9582,9 +9730,6 @@ name = "protobuf" version = "2.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" -dependencies = [ - "bytes", -] [[package]] name = "protobuf" @@ -9592,6 +9737,7 @@ version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d65a1d4ddae7d8b5de68153b48f6aa3bba8cb002b243dbdbc55a5afbc98f99f4" dependencies = [ + "bytes", "once_cell", "protobuf-support", "thiserror 1.0.69", @@ -9763,19 +9909,24 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.11.8" +version = "0.11.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" +checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560" dependencies = [ "bytes", - "rand 0.8.5", + "getrandom 0.4.3", + "lru-slab", + "rand 0.10.2", + "rand_pcg", "ring 0.17.8", "rustc-hash 2.1.1", "rustls 0.23.25", + "rustls-pki-types", "slab", - "thiserror 1.0.69", + "thiserror 2.0.17", "tinyvec", "tracing", + "web-time", ] [[package]] @@ -9809,6 +9960,12 @@ dependencies = [ "proc-macro2 1.0.104", ] +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + [[package]] name = "r2d2" version = "0.8.10" @@ -9847,9 +10004,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.8.5" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -9867,6 +10024,17 @@ dependencies = [ "zerocopy 0.8.16", ] +[[package]] +name = "rand" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" +dependencies = [ + "chacha20 0.10.1", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + [[package]] name = "rand_chacha" version = "0.2.2" @@ -9924,6 +10092,12 @@ dependencies = [ "getrandom 0.3.1", ] +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + [[package]] name = "rand_hc" version = "0.2.0" @@ -9933,6 +10107,15 @@ dependencies = [ "rand_core 0.5.1", ] +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core 0.10.1", +] + [[package]] name = "rand_xorshift" version = "0.3.0" @@ -10173,7 +10356,7 @@ dependencies = [ "jsonwebtoken 9.3.0", "log", "percent-encoding", - "rand 0.8.5", + "rand 0.8.7", "reqwest 0.12.7", "rsa 0.9.6", "serde 1.0.228", @@ -10504,7 +10687,7 @@ dependencies = [ "multibase", "once_cell", "parking_lot 0.12.4", - "rand 0.8.5", + "rand 0.9.0", "raw-store", "regex", "reqwest 0.12.7", @@ -10598,7 +10781,7 @@ dependencies = [ "parking_lot 0.12.4", "pprof", "prometheus", - "rand 0.8.5", + "rand 0.9.0", "raw-store", "rooch-config", "rooch-da", @@ -10802,7 +10985,7 @@ dependencies = [ "moveos-config", "moveos-store", "moveos-types", - "rand 0.8.5", + "rand 0.9.0", "rooch-config", "rooch-db", "rooch-executor", @@ -10869,7 +11052,7 @@ dependencies = [ "moveos-types", "once_cell", "prometheus", - "rand 0.8.5", + "rand 0.9.0", "rooch-config", "rooch-notify", "rooch-types", @@ -10986,7 +11169,7 @@ dependencies = [ "anyhow 1.0.95", "clap 4.5.17", "fastcrypto", - "rand 0.8.5", + "rand 0.9.0", "schemars", "serde 1.0.228", "serde_json", @@ -11023,7 +11206,7 @@ version = "0.13.0" dependencies = [ "anyhow 1.0.95", "clap 4.5.17", - "rand 0.8.5", + "rand 0.9.0", "rooch-open-rpc", "rooch-rpc-api", "serde 1.0.228", @@ -11132,7 +11315,7 @@ dependencies = [ "parking_lot 0.12.4", "primitive-types 0.12.2", "prometheus", - "rand 0.8.5", + "rand 0.9.0", "raw-store", "rayon", "rocksdb", @@ -11365,7 +11548,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive 0.7.0", - "rand 0.8.5", + "rand 0.9.0", "schemars", "serde 1.0.228", "serde_json", @@ -11387,13 +11570,13 @@ checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" [[package]] name = "rpassword" -version = "7.3.1" +version = "7.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" +checksum = "2da316a15f47e3d053de9cb2c439650bd8fa4aaeb9365f2e5f27f492ff73c196" dependencies = [ "libc", "rtoolbox", - "windows-sys 0.48.0", + "windows-sys 0.61.1", ] [[package]] @@ -11450,24 +11633,28 @@ dependencies = [ [[package]] name = "ruint" -version = "1.12.3" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c3cc4c2511671f327125da14133d0c5c5d137f006a1017a16f557bc85b16286" +checksum = "0298da754d1395046b0afdc2f20ee76d29a8ae310cd30ffa84ed42acba9cb12a" dependencies = [ "alloy-rlp", "ark-ff 0.3.0", "ark-ff 0.4.2", + "ark-ff 0.5.0", "bytes", - "fastrlp", + "fastrlp 0.3.1", + "fastrlp 0.4.0", "num-bigint 0.4.5", + "num-integer", "num-traits 0.2.19", "parity-scale-codec 3.6.12", "primitive-types 0.12.2", "proptest", - "rand 0.8.5", + "rand 0.8.7", + "rand 0.9.0", "rlp 0.5.2", "ruint-macro", - "serde 1.0.228", + "serde_core", "valuable", "zeroize", ] @@ -11549,7 +11736,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.11.0", - "windows-sys 0.61.1", + "windows-sys 0.59.0", ] [[package]] @@ -11641,6 +11828,9 @@ name = "rustls-pki-types" version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" +dependencies = [ + "web-time", +] [[package]] name = "rustls-platform-verifier" @@ -11890,7 +12080,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f" dependencies = [ "bitcoin_hashes 0.12.0", - "rand 0.8.5", + "rand 0.8.7", "secp256k1-sys 0.8.1", ] @@ -11901,7 +12091,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e0cc0f1cf93f4969faf3ea1c7d8a9faed25918d96affa959720823dfe86d4f3" dependencies = [ "bitcoin_hashes 0.14.0", - "rand 0.8.5", + "rand 0.8.7", "secp256k1-sys 0.10.0", "serde 1.0.228", ] @@ -12376,7 +12566,7 @@ checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ "block-buffer 0.9.0", "cfg-if", - "cpufeatures", + "cpufeatures 0.2.12", "digest 0.9.0", "opaque-debug", ] @@ -12388,7 +12578,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.12", "digest 0.10.7", ] @@ -12400,7 +12590,7 @@ checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", "cfg-if", - "cpufeatures", + "cpufeatures 0.2.12", "digest 0.9.0", "opaque-debug", ] @@ -12412,7 +12602,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.12", "digest 0.10.7", ] @@ -12651,7 +12841,7 @@ dependencies = [ "prometheus", "proptest", "proptest-derive 0.7.0", - "rand 0.8.5", + "rand 0.9.0", "serde 1.0.228", "thiserror 2.0.17", "tracing", @@ -12688,7 +12878,7 @@ dependencies = [ "futures", "httparse", "log", - "rand 0.8.5", + "rand 0.8.7", "sha-1", ] @@ -12704,7 +12894,7 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "rand 0.8.5", + "rand 0.8.7", "sha1", ] @@ -12864,7 +13054,7 @@ dependencies = [ "byteorder", "crunchy", "lazy_static 1.5.0", - "rand 0.8.5", + "rand 0.8.7", "rustc-hex", ] @@ -13120,9 +13310,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tar" -version = "0.4.41" +version = "0.4.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909" +checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840" dependencies = [ "filetime", "libc", @@ -13145,7 +13335,7 @@ dependencies = [ "getrandom 0.3.1", "once_cell", "rustix 1.1.3", - "windows-sys 0.61.1", + "windows-sys 0.59.0", ] [[package]] @@ -13207,7 +13397,7 @@ dependencies = [ "percent-encoding", "pest", "pest_derive", - "rand 0.8.5", + "rand 0.8.7", "regex", "serde 1.0.228", "serde_json", @@ -13271,7 +13461,7 @@ dependencies = [ "hex", "hmac", "log", - "rand 0.8.5", + "rand 0.8.7", "serde 1.0.228", "serde_json", "sha2 0.10.9", @@ -13291,7 +13481,7 @@ dependencies = [ "hex", "hmac", "jpst", - "rand 0.8.5", + "rand 0.9.0", "regex", "rooch", "rooch-config", @@ -13397,32 +13587,31 @@ dependencies = [ [[package]] name = "time" -version = "0.3.36" +version = "0.3.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +checksum = "18dfaaeddcb932337b5e7866ee7d0ce9b76d2fd092997146f187ec09b4558a50" dependencies = [ "deranged", - "itoa", "libc", "num-conv", "num_threads", "powerfmt", - "serde 1.0.228", + "serde_core", "time-core", "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "c431b87111666e491a90baa837f914fb45cd5dc3c268591b0220ff5057f2085f" dependencies = [ "num-conv", "time-core", @@ -13453,7 +13642,7 @@ checksum = "a30fd743a02bf35236f6faf99adb03089bb77e91c998dac2c2ad76bb424f668c" dependencies = [ "once_cell", "pbkdf2 0.12.2", - "rand 0.8.5", + "rand 0.8.7", "rustc-hash 1.1.0", "sha2 0.10.9", "thiserror 1.0.69", @@ -14002,7 +14191,7 @@ dependencies = [ "http 0.2.12", "httparse", "log", - "rand 0.8.5", + "rand 0.8.7", "rustls 0.21.12", "sha1", "thiserror 1.0.69", @@ -14022,7 +14211,7 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "rand 0.8.5", + "rand 0.8.7", "rustls 0.22.4", "rustls-pki-types", "sha1", @@ -14044,7 +14233,7 @@ dependencies = [ "httparse", "log", "native-tls", - "rand 0.8.5", + "rand 0.8.7", "sha1", "thiserror 1.0.69", "utf-8", @@ -14513,26 +14702,14 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4" dependencies = [ "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" -dependencies = [ - "bumpalo", - "log", "once_cell", - "proc-macro2 1.0.104", - "quote 1.0.42", - "syn 2.0.111", + "rustversion", + "wasm-bindgen-macro", "wasm-bindgen-shared", ] @@ -14550,9 +14727,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1" dependencies = [ "quote 1.0.42", "wasm-bindgen-macro-support", @@ -14560,22 +14737,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e" dependencies = [ + "bumpalo", "proc-macro2 1.0.104", "quote 1.0.42", "syn 2.0.111", - "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-encoder" @@ -14832,6 +15012,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "webc" version = "6.0.0-rc1" @@ -15410,7 +15600,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf24c008fe464f5d8f58b8d16a1ab7e930bd73b2a6933ff8704c414b2bed7f92" dependencies = [ "libm", - "rand 0.8.5", + "rand 0.8.7", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 35d7e9f1d1..8a1e33ba64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -213,7 +213,7 @@ primitive-types = { version = "0.12.1", features = ["serde", "arbitrary"] } proptest = "1.9.0" proptest-derive = "0.7.0" rayon = "1.11.0" -rand = "0.8.5" +rand = "0.9.0" rand_core = { version = "0.9.3", default-features = false } reqwest = { version = "0.12", features = ["json", "stream"] } schemars = { version = "0.8.22", features = ["either"] } @@ -345,7 +345,7 @@ revm-precompile = "16.2.0" revm-primitives = "15.2.0" scopeguard = "1.1" uuid = { version = "1.16.0", features = ["v4", "fast-rng"] } -protobuf = { version = "2.28", features = ["with-bytes"] } +protobuf = { version = "3.7", features = ["with-bytes"] } # windows no longer supports jemalloc, so we need to use tikv-jemallocator rocksdb = { version = "0.23.0", features = ["lz4", "mt_static"] } diff --git a/crates/testsuite/Cargo.toml b/crates/testsuite/Cargo.toml index faa12f3bd1..40bbc34159 100644 --- a/crates/testsuite/Cargo.toml +++ b/crates/testsuite/Cargo.toml @@ -36,7 +36,7 @@ jpst = "0.1.1" tracing = "0.1" backtrace = "0.3" env_logger = "0.11.5" -rand = "0.8" +rand = "0.9" sha2 = "0.10.9" hmac = "0.12.1" hex = "0.4.3"