diff --git a/Cargo.lock b/Cargo.lock index bb1d412f39477..03d79234fd5f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -141,7 +141,7 @@ dependencies = [ "rcgen 0.9.3", "ring", "rustls", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "tap", "tokio", @@ -203,11 +203,11 @@ dependencies = [ [[package]] name = "arc-swap" -version = "1.5.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "983cd8b9d4b02a6dc6ffa557262eb5858a27a0038ffffe21a0f133eaa819a164" +checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -419,7 +419,7 @@ dependencies = [ "asn1-rs-derive", "asn1-rs-impl", "displaydoc", - "nom 7.1.1", + "nom 7.1.2", "num-traits 0.2.15", "rusticata-macros", "thiserror", @@ -606,7 +606,7 @@ dependencies = [ "mime", "percent-encoding", "pin-project-lite", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_urlencoded", "sync_wrapper", @@ -638,7 +638,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustversion", - "serde 1.0.151", + "serde 1.0.152", "sync_wrapper", "tower", "tower-http", @@ -753,7 +753,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b06b4c1f053002b70e7084ac944c77d58d5d92b2110dbc5e852735e00ad3ccc" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", "thiserror", ] @@ -763,7 +763,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -798,7 +798,7 @@ version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -1027,7 +1027,7 @@ dependencies = [ "memchr", "once_cell", "regex-automata", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -1043,7 +1043,7 @@ dependencies = [ "merlin", "rand 0.8.5", "rand_core 0.6.4", - "serde 1.0.151", + "serde 1.0.152", "serde_derive", "sha3 0.9.1", "subtle-ng", @@ -1092,7 +1092,7 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -1112,7 +1112,7 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88ad0e1e3e88dd237a156ab9f571021b8a158caa0ae44b1968a241efb5144c1e" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -1121,7 +1121,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -1133,7 +1133,7 @@ dependencies = [ "camino", "cargo-platform", "semver 1.0.16", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "thiserror", ] @@ -1174,7 +1174,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" dependencies = [ - "nom 7.1.1", + "nom 7.1.2", ] [[package]] @@ -1203,7 +1203,7 @@ dependencies = [ "js-sys", "num-integer", "num-traits 0.2.15", - "serde 1.0.151", + "serde 1.0.152", "time 0.1.45", "wasm-bindgen", "winapi", @@ -1239,7 +1239,7 @@ checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f" dependencies = [ "ciborium-io", "ciborium-ll", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -1360,7 +1360,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3362992a0d9f1dd7c3d0e89e0ab2bb540b7a95fea8cd798090e758fda2899b5e" dependencies = [ "codespan-reporting", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -1369,7 +1369,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", "termcolor", "unicode-width", ] @@ -1414,9 +1414,9 @@ dependencies = [ [[package]] name = "comfy-table" -version = "6.1.3" +version = "6.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e621e7e86c46fd8a14c32c6ae3cb95656621b4743a27d0cffedb831d46e7ad21" +checksum = "6e7b787b0dc42e8111badfdbe4c3059158ccb2db8780352fa1b01e8ccf45cc4d" dependencies = [ "crossterm 0.25.0", "strum", @@ -1443,7 +1443,7 @@ dependencies = [ "lazy_static 1.4.0", "nom 5.1.2", "rust-ini", - "serde 1.0.151", + "serde 1.0.152", "serde-hjson", "serde_json", "toml", @@ -1452,16 +1452,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.2" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c050367d967ced717c04b65d8c619d863ef9292ce0c5760028655a2fb298718c" +checksum = "c9b6515d269224923b26b5febea2ed42b2d5f2ce37284a4dd670fedd6cb8347a" dependencies = [ "encode_unicode", "lazy_static 1.4.0", "libc", - "terminal_size", "unicode-width", - "winapi", + "windows-sys 0.42.0", ] [[package]] @@ -1489,7 +1488,7 @@ dependencies = [ "hdrhistogram", "humantime", "prost-types", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "thread_local", "tokio", @@ -1614,7 +1613,7 @@ dependencies = [ "plotters", "rayon", "regex", - "serde 1.0.151", + "serde 1.0.152", "serde_derive", "serde_json", "tinytemplate", @@ -1861,7 +1860,7 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.6.4", - "serde 1.0.151", + "serde 1.0.152", "subtle-ng", "zeroize", ] @@ -2028,7 +2027,7 @@ checksum = "42d4bc9b0db0a0df9ae64634ac5bdefb7afcb534e182275ca0beadbe486701c1" dependencies = [ "asn1-rs", "displaydoc", - "nom 7.1.1", + "nom 7.1.2", "num-bigint", "num-traits 0.2.15", "rusticata-macros", @@ -2113,7 +2112,7 @@ dependencies = [ "once_cell", "petgraph 0.6.2", "rayon", - "serde 1.0.151", + "serde 1.0.152", "toml", ] @@ -2308,7 +2307,7 @@ dependencies = [ "chrono", "nom 6.1.2", "rust_decimal", - "serde 1.0.151", + "serde 1.0.152", "time 0.3.15", ] @@ -2337,7 +2336,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369" dependencies = [ "pkcs8", - "serde 1.0.151", + "serde 1.0.152", "signature", "zeroize", ] @@ -2351,7 +2350,7 @@ dependencies = [ "curve25519-dalek-ng", "hex", "rand_core 0.6.4", - "serde 1.0.151", + "serde 1.0.152", "sha2 0.9.9", "thiserror", "zeroize", @@ -2366,7 +2365,7 @@ dependencies = [ "curve25519-dalek", "ed25519", "rand 0.7.3", - "serde 1.0.151", + "serde 1.0.152", "sha2 0.9.9", "zeroize", ] @@ -2380,7 +2379,7 @@ dependencies = [ "curve25519-dalek-fiat", "ed25519", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "serde_bytes", "sha2 0.9.9", "zeroize", @@ -2435,9 +2434,9 @@ checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" [[package]] name = "enum_dispatch" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb359f1476bf611266ac1f5355bc14aeca37b299d0ebccc038ee7058891c9cb" +checksum = "1693044dcf452888dd3a6a6a0dab67f0652094e3920dfe029a54d2f37d9b7394" dependencies = [ "once_cell", "proc-macro2 1.0.49", @@ -2546,7 +2545,7 @@ dependencies = [ [[package]] name = "fastcrypto" version = "0.1.4" -source = "git+https://github.com/MystenLabs/fastcrypto?rev=f64e36ceed674ccd46938cfd9645a2d32a923656#f64e36ceed674ccd46938cfd9645a2d32a923656" +source = "git+https://github.com/MystenLabs/fastcrypto?rev=4886087c10be9b9a7a4cf40c4b87428458c1fce5#4886087c10be9b9a7a4cf40c4b87428458c1fce5" dependencies = [ "aes", "aes-gcm", @@ -2578,7 +2577,7 @@ dependencies = [ "rfc6979", "schemars", "secp256k1", - "serde 1.0.151", + "serde 1.0.152", "serde_bytes", "serde_with", "sha2 0.10.6", @@ -2593,7 +2592,7 @@ dependencies = [ [[package]] name = "fastcrypto-derive" version = "0.1.2" -source = "git+https://github.com/MystenLabs/fastcrypto?rev=f64e36ceed674ccd46938cfd9645a2d32a923656#f64e36ceed674ccd46938cfd9645a2d32a923656" +source = "git+https://github.com/MystenLabs/fastcrypto?rev=4886087c10be9b9a7a4cf40c4b87428458c1fce5#4886087c10be9b9a7a4cf40c4b87428458c1fce5" dependencies = [ "convert_case 0.6.0", "proc-macro2 1.0.49", @@ -2604,7 +2603,7 @@ dependencies = [ [[package]] name = "fastcrypto-zkp" version = "0.1.0" -source = "git+https://github.com/MystenLabs/fastcrypto?rev=f64e36ceed674ccd46938cfd9645a2d32a923656#f64e36ceed674ccd46938cfd9645a2d32a923656" +source = "git+https://github.com/MystenLabs/fastcrypto?rev=4886087c10be9b9a7a4cf40c4b87428458c1fce5#4886087c10be9b9a7a4cf40c4b87428458c1fce5" dependencies = [ "ark-bls12-381", "ark-ec", @@ -2918,7 +2917,7 @@ version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", "typenum", "version_check", ] @@ -3013,7 +3012,7 @@ dependencies = [ "gloo-utils", "js-sys", "pin-project", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "thiserror", "wasm-bindgen", @@ -3040,7 +3039,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8e8fc851e9c7b9852508bc6e3f690f452f474417e8545ec9857b7f7377036b5" dependencies = [ "js-sys", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "wasm-bindgen", "web-sys", @@ -3078,7 +3077,7 @@ dependencies = [ "petgraph 0.6.2", "rayon", "semver 1.0.16", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "smallvec", "static_assertions", @@ -3097,7 +3096,7 @@ dependencies = [ "diffus", "guppy-workspace-hack", "semver 1.0.16", - "serde 1.0.151", + "serde 1.0.152", "toml", ] @@ -3146,7 +3145,7 @@ dependencies = [ "owo-colors", "pathdiff", "rayon", - "serde 1.0.151", + "serde 1.0.152", "tabular", "target-spec", "toml", @@ -3197,7 +3196,7 @@ dependencies = [ "byteorder", "crossbeam-channel", "flate2", - "nom 7.1.1", + "nom 7.1.2", "num-traits 0.2.15", ] @@ -3492,7 +3491,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -3540,7 +3539,7 @@ checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", "hashbrown 0.12.3", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -3594,7 +3593,7 @@ dependencies = [ "linked-hash-map", "pest", "pest_derive", - "serde 1.0.151", + "serde 1.0.152", "similar", "yaml-rust", ] @@ -3649,7 +3648,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f0f7638c1e223529f1bfdc48c8b133b9e0b434094d1d28473161ee48b235f78" dependencies = [ - "nom 7.1.1", + "nom 7.1.2", ] [[package]] @@ -3772,7 +3771,7 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "rustc-hash", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "soketto", "thiserror", @@ -3792,7 +3791,7 @@ dependencies = [ "jsonrpsee-core", "jsonrpsee-types", "rustc-hash", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "thiserror", "tokio", @@ -3822,7 +3821,7 @@ dependencies = [ "hyper", "jsonrpsee-core", "jsonrpsee-types", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "soketto", "tokio", @@ -3839,7 +3838,7 @@ source = "git+https://github.com/patrickkuo/jsonrpsee.git?rev=adc19a124ed7045744 dependencies = [ "anyhow", "beef", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "thiserror", "tracing", @@ -4033,7 +4032,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ "cfg-if", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4211,7 +4210,7 @@ dependencies = [ "move-command-line-common", "move-core-types", "move-model", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4223,7 +4222,7 @@ dependencies = [ "move-core-types", "once_cell", "ref-cast", - "serde 1.0.151", + "serde 1.0.152", "variant_count", ] @@ -4244,7 +4243,7 @@ dependencies = [ "move-core-types", "move-ir-types", "move-symbol-pool", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4326,7 +4325,7 @@ dependencies = [ "read-write-set", "read-write-set-dynamic", "reqwest", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_yaml", "tempfile", @@ -4346,7 +4345,7 @@ dependencies = [ "move-core-types", "num-bigint", "once_cell", - "serde 1.0.151", + "serde 1.0.152", "sha2 0.9.9", "walkdir", ] @@ -4394,7 +4393,7 @@ dependencies = [ "primitive-types", "rand 0.8.5", "ref-cast", - "serde 1.0.151", + "serde 1.0.152", "serde_bytes", "uint", ] @@ -4416,7 +4415,7 @@ dependencies = [ "move-ir-types", "once_cell", "petgraph 0.5.1", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4452,7 +4451,7 @@ dependencies = [ "num", "once_cell", "regex", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4466,7 +4465,7 @@ dependencies = [ "move-command-line-common", "move-core-types", "move-model", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4531,7 +4530,7 @@ dependencies = [ "move-core-types", "move-symbol-pool", "once_cell", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4557,7 +4556,7 @@ dependencies = [ "num", "once_cell", "regex", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4587,7 +4586,7 @@ dependencies = [ "ptree", "regex", "reqwest", - "serde 1.0.151", + "serde 1.0.152", "serde_yaml", "sha2 0.9.9", "tempfile", @@ -4626,7 +4625,7 @@ dependencies = [ "once_cell", "pretty", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "simplelog", "tokio", @@ -4655,7 +4654,7 @@ dependencies = [ "pretty", "rand 0.8.5", "regex", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "tera", "tokio", @@ -4669,7 +4668,7 @@ dependencies = [ "anyhow", "move-binary-format", "move-core-types", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4684,7 +4683,7 @@ dependencies = [ "move-bytecode-utils", "move-core-types", "once_cell", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4711,7 +4710,7 @@ dependencies = [ "once_cell", "paste", "petgraph 0.5.1", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4729,7 +4728,7 @@ dependencies = [ "move-model", "move-stackless-bytecode", "num", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4761,7 +4760,7 @@ version = "0.1.0" source = "git+https://github.com/move-language/move?rev=a8e95cbae69564d8928c9873b8acfabc50e642cf#a8e95cbae69564d8928c9873b8acfabc50e642cf" dependencies = [ "once_cell", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4871,7 +4870,7 @@ dependencies = [ "move-core-types", "move-vm-types", "once_cell", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -4883,7 +4882,7 @@ dependencies = [ "move-binary-format", "move-core-types", "once_cell", - "serde 1.0.151", + "serde 1.0.152", "smallvec", ] @@ -4908,7 +4907,7 @@ dependencies = [ "pin-project-lite", "rand 0.8.5", "real_tokio", - "serde 1.0.151", + "serde 1.0.152", "socket2", "tokio-util 0.7.4 (git+https://github.com/mystenmark/tokio-madsim-fork.git?rev=bb463863b8155543731bdf7850057c083cf1b427)", "toml", @@ -4939,7 +4938,7 @@ dependencies = [ "multibase", "multihash", "percent-encoding", - "serde 1.0.151", + "serde 1.0.152", "static_assertions", "unsigned-varint", "url", @@ -5012,7 +5011,7 @@ dependencies = [ "futures", "http", "multiaddr", - "serde 1.0.151", + "serde 1.0.152", "tokio", "tokio-stream", "tonic", @@ -5083,7 +5082,7 @@ dependencies = [ "narwhal-crypto", "narwhal-test-utils", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_with", "tempfile", @@ -5118,7 +5117,7 @@ dependencies = [ "pprof", "prometheus", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "telemetry-subscribers", "thiserror", "tokio", @@ -5143,7 +5142,7 @@ dependencies = [ "proptest-derive", "rand 0.8.5", "readonly", - "serde 1.0.151", + "serde 1.0.152", "serde-reflection", "serde_bytes", "serde_json", @@ -5167,7 +5166,7 @@ dependencies = [ "proptest", "proptest-derive", "rayon", - "serde 1.0.151", + "serde 1.0.152", "thiserror", "workspace-hack", ] @@ -5216,7 +5215,7 @@ dependencies = [ "narwhal-types", "prometheus", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "tap", "telemetry-subscribers", "tempfile", @@ -5253,7 +5252,7 @@ dependencies = [ "narwhal-types", "prometheus", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "thiserror", "tokio", "tokio-util 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5356,7 +5355,7 @@ dependencies = [ "rand 0.8.5", "reqwest", "roaring", - "serde 1.0.151", + "serde 1.0.152", "tap", "telemetry-subscribers", "tempfile", @@ -5422,7 +5421,7 @@ dependencies = [ "once_cell", "prometheus", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "telemetry-subscribers", "tempfile", "thiserror", @@ -5467,7 +5466,7 @@ dependencies = [ "rand 0.8.5", "roaring", "rustversion", - "serde 1.0.151", + "serde 1.0.152", "serde_test", "serde_with", "signature", @@ -5511,7 +5510,7 @@ dependencies = [ "prometheus", "rand 0.8.5", "reqwest", - "serde 1.0.151", + "serde 1.0.152", "tap", "telemetry-subscribers", "tempfile", @@ -5561,7 +5560,7 @@ dependencies = [ "hakari", "hex", "once_cell", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -5576,7 +5575,7 @@ dependencies = [ "guppy", "nexlint", "regex", - "serde 1.0.151", + "serde 1.0.152", "toml", ] @@ -5639,9 +5638,9 @@ dependencies = [ [[package]] name = "nom" -version = "7.1.1" +version = "7.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36" +checksum = "e5507769c4919c998e69e49c839d9dc6e693ede4cc4290d6ad8b41d4f09c548c" dependencies = [ "memchr", "minimal-lexical", @@ -5834,9 +5833,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "oorandom" @@ -6103,7 +6102,7 @@ dependencies = [ "byte-slice-cast", "impl-trait-for-tuples", "parity-scale-codec-derive", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -6723,7 +6722,7 @@ dependencies = [ "config", "directories", "petgraph 0.6.2", - "serde 1.0.151", + "serde 1.0.152", "serde-value", "tint", ] @@ -6985,7 +6984,7 @@ dependencies = [ "rand 0.7.3", "rcgen 0.10.0", "rustls", - "serde 1.0.151", + "serde 1.0.152", "tracing", "webpki", "workspace-hack", @@ -7173,7 +7172,7 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_urlencoded", "tokio", @@ -7341,14 +7340,14 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" dependencies = [ - "nom 7.1.1", + "nom 7.1.2", ] [[package]] name = "rustix" -version = "0.36.5" +version = "0.36.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3807b5d10909833d3e9acd1eb5fb988f79376ff10fce42937de71a449c4c588" +checksum = "4feacf7db682c6c329c4ede12649cd36ecab0f3be5b7d74e6a20304725db4549" dependencies = [ "bitflags", "errno", @@ -7487,7 +7486,7 @@ dependencies = [ "dyn-clone", "either", "schemars_derive", - "serde 1.0.151", + "serde 1.0.152", "serde_json", ] @@ -7597,7 +7596,7 @@ version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -7623,9 +7622,9 @@ checksum = "9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8" [[package]] name = "serde" -version = "1.0.151" +version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fed41fc1a24994d044e6db6935e69511a1153b52c15eb42493b26fa87feba0" +checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" dependencies = [ "serde_derive", ] @@ -7648,7 +7647,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b5b14ebbcc4e4f2b3642fa99c388649da58d1dc3308c7d109f39f565d1710f0" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", "thiserror", ] @@ -7659,7 +7658,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f05a5f801ac62a51a49d378fdb3884480041b99aced450b28990673e8ff99895" dependencies = [ "once_cell", - "serde 1.0.151", + "serde 1.0.152", "thiserror", ] @@ -7670,7 +7669,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" dependencies = [ "ordered-float 2.10.0", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -7679,14 +7678,14 @@ version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "718dc5fff5b36f99093fc49b280cfc96ce6fc824317783bff5a1fed0c7a64819" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] name = "serde_derive" -version = "1.0.151" +version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "255abe9a125a985c05190d687b320c12f9b1f0b99445e608c21ba0782c719ad8" +checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" dependencies = [ "proc-macro2 1.0.49", "quote 1.0.23", @@ -7713,7 +7712,7 @@ dependencies = [ "indexmap", "itoa", "ryu", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -7729,11 +7728,11 @@ dependencies = [ [[package]] name = "serde_test" -version = "1.0.151" +version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8f77be7305dac4f250891d2f7444276315f3c288176d35746b6a4ca786dacb3" +checksum = "3611210d2d67e3513204742004d6ac6f589e521861dabb0f649b070eea8bed9e" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -7745,7 +7744,7 @@ dependencies = [ "form_urlencoded", "itoa", "ryu", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -7758,7 +7757,7 @@ dependencies = [ "chrono", "hex", "indexmap", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_with_macros", "time 0.3.15", @@ -7784,7 +7783,7 @@ checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" dependencies = [ "indexmap", "ryu", - "serde 1.0.151", + "serde 1.0.152", "yaml-rust", ] @@ -8061,7 +8060,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f87e292b4291f154971a43c3774364e2cbcaec599d3f5bf6fa9d122885dbc38a" dependencies = [ "itertools", - "nom 7.1.1", + "nom 7.1.2", "unicode_categories", ] @@ -8302,7 +8301,7 @@ dependencies = [ "rocksdb", "rustyline", "rustyline-derive", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_with", "serde_yaml", @@ -8391,7 +8390,7 @@ dependencies = [ "rand_distr", "rayon", "rocksdb", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_with", "strum", @@ -8430,7 +8429,7 @@ dependencies = [ "move-core-types", "prometheus", "reqwest", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "sui", "sui-config", @@ -8473,7 +8472,7 @@ dependencies = [ "narwhal-crypto", "once_cell", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "serde_with", "serde_yaml", "sui-adapter", @@ -8528,7 +8527,7 @@ dependencies = [ "reqwest", "rocksdb", "scopeguard", - "serde 1.0.151", + "serde 1.0.152", "serde-reflection", "serde_json", "serde_with", @@ -8572,7 +8571,7 @@ dependencies = [ "move-cli", "move-disassembler", "move-package", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "strum", "strum_macros", @@ -8596,7 +8595,7 @@ dependencies = [ "move-core-types", "move-vm-types", "once_cell", - "serde 1.0.151", + "serde 1.0.152", "sui-protocol-constants", "workspace-hack", ] @@ -8614,7 +8613,7 @@ dependencies = [ "mysten-metrics", "prometheus", "scopeguard", - "serde 1.0.151", + "serde 1.0.152", "sui", "sui-config", "sui-json-rpc-types", @@ -8658,7 +8657,7 @@ dependencies = [ "move-vm-types", "num_enum", "once_cell", - "serde 1.0.151", + "serde 1.0.152", "smallvec", "sui-framework-build", "sui-types", @@ -8698,7 +8697,7 @@ dependencies = [ "futures", "jsonrpsee", "narwhal-network", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "sui", "sui-config", @@ -8729,7 +8728,7 @@ dependencies = [ "move-binary-format", "move-core-types", "schemars", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "sui-adapter", "sui-framework-build", @@ -8757,7 +8756,7 @@ dependencies = [ "mysten-metrics", "prometheus", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "signature", "sui-adapter", "sui-config", @@ -8799,7 +8798,7 @@ dependencies = [ "move-bytecode-utils", "move-core-types", "schemars", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_with", "sui-json", @@ -8816,7 +8815,7 @@ dependencies = [ "bip32", "fastcrypto", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "signature", "slip10_ed25519", @@ -8850,7 +8849,7 @@ dependencies = [ "mysten-network", "prometheus", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "sui-config", "sui-types", "tap", @@ -8912,7 +8911,7 @@ dependencies = [ "pretty_assertions", "rand 0.8.5", "schemars", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "sui", "sui-core", @@ -8963,7 +8962,7 @@ dependencies = [ "once_cell", "rand 0.8.5", "rocksdb", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "serde_with", "signature", @@ -9009,7 +9008,7 @@ dependencies = [ "move-bytecode-utils", "move-core-types", "rand 0.8.5", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "sui", "sui-adapter", @@ -9088,7 +9087,7 @@ dependencies = [ "once_cell", "pretty_assertions", "rocksdb", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "sqlx", "strum", @@ -9134,7 +9133,7 @@ name = "sui-telemetry" version = "0.1.0" dependencies = [ "reqwest", - "serde 1.0.151", + "serde 1.0.152", "tokio", "tracing", "workspace-hack", @@ -9149,7 +9148,7 @@ dependencies = [ "clap 3.2.23", "http", "move-package", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "sui", "sui-cluster-test", @@ -9175,7 +9174,7 @@ dependencies = [ "multiaddr", "mysten-network", "rocksdb", - "serde 1.0.151", + "serde 1.0.152", "serde_with", "strum", "strum_macros", @@ -9263,7 +9262,7 @@ dependencies = [ "rand 0.8.5", "roaring", "schemars", - "serde 1.0.151", + "serde 1.0.152", "serde-name", "serde_bytes", "serde_json", @@ -9398,7 +9397,7 @@ checksum = "6a4b9859e2d5bf61d17ccdf2659396d69b207d956f2cb60e09df319394a8ccd4" dependencies = [ "cfg-expr", "guppy-workspace-hack", - "serde 1.0.151", + "serde 1.0.152", "target-lexicon", ] @@ -9453,7 +9452,7 @@ dependencies = [ "pest_derive", "rand 0.8.5", "regex", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "slug", "unic-segment", @@ -9468,16 +9467,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "terminal_size" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "termtree" version = "0.4.0" @@ -9490,7 +9479,7 @@ version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd4a3a7f00909d5a1d1f83b86b65d91e4c94f80b0c2d0ae37e2ef44da7b7a0a0" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", "test-fuzz-internal", "test-fuzz-macro", "test-fuzz-runtime", @@ -9505,7 +9494,7 @@ dependencies = [ "cargo_metadata", "proc-macro2 1.0.49", "quote 1.0.23", - "serde 1.0.151", + "serde 1.0.152", "strum_macros", ] @@ -9536,7 +9525,7 @@ dependencies = [ "bincode", "hex", "num-traits 0.2.15", - "serde 1.0.151", + "serde 1.0.152", "sha-1 0.10.1", "test-fuzz-internal", ] @@ -9669,7 +9658,7 @@ dependencies = [ "itoa", "libc", "num_threads", - "serde 1.0.151", + "serde 1.0.152", "time-macros", ] @@ -9713,7 +9702,7 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" dependencies = [ - "serde 1.0.151", + "serde 1.0.152", "serde_json", ] @@ -9867,7 +9856,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f" dependencies = [ "indexmap", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -9879,7 +9868,7 @@ dependencies = [ "combine", "indexmap", "itertools", - "serde 1.0.151", + "serde 1.0.152", ] [[package]] @@ -10062,7 +10051,7 @@ checksum = "a788f2119fde477cd33823330c14004fa8cdac6892fd6f12181bbda9dbf14fc9" dependencies = [ "gethostname", "log", - "serde 1.0.151", + "serde 1.0.152", "serde_json", "time 0.3.15", "tracing", @@ -10231,7 +10220,7 @@ dependencies = [ "rand 0.8.5", "rocksdb", "rstest", - "serde 1.0.151", + "serde 1.0.152", "syn 1.0.107", "tap", "tempfile", @@ -10699,11 +10688,10 @@ dependencies = [ [[package]] name = "whoami" -version = "1.2.3" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6631b6a2fd59b1841b622e8f1a7ad241ef0a46f2d580464ce8140ac94cbd571" +checksum = "45dbc71f0cdca27dc261a9bd37ddec174e4a0af2b900b890f378460f745426e3" dependencies = [ - "bumpalo", "wasm-bindgen", "web-sys", ] @@ -11286,7 +11274,7 @@ dependencies = [ "nix 0.24.3", "nom 5.1.2", "nom 6.1.2", - "nom 7.1.1", + "nom 7.1.2", "normalize-line-endings", "nu-ansi-term", "num", @@ -11467,7 +11455,7 @@ dependencies = [ "semver-parser", "send_wrapper", "serde 0.8.23", - "serde 1.0.151", + "serde 1.0.152", "serde-hjson", "serde-name", "serde-reflection", @@ -11542,7 +11530,6 @@ dependencies = [ "tempfile", "tera", "termcolor", - "terminal_size", "termtree", "test-fuzz", "test-fuzz-internal", @@ -11693,7 +11680,7 @@ dependencies = [ "data-encoding", "der-parser", "lazy_static 1.4.0", - "nom 7.1.1", + "nom 7.1.2", "oid-registry", "ring", "rusticata-macros", diff --git a/Cargo.toml b/Cargo.toml index 1e94af3e92970..5f03d8768559a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -125,8 +125,8 @@ move-prover-boogie-backend = { git = "https://github.com/move-language/move", re move-stackless-bytecode = { git = "https://github.com/move-language/move", rev = "a8e95cbae69564d8928c9873b8acfabc50e642cf" } move-symbol-pool = { git = "https://github.com/move-language/move", rev = "a8e95cbae69564d8928c9873b8acfabc50e642cf" } -fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "f64e36ceed674ccd46938cfd9645a2d32a923656" } -fastcrypto-zkp = { git = "https://github.com/MystenLabs/fastcrypto", rev = "f64e36ceed674ccd46938cfd9645a2d32a923656", package = "fastcrypto-zkp" } +fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "4886087c10be9b9a7a4cf40c4b87428458c1fce5" } +fastcrypto-zkp = { git = "https://github.com/MystenLabs/fastcrypto", rev = "4886087c10be9b9a7a4cf40c4b87428458c1fce5", package = "fastcrypto-zkp" } # anemo dependencies anemo = { git = "https://github.com/mystenlabs/anemo.git", rev = "ccfb77628ec1883121079f1ae9c65e9c716709c8" } diff --git a/crates/sui-config/tests/snapshots/snapshot_tests__network_config_snapshot_matches.snap b/crates/sui-config/tests/snapshots/snapshot_tests__network_config_snapshot_matches.snap index ff1e791134751..23285a5401f04 100644 --- a/crates/sui-config/tests/snapshots/snapshot_tests__network_config_snapshot_matches.snap +++ b/crates/sui-config/tests/snapshots/snapshot_tests__network_config_snapshot_matches.snap @@ -4,15 +4,13 @@ expression: network_config --- validator_configs: - protocol-key-pair: - value: - name: mfJe9h+AMrkUY2RgmCxcxvE07x3a52ZX8sv+wev8jQlzdAgN9vzw3Li8Sw2OCvXYDrv/K0xZn1T0LWMS38MUJ2B4wcw0fru+xRmL4lhRPzhrkw0CwnSagD4jMJVevRoQ - secret: VTDx4HjVmRBqdqBWg2zN+zcFE20io3CrBchGy/iV1lo= + value: VTDx4HjVmRBqdqBWg2zN+zcFE20io3CrBchGy/iV1lo= worker-key-pair: - value: AB8qeQGoQuTTYjvGHOHBcX0udo4P1y34NBr1ZhW5FvA4fsz863qJR38mPjuvloaZBE4vbibFPgrwQXUa+OGTTNM= + value: AH7M/Ot6iUd/Jj47r5aGmQROL24mxT4K8EF1Gvjhk0zT account-key-pair: - value: AJTkqEkxROnmliCMvtACWebdtW+Xm5HDKWdWCYW+YZCbZeUwqtiSP4IuiO1U/Br2sTVBQpkckD5caF+BanumitE= + value: AGXlMKrYkj+CLojtVPwa9rE1QUKZHJA+XGhfgWp7porR network-key-pair: - value: AL44MMsMV12FoZiE5Sg5asNvkOHbsTLAOvoDWFoxKhmAKUrb+C2JL5zKk+XaKXpgLj08mCQegCCekpnR0SLAhTA= + value: AClK2/gtiS+cypPl2il6YC49PJgkHoAgnpKZ0dEiwIUw db-path: /tmp/foo/ network-address: "" json-rpc-address: "0.0.0.0:1" @@ -66,15 +64,13 @@ validator_configs: end-of-epoch-broadcast-channel-capacity: 128 local-execution-timeout-sec: 10 - protocol-key-pair: - value: - name: jc/20VUECmVvSBmxMRG1LFdGqGunLzlfuv4uw4R9HoFA5iSnUf32tfIFC8cgXPnTAATJCwx0Cv/TJs5nPMKyOi0k1T4q/rKG38Zo/UBgCJ1tKxe3md02+Q0zLlSnozjU - secret: avYcyVgYMXTyaUYh9IRwLK0gSzl7YF6ZQDAbrS1Bhvo= + value: avYcyVgYMXTyaUYh9IRwLK0gSzl7YF6ZQDAbrS1Bhvo= worker-key-pair: - value: ANSWQQYBVmLJ14dt+EH2BgvuTMMGCQNb4W0ooIJ2QomvpPBKumCrkESEmAiG/7UfSMyIlAyKCQaysBb0RA9oxIg= + value: AKTwSrpgq5BEhJgIhv+1H0jMiJQMigkGsrAW9EQPaMSI account-key-pair: - value: ACxHMS0iupHOTDgHm2HYa+f/ft9OjvxBk5+C7f/APsXUezeV+HwuWFqdYT/NOM6oMWQ2IMvai7GOMn5YNPn+FWA= + value: AHs3lfh8LlhanWE/zTjOqDFkNiDL2ouxjjJ+WDT5/hVg network-key-pair: - value: ADZBr90s2BQK6vOoAlQE0lfeXjWWwRBJzgFTsdYoFwHD25MXKYkbDqXWtIZXl27gbhE44t3hp1Qi3HFWHLfWWc0= + value: ANuTFymJGw6l1rSGV5du4G4ROOLd4adUItxxVhy31lnN db-path: /tmp/foo/ network-address: "" json-rpc-address: "0.0.0.0:1" @@ -128,15 +124,13 @@ validator_configs: end-of-epoch-broadcast-channel-capacity: 128 local-execution-timeout-sec: 10 - protocol-key-pair: - value: - name: rd7vlNiYyI5A297/kcXxBfnPLHR/tvK8N+wD1ske2y4aV4z1RL6LCTHiXyQ9WbDDDZihbOO6HWzx1/UEJpkusK2zE0sFW+gUDS218l+wDYP45CIr8B/WrJOh/0152ljy - secret: OXnx3yM1C/ppgnDMx/o1d49fJs7E05kq11mXNae/O+I= + value: OXnx3yM1C/ppgnDMx/o1d49fJs7E05kq11mXNae/O+I= worker-key-pair: - value: ALVWB00uJAL5Za9FJP5LLyje/D/cqGQPouQqBIjdwDbU1Dh27FOw52h9QAd9IijyRq42PtJGYtmCZ2RvXYPDEXo= + value: ANQ4duxTsOdofUAHfSIo8kauNj7SRmLZgmdkb12DwxF6 account-key-pair: - value: ANoED1MVNxaUbvcp8K7QXQLx/JQAamix308cQdCKwKu2YYJojLU7C+8u2vatwd7CUkkEgsvOGsRqjhCYXQPZRPM= + value: AGGCaIy1OwvvLtr2rcHewlJJBILLzhrEao4QmF0D2UTz network-key-pair: - value: APcMoNRxXoAwhpg+kkOBUEbkqKeqxCPCZy7Ej7VtIc9eoUiBY+hNlv3/NS7/U/zAW3EMNi45uTXGv9BrFnYfjyI= + value: AKFIgWPoTZb9/zUu/1P8wFtxDDYuObk1xr/QaxZ2H48i db-path: /tmp/foo/ network-address: "" json-rpc-address: "0.0.0.0:1" @@ -190,15 +184,13 @@ validator_configs: end-of-epoch-broadcast-channel-capacity: 128 local-execution-timeout-sec: 10 - protocol-key-pair: - value: - name: s/1e+1yHJAOkrRPxGZUTYG0jNUqEUkmuoVdWTCP/PBXGyeZSty10DoysuTy8wGhrDsDMDBx2C/tCtDZRn8WoBUt2UzqXqfI5h9CX75ax8lJrsgc/oQp3GZQXcjR+8nT0 - secret: CyNkjqNVr3HrHTH7f/NLs7u5lUHJzuPAw0PqMTD2y2s= + value: CyNkjqNVr3HrHTH7f/NLs7u5lUHJzuPAw0PqMTD2y2s= worker-key-pair: - value: APHAGQX7Q8ru1I3xIpXIXPE4/+sy3F3653KVP/SEEGE8EHX7HidEWjJgbesq5yxWacBkHUx/wALB90Mm8SiaEZY= + value: ABB1+x4nRFoyYG3rKucsVmnAZB1Mf8ACwfdDJvEomhGW account-key-pair: - value: AEgi5sKIaNYxb+8Vr0MKLUWpdrRfjLPiCeYy4hQTtSBHkXLa5CsQhIUzlhFBEFTP1eKxJ6lBGRYzNkOjrDamlU8= + value: AJFy2uQrEISFM5YRQRBUz9XisSepQRkWMzZDo6w2ppVP network-key-pair: - value: AKhAJDLu7QoRDl/OHYaKpoedNK6/nwK1KTnNInegI/AIjQ5isfeCs5cO8kQfRoNiE6Ex250niEtXCH7U4Y3Khd4= + value: AI0OYrH3grOXDvJEH0aDYhOhMdudJ4hLVwh+1OGNyoXe db-path: /tmp/foo/ network-address: "" json-rpc-address: "0.0.0.0:1" @@ -252,15 +244,13 @@ validator_configs: end-of-epoch-broadcast-channel-capacity: 128 local-execution-timeout-sec: 10 - protocol-key-pair: - value: - name: iykapXF0PID5jtwjt7N3ZdJa6lpWaL4SqcxDafLvaXwbAcFKyHdC4ooqkJj+YZRiFV6exojtsF/QKVaqOne/52TWAd4Tl+TWnopwHw8TeEOlc0rWTcUEt2zfwoihd/4h - secret: X/I/kM+KvHcxAKEf2UU6Sr7SpN3bhiE9nP5CuM/iIY0= + value: X/I/kM+KvHcxAKEf2UU6Sr7SpN3bhiE9nP5CuM/iIY0= worker-key-pair: - value: AAu5FA71j6mrLj53XwefJvFxwEnQ96jHXA2e1QLDzeO2UkqY1k2SrJLzldSoAqzDZp1vudV6MzAZqojam0XY2ZM= + value: AFJKmNZNkqyS85XUqAKsw2adb7nVejMwGaqI2ptF2NmT account-key-pair: - value: AB86G1ccGVVMFPrc3src2g3fB3NMyEcsS5pzI+Yr6cyKJ0hDQggulPK2ZTpGNWrch+vg73OQ9lWfRXu9uN+Qo88= + value: ACdIQ0IILpTytmU6RjVq3Ifr4O9zkPZVn0V7vbjfkKPP network-key-pair: - value: AAr1m714uM0Q8gG5dcq+WtV+G7BZZ+9mjxEhNTP6gaLgUqrQzLuBAdMMbnxVAxgiaFTXz6PaV70e0XTyeF6Fu8o= + value: AFKq0My7gQHTDG58VQMYImhU18+j2le9HtF08nhehbvK db-path: /tmp/foo/ network-address: "" json-rpc-address: "0.0.0.0:1" @@ -314,15 +304,13 @@ validator_configs: end-of-epoch-broadcast-channel-capacity: 128 local-execution-timeout-sec: 10 - protocol-key-pair: - value: - name: hDG9yW+2b1MVu6dC9eQPfjcvI3xeIg2B3zYYOwYmU154R+z0ao40SlohrbXlOIuVARpZPG30Ei9/4q1+gCipawnqvYQ3aSXqUBVj1YYnli1dMMIKrtMCG8TQ59v9HhyV - secret: N272EiFDyKtxRbDKbyN6ujenJ+skPcRoc/XolpOLGnU= + value: N272EiFDyKtxRbDKbyN6ujenJ+skPcRoc/XolpOLGnU= worker-key-pair: - value: APAynrz31Ch7RE8FdCwb4IO3ngw+n/EiYwDIqRXdko9tHloy4pnf8pWEHGP+4OFsXz56bLdIJhkD2O+OdKMqCA4= + value: AB5aMuKZ3/KVhBxj/uDhbF8+emy3SCYZA9jvjnSjKggO account-key-pair: - value: AHH6sQEDMUJH0Spm5nDLrKbFAUcBHYL/VIORf2ervCbbpvMScjoMR/DaN0M5IOxS2VpGC59N6kv6gDm63ufLQ5w= + value: AKbzEnI6DEfw2jdDOSDsUtlaRgufTepL+oA5ut7ny0Oc network-key-pair: - value: AN/lvly8qQKGpl49Z6HXdwC+D7ULK+u08HVxA4GHDHi/tPu3gzoWoFbHbnuaUp1whWKFV7mtDVfOtTHDWWR2ZoU= + value: ALT7t4M6FqBWx257mlKdcIVihVe5rQ1XzrUxw1lkdmaF db-path: /tmp/foo/ network-address: "" json-rpc-address: "0.0.0.0:1" @@ -376,15 +364,13 @@ validator_configs: end-of-epoch-broadcast-channel-capacity: 128 local-execution-timeout-sec: 10 - protocol-key-pair: - value: - name: lamelKkm5XZeTAwR14xd1R0/fXugoGU7kl6RQkUn8PhjGFbkBMDtPVlWPOddZqEWE7hYH0edddPDSgk/K3vqaSorqorcW+AZTjWLIOAmr5YiVwlqLGsHCmQ3Hmuw+hXt - secret: a74f03IOjL8ZFSWFChFVEi+wiMwHNwNCPDGIYkGfgjs= + value: a74f03IOjL8ZFSWFChFVEi+wiMwHNwNCPDGIYkGfgjs= worker-key-pair: - value: AH3cM/tEnyOv0j05eb8x/efG9GjMFlCdFSg9jy2+EwIY5RWlYF22jS9i76zLl8jP2D3D8GC5ht+IP1dWUBGZxi8= + value: AOUVpWBdto0vYu+sy5fIz9g9w/BguYbfiD9XVlARmcYv account-key-pair: - value: AKHC3Gr1i6u+zAK1Yj1vys0hB83qha4jRCfzoHqLAo6FQ5EkvCcy5cw1JKStwSs0v/QByW0I8JXCqdnagoupCMg= + value: AEORJLwnMuXMNSSkrcErNL/0AcltCPCVwqnZ2oKLqQjI network-key-pair: - value: ALhZgk9n2c3J7x/45tQsL/CdHhfzu0gAfjC9exnw4pbB+EEIX4hOQB79xqDr8Cp0UGNNC4sEE849/ORTGY1iwxc= + value: APhBCF+ITkAe/cag6/AqdFBjTQuLBBPOPfzkUxmNYsMX db-path: /tmp/foo/ network-address: "" json-rpc-address: "0.0.0.0:1" @@ -438,10 +424,10 @@ validator_configs: end-of-epoch-broadcast-channel-capacity: 128 local-execution-timeout-sec: 10 account_keys: - - 10wECHkYvXqL5/CY6WhjbfFPotZb5tjEbpmumqbRxul6/9LaD95rkXfiBEoGJR8u81q9fCiP+O7nXOsprVTPUQ== - - ZTWBfKEmFOyYM9oBU9dNfREBuAU5fm2OBhg/vPtI00ee91o4Td1upRqxdMC/5khQi58pBG83ZvbMUnI2shFOvw== - - +0LdRe35y6TgXPz6qcArpf0T8/Hh7zkjJL0yT19jbjdWZVO3wT0uCs8sHK38p5+DiwNKSfKm/iqb6R7vmIsYNg== - - cHifntmjxd4QLaC71WRMoOeCpvicyDJMbTKRuo2v3R9UjI8DXP6RwO6c5B70OPjZEdiV0XB+RVfcjX6/JKfZeg== - - mTzV/JVz4RdheOnQVFF3xuCPFF4AYAPyShHQCUizJX9pHbCeXB5wKAz9LCwtuoC4PCML0v4vko2/c16HlmPrbQ== + - 10wECHkYvXqL5/CY6WhjbfFPotZb5tjEbpmumqbRxuk= + - ZTWBfKEmFOyYM9oBU9dNfREBuAU5fm2OBhg/vPtI00c= + - +0LdRe35y6TgXPz6qcArpf0T8/Hh7zkjJL0yT19jbjc= + - cHifntmjxd4QLaC71WRMoOeCpvicyDJMbTKRuo2v3R8= + - mTzV/JVz4RdheOnQVFF3xuCPFF4AYAPyShHQCUizJX8= genesis: "[fake genesis]" diff --git a/crates/sui-core/tests/staged/sui.yaml b/crates/sui-core/tests/staged/sui.yaml index 8ee408a0a0a8c..73951929cde59 100644 --- a/crates/sui-core/tests/staged/sui.yaml +++ b/crates/sui-core/tests/staged/sui.yaml @@ -14,13 +14,12 @@ AccountAddress: SIZE: 20 AuthorityPublicKeyBytes: NEWTYPESTRUCT: BYTES -BLS12381KeyPair: - STRUCT: - - name: STR - - secret: STR BLS12381Signature: STRUCT: - - sig: BYTES + - sig: + TUPLEARRAY: + CONTENT: U8 + SIZE: 48 CallArg: ENUM: 0: @@ -64,10 +63,6 @@ DeleteKind: UnwrapThenDelete: UNIT 2: Wrap: UNIT -Ed25519KeyPair: - STRUCT: - - name: STR - - secret: STR EntryArgumentError: STRUCT: - argument_idx: U8 diff --git a/crates/sui-keys/src/key_derive.rs b/crates/sui-keys/src/key_derive.rs index 31b9b0407b1ac..5a37c92230605 100644 --- a/crates/sui-keys/src/key_derive.rs +++ b/crates/sui-keys/src/key_derive.rs @@ -40,7 +40,7 @@ pub fn derive_key_pair_from_path( let derived = derive_ed25519_private_key(seed, &indexes); let sk = Ed25519PrivateKey::from_bytes(&derived) .map_err(|e| SuiError::SignatureKeyGenError(e.to_string()))?; - let kp = Ed25519KeyPair::from(sk); + let kp: Ed25519KeyPair = sk.into(); Ok((kp.public().into(), SuiKeyPair::Ed25519(kp))) } SignatureScheme::Secp256k1 => { diff --git a/crates/sui-types/src/crypto.rs b/crates/sui-types/src/crypto.rs index 9f62abbb9c42f..aa97853c74b87 100644 --- a/crates/sui-types/src/crypto.rs +++ b/crates/sui-types/src/crypto.rs @@ -2,17 +2,14 @@ // SPDX-License-Identifier: Apache-2.0 use anyhow::{anyhow, Error}; use derive_more::From; +use eyre::eyre; use fastcrypto::bls12381::min_sig::{ BLS12381AggregateSignature, BLS12381KeyPair, BLS12381PrivateKey, BLS12381PublicKey, BLS12381Signature, }; use fastcrypto::ed25519::{Ed25519KeyPair, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature}; -use fastcrypto::secp256k1::{ - Secp256k1KeyPair, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, -}; -use fastcrypto::secp256r1::{ - Secp256r1KeyPair, Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, -}; +use fastcrypto::secp256k1::{Secp256k1KeyPair, Secp256k1PublicKey, Secp256k1Signature}; +use fastcrypto::secp256r1::{Secp256r1KeyPair, Secp256r1PublicKey, Secp256r1Signature}; pub use fastcrypto::traits::KeyPair as KeypairTraits; pub use fastcrypto::traits::{ AggregateAuthenticator, Authenticator, EncodeDecodeBase64, SigningKey, ToFromBytes, @@ -130,72 +127,54 @@ impl FromStr for SuiKeyPair { type Err = eyre::Report; fn from_str(s: &str) -> Result { - let kp = Self::decode_base64(s).map_err(|e| eyre::eyre!("{}", e.to_string()))?; + let kp = Self::decode_base64(s).map_err(|e| eyre!("{}", e.to_string()))?; Ok(kp) } } impl EncodeDecodeBase64 for SuiKeyPair { + /// Encode a SuiKeyPair as `flag || privkey` in Base64. Note that the pubkey is not encoded. fn encode_base64(&self) -> String { let mut bytes: Vec = Vec::new(); match self { SuiKeyPair::Ed25519(kp) => { - let kp1 = kp.copy(); - bytes.extend_from_slice(&[self.public().flag()]); - bytes.extend_from_slice(kp.public().as_ref()); - bytes.extend_from_slice(kp1.private().as_ref()); + bytes.push(self.public().flag()); + bytes.extend_from_slice(kp.as_bytes()); } SuiKeyPair::Secp256k1(kp) => { - let kp1 = kp.copy(); - bytes.extend_from_slice(&[self.public().flag()]); - bytes.extend_from_slice(kp.public().as_ref()); - bytes.extend_from_slice(kp1.private().as_ref()); + bytes.push(self.public().flag()); + bytes.extend_from_slice(kp.as_bytes()); } SuiKeyPair::Secp256r1(kp) => { - let kp1 = kp.copy(); - bytes.extend_from_slice(&[self.public().flag()]); - bytes.extend_from_slice(kp.public().as_ref()); - bytes.extend_from_slice(kp1.private().as_ref()); + bytes.push(self.public().flag()); + bytes.extend_from_slice(kp.as_bytes()); } } Base64::encode(&bytes[..]) } + /// Decode a SuiKeyPair from `flag || privkey` in Base64. The public key is computed directly from the private key bytes. fn decode_base64(value: &str) -> Result { - let bytes = Base64::decode(value).map_err(|e| eyre::eyre!("{}", e.to_string()))?; - match bytes.first() { - Some(x) => { - if x == &Ed25519SuiSignature::SCHEME.flag() { - let priv_key_bytes = bytes - .get(1 + Ed25519PublicKey::LENGTH..) - .ok_or_else(|| eyre::eyre!("Invalid length"))?; - let sk = Ed25519PrivateKey::from_bytes(priv_key_bytes)?; - Ok(SuiKeyPair::Ed25519(>::from(sk))) - } else if x == &Secp256k1SuiSignature::SCHEME.flag() { - let sk = Secp256k1PrivateKey::from_bytes( - bytes - .get(1 + Secp256k1PublicKey::LENGTH..) - .ok_or_else(|| eyre::eyre!("Invalid length"))?, - )?; - Ok(SuiKeyPair::Secp256k1(>::from(sk))) - } else if x == &Secp256r1SuiSignature::SCHEME.flag() { - let sk = Secp256r1PrivateKey::from_bytes( - bytes - .get(1 + Secp256r1PublicKey::LENGTH..) - .ok_or_else(|| eyre::eyre!("Invalid length"))?, - )?; - Ok(SuiKeyPair::Secp256r1(>::from(sk))) - } else { - Err(eyre::eyre!("Invalid flag byte")) + let bytes = Base64::decode(value).map_err(|e| eyre!("{}", e.to_string()))?; + match SignatureScheme::from_flag_byte(bytes.first().ok_or_else(|| eyre!("Invalid length"))?) + { + Ok(x) => match x { + SignatureScheme::ED25519 => Ok(SuiKeyPair::Ed25519(Ed25519KeyPair::from_bytes( + bytes.get(1..).ok_or_else(|| eyre!("Invalid length"))?, + )?)), + SignatureScheme::Secp256k1 => { + Ok(SuiKeyPair::Secp256k1(Secp256k1KeyPair::from_bytes( + bytes.get(1..).ok_or_else(|| eyre!("Invalid length"))?, + )?)) } - } - _ => Err(eyre::eyre!("Invalid bytes")), + SignatureScheme::Secp256r1 => { + Ok(SuiKeyPair::Secp256r1(Secp256r1KeyPair::from_bytes( + bytes.get(1..).ok_or_else(|| eyre!("Invalid length"))?, + )?)) + } + _ => Err(eyre!("Invalid flag byte")), + }, + _ => Err(eyre!("Invalid bytes")), } } } @@ -241,35 +220,29 @@ impl EncodeDecodeBase64 for PublicKey { } fn decode_base64(value: &str) -> Result { - let bytes = Base64::decode(value).map_err(|e| eyre::eyre!("{}", e.to_string()))?; + let bytes = Base64::decode(value).map_err(|e| eyre!("{}", e.to_string()))?; match bytes.first() { Some(x) => { if x == &::SIGNATURE_SCHEME.flag() { let pk = Ed25519PublicKey::from_bytes( - bytes - .get(1..) - .ok_or_else(|| eyre::eyre!("Invalid length"))?, + bytes.get(1..).ok_or_else(|| eyre!("Invalid length"))?, )?; Ok(PublicKey::Ed25519(pk)) } else if x == &::SIGNATURE_SCHEME.flag() { let pk = Secp256k1PublicKey::from_bytes( - bytes - .get(1..) - .ok_or_else(|| eyre::eyre!("Invalid length"))?, + bytes.get(1..).ok_or_else(|| eyre!("Invalid length"))?, )?; Ok(PublicKey::Secp256k1(pk)) } else if x == &::SIGNATURE_SCHEME.flag() { let pk = Secp256r1PublicKey::from_bytes( - bytes - .get(1..) - .ok_or_else(|| eyre::eyre!("Invalid length"))?, + bytes.get(1..).ok_or_else(|| eyre!("Invalid length"))?, )?; Ok(PublicKey::Secp256r1(pk)) } else { - Err(eyre::eyre!("Invalid flag byte")) + Err(eyre!("Invalid flag byte")) } } - _ => Err(eyre::eyre!("Invalid bytes")), + _ => Err(eyre!("Invalid bytes")), } } } @@ -319,7 +292,7 @@ impl PublicKey { SignatureScheme::Secp256r1 => Ok(PublicKey::Secp256r1(Secp256r1PublicKey::from_bytes( key_bytes, )?)), - _ => Err(eyre::eyre!("Unsupported curve")), + _ => Err(eyre!("Unsupported curve")), } } pub fn scheme(&self) -> SignatureScheme { @@ -633,9 +606,6 @@ where ) .map_err(|_| SuiError::InvalidPrivateKey)?; let kp: KP = sk.into(); - if kp.public().as_ref() != &bytes[priv_length..] { - return Err(SuiError::InvalidAddress); - } Ok((kp.public().into(), kp)) } @@ -1539,6 +1509,10 @@ impl SignatureScheme { let byte_int = flag .parse::() .map_err(|_| SuiError::KeyConversionError("Invalid key scheme".to_string()))?; + Self::from_flag_byte(&byte_int) + } + + pub fn from_flag_byte(byte_int: &u8) -> Result { match byte_int { 0x00 => Ok(SignatureScheme::ED25519), 0x01 => Ok(SignatureScheme::Secp256k1), diff --git a/crates/sui-types/src/unit_tests/base_types_tests.rs b/crates/sui-types/src/unit_tests/base_types_tests.rs index c5b9170385480..0c544d6c820da 100644 --- a/crates/sui-types/src/unit_tests/base_types_tests.rs +++ b/crates/sui-types/src/unit_tests/base_types_tests.rs @@ -6,6 +6,7 @@ use std::str::FromStr; +use fastcrypto::traits::EncodeDecodeBase64; use move_binary_format::file_format; use crate::crypto::bcs_signable_test::{Bar, Foo}; @@ -300,7 +301,7 @@ fn test_authority_signature_serde_not_human_readable() { let serialized = bincode::serialize(&sig).unwrap(); let bcs_serialized = bcs::to_bytes(&sig).unwrap(); - assert_eq!(serialized[8..], bcs_serialized[1..]); + assert_eq!(serialized, bcs_serialized); let deserialized: AuthoritySignature = bincode::deserialize(&serialized).unwrap(); assert_eq!(deserialized.as_ref(), sig.as_ref()); } @@ -311,7 +312,7 @@ fn test_authority_signature_serde_human_readable() { let sig = AuthoritySignature::new(&Foo("some data".to_string()), 0, &key); let serialized = serde_json::to_string(&sig).unwrap(); assert_eq!( - format!(r#"{{"sig":"{}"}}"#, Base64::encode(sig.as_ref())), + format!(r#"{{"sig":"{}"}}"#, sig.encode_base64()), serialized ); let deserialized: AuthoritySignature = serde_json::from_str(&serialized).unwrap(); diff --git a/crates/sui/src/keytool.rs b/crates/sui/src/keytool.rs index 46c5456308979..296fb65c67864 100644 --- a/crates/sui/src/keytool.rs +++ b/crates/sui/src/keytool.rs @@ -92,7 +92,7 @@ impl KeyToolCommand { let res: Result = read_keypair_from_file(&file); match res { Ok(keypair) => { - println!("Public Key: {}", Base64::encode(keypair.public())); + println!("Public Key: {}", keypair.public().encode_base64()); println!("Flag: {}", keypair.public().flag()); } Err(e) => { @@ -114,7 +114,7 @@ impl KeyToolCommand { println!( " {0: ^42} | {1: ^45} | {2: ^6}", Into::::into(&pub_key), - Base64::encode(&pub_key), + pub_key.encode_base64(), pub_key.scheme().to_string() ); } diff --git a/crates/workspace-hack/Cargo.toml b/crates/workspace-hack/Cargo.toml index c92fe8fc6e8ba..9b901475dc254 100644 --- a/crates/workspace-hack/Cargo.toml +++ b/crates/workspace-hack/Cargo.toml @@ -194,8 +194,8 @@ event-listener = { version = "2", default-features = false } eyre = { version = "0.6", features = ["auto-install", "track-caller"] } fail-9fbad63c4bcf4a8f = { package = "fail", version = "0.4", default-features = false } fail-d8f496e17d97b5cb = { package = "fail", version = "0.5", default-features = false } -fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "f64e36ceed674ccd46938cfd9645a2d32a923656", features = ["copy_key", "secure"] } -fastcrypto-zkp = { git = "https://github.com/MystenLabs/fastcrypto", rev = "f64e36ceed674ccd46938cfd9645a2d32a923656", default-features = false } +fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "4886087c10be9b9a7a4cf40c4b87428458c1fce5", features = ["copy_key", "secure"] } +fastcrypto-zkp = { git = "https://github.com/MystenLabs/fastcrypto", rev = "4886087c10be9b9a7a4cf40c4b87428458c1fce5", default-features = false } fastrand = { version = "1", default-features = false } fd-lock = { version = "3", default-features = false } fdlimit = { version = "0.2", default-features = false } @@ -552,7 +552,6 @@ target-spec = { version = "1", default-features = false, features = ["serde", "s tempfile = { version = "3", default-features = false } tera = { version = "1", features = ["builtins", "chrono", "chrono-tz", "humansize", "percent-encoding", "rand", "slug", "urlencode"] } termcolor = { version = "1", default-features = false } -terminal_size = { version = "0.1", default-features = false } termtree = { version = "0.4", default-features = false } test-fuzz = { version = "3", default-features = false } test-fuzz-internal = { version = "3", default-features = false } @@ -636,7 +635,7 @@ wasm-bindgen-futures = { version = "0.4", default-features = false } web-sys = { version = "0.3", default-features = false, features = ["AddEventListenerOptions", "BinaryType", "Blob", "CloseEvent", "CloseEventInit", "Document", "Element", "ErrorEvent", "Event", "EventTarget", "FileReader", "History", "HtmlElement", "HtmlHeadElement", "Location", "MessageEvent", "Node", "ProgressEvent", "WebSocket", "Window"] } webpki = { version = "0.22", default-features = false, features = ["alloc", "std"] } webpki-roots = { version = "0.22", default-features = false } -whoami = { version = "1" } +whoami = { version = "1", features = ["wasm-bindgen", "web", "web-sys"] } wyz = { version = "0.2", default-features = false, features = ["alloc"] } x509-parser = { version = "0.14", features = ["ring", "verify"] } yaml-rust = { version = "0.4", default-features = false } @@ -858,9 +857,9 @@ event-listener = { version = "2", default-features = false } eyre = { version = "0.6", features = ["auto-install", "track-caller"] } fail-9fbad63c4bcf4a8f = { package = "fail", version = "0.4", default-features = false } fail-d8f496e17d97b5cb = { package = "fail", version = "0.5", default-features = false } -fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "f64e36ceed674ccd46938cfd9645a2d32a923656", features = ["copy_key", "secure"] } -fastcrypto-derive = { git = "https://github.com/MystenLabs/fastcrypto", rev = "f64e36ceed674ccd46938cfd9645a2d32a923656", default-features = false } -fastcrypto-zkp = { git = "https://github.com/MystenLabs/fastcrypto", rev = "f64e36ceed674ccd46938cfd9645a2d32a923656", default-features = false } +fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "4886087c10be9b9a7a4cf40c4b87428458c1fce5", features = ["copy_key", "secure"] } +fastcrypto-derive = { git = "https://github.com/MystenLabs/fastcrypto", rev = "4886087c10be9b9a7a4cf40c4b87428458c1fce5", default-features = false } +fastcrypto-zkp = { git = "https://github.com/MystenLabs/fastcrypto", rev = "4886087c10be9b9a7a4cf40c4b87428458c1fce5", default-features = false } fastrand = { version = "1", default-features = false } fd-lock = { version = "3", default-features = false } fdlimit = { version = "0.2", default-features = false } @@ -1276,7 +1275,6 @@ target-spec = { version = "1", default-features = false, features = ["serde", "s tempfile = { version = "3", default-features = false } tera = { version = "1", features = ["builtins", "chrono", "chrono-tz", "humansize", "percent-encoding", "rand", "slug", "urlencode"] } termcolor = { version = "1", default-features = false } -terminal_size = { version = "0.1", default-features = false } termtree = { version = "0.4", default-features = false } test-fuzz = { version = "3", default-features = false } test-fuzz-internal = { version = "3", default-features = false } @@ -1380,7 +1378,7 @@ web-sys = { version = "0.3", default-features = false, features = ["AddEventList webpki = { version = "0.22", default-features = false, features = ["alloc", "std"] } webpki-roots = { version = "0.22", default-features = false } which = { version = "4", default-features = false } -whoami = { version = "1" } +whoami = { version = "1", features = ["wasm-bindgen", "web", "web-sys"] } wyz = { version = "0.2", default-features = false, features = ["alloc"] } x509-parser = { version = "0.14", features = ["ring", "verify"] } yaml-rust = { version = "0.4", default-features = false } @@ -1586,7 +1584,7 @@ widestring = { version = "0.5", features = ["alloc", "std"] } winapi = { version = "0.3", default-features = false, features = ["accctrl", "aclapi", "activation", "basetsd", "combaseapi", "consoleapi", "errhandlingapi", "fileapi", "handleapi", "impl-debug", "impl-default", "knownfolders", "libloaderapi", "minwinbase", "minwindef", "namedpipeapi", "ntdef", "ntsecapi", "ntstatus", "objbase", "processenv", "processthreadsapi", "profileapi", "roapi", "shellapi", "shlobj", "std", "stringapiset", "synchapi", "sysinfoapi", "threadpoollegacyapiset", "timezoneapi", "winbase", "wincon", "winerror", "winnt", "winreg", "winstring", "winuser", "ws2ipdef", "ws2tcpip", "wtypesbase"] } winapi-util = { version = "0.1", default-features = false } windows-sys-4e55305914c60c55 = { package = "windows-sys", version = "0.36", features = ["Win32", "Win32_Foundation", "Win32_Security", "Win32_Security_Authentication", "Win32_Security_Authentication_Identity", "Win32_Security_Credentials", "Win32_Security_Cryptography", "Win32_System", "Win32_System_Memory"] } -windows-sys-b32c9ddb6d93a9d2 = { package = "windows-sys", version = "0.42", features = ["Win32", "Win32_Foundation", "Win32_Networking", "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_System_Pipes", "Win32_System_SystemServices", "Win32_System_WindowsProgramming"] } +windows-sys-b32c9ddb6d93a9d2 = { package = "windows-sys", version = "0.42", features = ["Win32", "Win32_Foundation", "Win32_Networking", "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_Console", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_System_Pipes", "Win32_System_SystemServices", "Win32_System_WindowsProgramming", "Win32_UI", "Win32_UI_Input", "Win32_UI_Input_KeyboardAndMouse"] } windows_x86_64_msvc-4e55305914c60c55 = { package = "windows_x86_64_msvc", version = "0.36", default-features = false } windows_x86_64_msvc-b32c9ddb6d93a9d2 = { package = "windows_x86_64_msvc", version = "0.42", default-features = false } winreg = { version = "0.10", default-features = false } @@ -1615,7 +1613,7 @@ widestring = { version = "0.5", features = ["alloc", "std"] } winapi = { version = "0.3", default-features = false, features = ["accctrl", "aclapi", "activation", "basetsd", "combaseapi", "consoleapi", "errhandlingapi", "fileapi", "handleapi", "impl-debug", "impl-default", "knownfolders", "libloaderapi", "minwinbase", "minwindef", "namedpipeapi", "ntdef", "ntsecapi", "ntstatus", "objbase", "processenv", "processthreadsapi", "profileapi", "roapi", "shellapi", "shlobj", "std", "stringapiset", "synchapi", "sysinfoapi", "threadpoollegacyapiset", "timezoneapi", "winbase", "wincon", "winerror", "winnt", "winreg", "winstring", "winuser", "ws2ipdef", "ws2tcpip", "wtypesbase"] } winapi-util = { version = "0.1", default-features = false } windows-sys-4e55305914c60c55 = { package = "windows-sys", version = "0.36", features = ["Win32", "Win32_Foundation", "Win32_Security", "Win32_Security_Authentication", "Win32_Security_Authentication_Identity", "Win32_Security_Credentials", "Win32_Security_Cryptography", "Win32_System", "Win32_System_Memory"] } -windows-sys-b32c9ddb6d93a9d2 = { package = "windows-sys", version = "0.42", features = ["Win32", "Win32_Foundation", "Win32_Networking", "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_System_Pipes", "Win32_System_SystemServices", "Win32_System_WindowsProgramming"] } +windows-sys-b32c9ddb6d93a9d2 = { package = "windows-sys", version = "0.42", features = ["Win32", "Win32_Foundation", "Win32_Networking", "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_Console", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_System_Pipes", "Win32_System_SystemServices", "Win32_System_WindowsProgramming", "Win32_UI", "Win32_UI_Input", "Win32_UI_Input_KeyboardAndMouse"] } windows_x86_64_msvc-4e55305914c60c55 = { package = "windows_x86_64_msvc", version = "0.36", default-features = false } windows_x86_64_msvc-b32c9ddb6d93a9d2 = { package = "windows_x86_64_msvc", version = "0.42", default-features = false } winreg = { version = "0.10", default-features = false } diff --git a/narwhal/node/tests/staged/narwhal.yaml b/narwhal/node/tests/staged/narwhal.yaml index 85126333d53cd..a591dcec0c44d 100644 --- a/narwhal/node/tests/staged/narwhal.yaml +++ b/narwhal/node/tests/staged/narwhal.yaml @@ -2,10 +2,16 @@ BLS12381AggregateSignature: STRUCT: - sig: - OPTION: BYTES + OPTION: + TUPLEARRAY: + CONTENT: U8 + SIZE: 48 BLS12381Signature: STRUCT: - - sig: BYTES + - sig: + TUPLEARRAY: + CONTENT: U8 + SIZE: 48 Batch: STRUCT: - transactions: