diff --git a/.gitignore b/.gitignore index 088ba6ba7d..cc157624d5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ Cargo.lock # These are backup files generated by rustfmt **/*.rs.bk +# Development Environments +.vscode +**/.idea/ diff --git a/src/vit-testing/Cargo.lock b/Cargo.lock similarity index 75% rename from src/vit-testing/Cargo.lock rename to Cargo.lock index 2027046c07..5464980c17 100644 --- a/src/vit-testing/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,16 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "Inflector" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" +dependencies = [ + "lazy_static", + "regex", +] + [[package]] name = "addr2line" version = "0.17.0" @@ -32,6 +42,16 @@ dependencies = [ "generic-array", ] +[[package]] +name = "aead" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c192eb8f11fc081b0fe4259ba5af04217d4e0faddd02417310a927911abd7c8" +dependencies = [ + "crypto-common", + "generic-array", +] + [[package]] name = "aes" version = "0.7.5" @@ -50,7 +70,7 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" dependencies = [ - "aead", + "aead 0.4.3", "aes", "cipher 0.3.0", "ctr", @@ -64,20 +84,29 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.6", + "getrandom 0.2.7", "once_cell", "version_check", ] [[package]] name = "aho-corasick" -version = "0.7.18" +version = "0.7.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e" dependencies = [ "memchr", ] +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + [[package]] name = "ansi_term" version = "0.11.0" @@ -98,9 +127,15 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.57" +version = "1.0.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98161a4e3e2184da77bb14f02184cdd111e83bbbcc9979dfee3c44b9a85f5602" + +[[package]] +name = "arc-swap" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc" +checksum = "983cd8b9d4b02a6dc6ffa557262eb5858a27a0038ffffe21a0f133eaa819a164" [[package]] name = "arrayref" @@ -126,6 +161,67 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" +[[package]] +name = "ascii_utils" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71938f30533e4d95a6d17aa530939da3842c2ab6f4f84b9dae68447e4129f74a" + +[[package]] +name = "askama" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d298738b6e47e1034e560e5afe63aa488fea34e25ec11b855a76f0d7b8e73134" +dependencies = [ + "askama_derive", + "askama_escape", + "askama_shared", +] + +[[package]] +name = "askama_derive" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2925c4c290382f9d2fa3d1c1b6a63fa1427099721ecca4749b154cc9c25522" +dependencies = [ + "askama_shared", + "proc-macro2", + "syn", +] + +[[package]] +name = "askama_escape" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341" + +[[package]] +name = "askama_shared" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d6083ccb191711e9c2b80b22ee24a8381a18524444914c746d4239e21d1afaf" +dependencies = [ + "askama_escape", + "nom 6.1.2", + "proc-macro2", + "quote", + "serde", + "syn", + "toml", +] + +[[package]] +name = "assert_cmd" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ac5c260f75e4e4ba87b7342be6edcecbcb3eb6741a0507fda7ad115845cc65" +dependencies = [ + "escargot", + "predicates 1.0.8", + "predicates-core", + "predicates-tree", +] + [[package]] name = "assert_cmd" version = "1.0.8" @@ -134,7 +230,7 @@ checksum = "c98233c6673d8601ab23e77eb38f999c51100d46c5703b17288c57fddf3a1ffe" dependencies = [ "bstr", "doc-comment", - "predicates", + "predicates 2.1.1", "predicates-core", "predicates-tree", "wait-timeout", @@ -148,7 +244,7 @@ checksum = "93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e" dependencies = [ "bstr", "doc-comment", - "predicates", + "predicates 2.1.1", "predicates-core", "predicates-tree", "wait-timeout", @@ -162,12 +258,96 @@ checksum = "cf09bb72e00da477c2596865e8873227e2196d263cca35414048875dbbeea1be" dependencies = [ "doc-comment", "globwalk", - "predicates", + "predicates 2.1.1", "predicates-core", "predicates-tree", "tempfile", ] +[[package]] +name = "async-graphql" +version = "4.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f25ef01a96d5180e8deadca87b041bed49edd1f932dd7d4b1eaa1db443a3a0" +dependencies = [ + "async-graphql-derive", + "async-graphql-parser", + "async-graphql-value", + "async-stream", + "async-trait", + "base64 0.13.0", + "bytes 1.2.1", + "fast_chemail", + "fnv", + "futures-util", + "http", + "indexmap", + "mime", + "multer", + "num-traits", + "once_cell", + "pin-project-lite 0.2.9", + "regex", + "serde", + "serde_json", + "serde_urlencoded", + "static_assertions", + "tempfile", + "thiserror", +] + +[[package]] +name = "async-graphql-derive" +version = "4.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "798bcf08b169c7589cdaed2e297b6180657165a001efb4b5ba7a87f3a5406622" +dependencies = [ + "Inflector", + "async-graphql-parser", + "darling 0.14.1", + "proc-macro-crate 1.2.1", + "proc-macro2", + "quote", + "syn", + "thiserror", +] + +[[package]] +name = "async-graphql-parser" +version = "4.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b599d684b30ed8ede2600507ceb2ba60214ffb2cfc55088c4c0dd33f7656acfd" +dependencies = [ + "async-graphql-value", + "pest", + "serde", + "serde_json", +] + +[[package]] +name = "async-graphql-value" +version = "4.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a81662a313c523f2b55c3735e20a5162fe7f42c0d4b0b64f6d73568dfde316ee" +dependencies = [ + "bytes 1.2.1", + "indexmap", + "serde", + "serde_json", +] + +[[package]] +name = "async-graphql-warp" +version = "4.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e12cfa94e15af5a0f9a1beb66c4c143ef44df7c48c2eb9ef3872dbe81e926008" +dependencies = [ + "async-graphql", + "futures-util", + "serde_json", + "warp", +] + [[package]] name = "async-stream" version = "0.3.3" @@ -191,9 +371,9 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.56" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96cf8829f67d2eab0b2dfa42c5d0ef737e0724e4a82b01b3e292456202b19716" +checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" dependencies = [ "proc-macro2", "quote", @@ -217,7 +397,7 @@ version = "0.1.0" source = "git+https://github.com/aurora-is-near/aurora-bn.git#8f1743884061981cac84388862e2763b2aa09307" dependencies = [ "byteorder", - "getrandom 0.2.6", + "getrandom 0.2.7", "rand 0.8.5", "serde", ] @@ -242,15 +422,15 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.65" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61" +checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" dependencies = [ "addr2line", "cc", "cfg-if 1.0.0", "libc", - "miniz_oxide 0.5.3", + "miniz_oxide 0.5.4", "object", "rustc-demangle", ] @@ -285,6 +465,15 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf9ff0bbfd639f15c74af777d81383cf53efb7c93613f6cab67c6c11e05bbf8b" +[[package]] +name = "beef" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" +dependencies = [ + "serde", +] + [[package]] name = "bincode" version = "1.3.3" @@ -299,15 +488,20 @@ name = "bip39" version = "0.1.0" dependencies = [ "cryptoxide 0.4.2", + "hex", + "quickcheck", + "quickcheck_macros", + "rand 0.8.5", "thiserror", + "unicode-normalization", "zeroize", ] [[package]] name = "bit-set" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" dependencies = [ "bit-vec", ] @@ -326,14 +520,26 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitvec" -version = "1.0.0" +version = "0.19.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55f93d0ef3363c364d5976646a38f04cf67cfe1d4c8d160cdea02cab2c116b33" +dependencies = [ + "funty 1.1.0", + "radium 0.5.3", + "tap", + "wyz 0.2.0", +] + +[[package]] +name = "bitvec" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ - "funty", - "radium", + "funty 2.0.0", + "radium 0.7.0", "tap", - "wyz", + "wyz 0.5.0", ] [[package]] @@ -380,9 +586,9 @@ dependencies = [ [[package]] name = "block-buffer" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324" +checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" dependencies = [ "generic-array", ] @@ -393,6 +599,16 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" +[[package]] +name = "blockchain" +version = "0.1.0" +dependencies = [ + "chain-impl-mockchain", + "chain-time", + "lru 0.7.8", + "thiserror", +] + [[package]] name = "bs58" version = "0.4.0" @@ -423,9 +639,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.10.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" +checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" [[package]] name = "byte-slice-cast" @@ -435,9 +651,9 @@ checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e" [[package]] name = "bytemuck" -version = "1.9.1" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdead85bdec19c194affaeeb670c0e41fe23de31459efd1c174d049269cf02cc" +checksum = "2f5715e491b5a1598fc2bef5a606847b5dc1d48ea625bd3c02c00de8285591da" [[package]] name = "byteorder" @@ -453,9 +669,12 @@ checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" [[package]] name = "bytes" -version = "1.1.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" +checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" +dependencies = [ + "serde", +] [[package]] name = "bytesize" @@ -484,28 +703,59 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "camino" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ad0e1e3e88dd237a156ab9f571021b8a158caa0ae44b1968a241efb5144c1e" +dependencies = [ + "serde", +] + [[package]] name = "cardano-legacy-address" version = "0.1.1" dependencies = [ "cbor_event", + "criterion", "cryptoxide 0.4.2", "ed25519-bip32 0.4.1", ] [[package]] -name = "cast" -version = "0.2.7" +name = "cargo-platform" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a" +checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" dependencies = [ - "rustc_version", + "serde", ] +[[package]] +name = "cargo_metadata" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "081e3f0755c1f380c2d010481b6fa2e02973586d5f2b24eebb7a2a1d98b143d8" +dependencies = [ + "camino", + "cargo-platform", + "semver 0.11.0", + "semver-parser", + "serde", + "serde_json", +] + +[[package]] +name = "cast" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" + [[package]] name = "catalyst-toolbox" version = "0.3.0" dependencies = [ + "assert_cmd 0.10.2", "assert_fs", "bech32 0.8.1", "chain-addr", @@ -515,6 +765,7 @@ dependencies = [ "chain-ser", "chain-storage", "chain-time", + "chain-vote", "color-eyre", "csv", "fraction", @@ -524,38 +775,43 @@ dependencies = [ "graphql_client", "hex", "image", - "itertools 0.10.3", + "itertools 0.10.5", "jcli", "jormungandr-automation", "jormungandr-integration-tests", "jormungandr-lib", "jortestkit", "once_cell", + "predicates 1.0.8", + "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest?branch=master)", "qrcode", "quircs", "rand 0.8.5", "rand_chacha 0.3.1", "rayon", "regex", - "reqwest 0.11.10", + "reqwest 0.11.12", "rust_decimal", "rust_decimal_macros", "serde", "serde_json", + "serde_test", "serde_yaml", "snapshot-lib", "sscanf", "structopt", "symmetric-cipher", + "test-strategy 0.2.1", "thiserror", "thor", - "time 0.3.9", - "tokio 1.19.2", + "time 0.3.15", + "tokio 1.21.2", "tracing", - "tracing-subscriber 0.3.11", + "tracing-subscriber 0.3.16", "url", "versionisator", "vit-servicing-station-lib", + "vit-servicing-station-tests", "wallet", ] @@ -599,11 +855,11 @@ dependencies = [ [[package]] name = "chacha20poly1305" -version = "0.10.0-pre" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "746c430f71e66469abcf493c11484b1a86b957c84fc2d0ba664cd12ac23679ea" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ - "aead", + "aead 0.5.1", "chacha20", "cipher 0.4.3", "poly1305", @@ -635,8 +891,10 @@ name = "chain-crypto" version = "0.1.0" dependencies = [ "bech32 0.8.1", + "criterion", "cryptoxide 0.4.2", "curve25519-dalek-ng", + "eccoxide 0.3.1", "ed25519-bip32 0.4.1", "ed25519-dalek", "generic-array", @@ -644,9 +902,10 @@ dependencies = [ "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", "quickcheck", "rand 0.8.5", - "rand_core 0.6.3", + "rand_core 0.6.4", "rayon", - "sha2 0.10.2", + "sha2 0.10.6", + "smoke", "test-strategy 0.1.2", "typed-bytes", ] @@ -665,16 +924,20 @@ dependencies = [ "ethereum", "ethereum-types", "evm", + "evm-test-suite", "hex", "imhamt", "libsecp256k1", "num 0.4.0", + "proptest 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "quickcheck", + "rand 0.7.3", "ripemd", "rlp", "secp256k1", - "sha2 0.10.2", - "sha3 0.10.1", + "sha2 0.10.6", + "sha3 0.10.5", + "test-strategy 0.1.2", "thiserror", "typed-bytes", ] @@ -691,6 +954,7 @@ dependencies = [ "chain-ser", "chain-time", "chain-vote", + "criterion", "cryptoxide 0.4.2", "ed25519-bip32 0.4.1", "hex", @@ -701,19 +965,43 @@ dependencies = [ "quickcheck_macros", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", + "rayon", + "serde", + "serde_json", "sparse-array", "strum 0.23.0", "strum_macros 0.23.1", + "tempfile", "test-strategy 0.1.2", "thiserror", "typed-bytes", ] +[[package]] +name = "chain-network" +version = "0.1.0" +dependencies = [ + "async-trait", + "chain-crypto", + "futures", + "http-body 0.4.5", + "pin-project", + "prost 0.9.0", + "rand 0.8.5", + "rand_core 0.6.4", + "thiserror", + "tonic 0.6.2", + "tonic-build", +] + [[package]] name = "chain-path-derivation" version = "0.1.0" dependencies = [ + "paste 0.1.18", + "quickcheck", + "quickcheck_macros", "thiserror", ] @@ -730,7 +1018,7 @@ version = "0.1.0" dependencies = [ "criterion", "data-pile", - "rand_core 0.6.3", + "rand_core 0.6.4", "sled", "tempfile", "thiserror", @@ -751,14 +1039,17 @@ dependencies = [ name = "chain-vote" version = "0.1.0" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "chain-core", "chain-crypto", "const_format", + "criterion", "cryptoxide 0.4.2", "rand 0.8.5", - "rand_core 0.6.3", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "rayon", + "smoke", "thiserror", ] @@ -770,15 +1061,17 @@ checksum = "17cc5e6b5ab06331c33589842070416baa137e8b0eb912b008cfd4a78ada7919" [[package]] name = "chrono" -version = "0.4.19" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1" dependencies = [ - "libc", + "iana-time-zone", + "js-sys", "num-integer", "num-traits", "serde", "time 0.1.44", + "wasm-bindgen", "winapi 0.3.9", ] @@ -819,9 +1112,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.16" +version = "3.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3dbbb6653e7c55cc8595ad3e1f7be8f32aba4eb7ff7f0fd1163d4f3d137c0a9" +checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750" dependencies = [ "atty", "bitflags", @@ -829,8 +1122,8 @@ dependencies = [ "indexmap", "strsim 0.10.0", "termcolor", - "terminal_size", - "textwrap 0.15.0", + "terminal_size 0.2.1", + "textwrap 0.15.1", ] [[package]] @@ -842,10 +1135,19 @@ dependencies = [ "os_str_bytes", ] +[[package]] +name = "clear_on_drop" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38508a63f4979f0048febc9966fadbd48e5dab31fd0ec6a3f151bbf4a74f7423" +dependencies = [ + "cc", +] + [[package]] name = "cocoon" version = "0.3.0" -source = "git+https://github.com/dkijania/cocoon.git#1dfd975c3f0720d51c56fb297e7c92467bc3448a" +source = "git+https://github.com/dkijania/cocoon.git#85a61e33191ddb209f5d5a3382280419bc55c0fb" dependencies = [ "aes-gcm", "chacha20poly1305", @@ -856,11 +1158,21 @@ dependencies = [ "zeroize", ] +[[package]] +name = "codespan-reporting" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +dependencies = [ + "termcolor", + "unicode-width", +] + [[package]] name = "color-eyre" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ebf286c900a6d5867aeff75cfee3192857bb7f24b547d4f0df2ed6baa812c90" +checksum = "5a667583cca8c4f8436db8de46ea8233c42a7d9ae424a82d338f2e4675229204" dependencies = [ "backtrace", "color-spantrace", @@ -904,24 +1216,33 @@ dependencies = [ [[package]] name = "console" -version = "0.15.0" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28b32d32ca44b70c3e4acd7db1babf555fa026e385fb95f18028f88848b3c31" +checksum = "c050367d967ced717c04b65d8c619d863ef9292ce0c5760028655a2fb298718c" dependencies = [ "encode_unicode", + "lazy_static", "libc", - "once_cell", - "regex", - "terminal_size", + "terminal_size 0.1.17", "unicode-width", "winapi 0.3.9", ] +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if 1.0.0", + "wasm-bindgen", +] + [[package]] name = "const_format" -version = "0.2.24" +version = "0.2.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a1316fa6a23fea1ee41cb80321590385e5f3e575e99f77c4d918ce5d44379d" +checksum = "79f926bc2341a80e6bb5a16e18057c8c90ca3edbdeb9fa497bd0f82b1f4df4e6" dependencies = [ "const_format_proc_macros", ] @@ -961,9 +1282,9 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "cpufeatures" -version = "0.2.2" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" +checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" dependencies = [ "libc", ] @@ -979,16 +1300,17 @@ dependencies = [ [[package]] name = "criterion" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1604dafd25fba2fe2d5895a9da139f8dc9b319a5fe5354ca137cbbce4e178d10" +checksum = "b01d6de93b2b6c65e17c634a26653a29d107b3c98c607c765bf38d041531cd8f" dependencies = [ "atty", "cast", "clap 2.34.0", "criterion-plot", "csv", - "itertools 0.10.3", + "futures", + "itertools 0.10.5", "lazy_static", "num-traits", "oorandom", @@ -1000,24 +1322,25 @@ dependencies = [ "serde_derive", "serde_json", "tinytemplate", + "tokio 1.21.2", "walkdir", ] [[package]] name = "criterion-plot" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d00996de9f2f7559f7f4dc286073197f83e92256a59ed395f9aac01fe717da57" +checksum = "2673cc8207403546f45f5fd319a974b1e6983ad1a3ee7e6041650013be041876" dependencies = [ "cast", - "itertools 0.10.3", + "itertools 0.10.5", ] [[package]] name = "crossbeam-channel" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53" +checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" dependencies = [ "cfg-if 1.0.0", "crossbeam-utils", @@ -1025,9 +1348,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" +checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" dependencies = [ "cfg-if 1.0.0", "crossbeam-epoch", @@ -1036,26 +1359,24 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.8" +version = "0.9.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1145cf131a2c6ba0615079ab6a638f7e1973ac9c2634fcbeaaad6114246efe8c" +checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348" dependencies = [ "autocfg", "cfg-if 1.0.0", "crossbeam-utils", - "lazy_static", "memoffset", "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.8" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38" +checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac" dependencies = [ "cfg-if 1.0.0", - "lazy_static", ] [[package]] @@ -1066,11 +1387,12 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto-common" -version = "0.1.3" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57952ca27b5e3606ff4dd79b0020231aaf9d6aa76dc05fd30137538c50bd3ce8" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array", + "rand_core 0.6.4", "typenum", ] @@ -1103,8 +1425,7 @@ checksum = "42014d4c82e74bc17aaccc4bd75d3615d2b8236198de81c51bed5ddefaae6435" [[package]] name = "cryptoxide" version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "129eabb7b0b78644a3a7e7cf220714aba47463bb281f69fa7a71ca5d12564cca" +source = "git+https://github.com/typed-io/cryptoxide.git#f50c82e623e5a791e0f193fe68c92f526b37d290" [[package]] name = "csv" @@ -1130,9 +1451,9 @@ dependencies = [ [[package]] name = "ctor" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c" +checksum = "cdffe87e1d521a10f9696f833fe502293ea446d7f256c06128293a4119bdf4cb" dependencies = [ "quote", "syn", @@ -1149,11 +1470,11 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.2.2" +version = "3.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b37feaa84e6861e00a1f5e5aa8da3ee56d605c9992d33e082786754828e20865" +checksum = "1d91974fbbe88ec1df0c24a4f00f99583667a7e2e6272b2b92d294d81e462173" dependencies = [ - "nix", + "nix 0.25.0", "winapi 0.3.9", ] @@ -1178,7 +1499,7 @@ checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" dependencies = [ "byteorder", "digest 0.9.0", - "rand_core 0.6.3", + "rand_core 0.6.4", "subtle-ng", "zeroize", ] @@ -1203,14 +1524,68 @@ dependencies = [ "synstructure", ] +[[package]] +name = "cxx" +version = "1.0.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19f39818dcfc97d45b03953c1292efc4e80954e1583c4aa770bac1383e2310a4" +dependencies = [ + "cc", + "cxxbridge-flags", + "cxxbridge-macro", + "link-cplusplus", +] + +[[package]] +name = "cxx-build" +version = "1.0.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e580d70777c116df50c390d1211993f62d40302881e54d4b79727acb83d0199" +dependencies = [ + "cc", + "codespan-reporting", + "once_cell", + "proc-macro2", + "quote", + "scratch", + "syn", +] + +[[package]] +name = "cxxbridge-flags" +version = "1.0.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56a46460b88d1cec95112c8c363f0e2c39afdb237f60583b0b36343bf627ea9c" + +[[package]] +name = "cxxbridge-macro" +version = "1.0.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "747b608fecf06b0d72d440f27acc99288207324b793be2c17991839f3d4995ea" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "darling" version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.13.4", + "darling_macro 0.13.4", +] + +[[package]] +name = "darling" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4529658bdda7fd6769b8614be250cdcfc3aeb0ee72fe66f9e41e5e5eb73eac02" +dependencies = [ + "darling_core 0.14.1", + "darling_macro 0.14.1", ] [[package]] @@ -1227,13 +1602,38 @@ dependencies = [ "syn", ] +[[package]] +name = "darling_core" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "649c91bc01e8b1eac09fb91e8dbc7d517684ca6be8ebc75bb9cafc894f9fdb6f" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim 0.10.0", + "syn", +] + [[package]] name = "darling_macro" version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" dependencies = [ - "darling_core", + "darling_core 0.13.4", + "quote", + "syn", +] + +[[package]] +name = "darling_macro" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddfc69c5bfcbd2fc09a0f38451d2daf0e372e367986a83906d1b0dbc88134fb5" +dependencies = [ + "darling_core 0.14.1", "quote", "syn", ] @@ -1288,9 +1688,9 @@ dependencies = [ [[package]] name = "dialoguer" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8c8ae48e400addc32a8710c8d62d55cb84249a7d58ac4cd959daecfbaddc545" +checksum = "a92e7e37ecef6857fdc0c0c5d42fd5b0938e46590c2183cc92dd310a6d078eb1" dependencies = [ "console", "tempfile", @@ -1362,11 +1762,11 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.3" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" +checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c" dependencies = [ - "block-buffer 0.10.2", + "block-buffer 0.10.3", "crypto-common", "subtle", ] @@ -1416,9 +1816,9 @@ checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" [[package]] name = "dyn-clone" -version = "1.0.5" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21e50f3adc76d6a43f5ed73b698a87d0760ca74617f60f7c3b879003536fdd28" +checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2" [[package]] name = "eccoxide" @@ -1428,6 +1828,15 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "eccoxide" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14f9defcfa8ad8eeb7fb8e239fe0910e494bbc7b0c0863c4c2070c04ea7feb0c" +dependencies = [ + "lazy_static", +] + [[package]] name = "ed25519" version = "1.5.2" @@ -1471,9 +1880,9 @@ dependencies = [ [[package]] name = "either" -version = "1.6.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "encode_unicode" @@ -1506,15 +1915,46 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" +[[package]] +name = "errno" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +dependencies = [ + "errno-dragonfly", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "errno-dragonfly" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "escargot" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19db1f7e74438642a5018cdf263bb1325b2e792f02dd0a3ca6d6c0f0d7b1d5a5" +dependencies = [ + "serde", + "serde_json", +] + [[package]] name = "ethabi" -version = "17.0.0" +version = "17.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b69517146dfab88e9238c00c724fd8e277951c3cc6f22b016d72f422a832213e" +checksum = "e4966fba78396ff92db3b817ee71143eccd98acf0f876b8d600e585a670c5d1b" dependencies = [ "ethereum-types", "hex", - "sha3 0.10.1", + "sha3 0.10.5", ] [[package]] @@ -1538,7 +1978,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23750149fe8834c0e24bb9adcbacbe06c45b9861f15df53e09f26cb7c4ab91ef" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "ethereum-types", "hash-db", "hash256-std-hasher", @@ -1547,7 +1987,7 @@ dependencies = [ "rlp-derive", "scale-info", "serde", - "sha3 0.10.1", + "sha3 0.10.5", "triehash", ] @@ -1585,7 +2025,7 @@ dependencies = [ "rlp", "scale-info", "serde", - "sha3 0.10.1", + "sha3 0.10.5", ] [[package]] @@ -1622,7 +2062,66 @@ dependencies = [ "environmental", "evm-core", "primitive-types", - "sha3 0.10.1", + "sha3 0.10.5", +] + +[[package]] +name = "evm-test-suite" +version = "0.1.0" +source = "git+https://github.com/input-output-hk/evm-test-suite.git#a4bd9a98f7cbda16931fb84677a39a1d42389d6a" +dependencies = [ + "ethereum-types", + "hex", + "serde", + "serde_json", +] + +[[package]] +name = "explorer" +version = "0.9.1" +dependencies = [ + "anyhow", + "async-graphql", + "async-graphql-warp", + "base64 0.13.0", + "cardano-legacy-address", + "chain-addr", + "chain-core", + "chain-crypto", + "chain-impl-mockchain", + "chain-network", + "chain-ser", + "chain-time", + "chain-vote", + "futures", + "futures-channel", + "futures-util", + "http-zipkin", + "imhamt", + "jormungandr-automation", + "jormungandr-integration-tests", + "jormungandr-lib", + "lazy_static", + "parity-multiaddr 0.11.2", + "rand 0.8.5", + "rand_chacha 0.3.1", + "serde", + "serde_json", + "serde_yaml", + "structopt", + "thiserror", + "thor", + "tokio 1.21.2", + "tokio-stream", + "tokio-util 0.6.10", + "tonic 0.4.3", + "tracing", + "tracing-appender 0.2.2", + "tracing-futures", + "tracing-gelf", + "tracing-subscriber 0.3.16", + "url", + "warp", ] [[package]] @@ -1658,21 +2157,30 @@ dependencies = [ ] [[package]] -name = "fake" -version = "2.4.3" +name = "fake" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d68f517805463f3a896a9d29c1d6ff09d3579ded64a7201b4069f8f9c0d52fd" +dependencies = [ + "chrono", + "http", + "rand 0.8.5", +] + +[[package]] +name = "fast_chemail" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a8531dd3a64fd1cfbe92fad4160bc2060489c6195fe847e045e5788f710bae" +checksum = "495a39d30d624c2caabe6312bfead73e7717692b44e0b32df168c275a2e8e9e4" dependencies = [ - "chrono", - "http", - "rand 0.8.5", + "ascii_utils", ] [[package]] name = "fastrand" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" +checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" dependencies = [ "instant", ] @@ -1690,14 +2198,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0408e2626025178a6a7f7ffc05a25bc47103229f19c113755de7bf63816290c" +checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.2.13", - "winapi 0.3.9", + "redox_syscall 0.2.16", + "windows-sys", ] [[package]] @@ -1714,9 +2222,9 @@ dependencies = [ [[package]] name = "fixedbitset" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" @@ -1725,7 +2233,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6" dependencies = [ "crc32fast", - "miniz_oxide 0.5.3", + "miniz_oxide 0.5.4", +] + +[[package]] +name = "float-cmp" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1267f4ac4f343772758f7b1bdcbe767c218bbab93bb432acbf5162bbf85a6c4" +dependencies = [ + "num-traits", ] [[package]] @@ -1760,11 +2277,10 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "form_urlencoded" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" +checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" dependencies = [ - "matches", "percent-encoding", ] @@ -1847,6 +2363,12 @@ dependencies = [ "syn", ] +[[package]] +name = "funty" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" + [[package]] name = "funty" version = "2.0.0" @@ -1855,9 +2377,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e" +checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c" dependencies = [ "futures-channel", "futures-core", @@ -1870,9 +2392,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" +checksum = "30bdd20c28fadd505d0fd6712cdfcb0d4b5648baf45faef7f852afb2399bb050" dependencies = [ "futures-core", "futures-sink", @@ -1880,15 +2402,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" +checksum = "4e5aa3de05362c3fb88de6531e6296e85cde7739cccad4b9dfeeb7f6ebce56bf" [[package]] name = "futures-executor" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6" +checksum = "9ff63c23854bee61b6e9cd331d523909f238fc7636290b96826e9cfa5faa00ab" dependencies = [ "futures-core", "futures-task", @@ -1897,15 +2419,15 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" +checksum = "bbf4d2a7a308fd4578637c0b17c7e1c7ba127b8f6ba00b29f717e9655d85eb68" [[package]] name = "futures-macro" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" +checksum = "42cd15d1c7456c04dbdf7e88bcd69760d74f3a798d6444e16974b505b0e62f17" dependencies = [ "proc-macro2", "quote", @@ -1914,15 +2436,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" +checksum = "21b20ba5a92e727ba30e72834706623d94ac93a725410b6a6b6fbc1b07f7ba56" [[package]] name = "futures-task" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" +checksum = "a6508c467c73851293f390476d4491cf4d227dbabcd4170f3bb6044959b294f1" [[package]] name = "futures-timer" @@ -1932,9 +2454,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" +checksum = "44fb6cb1be61cc1d2e43b262516aafcf63b241cffdb1d3fa115f91d9c7b09c90" dependencies = [ "futures-channel", "futures-core", @@ -1969,9 +2491,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.5" +version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803" +checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" dependencies = [ "typenum", "version_check", @@ -1990,14 +2512,14 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad" +checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" dependencies = [ "cfg-if 1.0.0", "js-sys", "libc", - "wasi 0.10.0+wasi-snapshot-preview1", + "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", ] @@ -2013,9 +2535,9 @@ dependencies = [ [[package]] name = "gif" -version = "0.11.3" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a7187e78088aead22ceedeee99779455b23fc231fe13ec443f99bb71694e5b" +checksum = "3edd93c6756b4dfaf2709eafcc345ba2636565295c198a9cfbf75fa5e3e00b06" dependencies = [ "color_quant", "weezl", @@ -2023,9 +2545,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.26.1" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4" +checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" [[package]] name = "glob" @@ -2137,7 +2659,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8bc64bdceb2909623131a62d470e809c32f86b8329d82f8d31d9971349cb00a" dependencies = [ "gtmpl_value", - "itertools 0.10.3", + "itertools 0.10.5", "lazy_static", "percent-encoding", ] @@ -2170,11 +2692,11 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57" +checksum = "5ca32592cf21ac7ccab1825cd87f6c9b3d9022c44d086172ed0966bec8af30be" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "fnv", "futures-core", "futures-sink", @@ -2182,8 +2704,8 @@ dependencies = [ "http", "indexmap", "slab", - "tokio 1.19.2", - "tokio-util 0.7.3", + "tokio 1.21.2", + "tokio-util 0.7.4", "tracing", ] @@ -2217,13 +2739,22 @@ dependencies = [ "ahash", ] +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +dependencies = [ + "ahash", +] + [[package]] name = "hashlink" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7249a3129cbc1ffccd74857f81464a323a152173cdb134e0fd81bc803b29facf" dependencies = [ - "hashbrown", + "hashbrown 0.11.2", ] [[package]] @@ -2239,24 +2770,26 @@ dependencies = [ "cryptoxide 0.4.2", "ed25519-bip32 0.4.1", "hex", + "quickcheck", + "quickcheck_macros", "thiserror", "zeroize", ] [[package]] name = "headers" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cff78e5788be1e0ab65b04d306b2ed5092c815ec97ec70f4ebd5aee158aa55d" +checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" dependencies = [ "base64 0.13.0", "bitflags", - "bytes 1.1.0", + "bytes 1.2.1", "headers-core", "http", "httpdate 1.0.2", "mime", - "sha-1 0.10.0", + "sha1", ] [[package]] @@ -2306,8 +2839,8 @@ dependencies = [ "parity-multiaddr 0.11.2", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", - "reqwest 0.11.10", + "rand_core 0.6.4", + "reqwest 0.11.12", "serde", "serde_derive", "serde_json", @@ -2340,7 +2873,18 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.3", + "digest 0.10.5", +] + +[[package]] +name = "hostname" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +dependencies = [ + "libc", + "match_cfg", + "winapi 0.3.9", ] [[package]] @@ -2349,9 +2893,9 @@ version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "fnv", - "itoa 1.0.2", + "itoa 1.0.4", ] [[package]] @@ -2370,7 +2914,7 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "http", "pin-project-lite 0.2.9", ] @@ -2387,9 +2931,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.7.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c" +checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" @@ -2435,23 +2979,23 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.19" +version = "0.14.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42dc3c131584288d375f2d07f822b0cb012d8c6fb899a5b9fdb3cb7eb9b6004f" +checksum = "02c929dc5c39e335a03c405292728118860721b10190d98c2a0f0efd5baafbac" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "futures-channel", "futures-core", "futures-util", - "h2 0.3.13", + "h2 0.3.14", "http", "http-body 0.4.5", "httparse", "httpdate 1.0.2", - "itoa 1.0.2", + "itoa 1.0.4", "pin-project-lite 0.2.9", - "socket2 0.4.4", - "tokio 1.19.2", + "socket2 0.4.7", + "tokio 1.21.2", "tower-service", "tracing", "want", @@ -2480,9 +3024,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" dependencies = [ "http", - "hyper 0.14.19", + "hyper 0.14.20", "rustls 0.20.6", - "tokio 1.19.2", + "tokio 1.21.2", "tokio-rustls 0.23.4", ] @@ -2492,9 +3036,9 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" dependencies = [ - "hyper 0.14.19", + "hyper 0.14.20", "pin-project-lite 0.2.9", - "tokio 1.19.2", + "tokio 1.21.2", "tokio-io-timeout", ] @@ -2517,13 +3061,37 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ - "bytes 1.1.0", - "hyper 0.14.19", + "bytes 1.2.1", + "hyper 0.14.20", "native-tls", - "tokio 1.19.2", + "tokio 1.21.2", "tokio-native-tls", ] +[[package]] +name = "iana-time-zone" +version = "0.1.51" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5a6ef98976b22b3b7f2f3a806f858cb862044cfa66805aa3ad84cb3d3b785ed" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "winapi 0.3.9", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fde6edd6cef363e9359ed3c98ba64590ba9eecba2293eb5a723ab32aee8926aa" +dependencies = [ + "cxx", + "cxx-build", +] + [[package]] name = "iapyx" version = "0.0.1" @@ -2543,22 +3111,22 @@ dependencies = [ "console", "cryptoxide 0.4.2", "csv", - "dialoguer 0.10.1", + "dialoguer 0.10.2", "dirs 4.0.0", - "eccoxide", + "eccoxide 0.2.0", "ed25519-bip32 0.3.2", "hdkeygen", "hersir", "hex", "hyper 0.13.10", "image", - "itertools 0.10.3", + "itertools 0.10.5", "jcli", "jormungandr-automation", "jormungandr-lib", "jortestkit", "rand 0.8.5", - "rand_core 0.6.3", + "rand_core 0.6.4", "rayon", "regex", "reqwest 0.10.10", @@ -2569,7 +3137,7 @@ dependencies = [ "structopt", "thiserror", "thor", - "tokio 1.19.2", + "tokio 1.21.2", "url", "valgrind", "vit-servicing-station-lib", @@ -2587,11 +3155,10 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "0.2.3" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" +checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" dependencies = [ - "matches", "unicode-bidi", "unicode-normalization", ] @@ -2637,10 +3204,14 @@ dependencies = [ name = "imhamt" version = "0.1.0" dependencies = [ + "criterion", + "jemalloc-ctl", + "jemallocator", "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", "rustc_version", "test-strategy 0.1.2", "thiserror", + "trybuild", ] [[package]] @@ -2689,12 +3260,13 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" [[package]] name = "indexmap" -version = "1.8.2" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a" +checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.3", + "serde", ] [[package]] @@ -2784,13 +3356,19 @@ dependencies = [ "snapshot-trigger-service", "thiserror", "thor", - "tokio 1.19.2", + "tokio 1.21.2", "valgrind", "vit-servicing-station-lib", "vit-servicing-station-tests", "vitup", ] +[[package]] +name = "io-lifetimes" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ea37f355c05dde75b84bba2d767906ad522e97cd9e2eef2be7a4ab7fb442c06" + [[package]] name = "iovec" version = "0.1.4" @@ -2817,9 +3395,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.10.3" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" dependencies = [ "either", ] @@ -2832,33 +3410,38 @@ checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" [[package]] name = "itoa" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" +checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" [[package]] name = "jcli" version = "0.13.0" dependencies = [ + "assert_fs", "base64 0.13.0", "bech32 0.8.1", "bincode", - "bytes 1.1.0", + "bytes 1.2.1", "chain-addr", "chain-core", "chain-crypto", + "chain-evm", "chain-impl-mockchain", "chain-time", "chain-vote", - "clap 3.2.16", + "clap 3.2.22", "ed25519-bip32 0.4.1", "gtmpl", "hex", "jormungandr-lib", + "predicates 2.1.1", + "quickcheck", + "rand 0.7.3", "rand 0.8.5", "rand_chacha 0.3.1", "rayon", - "reqwest 0.11.10", + "reqwest 0.11.12", "rpassword", "serde", "serde_derive", @@ -2869,13 +3452,107 @@ dependencies = [ "versionisator", ] +[[package]] +name = "jemalloc-ctl" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c502a5ff9dd2924f1ed32ba96e3b65735d837b4bfd978d3161b1702e66aca4b7" +dependencies = [ + "jemalloc-sys", + "libc", + "paste 0.1.18", +] + +[[package]] +name = "jemalloc-sys" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d3b9f3f5c9b31aa0f5ed3260385ac205db665baa41d49bb8338008ae94ede45" +dependencies = [ + "cc", + "fs_extra", + "libc", +] + +[[package]] +name = "jemallocator" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43ae63fcfc45e99ab3d1b29a46782ad679e98436c3169d15a167a1108a724b69" +dependencies = [ + "jemalloc-sys", + "libc", +] + [[package]] name = "jobserver" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa" +checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b" +dependencies = [ + "libc", +] + +[[package]] +name = "jormungandr" +version = "0.13.0" dependencies = [ + "arc-swap", + "async-trait", + "base64 0.13.0", + "bech32 0.8.1", + "cardano-legacy-address", + "chain-addr", + "chain-core", + "chain-crypto", + "chain-evm", + "chain-impl-mockchain", + "chain-network", + "chain-storage", + "chain-time", + "chain-vote", + "criterion", + "futures", + "hex", + "http-zipkin", + "imhamt", + "jormungandr-lib", + "jsonrpsee-core", + "jsonrpsee-http-server", + "keynesis", + "lazy_static", "libc", + "linked-hash-map", + "lru 0.7.8", + "nix 0.23.1", + "parity-multiaddr 0.11.2", + "poldercast 1.2.1", + "prometheus", + "quickcheck", + "quickcheck_macros", + "rand 0.8.5", + "rand_chacha 0.3.1", + "reqwest 0.11.12", + "serde", + "serde_derive", + "serde_json", + "serde_with", + "serde_yaml", + "structopt", + "thiserror", + "time 0.3.15", + "tokio 1.21.2", + "tokio-stream", + "tokio-util 0.6.10", + "tonic 0.6.2", + "tracing", + "tracing-appender 0.2.2", + "tracing-futures", + "tracing-gelf", + "tracing-journald", + "tracing-subscriber 0.3.16", + "versionisator", + "warp", ] [[package]] @@ -2891,6 +3568,7 @@ dependencies = [ "chain-addr", "chain-core", "chain-crypto", + "chain-evm", "chain-impl-mockchain", "chain-storage", "chain-time", @@ -2913,14 +3591,14 @@ dependencies = [ "os_info", "parity-multiaddr 0.11.2", "poldercast 1.2.1", - "predicates", - "prost", + "predicates 2.1.1", + "prost 0.9.0", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", "regex", - "reqwest 0.11.10", - "semver", + "reqwest 0.11.12", + "semver 1.0.14", "serde", "serde_derive", "serde_json", @@ -2931,12 +3609,12 @@ dependencies = [ "tar", "tempfile", "thiserror", - "tokio 1.19.2", + "tokio 1.21.2", "tokio-stream", - "tonic", + "tonic 0.6.2", "tonic-build", "tracing", - "tracing-subscriber 0.3.11", + "tracing-subscriber 0.3.16", "typed-bytes", "url", "versionisator", @@ -2973,13 +3651,13 @@ dependencies = [ "mjolnir", "parity-multiaddr 0.11.2", "poldercast 1.2.1", - "predicates", - "prost", + "predicates 2.1.1", + "prost 0.9.0", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", "regex", - "reqwest 0.11.10", + "reqwest 0.11.12", "rstest", "serde", "serde_derive", @@ -2988,8 +3666,8 @@ dependencies = [ "tempfile", "thiserror", "thor", - "tokio 1.19.2", - "tonic", + "tokio 1.21.2", + "tonic 0.6.2", "tracing", "url", "yaml-rust", @@ -3001,27 +3679,47 @@ version = "0.13.0" dependencies = [ "base64 0.13.0", "bech32 0.8.1", + "bincode", "cardano-legacy-address", "chain-addr", "chain-core", "chain-crypto", + "chain-evm", "chain-impl-mockchain", "chain-time", "chain-vote", + "ed25519-bip32 0.4.1", "hex", "http", "humantime", "parity-multiaddr 0.11.2", + "quickcheck", + "quickcheck_macros", + "rand 0.7.3", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", "serde", + "serde_json", "serde_with", + "serde_yaml", "thiserror", - "time 0.3.9", + "time 0.3.15", "typed-bytes", ] +[[package]] +name = "jormungandrwallet" +version = "0.7.0-pre4" +dependencies = [ + "bip39", + "chain-addr", + "chain-impl-mockchain", + "chain-ser", + "wallet", + "wallet-core", +] + [[package]] name = "jortestkit" version = "0.1.0" @@ -3041,13 +3739,13 @@ dependencies = [ "indicatif", "lazy_static", "os_info", - "predicates", + "predicates 2.1.1", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", "rayon", - "reqwest 0.11.10", - "semver", + "reqwest 0.11.12", + "semver 1.0.14", "serde", "serde_derive", "serde_json", @@ -3057,8 +3755,8 @@ dependencies = [ "sysinfo 0.14.15", "tar", "thiserror", - "time 0.3.9", - "tokio 1.19.2", + "time 0.3.15", + "tokio 1.21.2", "warp", "zip", ] @@ -3074,9 +3772,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.57" +version = "0.3.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "671a26f820db17c2a2750743f1dd03bafd15b98c9f30c7c2628c024c05d73397" +checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47" dependencies = [ "wasm-bindgen", ] @@ -3087,6 +3785,63 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd" +[[package]] +name = "jsonrpsee-core" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8066473754794e7784c61808d25d60dfb68e1025a625792a6a1bc680d1ab700a" +dependencies = [ + "anyhow", + "arrayvec 0.7.2", + "async-trait", + "beef", + "futures-channel", + "futures-util", + "hyper 0.14.20", + "jsonrpsee-types", + "parking_lot 0.12.1", + "rand 0.8.5", + "rustc-hash", + "serde", + "serde_json", + "thiserror", + "tokio 1.21.2", + "tracing", +] + +[[package]] +name = "jsonrpsee-http-server" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee81d83b686966d6ba3b79f21bc71beedad9ec7e31c201fccff31ef0dd212e17" +dependencies = [ + "futures-channel", + "futures-util", + "globset", + "hyper 0.14.20", + "jsonrpsee-core", + "jsonrpsee-types", + "lazy_static", + "serde_json", + "tokio 1.21.2", + "tracing", + "unicase", +] + +[[package]] +name = "jsonrpsee-types" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd42e08ae7f0de7b00319f723f7b06e2d461ab69bfa615a611fab5dec00b192e" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", + "tracing", +] + [[package]] name = "keccak" version = "0.1.2" @@ -3112,7 +3867,7 @@ dependencies = [ "cryptoxide 0.3.6", "hex", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", "thiserror", ] @@ -3148,11 +3903,24 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" +[[package]] +name = "lexical-core" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" +dependencies = [ + "arrayvec 0.5.2", + "bitflags", + "cfg-if 1.0.0", + "ryu", + "static_assertions", +] + [[package]] name = "libc" -version = "0.2.126" +version = "0.2.135" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" +checksum = "68783febc7782c6c5cb401fbda4de5a9898be1762314da0bb2c10ced61f18b0c" [[package]] name = "libmath" @@ -3165,9 +3933,9 @@ dependencies = [ [[package]] name = "libsecp256k1" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37" +checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" dependencies = [ "arrayref", "base64 0.13.0", @@ -3219,17 +3987,32 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "link-cplusplus" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369" +dependencies = [ + "cc", +] + [[package]] name = "linked-hash-map" -version = "0.5.4" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" + +[[package]] +name = "linux-raw-sys" +version = "0.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" +checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" [[package]] name = "lock_api" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" +checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" dependencies = [ "autocfg", "scopeguard", @@ -3258,14 +4041,14 @@ dependencies = [ "jormungandr-lib", "parity-multiaddr 0.11.2", "rand 0.8.5", - "rand_core 0.6.3", - "reqwest 0.11.10", + "rand_core 0.6.4", + "reqwest 0.11.12", "serde", "serde_yaml", "structopt", "thiserror", "thor", - "tokio 1.19.2", + "tokio 1.21.2", "warp", ] @@ -3275,16 +4058,16 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ea2d928b485416e8908cff2d97d621db22b27f7b3b6729e438bcf42c671ba91" dependencies = [ - "hashbrown", + "hashbrown 0.11.2", ] [[package]] name = "lru" -version = "0.7.6" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8015d95cb7b2ddd3c0d32ca38283ceb1eea09b4713ee380bceb942d85a244228" +checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" dependencies = [ - "hashbrown", + "hashbrown 0.12.3", ] [[package]] @@ -3309,9 +4092,15 @@ dependencies = [ "tempdir", "thiserror", "thor", - "tokio 1.19.2", + "tokio 1.21.2", ] +[[package]] +name = "match_cfg" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" + [[package]] name = "matchers" version = "0.0.1" @@ -3321,12 +4110,6 @@ dependencies = [ "regex-automata", ] -[[package]] -name = "matches" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" - [[package]] name = "memchr" version = "2.5.0" @@ -3409,9 +4192,9 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" +checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34" dependencies = [ "adler", ] @@ -3450,9 +4233,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713d550d9b44d89174e066b7a6217ae06234c10cb47819a88290d2b353c31799" +checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf" dependencies = [ "libc", "log", @@ -3499,14 +4282,32 @@ dependencies = [ "jortestkit", "loki", "rand 0.8.5", - "rand_core 0.6.3", + "rand_core 0.6.4", "structopt", "thiserror", "thor", - "tokio 1.19.2", + "tokio 1.21.2", "versionisator", ] +[[package]] +name = "multer" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ed4198ce7a4cbd2a57af78d28c6fbb57d81ac5f1d6ad79ac6c5587419cbdf22" +dependencies = [ + "bytes 1.2.1", + "encoding_rs", + "futures-util", + "http", + "httparse", + "log", + "memchr", + "mime", + "spin 0.9.4", + "version_check", +] + [[package]] name = "multihash" version = "0.11.4" @@ -3539,7 +4340,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 1.2.1", "proc-macro-error", "proc-macro2", "quote", @@ -3616,10 +4417,24 @@ dependencies = [ [[package]] name = "nix" -version = "0.24.1" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6" +dependencies = [ + "bitflags", + "cc", + "cfg-if 1.0.0", + "libc", + "memoffset", +] + +[[package]] +name = "nix" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f17df307904acd05aa8e32e97bb20f2a0df1728bbc2d771ae8f9a90463441e9" +checksum = "e322c04a9e3440c327fca7b6c8a63e6890a32fa2ad689db972425f07e0d22abb" dependencies = [ + "autocfg", "bitflags", "cfg-if 1.0.0", "libc", @@ -3631,6 +4446,29 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" +[[package]] +name = "nom" +version = "5.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" +dependencies = [ + "memchr", + "version_check", +] + +[[package]] +name = "nom" +version = "6.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2" +dependencies = [ + "bitvec 0.19.6", + "funty 1.1.0", + "lexical-core", + "memchr", + "version_check", +] + [[package]] name = "nonzero_ext" version = "0.3.0" @@ -3670,6 +4508,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi 0.3.9", +] + [[package]] name = "num" version = "0.2.1" @@ -3691,10 +4539,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" dependencies = [ "num-bigint 0.4.3", - "num-complex 0.4.1", + "num-complex 0.4.2", "num-integer", "num-iter", - "num-rational 0.4.0", + "num-rational 0.4.1", "num-traits", ] @@ -3734,9 +4582,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fbc387afefefd5e9e39493299f3069e14a140dd34dc19b4c1c1a8fddb6a790" +checksum = "7ae39348c8bc5fbd7f40c727a9925f03517afd2ab27d46702108b6a7e5414c19" dependencies = [ "num-traits", ] @@ -3799,9 +4647,9 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" dependencies = [ "autocfg", "num-bigint 0.4.3", @@ -3845,18 +4693,18 @@ checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a" [[package]] name = "object" -version = "0.28.4" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ "memchr", ] [[package]] name = "once_cell" -version = "1.12.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225" +checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1" [[package]] name = "oorandom" @@ -3872,9 +4720,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.40" +version = "0.10.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb81a6430ac911acb25fe5ac8f1d2af1b4ea8a4fdfda0f1ee4292af2e2d8eb0e" +checksum = "12fc0523e3bd51a692c8850d075d74dc062ccf251c0110668cbd921917118a13" dependencies = [ "bitflags", "cfg-if 1.0.0", @@ -3904,9 +4752,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.74" +version = "0.9.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835363342df5fba8354c5b453325b110ffd54044e588c539cf2f20a8014e4cb1" +checksum = "5230151e44c0f05157effb743e8d517472843121cf9243e8b81393edb5acd9ce" dependencies = [ "autocfg", "cc", @@ -3917,9 +4765,9 @@ dependencies = [ [[package]] name = "os_info" -version = "3.4.0" +version = "3.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eca3ecae1481e12c3d9379ec541b238a16f0b75c9a409942daa8ec20dbfdb62" +checksum = "c4750134fb6a5d49afc80777394ad5d95b04bc12068c6abb92fae8f43817270f" dependencies = [ "log", "winapi 0.3.9", @@ -3927,9 +4775,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.1.0" +version = "6.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa" +checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" [[package]] name = "output_vt100" @@ -3940,11 +4788,17 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "owo-colors" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b" +checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "parity-multiaddr" @@ -3983,12 +4837,12 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.1.5" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0" +checksum = "366e44391a8af4cfd6002ef6ba072bae071a96aafca98d7d448a34c5dca38b6a" dependencies = [ "arrayvec 0.7.2", - "bitvec", + "bitvec 1.0.1", "byte-slice-cast", "impl-trait-for-tuples", "parity-scale-codec-derive", @@ -4001,7 +4855,7 @@ version = "3.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 1.2.1", "proc-macro2", "quote", "syn", @@ -4037,7 +4891,7 @@ dependencies = [ "cfg-if 1.0.0", "instant", "libc", - "redox_syscall 0.2.13", + "redox_syscall 0.2.16", "smallvec", "winapi 0.3.9", ] @@ -4050,7 +4904,7 @@ checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.2.13", + "redox_syscall 0.2.16", "smallvec", "windows-sys", ] @@ -4062,10 +4916,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d791538a6dcc1e7cb7fe6f6b58aca40e7f79403c45b2bc274008b5e647af1d8" dependencies = [ "base64ct", - "rand_core 0.6.3", + "rand_core 0.6.4", "subtle", ] +[[package]] +name = "paste" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" +dependencies = [ + "paste-impl", + "proc-macro-hack", +] + +[[package]] +name = "paste" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1" + +[[package]] +name = "paste-impl" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" +dependencies = [ + "proc-macro-hack", +] + [[package]] name = "path-slash" version = "0.2.1" @@ -4089,17 +4968,27 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "271779f35b581956db91a3e55737327a03aa051e90b1c47aeb189508533adfd7" dependencies = [ - "digest 0.10.3", + "digest 0.10.5", "hmac 0.12.1", "password-hash", - "sha2 0.10.2", + "sha2 0.10.6", ] [[package]] name = "percent-encoding" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" +checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" + +[[package]] +name = "pest" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbc7bc69c062e492337d74d59b120c274fd3d261b6bf6d3207d499b4b379c41a" +dependencies = [ + "thiserror", + "ucd-trie", +] [[package]] name = "petgraph" @@ -4113,18 +5002,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.10" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e" +checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.10" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744b6f092ba29c3650faf274db506afd39944f48420f6c86b17cfe0ee1cb36bb" +checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ "proc-macro2", "quote", @@ -4163,9 +5052,9 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "plotters" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a3fd9ec30b9749ce28cd91f255d569591cdf937fe280c312143e3c4bad6f2a" +checksum = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97" dependencies = [ "num-traits", "plotters-backend", @@ -4176,15 +5065,15 @@ dependencies = [ [[package]] name = "plotters-backend" -version = "0.3.2" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d88417318da0eaf0fdcdb51a0ee6c3bed624333bff8f946733049380be67ac1c" +checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142" [[package]] name = "plotters-svg" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521fa9638fa597e1dc53e9412a4f9cefb01187ee1f7413076f9e6749e2885ba9" +checksum = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f" dependencies = [ "plotters-backend", ] @@ -4223,19 +5112,19 @@ checksum = "2326808f3c476da7495ff611ad36b6a2e4e9d1f20a5b5eb4bbd8fb5e47f899be" dependencies = [ "hex", "keynesis", - "lru 0.7.6", + "lru 0.7.8", "thiserror", ] [[package]] name = "poly1305" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", "opaque-debug", - "universal-hash", + "universal-hash 0.5.0", ] [[package]] @@ -4247,7 +5136,7 @@ dependencies = [ "cfg-if 1.0.0", "cpufeatures", "opaque-debug", - "universal-hash", + "universal-hash 0.4.1", ] [[package]] @@ -4256,6 +5145,19 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" +[[package]] +name = "predicates" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" +dependencies = [ + "difference", + "float-cmp 0.8.0", + "normalize-line-endings", + "predicates-core", + "regex", +] + [[package]] name = "predicates" version = "2.1.1" @@ -4263,8 +5165,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c" dependencies = [ "difflib", - "float-cmp", - "itertools 0.10.3", + "float-cmp 0.9.0", + "itertools 0.10.5", "normalize-line-endings", "predicates-core", "regex", @@ -4337,10 +5239,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.1.3" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" +checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" dependencies = [ + "once_cell", "thiserror", "toml", ] @@ -4369,19 +5272,60 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-hack" +version = "0.5.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" + [[package]] name = "proc-macro2" -version = "1.0.39" +version = "1.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f" +checksum = "94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b" dependencies = [ "unicode-ident", ] +[[package]] +name = "prometheus" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45c8babc29389186697fe5a2a4859d697825496b83db5d0b65271cdc0488e88c" +dependencies = [ + "cfg-if 1.0.0", + "fnv", + "lazy_static", + "memchr", + "parking_lot 0.12.1", + "protobuf", + "thiserror", +] + +[[package]] +name = "proptest" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0d9cc07f18492d879586c92b485def06bc850da3118075cd45d50e9c95b0e5" +dependencies = [ + "bit-set", + "bitflags", + "byteorder", + "lazy_static", + "num-traits", + "quick-error 2.0.1", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", +] + [[package]] name = "proptest" version = "1.0.0" -source = "git+https://github.com/input-output-hk/proptest?branch=master#38044d47b2e8eeab62408294aa9e78e393f13d6b" +source = "git+https://github.com/input-output-hk/proptest?branch=master#270ea99959dc4c4e5076047d79a9654f5f0ac74a" dependencies = [ "bit-set", "bitflags", @@ -4401,13 +5345,14 @@ dependencies = [ [[package]] name = "proptest" version = "1.0.0" -source = "git+https://github.com/input-output-hk/proptest.git#38044d47b2e8eeab62408294aa9e78e393f13d6b" +source = "git+https://github.com/input-output-hk/proptest.git#270ea99959dc4c4e5076047d79a9654f5f0ac74a" dependencies = [ "bit-set", "bitflags", "byteorder", "lazy_static", "num-traits", + "primitive-types", "quick-error 2.0.1", "rand 0.8.5", "rand_chacha 0.3.1", @@ -4418,14 +5363,24 @@ dependencies = [ "tempfile", ] +[[package]] +name = "prost" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2" +dependencies = [ + "bytes 1.2.1", + "prost-derive 0.7.0", +] + [[package]] name = "prost" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" dependencies = [ - "bytes 1.1.0", - "prost-derive", + "bytes 1.2.1", + "prost-derive 0.9.0", ] [[package]] @@ -4434,20 +5389,33 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "heck", - "itertools 0.10.3", + "itertools 0.10.5", "lazy_static", "log", "multimap", "petgraph", - "prost", + "prost 0.9.0", "prost-types", "regex", "tempfile", "which", ] +[[package]] +name = "prost-derive" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4" +dependencies = [ + "anyhow", + "itertools 0.9.0", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "prost-derive" version = "0.9.0" @@ -4455,7 +5423,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" dependencies = [ "anyhow", - "itertools 0.10.3", + "itertools 0.10.5", "proc-macro2", "quote", "syn", @@ -4467,10 +5435,16 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" dependencies = [ - "bytes 1.1.0", - "prost", + "bytes 1.2.1", + "prost 0.9.0", ] +[[package]] +name = "protobuf" +version = "2.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" + [[package]] name = "qrcode" version = "0.12.0" @@ -4529,24 +5503,30 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.18" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1" +checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" dependencies = [ "proc-macro2", ] [[package]] name = "r2d2" -version = "0.8.9" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545c5bc2b880973c9c10e4067418407a0ccaa3091781d1671d46eb35107cb26f" +checksum = "51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93" dependencies = [ "log", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "scheduled-thread-pool", ] +[[package]] +name = "radium" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" + [[package]] name = "radium" version = "0.7.0" @@ -4597,7 +5577,7 @@ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", ] [[package]] @@ -4617,7 +5597,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.3", + "rand_core 0.6.4", ] [[package]] @@ -4646,11 +5626,11 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.6", + "getrandom 0.2.7", ] [[package]] @@ -4668,7 +5648,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core 0.6.3", + "rand_core 0.6.4", ] [[package]] @@ -4677,7 +5657,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core 0.6.3", + "rand_core 0.6.4", ] [[package]] @@ -4721,9 +5701,9 @@ checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "redox_syscall" -version = "0.2.13" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ "bitflags", ] @@ -4745,8 +5725,8 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.6", - "redox_syscall 0.2.13", + "getrandom 0.2.7", + "redox_syscall 0.2.16", "thiserror", ] @@ -4801,7 +5781,7 @@ dependencies = [ "signals-handler", "structopt", "thiserror", - "tokio 1.19.2", + "tokio 1.21.2", "uuid", "walkdir", "warp", @@ -4811,7 +5791,7 @@ dependencies = [ name = "registration-verify-service" version = "0.1.0" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "catalyst-toolbox", "chain-addr", "chain-crypto", @@ -4830,7 +5810,7 @@ dependencies = [ "snapshot-trigger-service", "structopt", "thiserror", - "tokio 1.19.2", + "tokio 1.21.2", "uuid", "walkdir", "warp", @@ -4887,42 +5867,43 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.10" +version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46a1f7aa4f35e5e8b4160449f51afc758f0ce6454315a9fa7d0d113e958c41eb" +checksum = "431949c384f4e2ae07605ccaa56d1d9d2ecdb5cadd4f9577ccfab29f2e5149fc" dependencies = [ "base64 0.13.0", - "bytes 1.1.0", + "bytes 1.2.1", "encoding_rs", "futures-core", "futures-util", - "h2 0.3.13", + "h2 0.3.14", "http", "http-body 0.4.5", - "hyper 0.14.19", + "hyper 0.14.20", "hyper-rustls 0.23.0", "hyper-tls 0.5.0", "ipnet", "js-sys", - "lazy_static", "log", "mime", "native-tls", + "once_cell", "percent-encoding", "pin-project-lite 0.2.9", "rustls 0.20.6", - "rustls-pemfile 0.3.0", + "rustls-pemfile 1.0.1", "serde", "serde_json", "serde_urlencoded", - "tokio 1.19.2", + "tokio 1.21.2", "tokio-native-tls", "tokio-rustls 0.23.4", + "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 0.22.3", + "webpki-roots 0.22.5", "winreg 0.10.1", ] @@ -4935,7 +5916,7 @@ dependencies = [ "cc", "libc", "once_cell", - "spin", + "spin 0.5.2", "untrusted", "web-sys", "winapi 0.3.9", @@ -4943,11 +5924,11 @@ dependencies = [ [[package]] name = "ripemd" -version = "0.1.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1facec54cb5e0dc08553501fa740091086d0259ad0067e0d4103448e4cb22ed3" +checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" dependencies = [ - "digest 0.10.3", + "digest 0.10.5", ] [[package]] @@ -4956,7 +5937,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "rustc-hex", ] @@ -5010,9 +5991,9 @@ dependencies = [ [[package]] name = "rust_decimal" -version = "1.24.0" +version = "1.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2ee7337df68898256ad0d4af4aad178210d9e44d2ff900ce44064a97cd86530" +checksum = "ee9164faf726e4f3ece4978b25ca877ddc6802fa77f38cdccb32c7f805ecd70c" dependencies = [ "arrayvec 0.7.2", "num-traits", @@ -5021,9 +6002,9 @@ dependencies = [ [[package]] name = "rust_decimal_macros" -version = "1.24.0" +version = "1.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72030e106b3dc8cb4c965faf057036f270cdd226a076804d19e3de0d27fc309b" +checksum = "4903d8db81d2321699ca8318035d6ff805c548868df435813968795a802171b2" dependencies = [ "quote", "rust_decimal", @@ -5035,6 +6016,12 @@ version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + [[package]] name = "rustc-hex" version = "2.1.0" @@ -5047,29 +6034,30 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver", + "semver 1.0.14", ] [[package]] -name = "rustls" -version = "0.18.1" +name = "rustix" +version = "0.35.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" +checksum = "fbb2fda4666def1433b1b05431ab402e42a1084285477222b72d6c564c417cef" dependencies = [ - "base64 0.12.3", - "log", - "ring", - "sct 0.6.1", - "webpki 0.21.4", + "bitflags", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys", + "windows-sys", ] [[package]] name = "rustls" -version = "0.19.1" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" dependencies = [ - "base64 0.13.0", + "base64 0.12.3", "log", "ring", "sct 0.6.1", @@ -5099,18 +6087,18 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "0.3.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee86d63972a7c661d1536fefe8c3c8407321c3df668891286de28abcd087360" +checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" dependencies = [ "base64 0.13.0", ] [[package]] name = "rustversion" -version = "1.0.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" +checksum = "97477e48b4cf8603ad5f7aaf897467cf42ab4218a38ef76fb14c2d6773a6d6a8" [[package]] name = "rusty-fork" @@ -5126,9 +6114,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" +checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" [[package]] name = "safemem" @@ -5147,11 +6135,11 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.1.2" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a" +checksum = "333af15b02563b8182cd863f925bd31ef8fa86a0e095d30c091956057d436153" dependencies = [ - "bitvec", + "bitvec 1.0.1", "cfg-if 1.0.0", "derive_more", "parity-scale-codec", @@ -5160,11 +6148,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.1.2" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50e334bb10a245e28e5fd755cabcafd96cfcd167c99ae63a46924ca8d8703a3c" +checksum = "53f56acbd0743d29ffa08f911ab5397def774ad01bab3786804cf6ee057fb5e1" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 1.2.1", "proc-macro2", "quote", "syn", @@ -5207,6 +6195,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "scratch" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" + [[package]] name = "sct" version = "0.6.1" @@ -5229,9 +6223,9 @@ dependencies = [ [[package]] name = "secp256k1" -version = "0.23.3" +version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77cb4e47e3ccff9a1e168471c11e026c067f50ea7c11bf5e877cae505fb743a0" +checksum = "6ece73253dd9e1fb540ff324eae554113a31c25fb598d22fd13b088a6a03f90d" dependencies = [ "rand 0.8.5", "secp256k1-sys", @@ -5248,9 +6242,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.6.1" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dc14f172faf8a0194a3aded622712b0de276821addc574fa54fc0a1167e10dc" +checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c" dependencies = [ "bitflags", "core-foundation", @@ -5271,18 +6265,37 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.10" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser", + "serde", +] + +[[package]] +name = "semver" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a41d061efea015927ac527063765e73601444cdc344ba855bc7bd44578b25e1c" +checksum = "e25dfac463d778e353db5be2449d1cce89bd6fd23c9f1ea21310ce6e5a1b29c4" dependencies = [ "serde", ] +[[package]] +name = "semver-parser" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +dependencies = [ + "pest", +] + [[package]] name = "serde" -version = "1.0.137" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1" +checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b" dependencies = [ "serde_derive", ] @@ -5299,9 +6312,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.137" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be" +checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c" dependencies = [ "proc-macro2", "quote", @@ -5310,20 +6323,20 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.81" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c" +checksum = "41feea4228a6f1cd09ec7a3593a682276702cd67b5273544757dae23c096f074" dependencies = [ - "itoa 1.0.2", + "itoa 1.0.4", "ryu", "serde", ] [[package]] name = "serde_test" -version = "1.0.143" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4b5b007c1bccdc70f8d8b5804da305a64d4279f990f1ae9e3b06eaae46f42e0" +checksum = "9c17d2112159132660b4c5399e274f676fb75a2f8d70b7468f18f045b71138ed" dependencies = [ "serde", ] @@ -5335,7 +6348,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ "form_urlencoded", - "itoa 1.0.2", + "itoa 1.0.4", "ryu", "serde", ] @@ -5356,7 +6369,7 @@ version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" dependencies = [ - "darling", + "darling 0.13.4", "proc-macro2", "quote", "syn", @@ -5364,9 +6377,9 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.8.24" +version = "0.8.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707d15895415db6628332b737c838b88c598522e4dc70647e59b72312924aebc" +checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" dependencies = [ "indexmap", "ryu", @@ -5374,6 +6387,14 @@ dependencies = [ "yaml-rust", ] +[[package]] +name = "settings" +version = "0.1.0" +dependencies = [ + "sled", + "thiserror", +] + [[package]] name = "sha-1" version = "0.9.8" @@ -5395,18 +6416,18 @@ checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.3", + "digest 0.10.5", ] [[package]] name = "sha1" -version = "0.10.1" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77f4e7f65455545c2153c1253d25056825e77ee2533f0e41deb65a93a34852f" +checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.3", + "digest 0.10.5", ] [[package]] @@ -5424,13 +6445,13 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.2" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" +checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.3", + "digest 0.10.5", ] [[package]] @@ -5447,11 +6468,11 @@ dependencies = [ [[package]] name = "sha3" -version = "0.10.1" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881bf8156c87b6301fc5ca6b27f11eeb2761224c7081e69b409d5a1951a70c86" +checksum = "e2904bea16a1ae962b483322a1c7b81d976029203aea1f461e51cd7705db7ba9" dependencies = [ - "digest 0.10.3", + "digest 0.10.5", "keccak", ] @@ -5478,14 +6499,14 @@ name = "signals-handler" version = "0.1.0" dependencies = [ "futures", - "tokio 1.19.2", + "tokio 1.21.2", ] [[package]] name = "signature" -version = "1.5.0" +version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" [[package]] name = "simplelog" @@ -5500,9 +6521,12 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb703cfe953bccee95685111adeedb76fabe4e97549a58d16f03ea7b9367bb32" +checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" +dependencies = [ + "autocfg", +] [[package]] name = "sled" @@ -5522,9 +6546,15 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.8.0" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" + +[[package]] +name = "smoke" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" +checksum = "289a26e591e4dba54f5e1b7bc7e1e1bf62bd9c16825b473dea3de8436e93c924" [[package]] name = "snapshot-lib" @@ -5538,12 +6568,14 @@ dependencies = [ "hex", "jormungandr-lib", "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest?branch=master)", - "reqwest 0.11.10", + "reqwest 0.11.12", "rust_decimal", "rust_decimal_macros", "serde", + "serde_json", "serde_test", - "test-strategy 0.2.0", + "serde_yaml", + "test-strategy 0.2.1", "thiserror", ] @@ -5567,7 +6599,7 @@ dependencies = [ "snapshot-lib", "structopt", "thiserror", - "tokio 1.19.2", + "tokio 1.21.2", "uuid", "walkdir", "warp", @@ -5586,9 +6618,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.4.4" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0" +checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" dependencies = [ "libc", "winapi 0.3.9", @@ -5597,6 +6629,10 @@ dependencies = [ [[package]] name = "sparse-array" version = "0.1.0" +dependencies = [ + "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", + "test-strategy 0.1.2", +] [[package]] name = "spin" @@ -5604,6 +6640,12 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" +[[package]] +name = "spin" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09" + [[package]] name = "sscanf" version = "0.1.4" @@ -5751,15 +6793,16 @@ version = "0.5.0" dependencies = [ "cryptoxide 0.4.2", "rand 0.8.5", + "rand_chacha 0.3.1", "thiserror", "zeroize", ] [[package]] name = "syn" -version = "1.0.96" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0748dd251e24453cb8717f0354206b91557e4ec8703673a4b30208f2abaf1ebf" +checksum = "3fcd952facd492f9be3ef0d0b7032a6e442ee9b361d4acc2b1d0c4aaa5f613a1" dependencies = [ "proc-macro2", "quote", @@ -5844,7 +6887,7 @@ dependencies = [ "cfg-if 1.0.0", "fastrand", "libc", - "redox_syscall 0.2.13", + "redox_syscall 0.2.16", "remove_dir_all", "winapi 0.3.9", ] @@ -5873,10 +6916,20 @@ dependencies = [ name = "terminal_size" version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df" +checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "terminal_size" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8440c860cf79def6164e4a0a983bcc2305d82419177a0e0c71930d049e3ac5a1" dependencies = [ - "libc", - "winapi 0.3.9", + "rustix", + "windows-sys", ] [[package]] @@ -5899,9 +6952,9 @@ dependencies = [ [[package]] name = "test-strategy" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c18b325ca048e49683d5cb9166a50191fc862e36020706bbd7723c22a05d4ffa" +checksum = "62d6408d1406657be2f9d1701fbae379331d30d2f6e92050710edb0d34eeb480" dependencies = [ "proc-macro2", "quote", @@ -5920,27 +6973,27 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.15.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" +checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16" dependencies = [ - "terminal_size", + "terminal_size 0.2.1", ] [[package]] name = "thiserror" -version = "1.0.31" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" +checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.31" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" +checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" dependencies = [ "proc-macro2", "quote", @@ -5969,12 +7022,12 @@ dependencies = [ "jortestkit", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", "serde", "serde_yaml", "structopt", "thiserror", - "time 0.3.9", + "time 0.3.15", ] [[package]] @@ -6010,11 +7063,11 @@ dependencies = [ [[package]] name = "time" -version = "0.3.9" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2702e08a7a860f005826c6815dcac101b19b5eb330c27fe4a5928fec1d20ddd" +checksum = "d634a985c4d4238ec39cacaed2e7ae552fbd3c476b552c1deac3021b7d7eaf0c" dependencies = [ - "itoa 1.0.2", + "itoa 1.0.4", "libc", "num_threads", "serde", @@ -6081,19 +7134,20 @@ dependencies = [ [[package]] name = "tokio" -version = "1.19.2" +version = "1.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" +checksum = "a9e03c497dc955702ba729190dc4aac6f2a0ce97f913e5b1b5912fc5039d9099" dependencies = [ - "bytes 1.1.0", + "autocfg", + "bytes 1.2.1", "libc", "memchr", - "mio 0.8.3", + "mio 0.8.4", "num_cpus", - "once_cell", + "parking_lot 0.12.1", "pin-project-lite 0.2.9", "signal-hook-registry", - "socket2 0.4.4", + "socket2 0.4.7", "tokio-macros", "winapi 0.3.9", ] @@ -6105,7 +7159,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" dependencies = [ "pin-project-lite 0.2.9", - "tokio 1.19.2", + "tokio 1.21.2", ] [[package]] @@ -6126,7 +7180,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" dependencies = [ "native-tls", - "tokio 1.19.2", + "tokio 1.21.2", ] [[package]] @@ -6141,17 +7195,6 @@ dependencies = [ "webpki 0.21.4", ] -[[package]] -name = "tokio-rustls" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" -dependencies = [ - "rustls 0.19.1", - "tokio 1.19.2", - "webpki 0.21.4", -] - [[package]] name = "tokio-rustls" version = "0.23.4" @@ -6159,19 +7202,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ "rustls 0.20.6", - "tokio 1.19.2", + "tokio 1.21.2", "webpki 0.22.0", ] [[package]] name = "tokio-stream" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df54d54117d6fdc4e4fea40fe1e4e566b3505700e148a6827e59b34b0d2600d9" +checksum = "f6edf2d6bc038a43d31353570e27270603f4648d18f5ed10c0e179abe43255af" dependencies = [ "futures-core", "pin-project-lite 0.2.9", - "tokio 1.19.2", + "tokio 1.21.2", + "tokio-util 0.7.4", ] [[package]] @@ -6186,14 +7230,13 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.15.0" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" +checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181" dependencies = [ "futures-util", "log", - "pin-project", - "tokio 1.19.2", + "tokio 1.21.2", "tungstenite", ] @@ -6217,25 +7260,26 @@ version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36943ee01a6d67977dd3f84a5a1d2efeb4ada3a1ae771cadfaa535d9d9fc6507" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "futures-core", "futures-sink", "log", "pin-project-lite 0.2.9", - "tokio 1.19.2", + "slab", + "tokio 1.21.2", ] [[package]] name = "tokio-util" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45" +checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "futures-core", "futures-sink", "pin-project-lite 0.2.9", - "tokio 1.19.2", + "tokio 1.21.2", "tracing", ] @@ -6248,6 +7292,35 @@ dependencies = [ "serde", ] +[[package]] +name = "tonic" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ac42cd97ac6bd2339af5bcabf105540e21e45636ec6fa6aae5e85d44db31be0" +dependencies = [ + "async-stream", + "async-trait", + "base64 0.13.0", + "bytes 1.2.1", + "futures-core", + "futures-util", + "h2 0.3.14", + "http", + "http-body 0.4.5", + "hyper 0.14.20", + "percent-encoding", + "pin-project", + "prost 0.7.0", + "prost-derive 0.7.0", + "tokio 1.21.2", + "tokio-stream", + "tokio-util 0.6.10", + "tower", + "tower-service", + "tracing", + "tracing-futures", +] + [[package]] name = "tonic" version = "0.6.2" @@ -6257,19 +7330,19 @@ dependencies = [ "async-stream", "async-trait", "base64 0.13.0", - "bytes 1.1.0", + "bytes 1.2.1", "futures-core", "futures-util", - "h2 0.3.13", + "h2 0.3.14", "http", "http-body 0.4.5", - "hyper 0.14.19", + "hyper 0.14.20", "hyper-timeout", "percent-encoding", "pin-project", - "prost", - "prost-derive", - "tokio 1.19.2", + "prost 0.9.0", + "prost-derive 0.9.0", + "tokio 1.21.2", "tokio-stream", "tokio-util 0.6.10", "tower", @@ -6293,9 +7366,9 @@ dependencies = [ [[package]] name = "tower" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a89fd63ad6adf737582df5db40d286574513c69a11dac5214dc3b5603d6713e" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ "futures-core", "futures-util", @@ -6304,8 +7377,8 @@ dependencies = [ "pin-project-lite 0.2.9", "rand 0.8.5", "slab", - "tokio 1.19.2", - "tokio-util 0.7.3", + "tokio 1.21.2", + "tokio-util 0.7.4", "tower-layer", "tower-service", "tracing", @@ -6319,15 +7392,15 @@ checksum = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62" [[package]] name = "tower-service" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.35" +version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if 1.0.0", "log", @@ -6347,11 +7420,22 @@ dependencies = [ "tracing-subscriber 0.2.25", ] +[[package]] +name = "tracing-appender" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e" +dependencies = [ + "crossbeam-channel", + "time 0.3.15", + "tracing-subscriber 0.3.16", +] + [[package]] name = "tracing-attributes" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc6b8ad3567499f98a1db7a752b07a7c8c7c7c34c332ec00effb2b0027974b7c" +checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" dependencies = [ "proc-macro2", "quote", @@ -6360,9 +7444,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.27" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7709595b8878a4965ce5e87ebf880a7d39c9afc6837721b21a5a816a8117d921" +checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" dependencies = [ "once_cell", "valuable", @@ -6375,7 +7459,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" dependencies = [ "tracing", - "tracing-subscriber 0.3.11", + "tracing-subscriber 0.3.16", ] [[package]] @@ -6388,6 +7472,36 @@ dependencies = [ "tracing", ] +[[package]] +name = "tracing-gelf" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6d094204165dcfc9cffe7b2c22d98e4a7bc86f1e8a052c83c7c5442ee325bf4" +dependencies = [ + "bytes 1.2.1", + "futures-channel", + "futures-util", + "hostname", + "serde_json", + "thiserror", + "tokio 1.21.2", + "tokio-util 0.6.10", + "tracing", + "tracing-core", + "tracing-futures", + "tracing-subscriber 0.3.16", +] + +[[package]] +name = "tracing-journald" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c35f4a6b4b2d00511aa9e17d4efc74d4c3ddc5a5416f58a5de25c30bfeb0307" +dependencies = [ + "tracing-core", + "tracing-subscriber 0.3.16", +] + [[package]] name = "tracing-log" version = "0.1.3" @@ -6433,16 +7547,17 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.11" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bc28f93baff38037f64e6f43d34cfa1605f27a49c34e8a04c5e78b0babf2596" +checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" dependencies = [ - "ansi_term 0.12.1", + "nu-ansi-term", "serde", "serde_json", "sharded-slab", "smallvec", "thread_local", + "time 0.3.15", "tracing-core", "tracing-log", "tracing-serde", @@ -6464,20 +7579,35 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" +[[package]] +name = "trybuild" +version = "1.0.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea496675d71016e9bc76aa42d87f16aefd95447cc5818e671e12b2d7e269075d" +dependencies = [ + "glob", + "once_cell", + "serde", + "serde_derive", + "serde_json", + "termcolor", + "toml", +] + [[package]] name = "tungstenite" -version = "0.14.0" +version = "0.17.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" +checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" dependencies = [ "base64 0.13.0", "byteorder", - "bytes 1.1.0", + "bytes 1.2.1", "http", "httparse", "log", "rand 0.8.5", - "sha-1 0.9.8", + "sha-1 0.10.0", "thiserror", "url", "utf-8", @@ -6502,11 +7632,17 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" +[[package]] +name = "ucd-trie" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" + [[package]] name = "uint" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f03af7ccf01dd611cc450a0d10dbc9b745770d096473e2faf0ca6e2d66d1e0" +checksum = "a45526d29728d135c2900b0d30573fe3ee79fceb12ef534c7bb30e810a91b601" dependencies = [ "byteorder", "crunchy", @@ -6531,36 +7667,91 @@ checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" [[package]] name = "unicode-ident" -version = "1.0.0" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee" +checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" [[package]] name = "unicode-normalization" -version = "0.1.19" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" dependencies = [ "tinyvec", ] [[package]] name = "unicode-segmentation" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" +checksum = "0fdbf052a0783de01e944a6ce7a8cb939e295b1e7be835a1112c3b9a7f047a5a" [[package]] name = "unicode-width" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" +checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "unicode-xid" -version = "0.2.3" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + +[[package]] +name = "uniffi" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "472b6bbce3490a55f4f889e382a64803693929fea11e05c1057c0363af8fe019" +dependencies = [ + "anyhow", + "bytes 1.2.1", + "cargo_metadata", + "lazy_static", + "log", + "paste 1.0.9", + "static_assertions", +] + +[[package]] +name = "uniffi_bindgen" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87e8e61e7f6d03d3bf70fe16c956061b7b5a5ef571171bb7bec160c86b5a5779" +dependencies = [ + "anyhow", + "askama", + "cargo_metadata", + "clap 2.34.0", + "heck", + "paste 1.0.9", + "serde", + "toml", + "weedle", +] + +[[package]] +name = "uniffi_build" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e41292abe9503cfdc682f53566b785f322548ca728e5b3b6183b0f2694b4225" +dependencies = [ + "anyhow", + "uniffi_bindgen", +] + +[[package]] +name = "uniffi_macros" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" +checksum = "58ce535e537d6a3004d503b405bde5971a0c0952a836a4c756af23bf09acd823" +dependencies = [ + "glob", + "proc-macro2", + "quote", + "syn", + "uniffi_build", +] [[package]] name = "universal-hash" @@ -6572,6 +7763,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "universal-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d3160b73c9a19f7e2939a2fdad446c57c1bbbbf4d919d3213ff1267a580d8b5" +dependencies = [ + "crypto-common", + "subtle", +] + [[package]] name = "unreachable" version = "1.0.0" @@ -6601,13 +7802,12 @@ checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "url" -version = "2.2.2" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" +checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" dependencies = [ "form_urlencoded", "idna", - "matches", "percent-encoding", ] @@ -6623,7 +7823,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" dependencies = [ - "getrandom 0.2.6", + "getrandom 0.2.7", "serde", ] @@ -6640,7 +7840,7 @@ dependencies = [ "chain-vote", "hex", "hyper 0.13.10", - "itertools 0.10.3", + "itertools 0.10.5", "jormungandr-automation", "jormungandr-lib", "jortestkit", @@ -6650,7 +7850,7 @@ dependencies = [ "serde_json", "structopt", "thiserror", - "tokio 1.19.2", + "tokio 1.21.2", "url", "vit-servicing-station-lib", "vit-servicing-station-tests", @@ -6686,13 +7886,33 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "versionisator" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a11bb14ba286855b3313b543a6abc357656a005957582958bf7031854cd0a352" +checksum = "19409971e0a30a77927dd4bf8979b9e9efabd00ea3a8a6f162b277213942b6c8" dependencies = [ "platforms", ] +[[package]] +name = "vit-servicing-station-cli" +version = "0.3.4-dev" +dependencies = [ + "base64 0.12.3", + "csv", + "diesel", + "diesel_migrations", + "r2d2", + "rand 0.7.3", + "serde", + "serde_json", + "structopt", + "tempfile", + "thiserror", + "time 0.3.15", + "url", + "vit-servicing-station-lib", +] + [[package]] name = "vit-servicing-station-lib" version = "0.3.4-dev" @@ -6703,12 +7923,14 @@ dependencies = [ "diesel", "diesel_migrations", "dotenv", + "eccoxide 0.2.0", "http-zipkin", "itertools 0.9.0", "jormungandr-lib", "libsqlite3-sys", "log", "notify", + "rand 0.8.5", "serde", "serde_json", "simplelog", @@ -6716,15 +7938,30 @@ dependencies = [ "structopt", "strum 0.21.0", "strum_macros 0.21.1", + "tempfile", "thiserror", - "time 0.3.9", - "tokio 1.19.2", + "time 0.3.15", + "tokio 1.21.2", "tracing", "tracing-futures", - "tracing-subscriber 0.3.11", + "tracing-subscriber 0.3.16", "warp", ] +[[package]] +name = "vit-servicing-station-server" +version = "0.3.4-dev" +dependencies = [ + "log", + "structopt", + "tokio 1.21.2", + "tracing", + "tracing-appender 0.2.2", + "tracing-futures", + "tracing-subscriber 0.3.16", + "vit-servicing-station-lib", +] + [[package]] name = "vit-servicing-station-tests" version = "0.3.4-dev" @@ -6740,26 +7977,26 @@ dependencies = [ "diesel_migrations", "dyn-clone", "fake", - "hyper 0.14.19", - "itertools 0.10.3", + "hyper 0.14.20", + "itertools 0.10.5", "jortestkit", "lazy_static", "libsqlite3-sys", - "predicates", + "predicates 2.1.1", "pretty_assertions", "quickcheck", "quickcheck_macros", "rand 0.7.3", "rand_core 0.5.1", - "reqwest 0.11.10", + "reqwest 0.11.12", "serde", "serde_json", "snapshot-lib", "structopt", "tempfile", "thiserror", - "time 0.3.9", - "tokio 1.19.2", + "time 0.3.15", + "tokio 1.21.2", "url", "vit-servicing-station-lib", ] @@ -6782,7 +8019,7 @@ dependencies = [ "csv", "ctrlc", "custom_debug", - "dialoguer 0.10.1", + "dialoguer 0.10.2", "diffy", "fake", "function_name", @@ -6790,10 +8027,10 @@ dependencies = [ "glob", "hersir", "hex", - "hyper 0.14.19", + "hyper 0.14.20", "image", "indicatif", - "itertools 0.10.3", + "itertools 0.10.5", "jormungandr-automation", "jormungandr-lib", "jortestkit", @@ -6807,7 +8044,7 @@ dependencies = [ "quickcheck_macros", "rand 0.8.5", "rand_chacha 0.3.1", - "rand_core 0.6.3", + "rand_core 0.6.4", "regex", "reqwest 0.10.10", "rustls 0.20.6", @@ -6822,12 +8059,12 @@ dependencies = [ "tempdir", "thiserror", "thor", - "time 0.3.9", - "tokio 1.19.2", + "time 0.3.15", + "tokio 1.21.2", "tokio-rustls 0.23.4", "tokio-stream", "tracing", - "tracing-appender", + "tracing-appender 0.1.2", "tracing-subscriber 0.2.25", "uuid", "valgrind", @@ -6876,6 +8113,7 @@ dependencies = [ "chain-crypto", "chain-impl-mockchain", "chain-path-derivation", + "chain-ser", "chain-time", "cryptoxide 0.4.2", "ed25519-bip32 0.4.1", @@ -6884,6 +8122,8 @@ dependencies = [ "hex", "imhamt", "itertools 0.9.0", + "quickcheck", + "quickcheck_macros", "thiserror", "zeroize", ] @@ -6904,9 +8144,49 @@ dependencies = [ "chain-vote", "hdkeygen", "rand 0.8.5", + "rand_chacha 0.3.1", + "symmetric-cipher", + "thiserror", + "wallet", +] + +[[package]] +name = "wallet-js" +version = "0.7.0-pre4" +dependencies = [ + "bech32 0.7.3", + "chain-crypto", + "chain-impl-mockchain", + "chain-vote", + "clear_on_drop", + "console_error_panic_hook", + "getrandom 0.2.7", + "js-sys", + "rand 0.8.5", + "rand_chacha 0.3.1", + "symmetric-cipher", + "wallet-core", + "wasm-bindgen", + "wasm-bindgen-test", +] + +[[package]] +name = "wallet-uniffi" +version = "0.1.0" +dependencies = [ + "chain-addr", + "chain-crypto", + "chain-impl-mockchain", + "chain-ser", + "chain-time", + "chain-vote", "symmetric-cipher", "thiserror", + "uniffi", + "uniffi_build", + "uniffi_macros", "wallet", + "wallet-core", ] [[package]] @@ -6921,31 +8201,32 @@ dependencies = [ [[package]] name = "warp" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cef4e1e9114a4b7f1ac799f16ce71c14de5778500c5450ec6b7b920c55b587e" +checksum = "ed7b8be92646fc3d18b06147664ebc5f48d222686cb11a8755e561a735aacc6d" dependencies = [ - "bytes 1.1.0", + "bytes 1.2.1", "futures-channel", "futures-util", "headers", "http", - "hyper 0.14.19", + "hyper 0.14.20", "log", "mime", "mime_guess", "multipart", "percent-encoding", "pin-project", + "rustls-pemfile 0.2.1", "scoped-tls", "serde", "serde_json", "serde_urlencoded", - "tokio 1.19.2", - "tokio-rustls 0.22.0", + "tokio 1.21.2", + "tokio-rustls 0.23.4", "tokio-stream", "tokio-tungstenite", - "tokio-util 0.6.10", + "tokio-util 0.7.4", "tower-service", "tracing", ] @@ -6956,9 +8237,9 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddb4e2b0778508ed42fb55ec8ea09d49053f41f377c53fe6c022ae40f55846d5" dependencies = [ - "hyper 0.14.19", + "hyper 0.14.20", "lazy_static", - "reqwest 0.11.10", + "reqwest 0.11.12", "thiserror", "unicase", "warp", @@ -6984,9 +8265,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.80" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27370197c907c55e3f1a9fbe26f44e937fe6451368324e009cba39e139dc08ad" +checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" dependencies = [ "cfg-if 1.0.0", "serde", @@ -6996,13 +8277,13 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.80" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e04185bfa3a779273da532f5025e33398409573f348985af9a1cbf3774d3f4" +checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142" dependencies = [ "bumpalo", - "lazy_static", "log", + "once_cell", "proc-macro2", "quote", "syn", @@ -7011,9 +8292,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.30" +version = "0.4.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f741de44b75e14c35df886aff5f1eb73aa114fa5d4d00dcd37b5e01259bf3b2" +checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -7023,9 +8304,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.80" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cae7ff784d7e83a2fe7611cfe766ecf034111b49deb850a3dc7699c08251f5" +checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -7033,9 +8314,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.80" +version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99ec0dc7a4756fffc231aab1b9f2f578d23cd391390ab27f952ae0c9b3ece20b" +checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c" dependencies = [ "proc-macro2", "quote", @@ -7046,15 +8327,39 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.80" +version = "0.2.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" + +[[package]] +name = "wasm-bindgen-test" +version = "0.3.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d2fff962180c3fadf677438054b1db62bee4aa32af26a45388af07d1287e1d" +dependencies = [ + "console_error_panic_hook", + "js-sys", + "scoped-tls", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-bindgen-test-macro", +] + +[[package]] +name = "wasm-bindgen-test-macro" +version = "0.3.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d554b7f530dee5964d9a9468d95c1f8b8acae4f282807e7d27d4b03099a46744" +checksum = "4683da3dfc016f704c9f82cf401520c4f1cb3ee440f7f52b3d6ac29506a49ca7" +dependencies = [ + "proc-macro2", + "quote", +] [[package]] name = "web-sys" -version = "0.3.57" +version = "0.3.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b17e741662c70c8bd24ac5c5b18de314a2c26c32bf8346ee1e6f53de919c283" +checksum = "bcda906d8be16e728fd5adc5b729afad4e444e106ab28cd1c7256e54fa61510f" dependencies = [ "js-sys", "wasm-bindgen", @@ -7091,28 +8396,37 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.22.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d8de8415c823c8abd270ad483c6feeac771fad964890779f9a8cb24fbbc1bf" +checksum = "368bfe657969fb01238bb756d351dcade285e0f6fcbd36dcb23359a5169975be" dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "weedle" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "610950904727748ca09682e857f0d6d6437f0ca862f32f9229edba8cec8b2635" +dependencies = [ + "nom 5.1.2", +] + [[package]] name = "weezl" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c97e489d8f836838d497091de568cf16b117486d529ec5579233521065bd5e4" +checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb" [[package]] name = "which" -version = "4.2.5" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae" +checksum = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b" dependencies = [ "either", - "lazy_static", "libc", + "once_cell", ] [[package]] @@ -7229,6 +8543,12 @@ dependencies = [ "winapi-build", ] +[[package]] +name = "wyz" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" + [[package]] name = "wyz" version = "0.5.0" @@ -7258,9 +8578,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.5.5" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94693807d016b2f2d2e14420eb3bfcca689311ff775dcf113d74ea624b7cdf07" +checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" dependencies = [ "zeroize_derive", ] @@ -7293,7 +8613,7 @@ dependencies = [ "hmac 0.12.1", "pbkdf2 0.10.1", "sha1", - "time 0.3.9", + "time 0.3.15", "zstd", ] diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000000..10a6d7f490 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,60 @@ +[workspace] +members = [ + "src/catalyst-toolbox/catalyst-toolbox", + "src/catalyst-toolbox/snapshot-lib", + "src/chain-libs/imhamt", + "src/chain-libs/chain-ser", + "src/chain-libs/chain-core", + "src/chain-libs/chain-vote", + "src/chain-libs/chain-addr", + "src/chain-libs/chain-time", + "src/chain-libs/chain-crypto", + "src/chain-libs/chain-network", + "src/chain-libs/chain-storage", + "src/chain-libs/chain-impl-mockchain", + "src/chain-libs/chain-evm", + "src/chain-libs/cardano-legacy-address", + "src/chain-libs/sparse-array", + "src/chain-libs/typed-bytes", + "src/chain-wallet-libs/bip39", + "src/chain-wallet-libs/chain-path-derivation", + "src/chain-wallet-libs/hdkeygen", + "src/chain-wallet-libs/wallet", + "src/chain-wallet-libs/symmetric-cipher", + "src/chain-wallet-libs/bindings/wallet-c", + "src/chain-wallet-libs/bindings/wallet-js", + "src/chain-wallet-libs/bindings/wallet-uniffi", + "src/jormungandr/jormungandr-lib", + "src/jormungandr/jormungandr", + "src/jormungandr/jcli", + "src/jormungandr/explorer", + "src/jormungandr/modules/settings", + "src/jormungandr/modules/blockchain", + "src/jormungandr/testing/jormungandr-automation", + "src/jormungandr/testing/jormungandr-integration-tests", + "src/jormungandr/testing/loki", + "src/jormungandr/testing/mjolnir", + "src/jormungandr/testing/hersir", + "src/jormungandr/testing/thor", + "src/vit-servicing-station/vit-servicing-station-cli", + "src/vit-servicing-station/vit-servicing-station-lib", + "src/vit-servicing-station/vit-servicing-station-server", + "src/vit-servicing-station/vit-servicing-station-tests", + "src/vit-testing/iapyx", + "src/vit-testing/vitup", + "src/vit-testing/valgrind", + "src/vit-testing/integration-tests", + "src/vit-testing/mainnet-tools", + "src/vit-testing/registration-service", + "src/vit-testing/registration-verify-service", + "src/vit-testing/snapshot-trigger-service", + "src/vit-testing/signals-handler" +] + +[patch.crates-io] +cryptoxide = { git = "https://github.com/typed-io/cryptoxide.git" } + +[profile.bench] +# Embed debuginfo into benchmarks for profiling. All other settings remain the +# same and are similar to the `release` profile. +debug = true diff --git a/install-all.sh b/install-all.sh new file mode 100755 index 0000000000..5f5975ad4c --- /dev/null +++ b/install-all.sh @@ -0,0 +1,89 @@ +#!/usr/bin/env bash + +# Catalyst Toolbox Build/Test/Install +catalyst_toolbox() { + pushd src/catalyst-toolbox + cargo build + cargo test + cargo install --locked --path catalyst-toolbox + popd +} + +# chain-libs Build/Test/nothing to install +chain_libs() { + pushd src/chain-libs + cargo build + cargo test + popd +} + +# Just build the JS bindings for chain-wallet-libs +chain_wallet_libs() { + pushd src/chain-wallet-libs/bindings/wallet-js + wasm-pack build -d pkg + jsdoc pkg -c ../../jsdoc.json -d pkg/doc -R README.md + popd +} + +# Jormungandr Build/Test/Install +jormungandr() { + pushd src/jormungandr + cargo build + cargo test + cargo install --locked --path jormungandr # --features systemd # (on linux with systemd) + cargo install --locked --path jcli + popd +} + +# jortestkit Build/Test/nothing to install +jortestkit() { + pushd src/jortestkit + cargo build + cargo test + popd +} + +# vit-servicing-station Build/Test/Install +vit_servicing_station() { + pushd src/vit-servicing-station + cargo build + cargo test + cargo install --locked --path vit-servicing-station-cli + cargo install --locked --path vit-servicing-station-server + popd +} + +# vit-testing Build/Test/Install +vit_testing() { + pushd src/vit-testing + cargo build + cargo test + cargo install --locked --path iapyx + cargo install --locked --path vitup + cargo install --locked --path valgrind + cargo install --locked --path mainnet-tools + cargo install --locked --path registration-service + cargo install --locked --path registration-verify-service + cargo install --locked --path snapshot-trigger-service + popd +} + + +# voting-tools-rs Build/Test/Install +voting_tools_rs() { + pushd src/voting-tools-rs + cargo build + cargo test --no-default-features + cargo install --locked --path . + popd +} + + +catalyst_toolbox +chain_libs +chain_wallet_libs +jormungandr +jortestkit +vit_servicing_station +vit_testing +voting_tools_rs diff --git a/src/catalyst-toolbox/Cargo.lock b/src/catalyst-toolbox/Cargo.lock deleted file mode 100644 index b04ff944e7..0000000000 --- a/src/catalyst-toolbox/Cargo.lock +++ /dev/null @@ -1,6347 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "adler32" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" - -[[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.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]] -name = "aes-gcm" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" -dependencies = [ - "aead", - "aes", - "cipher 0.3.0", - "ctr", - "ghash", - "subtle", -] - -[[package]] -name = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom 0.2.5", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" -dependencies = [ - "memchr", -] - -[[package]] -name = "ansi_term" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" -dependencies = [ - "winapi", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - -[[package]] -name = "anyhow" -version = "1.0.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4361135be9122e0870de935d7c439aef945b9f9ddd4199a553b5270b49c82a27" - -[[package]] -name = "arrayref" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" - -[[package]] -name = "arrayvec" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "ascii" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" - -[[package]] -name = "assert_cmd" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7ac5c260f75e4e4ba87b7342be6edcecbcb3eb6741a0507fda7ad115845cc65" -dependencies = [ - "escargot", - "predicates 1.0.8", - "predicates-core", - "predicates-tree", -] - -[[package]] -name = "assert_cmd" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e" -dependencies = [ - "bstr", - "doc-comment", - "predicates 2.1.1", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - -[[package]] -name = "assert_fs" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf09bb72e00da477c2596865e8873227e2196d263cca35414048875dbbeea1be" -dependencies = [ - "doc-comment", - "globwalk", - "predicates 2.1.1", - "predicates-core", - "predicates-tree", - "tempfile", -] - -[[package]] -name = "async-stream" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e" -dependencies = [ - "async-stream-impl", - "futures-core", -] - -[[package]] -name = "async-stream-impl" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f203db73a71dfa2fb6dd22763990fa26f3d2625a6da2da900d23b87d26be27" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "async-trait" -version = "0.1.52" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061a7acccaa286c011ddc30970520b98fa40e00c9d644633fb26b5fc63a265e3" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - -[[package]] -name = "aurora-bn" -version = "0.1.0" -source = "git+https://github.com/aurora-is-near/aurora-bn.git#8f1743884061981cac84388862e2763b2aa09307" -dependencies = [ - "byteorder", - "getrandom 0.2.5", - "rand 0.8.5", - "serde", -] - -[[package]] -name = "auto_impl" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7862e21c893d65a1650125d157eaeec691439379a1cee17ee49031b79236ada4" -dependencies = [ - "proc-macro-error", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e121dee8023ce33ab248d9ce1493df03c3b38a659b240096fcbd7048ff9c31f" -dependencies = [ - "addr2line", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide 0.4.4", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" - -[[package]] -name = "base64" -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.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1" - -[[package]] -name = "bech32" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9ff0bbfd639f15c74af777d81383cf53efb7c93613f6cab67c6c11e05bbf8b" - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bip39" -version = "0.1.0" -dependencies = [ - "cryptoxide 0.4.2", - "thiserror", - "zeroize", -] - -[[package]] -name = "bit-set" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitvec" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b" -dependencies = [ - "funty", - "radium", - "tap", - "wyz", -] - -[[package]] -name = "blake2" -version = "0.9.1" -source = "git+https://github.com/near/near-blake2.git?rev=736ff607cc8160af87ffa697c14ebef85050138f#736ff607cc8160af87ffa697c14ebef85050138f" -dependencies = [ - "crypto-mac 0.8.0", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - -[[package]] -name = "bstr" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" -dependencies = [ - "lazy_static", - "memchr", - "regex-automata", - "serde", -] - -[[package]] -name = "buf_redux" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f" -dependencies = [ - "memchr", - "safemem", -] - -[[package]] -name = "bumpalo" -version = "3.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899" - -[[package]] -name = "byte-slice-cast" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e" - -[[package]] -name = "bytemuck" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e851ca7c24871e7336801608a4797d7376545b6928a10d32d75685687141ead" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" - -[[package]] -name = "bytesize" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c58ec36aac5066d5ca17df51b3e70279f5670a72102f5752cb7e7c856adfc70" - -[[package]] -name = "bzip2" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afcd980b5f3a45017c57e57a2fcccbb351cc43a356ce117ef760ef8052b89b0" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "cardano-legacy-address" -version = "0.1.1" -dependencies = [ - "cbor_event", - "cryptoxide 0.4.2", - "ed25519-bip32", -] - -[[package]] -name = "cast" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a" -dependencies = [ - "rustc_version", -] - -[[package]] -name = "catalyst-toolbox" -version = "0.3.0" -dependencies = [ - "assert_cmd 0.10.2", - "assert_fs", - "bech32 0.8.1", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-ser", - "chain-storage", - "chain-time", - "chain-vote", - "color-eyre", - "csv", - "fraction", - "futures", - "gag", - "governor", - "graphql_client", - "hex", - "image", - "itertools 0.10.3", - "jcli", - "jormungandr-automation", - "jormungandr-integration-tests", - "jormungandr-lib", - "jortestkit", - "once_cell", - "predicates 1.0.8", - "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest?branch=master)", - "qrcode", - "quircs", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rayon", - "regex", - "reqwest", - "rust_decimal", - "rust_decimal_macros", - "serde", - "serde_json", - "serde_test", - "serde_yaml", - "snapshot-lib", - "sscanf", - "structopt", - "symmetric-cipher", - "test-strategy 0.2.0", - "thiserror", - "thor", - "time 0.3.9", - "tokio", - "tracing", - "tracing-subscriber", - "url", - "versionisator", - "vit-servicing-station-lib", - "vit-servicing-station-tests", - "wallet", -] - -[[package]] -name = "cbor_event" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b6cda8a789815488ee290d106bc97dba47785dae73d63576fc42c126912a451" - -[[package]] -name = "cc" -version = "1.0.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" -dependencies = [ - "jobserver", -] - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chacha20" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fc89c7c5b9e7a02dfe45cd2367bae382f9ed31c61ca8debe5f827c420a2f08" -dependencies = [ - "cfg-if 1.0.0", - "cipher 0.4.3", - "cpufeatures", -] - -[[package]] -name = "chacha20poly1305" -version = "0.10.0-pre" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "746c430f71e66469abcf493c11484b1a86b957c84fc2d0ba664cd12ac23679ea" -dependencies = [ - "aead", - "chacha20", - "cipher 0.4.3", - "poly1305", - "zeroize", -] - -[[package]] -name = "chain-addr" -version = "0.1.0" -dependencies = [ - "bech32 0.8.1", - "chain-core", - "chain-crypto", - "cryptoxide 0.4.2", - "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", - "quickcheck", - "test-strategy 0.1.2", -] - -[[package]] -name = "chain-core" -version = "0.1.0" -dependencies = [ - "chain-ser", -] - -[[package]] -name = "chain-crypto" -version = "0.1.0" -dependencies = [ - "bech32 0.8.1", - "cryptoxide 0.4.2", - "curve25519-dalek-ng", - "ed25519-bip32", - "ed25519-dalek", - "generic-array", - "hex", - "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", - "quickcheck", - "rand 0.8.5", - "rand_core 0.6.3", - "rayon", - "sha2 0.10.2", - "test-strategy 0.1.2", - "typed-bytes", -] - -[[package]] -name = "chain-evm" -version = "0.1.0" -dependencies = [ - "aurora-bn", - "base64 0.13.0", - "blake2", - "byte-slice-cast", - "chain-core", - "chain-ser", - "ethabi", - "ethereum", - "ethereum-types", - "evm", - "hex", - "imhamt", - "libsecp256k1", - "num 0.4.0", - "quickcheck", - "ripemd", - "rlp", - "secp256k1", - "sha2 0.10.2", - "sha3", - "thiserror", - "typed-bytes", -] - -[[package]] -name = "chain-impl-mockchain" -version = "0.1.0" -dependencies = [ - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-evm", - "chain-ser", - "chain-time", - "chain-vote", - "cryptoxide 0.4.2", - "ed25519-bip32", - "hex", - "imhamt", - "lazy_static", - "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", - "quickcheck", - "quickcheck_macros", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "sparse-array", - "strum 0.23.0", - "strum_macros 0.23.1", - "test-strategy 0.1.2", - "thiserror", - "typed-bytes", -] - -[[package]] -name = "chain-path-derivation" -version = "0.1.0" -dependencies = [ - "thiserror", -] - -[[package]] -name = "chain-ser" -version = "0.1.0" -dependencies = [ - "thiserror", -] - -[[package]] -name = "chain-storage" -version = "0.1.0" -dependencies = [ - "criterion", - "data-pile", - "rand_core 0.6.3", - "sled", - "tempfile", - "thiserror", -] - -[[package]] -name = "chain-time" -version = "0.1.0" -dependencies = [ - "chain-core", - "chain-ser", - "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", - "quickcheck", - "test-strategy 0.1.2", -] - -[[package]] -name = "chain-vote" -version = "0.1.0" -dependencies = [ - "cfg-if 0.1.10", - "chain-core", - "chain-crypto", - "const_format", - "cryptoxide 0.4.2", - "rand 0.8.5", - "rand_core 0.6.3", - "rayon", - "thiserror", -] - -[[package]] -name = "checked_int_cast" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cc5e6b5ab06331c33589842070416baa137e8b0eb912b008cfd4a78ada7919" - -[[package]] -name = "chrono" -version = "0.4.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" -dependencies = [ - "libc", - "num-integer", - "num-traits", - "time 0.1.43", - "winapi", -] - -[[package]] -name = "cipher" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array", -] - -[[package]] -name = "cipher" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1873270f8f7942c191139cb8a40fd228da6c3fd2fc376d7e92d47aa14aeb59e" -dependencies = [ - "crypto-common", - "inout", - "zeroize", -] - -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "ansi_term 0.12.1", - "atty", - "bitflags", - "strsim 0.8.0", - "textwrap 0.11.0", - "unicode-width", - "vec_map", -] - -[[package]] -name = "clap" -version = "3.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53da17d37dba964b9b3ecb5c5a1f193a2762c700e6829201e645b9381c99dc7" -dependencies = [ - "atty", - "bitflags", - "clap_lex", - "indexmap", - "strsim 0.10.0", - "termcolor", - "terminal_size", - "textwrap 0.15.0", -] - -[[package]] -name = "clap_lex" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5538cd660450ebeb4234cfecf8f2284b844ffc4c50531e66d584ad5b91293613" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "cocoon" -version = "0.3.0" -source = "git+https://github.com/dkijania/cocoon.git#1dfd975c3f0720d51c56fb297e7c92467bc3448a" -dependencies = [ - "aes-gcm", - "chacha20poly1305", - "hmac 0.11.0", - "pbkdf2 0.9.0", - "rand 0.8.5", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "color-eyre" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ebf286c900a6d5867aeff75cfee3192857bb7f24b547d4f0df2ed6baa812c90" -dependencies = [ - "backtrace", - "color-spantrace", - "eyre", - "indenter", - "once_cell", - "owo-colors", - "tracing-error", -] - -[[package]] -name = "color-spantrace" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba75b3d9449ecdccb27ecbc479fdc0b87fa2dd43d2f8298f9bf0e59aacc8dce" -dependencies = [ - "once_cell", - "owo-colors", - "tracing-core", - "tracing-error", -] - -[[package]] -name = "color_quant" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" - -[[package]] -name = "combine" -version = "3.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680" -dependencies = [ - "ascii", - "byteorder", - "either", - "memchr", - "unreachable", -] - -[[package]] -name = "console" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28b32d32ca44b70c3e4acd7db1babf555fa026e385fb95f18028f88848b3c31" -dependencies = [ - "encode_unicode", - "libc", - "once_cell", - "regex", - "terminal_size", - "unicode-width", - "winapi", -] - -[[package]] -name = "const_format" -version = "0.2.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22bc6cd49b0ec407b680c3e380182b6ac63b73991cb7602de350352fc309b614" -dependencies = [ - "const_format_proc_macros", -] - -[[package]] -name = "const_format_proc_macros" -version = "0.2.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef196d5d972878a48da7decb7686eded338b4858fbabeed513d63a7c98b2b82d" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "unicode-xid 0.2.2", -] - -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" - -[[package]] -name = "cpufeatures" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "criterion" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1604dafd25fba2fe2d5895a9da139f8dc9b319a5fe5354ca137cbbce4e178d10" -dependencies = [ - "atty", - "cast", - "clap 2.34.0", - "criterion-plot", - "csv", - "itertools 0.10.3", - "lazy_static", - "num-traits", - "oorandom", - "plotters", - "rayon", - "regex", - "serde", - "serde_cbor", - "serde_derive", - "serde_json", - "tinytemplate", - "walkdir", -] - -[[package]] -name = "criterion-plot" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d00996de9f2f7559f7f4dc286073197f83e92256a59ed395f9aac01fe717da57" -dependencies = [ - "cast", - "itertools 0.10.3", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1145cf131a2c6ba0615079ab6a638f7e1973ac9c2634fcbeaaad6114246efe8c" -dependencies = [ - "autocfg", - "cfg-if 1.0.0", - "crossbeam-utils", - "lazy_static", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38" -dependencies = [ - "cfg-if 1.0.0", - "lazy_static", -] - -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - -[[package]] -name = "crypto-common" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57952ca27b5e3606ff4dd79b0020231aaf9d6aa76dc05fd30137538c50bd3ce8" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "crypto-mac" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "cryptoxide" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42014d4c82e74bc17aaccc4bd75d3615d2b8236198de81c51bed5ddefaae6435" - -[[package]] -name = "cryptoxide" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "129eabb7b0b78644a3a7e7cf220714aba47463bb281f69fa7a71ca5d12564cca" - -[[package]] -name = "csv" -version = "1.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" -dependencies = [ - "bstr", - "csv-core", - "itoa 0.4.8", - "ryu", - "serde", -] - -[[package]] -name = "csv-core" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" -dependencies = [ - "memchr", -] - -[[package]] -name = "ctor" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c" -dependencies = [ - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "ctr" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" -dependencies = [ - "cipher 0.3.0", -] - -[[package]] -name = "ctrlc" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19c6cedffdc8c03a3346d723eb20bd85a13362bb96dc2ac000842c6381ec7bf" -dependencies = [ - "nix", - "winapi", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek-ng" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.6.3", - "subtle-ng", - "zeroize", -] - -[[package]] -name = "custom_debug" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8225047674d65dcf4321e6bd3e060bdbbe940604a99b1559827f3e61c498d1e" -dependencies = [ - "custom_debug_derive", -] - -[[package]] -name = "custom_debug_derive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b35d34eb004bf2d33c093f1c55ee77829e8654644288d3b6afd8c2d99d23729" -dependencies = [ - "proc-macro2 1.0.36", - "syn 1.0.89", - "synstructure", -] - -[[package]] -name = "darling" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0d720b8683f8dd83c65155f0530560cba68cd2bf395f6513a483caee57ff7f4" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a340f241d2ceed1deb47ae36c4144b2707ec7dd0b649f894cb39bb595986324" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2 1.0.36", - "quote 1.0.16", - "strsim 0.10.0", - "syn 1.0.89", -] - -[[package]] -name = "darling_macro" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c41b3b7352feb3211a0d743dc5700a4e3b60f51bd2b368892d1e0f9a95f44b" -dependencies = [ - "darling_core", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "data-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" - -[[package]] -name = "data-pile" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48846bf4556c08a96570ca7a29cb7c3c83ce7bb70b027fbe143a0cfdbcb06aa1" -dependencies = [ - "memmap2", -] - -[[package]] -name = "deflate" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73770f8e1fe7d64df17ca66ad28994a0a623ea497fa69486e14984e715c5d174" -dependencies = [ - "adler32", - "byteorder", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "dialoguer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61579ada4ec0c6031cfac3f86fdba0d195a7ebeb5e36693bd53cb5999a25beeb" -dependencies = [ - "console", - "lazy_static", - "tempfile", - "zeroize", -] - -[[package]] -name = "diesel" -version = "1.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b28135ecf6b7d446b43e27e225622a038cc4e2930a1022f51cdb97ada19b8e4d" -dependencies = [ - "byteorder", - "diesel_derives", - "libsqlite3-sys", - "r2d2", -] - -[[package]] -name = "diesel_derives" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "diesel_migrations" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf3cde8413353dc7f5d72fa8ce0b99a560a359d2c5ef1e5817ca731cd9008f4c" -dependencies = [ - "migrations_internals", - "migrations_macros", -] - -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - -[[package]] -name = "digest" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" -dependencies = [ - "block-buffer 0.10.2", - "crypto-common", - "subtle", -] - -[[package]] -name = "dirs" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - -[[package]] -name = "dotenv" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" - -[[package]] -name = "dyn-clone" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2" - -[[package]] -name = "ed25519" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d5c4b5e5959dc2c2b89918d8e2cc40fcdd623cef026ed09d2f0ee05199dc8e4" -dependencies = [ - "signature", -] - -[[package]] -name = "ed25519-bip32" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb588f93c0d91b2f668849fd6d030cddb0b2e31f105963be189da5acdf492a21" -dependencies = [ - "cryptoxide 0.4.2", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek", - "ed25519", - "rand 0.7.3", - "serde", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "either" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "encoding_rs" -version = "0.8.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dc8abb250ffdda33912550faa54c88ec8b998dec0b2c55ab224921ce11df" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "env_logger" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "environmental" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" - -[[package]] -name = "escargot" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19db1f7e74438642a5018cdf263bb1325b2e792f02dd0a3ca6d6c0f0d7b1d5a5" -dependencies = [ - "serde", - "serde_json", -] - -[[package]] -name = "ethabi" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b69517146dfab88e9238c00c724fd8e277951c3cc6f22b016d72f422a832213e" -dependencies = [ - "ethereum-types", - "hex", - "sha3", -] - -[[package]] -name = "ethbloom" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11da94e443c60508eb62cf256243a64da87304c2802ac2528847f79d750007ef" -dependencies = [ - "crunchy", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "tiny-keccak", -] - -[[package]] -name = "ethereum" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23750149fe8834c0e24bb9adcbacbe06c45b9861f15df53e09f26cb7c4ab91ef" -dependencies = [ - "bytes", - "ethereum-types", - "hash-db", - "hash256-std-hasher", - "parity-scale-codec", - "rlp", - "rlp-derive", - "scale-info", - "serde", - "sha3", - "triehash", -] - -[[package]] -name = "ethereum-types" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2827b94c556145446fcce834ca86b7abf0c39a805883fe20e72c5bfdb5a0dc6" -dependencies = [ - "ethbloom", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "primitive-types", - "scale-info", - "uint", -] - -[[package]] -name = "evm" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8ff320c1e25e7f6d676858f16ffd9b0493d2cc67c3d900c6f2ed027b747f43" -dependencies = [ - "auto_impl", - "environmental", - "ethereum", - "evm-core", - "evm-gasometer", - "evm-runtime", - "log", - "parity-scale-codec", - "primitive-types", - "rlp", - "scale-info", - "serde", - "sha3", -] - -[[package]] -name = "evm-core" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4537041d3a3438d59b2d01bd950ce89fb1ccb3cf21d9331193c10be12e849f" -dependencies = [ - "parity-scale-codec", - "primitive-types", - "scale-info", - "serde", -] - -[[package]] -name = "evm-gasometer" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6181da8734c86873ac9b3f9886d4e00105361039dcfb9f621be9a0ddb8f43961" -dependencies = [ - "environmental", - "evm-core", - "evm-runtime", - "primitive-types", -] - -[[package]] -name = "evm-runtime" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6157af91ca70fcf3581afaea1fa25974a71b9ef63d454c08dfba93ab0c7715d" -dependencies = [ - "auto_impl", - "environmental", - "evm-core", - "primitive-types", - "sha3", -] - -[[package]] -name = "eyre" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb" -dependencies = [ - "indenter", - "once_cell", -] - -[[package]] -name = "failure" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" -dependencies = [ - "backtrace", - "failure_derive", -] - -[[package]] -name = "failure_derive" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", - "synstructure", -] - -[[package]] -name = "fake" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d68f517805463f3a896a9d29c1d6ff09d3579ded64a7201b4069f8f9c0d52fd" -dependencies = [ - "http", - "rand 0.8.5", -] - -[[package]] -name = "fastrand" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" -dependencies = [ - "instant", -] - -[[package]] -name = "filedescriptor" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7199d965852c3bac31f779ef99cbb4537f80e952e2d6aa0ffeb30cce00f4f46e" -dependencies = [ - "libc", - "thiserror", - "winapi", -] - -[[package]] -name = "filetime" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "975ccf83d8d9d0d84682850a38c8169027be83368805971cc4f238c2b245bc98" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "winapi", -] - -[[package]] -name = "fixed-hash" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" -dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", -] - -[[package]] -name = "fixedbitset" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" - -[[package]] -name = "flate2" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f" -dependencies = [ - "cfg-if 1.0.0", - "crc32fast", - "libc", - "miniz_oxide 0.4.4", -] - -[[package]] -name = "float-cmp" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1267f4ac4f343772758f7b1bdcbe767c218bbab93bb432acbf5162bbf85a6c4" -dependencies = [ - "num-traits", -] - -[[package]] -name = "float-cmp" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -dependencies = [ - "num-traits", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" -dependencies = [ - "matches", - "percent-encoding", -] - -[[package]] -name = "fraction" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb65943183b6b3cbf00f64c181e8178217e30194381b150e4f87ec59864c803" -dependencies = [ - "lazy_static", - "num 0.2.1", - "serde", - "serde_derive", -] - -[[package]] -name = "fs2" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "fs_extra" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" - -[[package]] -name = "fsevent-sys" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2" -dependencies = [ - "libc", -] - -[[package]] -name = "function_name" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88b2afa9b514dc3a75af6cf24d1914e1c7eb6f1b86de849147563548d5c0a0cd" -dependencies = [ - "function_name-proc-macro", -] - -[[package]] -name = "function_name-proc-macro" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6790a8d356d2f65d7972181e866b92a50a87c27d6a48cbe9dbb8be13ca784c7d" -dependencies = [ - "proc-macro-crate 0.1.5", - "quote 0.6.13", - "syn 0.15.44", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" - -[[package]] -name = "futures-executor" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" - -[[package]] -name = "futures-macro" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "futures-sink" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" - -[[package]] -name = "futures-task" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" - -[[package]] -name = "futures-timer" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" - -[[package]] -name = "futures-util" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - -[[package]] -name = "gag" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a713bee13966e9fbffdf7193af71d54a6b35a0bb34997cd6c9519ebeb5005972" -dependencies = [ - "filedescriptor", - "tempfile", -] - -[[package]] -name = "generic-array" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "libc", - "wasi 0.10.2+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "ghash" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" -dependencies = [ - "opaque-debug", - "polyval", -] - -[[package]] -name = "gif" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a7187e78088aead22ceedeee99779455b23fc231fe13ec443f99bb71694e5b" -dependencies = [ - "color_quant", - "weezl", -] - -[[package]] -name = "gimli" -version = "0.26.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4" - -[[package]] -name = "globset" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - -[[package]] -name = "globwalk" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "governor" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19775995ee20209163239355bc3ad2f33f83da35d9ef72dea26e5af753552c87" -dependencies = [ - "futures", - "futures-timer", - "no-std-compat", - "nonzero_ext", - "parking_lot 0.12.0", - "rand 0.8.5", - "smallvec", -] - -[[package]] -name = "graphql-introspection-query" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2a4732cf5140bd6c082434494f785a19cfb566ab07d1382c3671f5812fed6d" -dependencies = [ - "serde", -] - -[[package]] -name = "graphql-parser" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5613c31f18676f164112732202124f373bb2103ff017b3b85ca954ea6a66ada" -dependencies = [ - "combine", - "failure", -] - -[[package]] -name = "graphql_client" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9b58571cfc3cc42c3e8ff44fc6cfbb6c0dea17ed22d20f9d8f1efc4e8209a3f" -dependencies = [ - "graphql_query_derive", - "serde", - "serde_json", -] - -[[package]] -name = "graphql_client_codegen" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4bf9cd823359d74ad3d3ecf1afd4a975f4ff2f891cdf9a66744606daf52de8c" -dependencies = [ - "graphql-introspection-query", - "graphql-parser", - "heck", - "lazy_static", - "proc-macro2 1.0.36", - "quote 1.0.16", - "serde", - "serde_json", - "syn 1.0.89", -] - -[[package]] -name = "graphql_query_derive" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e56b093bfda71de1da99758b036f4cc811fd2511c8a76f75680e9ffbd2bb4251" -dependencies = [ - "graphql_client_codegen", - "proc-macro2 1.0.36", - "syn 1.0.89", -] - -[[package]] -name = "gtmpl" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8bc64bdceb2909623131a62d470e809c32f86b8329d82f8d31d9971349cb00a" -dependencies = [ - "gtmpl_value", - "itertools 0.10.3", - "lazy_static", - "percent-encoding", -] - -[[package]] -name = "gtmpl_value" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8995bd73dd9ff926fdfe2b146e3e571d4b488488844561c9628cf7a736d973de" - -[[package]] -name = "h2" -version = "0.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62eeb471aa3e3c9197aa4bfeabfe02982f6dc96f750486c0bb0009ac58b26d2b" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util 0.6.9", - "tracing", -] - -[[package]] -name = "half" -version = "1.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" - -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - -[[package]] -name = "hash256-std-hasher" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" -dependencies = [ - "crunchy", -] - -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" -dependencies = [ - "ahash", -] - -[[package]] -name = "hashlink" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7249a3129cbc1ffccd74857f81464a323a152173cdb134e0fd81bc803b29facf" -dependencies = [ - "hashbrown", -] - -[[package]] -name = "hdkeygen" -version = "0.2.0" -dependencies = [ - "bip39", - "cardano-legacy-address", - "cbor_event", - "chain-addr", - "chain-crypto", - "chain-path-derivation", - "cryptoxide 0.4.2", - "ed25519-bip32", - "hex", - "thiserror", - "zeroize", -] - -[[package]] -name = "headers" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cff78e5788be1e0ab65b04d306b2ed5092c815ec97ec70f4ebd5aee158aa55d" -dependencies = [ - "base64 0.13.0", - "bitflags", - "bytes", - "headers-core", - "http", - "httpdate", - "mime", - "sha-1 0.10.0", -] - -[[package]] -name = "headers-core" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" -dependencies = [ - "http", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hersir" -version = "0.1.0" -dependencies = [ - "assert_fs", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-vote", - "ctrlc", - "custom_debug", - "hex", - "indicatif", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "parity-multiaddr", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "reqwest", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "structopt", - "thiserror", - "thor", - "yaml-rust", -] - -[[package]] -name = "hex" -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 0.11.1", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.3", -] - -[[package]] -name = "http" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03" -dependencies = [ - "bytes", - "fnv", - "itoa 1.0.1", -] - -[[package]] -name = "http-body" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "http-zipkin" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d10540bb06bfef59fe047376e293e2123e0681e9a57780a0a14776dcac74af0e" -dependencies = [ - "http", - "zipkin", -] - -[[package]] -name = "httparse" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9100414882e15fb7feccb4897e5f0ff0ff1ca7d1a86a23208ada4d7a18e6c6c4" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "hyper" -version = "0.14.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b26ae0a80afebe130861d90abf98e3814a4f28a4c6ffeb5ab8ebb2be311e0ef2" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa 1.0.1", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" -dependencies = [ - "http", - "hyper", - "rustls 0.20.4", - "tokio", - "tokio-rustls 0.23.3", -] - -[[package]] -name = "hyper-timeout" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" -dependencies = [ - "hyper", - "pin-project-lite", - "tokio", - "tokio-io-timeout", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "ignore" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d" -dependencies = [ - "crossbeam-utils", - "globset", - "lazy_static", - "log", - "memchr", - "regex", - "same-file", - "thread_local", - "walkdir", - "winapi-util", -] - -[[package]] -name = "image" -version = "0.23.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ffcb7e7244a9bf19d35bf2883b9c080c4ced3c07a9895572178cdb8f13f6a1" -dependencies = [ - "bytemuck", - "byteorder", - "color_quant", - "gif", - "jpeg-decoder", - "num-iter", - "num-rational 0.3.2", - "num-traits", - "png", - "scoped_threadpool", - "tiff", -] - -[[package]] -name = "imhamt" -version = "0.1.0" -dependencies = [ - "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest.git)", - "rustc_version", - "test-strategy 0.1.2", - "thiserror", -] - -[[package]] -name = "impl-codec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" -dependencies = [ - "parity-scale-codec", -] - -[[package]] -name = "impl-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp", -] - -[[package]] -name = "impl-serde" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" -dependencies = [ - "serde", -] - -[[package]] -name = "impl-trait-for-tuples" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "indenter" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" - -[[package]] -name = "indexmap" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223" -dependencies = [ - "autocfg", - "hashbrown", -] - -[[package]] -name = "indicatif" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7baab56125e25686df467fe470785512329883aab42696d661247aca2a2896e4" -dependencies = [ - "console", - "lazy_static", - "number_prefix", - "regex", -] - -[[package]] -name = "inotify" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" -dependencies = [ - "bitflags", - "inotify-sys", - "libc", -] - -[[package]] -name = "inotify-sys" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb" -dependencies = [ - "libc", -] - -[[package]] -name = "inout" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1f03d4ab4d5dc9ec2d219f86c15d2a15fc08239d1cd3b2d6a19717c0a2f443" -dependencies = [ - "generic-array", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "ipnet" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e70ee094dc02fd9c13fdad4940090f22dbd6ac7c9e7094a46cf0232a50bc7c" - -[[package]] -name = "itertools" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "itoa" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" - -[[package]] -name = "jcli" -version = "0.13.0" -dependencies = [ - "base64 0.13.0", - "bech32 0.8.1", - "bincode", - "bytes", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-time", - "chain-vote", - "clap 3.2.5", - "ed25519-bip32", - "gtmpl", - "hex", - "jormungandr-lib", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rayon", - "reqwest", - "rpassword", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "structopt", - "thiserror", - "versionisator", -] - -[[package]] -name = "jobserver" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa" -dependencies = [ - "libc", -] - -[[package]] -name = "jormungandr-automation" -version = "0.13.0" -dependencies = [ - "assert_cmd 2.0.4", - "assert_fs", - "base64 0.13.0", - "bech32 0.8.1", - "bytesize", - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-storage", - "chain-time", - "chain-vote", - "custom_debug", - "flate2", - "fs_extra", - "futures", - "graphql_client", - "hex", - "humantime", - "jcli", - "jormungandr-lib", - "jortestkit", - "json", - "keynesis", - "lazy_static", - "log", - "netstat2", - "os_info", - "parity-multiaddr", - "poldercast", - "predicates 2.1.1", - "prost", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "regex", - "reqwest", - "semver", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "structopt", - "strum 0.23.0", - "sysinfo 0.23.5", - "tar", - "tempfile", - "thiserror", - "tokio", - "tokio-stream", - "tonic", - "tonic-build", - "tracing", - "tracing-subscriber", - "typed-bytes", - "url", - "versionisator", - "warp", - "zip", -] - -[[package]] -name = "jormungandr-integration-tests" -version = "0.13.0" -dependencies = [ - "assert_cmd 2.0.4", - "assert_fs", - "base64 0.13.0", - "bech32 0.7.3", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-time", - "chain-vote", - "fs_extra", - "function_name", - "futures", - "hersir", - "hex", - "indicatif", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "json", - "lazy_static", - "loki", - "mjolnir", - "parity-multiaddr", - "poldercast", - "predicates 2.1.1", - "prost", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "regex", - "reqwest", - "rstest", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "tempfile", - "thiserror", - "thor", - "tokio", - "tonic", - "tracing", - "url", - "yaml-rust", -] - -[[package]] -name = "jormungandr-lib" -version = "0.13.0" -dependencies = [ - "base64 0.13.0", - "bech32 0.8.1", - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-time", - "chain-vote", - "hex", - "http", - "humantime", - "parity-multiaddr", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "serde", - "serde_with", - "thiserror", - "time 0.3.9", - "typed-bytes", -] - -[[package]] -name = "jortestkit" -version = "0.1.0" -dependencies = [ - "assert_fs", - "base64 0.13.0", - "bech32 0.8.1", - "bytesize", - "console", - "csv", - "custom_debug", - "dialoguer", - "flate2", - "fs_extra", - "hex", - "humantime", - "indicatif", - "lazy_static", - "os_info", - "predicates 2.1.1", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "rayon", - "reqwest", - "semver", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "sha-1 0.9.8", - "sha2 0.9.9", - "sysinfo 0.14.15", - "tar", - "thiserror", - "time 0.3.9", - "tokio", - "warp", - "zip", -] - -[[package]] -name = "jpeg-decoder" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "229d53d58899083193af11e15917b5640cd40b29ff475a1fe4ef725deb02d0f2" -dependencies = [ - "rayon", -] - -[[package]] -name = "js-sys" -version = "0.3.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a38fc24e30fd564ce974c02bf1d337caddff65be6cc4735a1f7eab22a7440f04" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "json" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd" - -[[package]] -name = "keccak" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" - -[[package]] -name = "keynesis" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5bf8dc22157c7a4d75f1df13a1b75ada82431141423e3d419ac89f2c1fbb298" -dependencies = [ - "cryptoxide 0.3.6", - "hex", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "thiserror", -] - -[[package]] -name = "kqueue" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6112e8f37b59803ac47a42d14f1f3a59bbf72fc6857ffc5be455e28a691f8e" -dependencies = [ - "kqueue-sys", - "libc", -] - -[[package]] -name = "kqueue-sys" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8367585489f01bc55dd27404dcf56b95e6da061a256a666ab23be9ba96a2e587" -dependencies = [ - "bitflags", - "libc", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - -[[package]] -name = "libc" -version = "0.2.121" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f" - -[[package]] -name = "libsecp256k1" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37" -dependencies = [ - "arrayref", - "base64 0.13.0", - "digest 0.9.0", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", - "serde", -] - -[[package]] -name = "libsecp256k1-core" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] - -[[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsqlite3-sys" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb2c84bff2c4d43bf6866c786098f7b6a17714b0cbda3abc6323a6b7571a045" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" - -[[package]] -name = "lock_api" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b" -dependencies = [ - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", - "serde", -] - -[[package]] -name = "loki" -version = "0.1.0" -dependencies = [ - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "custom_debug", - "jormungandr-automation", - "jormungandr-lib", - "parity-multiaddr", - "rand 0.8.5", - "rand_core 0.6.3", - "reqwest", - "serde", - "serde_yaml", - "structopt", - "thiserror", - "thor", - "tokio", - "warp", -] - -[[package]] -name = "lru" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb87f3080f6d1d69e8c564c0fcfde1d7aa8cc451ce40cae89479111f03bc0eb" -dependencies = [ - "hashbrown", -] - -[[package]] -name = "matches" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" - -[[package]] -name = "memchr" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" - -[[package]] -name = "memmap2" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4" -dependencies = [ - "libc", -] - -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "migrations_internals" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b4fc84e4af020b837029e017966f86a1c2d5e83e64b589963d5047525995860" -dependencies = [ - "diesel", -] - -[[package]] -name = "migrations_macros" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c" -dependencies = [ - "migrations_internals", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "mime" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" - -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "miniz_oxide" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" -dependencies = [ - "adler32", -] - -[[package]] -name = "miniz_oxide" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" -dependencies = [ - "adler", - "autocfg", -] - -[[package]] -name = "mio" -version = "0.7.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" -dependencies = [ - "libc", - "log", - "miow", - "ntapi", - "winapi", -] - -[[package]] -name = "mio" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys", -] - -[[package]] -name = "miow" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" -dependencies = [ - "winapi", -] - -[[package]] -name = "mjolnir" -version = "0.1.0" -dependencies = [ - "assert_fs", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-storage", - "chain-time", - "chain-vote", - "indicatif", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "loki", - "rand 0.8.5", - "rand_core 0.6.3", - "structopt", - "thiserror", - "thor", - "tokio", - "versionisator", -] - -[[package]] -name = "multihash" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab" -dependencies = [ - "generic-array", - "multihash-derive", - "unsigned-varint 0.5.1", -] - -[[package]] -name = "multihash-derive" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro-error", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", - "synstructure", -] - -[[package]] -name = "multimap" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" - -[[package]] -name = "multipart" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" -dependencies = [ - "buf_redux", - "httparse", - "log", - "mime", - "mime_guess", - "quick-error 1.2.3", - "rand 0.8.5", - "safemem", - "tempfile", - "twoway", -] - -[[package]] -name = "native-tls" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48ba9f7719b5a0f42f338907614285fb5fd70e53858141f69898a1fb7203b24d" -dependencies = [ - "lazy_static", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "netstat2" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0faa3f4ad230fd2bf2a5dad71476ecbaeaed904b3c7e7e5b1f266c415c03761f" -dependencies = [ - "bitflags", - "byteorder", - "libc", - "num-derive", - "num-traits", - "thiserror", -] - -[[package]] -name = "nix" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6" -dependencies = [ - "bitflags", - "cc", - "cfg-if 1.0.0", - "libc", - "memoffset", -] - -[[package]] -name = "no-std-compat" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" - -[[package]] -name = "nonzero_ext" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "notify" -version = "5.0.0-pre.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c614e7ed2b1cf82ec99aeffd8cf6225ef5021b9951148eb161393c394855032c" -dependencies = [ - "bitflags", - "crossbeam-channel", - "filetime", - "fsevent-sys", - "inotify", - "kqueue", - "libc", - "mio 0.7.14", - "walkdir", - "winapi", -] - -[[package]] -name = "ntapi" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f" -dependencies = [ - "winapi", -] - -[[package]] -name = "num" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36" -dependencies = [ - "num-bigint 0.2.6", - "num-complex 0.2.4", - "num-integer", - "num-iter", - "num-rational 0.2.4", - "num-traits", -] - -[[package]] -name = "num" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" -dependencies = [ - "num-bigint 0.4.3", - "num-complex 0.4.0", - "num-integer", - "num-iter", - "num-rational 0.4.0", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", - "serde", -] - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" -dependencies = [ - "autocfg", - "num-traits", - "serde", -] - -[[package]] -name = "num-complex" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-derive" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "num-integer" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" -dependencies = [ - "autocfg", - "num-bigint 0.2.6", - "num-integer", - "num-traits", - "serde", -] - -[[package]] -name = "num-rational" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" -dependencies = [ - "autocfg", - "num-bigint 0.4.3", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" -dependencies = [ - "autocfg", -] - -[[package]] -name = "num_cpus" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "num_threads" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aba1801fb138d8e85e11d0fc70baf4fe1cdfffda7c6cd34a854905df588e5ed0" -dependencies = [ - "libc", -] - -[[package]] -name = "number_prefix" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a" - -[[package]] -name = "object" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1" - -[[package]] -name = "oorandom" -version = "11.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "openssl" -version = "0.10.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c7ae222234c30df141154f159066c5093ff73b63204dcda7121eb082fc56a95" -dependencies = [ - "bitflags", - "cfg-if 1.0.0", - "foreign-types", - "libc", - "once_cell", - "openssl-sys", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.72" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e46109c383602735fa0a2e48dd2b7c892b048e1bf69e5c3b1d804b7d9c203cb" -dependencies = [ - "autocfg", - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "os_info" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eca3ecae1481e12c3d9379ec541b238a16f0b75c9a409942daa8ec20dbfdb62" -dependencies = [ - "log", - "winapi", -] - -[[package]] -name = "os_str_bytes" -version = "6.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa" - -[[package]] -name = "output_vt100" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66" -dependencies = [ - "winapi", -] - -[[package]] -name = "owo-colors" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b" - -[[package]] -name = "parity-multiaddr" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58341485071825827b7f03cf7efd1cb21e6a709bea778fb50227fd45d2f361b4" -dependencies = [ - "arrayref", - "bs58", - "byteorder", - "data-encoding", - "multihash", - "percent-encoding", - "serde", - "static_assertions", - "unsigned-varint 0.7.1", - "url", -] - -[[package]] -name = "parity-scale-codec" -version = "3.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8b44461635bbb1a0300f100a841e571e7d919c81c73075ef5d152ffdb521066" -dependencies = [ - "arrayvec", - "bitvec", - "byte-slice-cast", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "3.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c45ed1f39709f5a89338fab50e59816b2e8815f5bb58276e7ddf9afd495f73f8" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.5", -] - -[[package]] -name = "parking_lot" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.3", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" -dependencies = [ - "cfg-if 1.0.0", - "instant", - "libc", - "redox_syscall", - "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "smallvec", - "windows-sys", -] - -[[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 = "pbkdf2" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f05894bce6a1ba4be299d0c5f29563e08af2bc18bb7d48313113bed71e904739" -dependencies = [ - "crypto-mac 0.11.1", - "hmac 0.11.0", - "sha2 0.9.9", -] - -[[package]] -name = "pbkdf2" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271779f35b581956db91a3e55737327a03aa051e90b1c47aeb189508533adfd7" -dependencies = [ - "digest 0.10.3", - "hmac 0.12.1", - "password-hash", - "sha2 0.10.2", -] - -[[package]] -name = "percent-encoding" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" - -[[package]] -name = "petgraph" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f" -dependencies = [ - "fixedbitset", - "indexmap", -] - -[[package]] -name = "pin-project" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744b6f092ba29c3650faf274db506afd39944f48420f6c86b17cfe0ee1cb36bb" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58893f751c9b0412871a09abd62ecd2a00298c6c83befa223ef98c52aef40cbe" - -[[package]] -name = "platforms" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" - -[[package]] -name = "plotters" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a3fd9ec30b9749ce28cd91f255d569591cdf937fe280c312143e3c4bad6f2a" -dependencies = [ - "num-traits", - "plotters-backend", - "plotters-svg", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "plotters-backend" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d88417318da0eaf0fdcdb51a0ee6c3bed624333bff8f946733049380be67ac1c" - -[[package]] -name = "plotters-svg" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521fa9638fa597e1dc53e9412a4f9cefb01187ee1f7413076f9e6749e2885ba9" -dependencies = [ - "plotters-backend", -] - -[[package]] -name = "png" -version = "0.16.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3287920cb847dee3de33d301c463fba14dda99db24214ddf93f83d3021f4c6" -dependencies = [ - "bitflags", - "crc32fast", - "deflate", - "miniz_oxide 0.3.7", -] - -[[package]] -name = "poldercast" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2326808f3c476da7495ff611ad36b6a2e4e9d1f20a5b5eb4bbd8fb5e47f899be" -dependencies = [ - "hex", - "keynesis", - "lru", - "thiserror", -] - -[[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 = "polyval" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "opaque-debug", - "universal-hash", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" - -[[package]] -name = "predicates" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" -dependencies = [ - "difference", - "float-cmp 0.8.0", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c" -dependencies = [ - "difflib", - "float-cmp 0.9.0", - "itertools 0.10.3", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates-core" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da1c2388b1513e1b605fcec39a95e0a9e8ef088f71443ef37099fa9ae6673fcb" - -[[package]] -name = "predicates-tree" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d86de6de25020a36c6d3643a86d9a6a9f552107c0559c60ea03551b5e16c032" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "pretty_assertions" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f81e1644e1b54f5a68959a29aa86cde704219254669da328ecfdf6a1f09d427" -dependencies = [ - "ansi_term 0.11.0", - "ctor", - "difference", - "output_vt100", -] - -[[package]] -name = "primitive-types" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" -dependencies = [ - "toml", -] - -[[package]] -name = "proc-macro-crate" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" -dependencies = [ - "thiserror", - "toml", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" -dependencies = [ - "unicode-xid 0.1.0", -] - -[[package]] -name = "proc-macro2" -version = "1.0.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" -dependencies = [ - "unicode-xid 0.2.2", -] - -[[package]] -name = "proptest" -version = "1.0.0" -source = "git+https://github.com/input-output-hk/proptest?branch=master#dff1e6b410121989ea5aa076e5d3d6ae21b1bd81" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static", - "num-traits", - "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_xorshift", - "rand_xoshiro", - "regex-syntax", - "rusty-fork", - "tempfile", -] - -[[package]] -name = "proptest" -version = "1.0.0" -source = "git+https://github.com/input-output-hk/proptest.git#38044d47b2e8eeab62408294aa9e78e393f13d6b" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static", - "num-traits", - "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_xorshift", - "rand_xoshiro", - "regex-syntax", - "rusty-fork", - "tempfile", -] - -[[package]] -name = "prost" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" -dependencies = [ - "bytes", - "prost-derive", -] - -[[package]] -name = "prost-build" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" -dependencies = [ - "bytes", - "heck", - "itertools 0.10.3", - "lazy_static", - "log", - "multimap", - "petgraph", - "prost", - "prost-types", - "regex", - "tempfile", - "which", -] - -[[package]] -name = "prost-derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" -dependencies = [ - "anyhow", - "itertools 0.10.3", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "prost-types" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" -dependencies = [ - "bytes", - "prost", -] - -[[package]] -name = "qrcode" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16d2f1455f3630c6e5107b4f2b94e74d76dea80736de0981fd27644216cff57f" -dependencies = [ - "checked_int_cast", - "image", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - -[[package]] -name = "quickcheck" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44883e74aa97ad63db83c4bf8ca490f02b2fc02f92575e720c8551e843c945f" -dependencies = [ - "env_logger", - "log", - "rand 0.7.3", - "rand_core 0.5.1", -] - -[[package]] -name = "quickcheck_macros" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608c156fd8e97febc07dc9c2e2c80bf74cfc6ef26893eae3daf8bc2bc94a4b7f" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "quircs" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "088cd18eb88277186050867dbfc7079eba83a753e4bc2b51c0feef6908679f4a" -dependencies = [ - "num-derive", - "num-traits", - "thiserror", -] - -[[package]] -name = "quote" -version = "0.6.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" -dependencies = [ - "proc-macro2 0.4.30", -] - -[[package]] -name = "quote" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4af2ec4714533fcdf07e886f17025ace8b997b9ce51204ee69b6da831c3da57" -dependencies = [ - "proc-macro2 1.0.36", -] - -[[package]] -name = "r2d2" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545c5bc2b880973c9c10e4067418407a0ccaa3091781d1671d46eb35107cb26f" -dependencies = [ - "log", - "parking_lot 0.11.2", - "scheduled-thread-pool", -] - -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom 0.2.5", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rand_xoshiro" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rayon" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" -dependencies = [ - "autocfg", - "crossbeam-deque", - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "lazy_static", - "num_cpus", -] - -[[package]] -name = "redox_syscall" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_users" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7776223e2696f1aa4c6b0170e83212f47296a00424305117d013dfe86fb0fe55" -dependencies = [ - "getrandom 0.2.5", - "redox_syscall", - "thiserror", -] - -[[package]] -name = "regex" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" - -[[package]] -name = "regex-syntax" -version = "0.6.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - -[[package]] -name = "reqwest" -version = "0.11.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46a1f7aa4f35e5e8b4160449f51afc758f0ce6454315a9fa7d0d113e958c41eb" -dependencies = [ - "base64 0.13.0", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-rustls", - "hyper-tls", - "ipnet", - "js-sys", - "lazy_static", - "log", - "mime", - "native-tls", - "percent-encoding", - "pin-project-lite", - "rustls 0.20.4", - "rustls-pemfile", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-native-tls", - "tokio-rustls 0.23.3", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "webpki-roots", - "winreg", -] - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin", - "untrusted", - "web-sys", - "winapi", -] - -[[package]] -name = "ripemd" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1facec54cb5e0dc08553501fa740091086d0259ad0067e0d4103448e4cb22ed3" -dependencies = [ - "digest 0.10.3", -] - -[[package]] -name = "rlp" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" -dependencies = [ - "bytes", - "rustc-hex", -] - -[[package]] -name = "rlp-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "rpassword" -version = "6.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf099a1888612545b683d2661a1940089f6c2e5a8e38979b2159da876bfd956" -dependencies = [ - "libc", - "serde", - "serde_json", - "winapi", -] - -[[package]] -name = "rstest" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d912f35156a3f99a66ee3e11ac2e0b3f34ac85a07e05263d05a7e2c8810d616f" -dependencies = [ - "cfg-if 1.0.0", - "proc-macro2 1.0.36", - "quote 1.0.16", - "rustc_version", - "syn 1.0.89", -] - -[[package]] -name = "rust_decimal" -version = "1.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d37baa70cf8662d2ba1c1868c5983dda16ef32b105cce41fb5c47e72936a90b3" -dependencies = [ - "arrayvec", - "num-traits", - "serde", -] - -[[package]] -name = "rust_decimal_macros" -version = "1.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "184abaf7b434800e1a5a8aad3ebc8cd7498df33af72d65371d797a264713a59b" -dependencies = [ - "quote 1.0.16", - "rust_decimal", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" - -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64 0.13.0", - "log", - "ring", - "sct 0.6.1", - "webpki 0.21.4", -] - -[[package]] -name = "rustls" -version = "0.20.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fbfeb8d0ddb84706bc597a5574ab8912817c52a397f819e5b614e2265206921" -dependencies = [ - "log", - "ring", - "sct 0.7.0", - "webpki 0.22.0", -] - -[[package]] -name = "rustls-pemfile" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee86d63972a7c661d1536fefe8c3c8407321c3df668891286de28abcd087360" -dependencies = [ - "base64 0.13.0", -] - -[[package]] -name = "rustversion" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" - -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - -[[package]] -name = "ryu" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f" - -[[package]] -name = "safemem" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scale-info" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8980cafbe98a7ee7a9cc16b32ebce542c77883f512d83fbf2ddc8f6a85ea74c9" -dependencies = [ - "bitvec", - "cfg-if 1.0.0", - "derive_more", - "parity-scale-codec", - "scale-info-derive", -] - -[[package]] -name = "scale-info-derive" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4260c630e8a8a33429d1688eff2f163f24c65a4e1b1578ef6b565061336e4b6f" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "schannel" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" -dependencies = [ - "lazy_static", - "winapi", -] - -[[package]] -name = "scheduled-thread-pool" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc6f74fd1204073fa02d5d5d68bec8021be4c38690b61264b2fdb48083d0e7d7" -dependencies = [ - "parking_lot 0.11.2", -] - -[[package]] -name = "scoped-tls" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" - -[[package]] -name = "scoped_threadpool" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8" - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "sct" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "secp256k1" -version = "0.23.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77cb4e47e3ccff9a1e168471c11e026c067f50ea7c11bf5e877cae505fb743a0" -dependencies = [ - "rand 0.8.5", - "secp256k1-sys", -] - -[[package]] -name = "secp256k1-sys" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7058dc8eaf3f2810d7828680320acda0b25a288f6d288e19278e249bbf74226b" -dependencies = [ - "cc", -] - -[[package]] -name = "security-framework" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dc14f172faf8a0194a3aded622712b0de276821addc574fa54fc0a1167e10dc" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "semver" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a3381e03edd24287172047536f20cabde766e2cd3e65e6b00fb3af51c4f38d" -dependencies = [ - "serde", -] - -[[package]] -name = "serde" -version = "1.0.136" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_cbor" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" -dependencies = [ - "half", - "serde", -] - -[[package]] -name = "serde_derive" -version = "1.0.136" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "serde_json" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82c2c1fdcd807d1098552c5b9a36e425e42e9fbd7c6a37a8425f390f781f7fa7" -dependencies = [ - "itoa 1.0.1", - "ryu", - "serde", -] - -[[package]] -name = "serde_test" -version = "1.0.136" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21675ba6f9d97711cc00eee79d8dd7d0a31e571c350fb4d8a7c78f70c0e7b0e9" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa 1.0.1", - "ryu", - "serde", -] - -[[package]] -name = "serde_with" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec1e6ec4d8950e5b1e894eac0d360742f3b1407a6078a604a731c4b3f49cefbc" -dependencies = [ - "rustversion", - "serde", - "serde_with_macros", -] - -[[package]] -name = "serde_with_macros" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12e47be9471c72889ebafb5e14d5ff930d89ae7a67bbdb5f8abb564f845a927e" -dependencies = [ - "darling", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "serde_yaml" -version = "0.8.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a521f2940385c165a24ee286aa8599633d162077a54bdcae2a6fd5a7bfa7a0" -dependencies = [ - "indexmap", - "ryu", - "serde", - "yaml-rust", -] - -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha-1" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sha1" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77f4e7f65455545c2153c1253d25056825e77ee2533f0e41deb65a93a34852f" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha2" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sha3" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881bf8156c87b6301fc5ca6b27f11eeb2761224c7081e69b409d5a1951a70c86" -dependencies = [ - "digest 0.10.3", - "keccak", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" - -[[package]] -name = "simplelog" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2736f58087298a448859961d3f4a0850b832e72619d75adc69da7993c2cd3c" -dependencies = [ - "chrono", - "log", - "termcolor", -] - -[[package]] -name = "slab" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" - -[[package]] -name = "sled" -version = "0.34.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f96b4737c2ce5987354855aed3797279def4ebf734436c6aa4552cf8e169935" -dependencies = [ - "crc32fast", - "crossbeam-epoch", - "crossbeam-utils", - "fs2", - "fxhash", - "libc", - "log", - "parking_lot 0.11.2", -] - -[[package]] -name = "smallvec" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" - -[[package]] -name = "snapshot-lib" -version = "0.1.0" -dependencies = [ - "bech32 0.8.1", - "chain-addr", - "chain-crypto", - "fraction", - "graphql_client", - "hex", - "jormungandr-lib", - "proptest 1.0.0 (git+https://github.com/input-output-hk/proptest?branch=master)", - "reqwest", - "rust_decimal", - "rust_decimal_macros", - "serde", - "serde_json", - "serde_test", - "serde_yaml", - "test-strategy 0.2.0", - "thiserror", -] - -[[package]] -name = "socket2" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "sparse-array" -version = "0.1.0" - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "sscanf" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513162b19ce2aa5347d36a1d9cbc8ba2b20c63e0e82080b52d2cade9fb3a8cb7" -dependencies = [ - "const_format", - "lazy_static", - "regex", - "sscanf_macro", -] - -[[package]] -name = "sscanf_macro" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d697834866afffd34330ee55f6dbb2cf1eedd44b33cc63b8fdfd87bc3268eeac" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "regex-syntax", - "syn 1.0.89", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "structmeta" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59915b528a896f2e3bfa1a6ace65f7bb0ff9f9863de6213b0c01cb6fd3c3ac71" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "structmeta-derive", - "syn 1.0.89", -] - -[[package]] -name = "structmeta-derive" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b73800bcca56045d5ab138a48cd28a96093335335deaa916f22b5749c4150c79" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "structopt" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" -dependencies = [ - "clap 2.34.0", - "lazy_static", - "structopt-derive", -] - -[[package]] -name = "structopt-derive" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "strum" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" - -[[package]] -name = "strum" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb" -dependencies = [ - "strum_macros 0.23.1", -] - -[[package]] -name = "strum_macros" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" -dependencies = [ - "heck", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "strum_macros" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38" -dependencies = [ - "heck", - "proc-macro2 1.0.36", - "quote 1.0.16", - "rustversion", - "syn 1.0.89", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "subtle-ng" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" - -[[package]] -name = "symmetric-cipher" -version = "0.5.0" -dependencies = [ - "cryptoxide 0.4.2", - "rand 0.8.5", - "thiserror", - "zeroize", -] - -[[package]] -name = "syn" -version = "0.15.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" -dependencies = [ - "proc-macro2 0.4.30", - "quote 0.6.13", - "unicode-xid 0.1.0", -] - -[[package]] -name = "syn" -version = "1.0.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "unicode-xid 0.2.2", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", - "unicode-xid 0.2.2", -] - -[[package]] -name = "sysinfo" -version = "0.14.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2983daff11a197c7c406b130579bc362177aa54cf2cc1f34d6ac88fccaa6a5e1" -dependencies = [ - "cfg-if 0.1.10", - "doc-comment", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi", -] - -[[package]] -name = "sysinfo" -version = "0.23.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07fa4c84a5305909b0eedfcc8d1f2fafdbede645bb700a45ecaafe681a0ac5d6" -dependencies = [ - "cfg-if 1.0.0", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "tar" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" -dependencies = [ - "filetime", - "libc", - "xattr", -] - -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -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.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b" - -[[package]] -name = "test-strategy" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22c726321a7c108ca1de4ed2e6a362ead7193ecfbe0b326c5dff602b65a09e6a" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "structmeta", - "syn 1.0.89", -] - -[[package]] -name = "test-strategy" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c18b325ca048e49683d5cb9166a50191fc862e36020706bbd7723c22a05d4ffa" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "structmeta", - "syn 1.0.89", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" -dependencies = [ - "terminal_size", -] - -[[package]] -name = "thiserror" -version = "1.0.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "thor" -version = "0.1.0" -dependencies = [ - "assert_fs", - "bech32 0.8.1", - "bincode", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-vote", - "cocoon", - "custom_debug", - "dirs", - "hex", - "jcli", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "serde", - "serde_yaml", - "structopt", - "thiserror", - "time 0.3.9", -] - -[[package]] -name = "thread_local" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" -dependencies = [ - "once_cell", -] - -[[package]] -name = "tiff" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a53f4706d65497df0c4349241deddf35f84cee19c87ed86ea8ca590f4464437" -dependencies = [ - "jpeg-decoder", - "miniz_oxide 0.4.4", - "weezl", -] - -[[package]] -name = "time" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2702e08a7a860f005826c6815dcac101b19b5eb330c27fe4a5928fec1d20ddd" -dependencies = [ - "itoa 1.0.1", - "libc", - "num_threads", - "serde", - "time-macros", -] - -[[package]] -name = "time-macros" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42657b1a6f4d817cda8e7a0ace261fe0cc946cf3a80314390b22cc61ae080792" - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinytemplate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" -dependencies = [ - "serde", - "serde_json", -] - -[[package]] -name = "tinyvec" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" - -[[package]] -name = "tokio" -version = "1.21.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e03c497dc955702ba729190dc4aac6f2a0ce97f913e5b1b5912fc5039d9099" -dependencies = [ - "autocfg", - "bytes", - "libc", - "memchr", - "mio 0.8.4", - "num_cpus", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "winapi", -] - -[[package]] -name = "tokio-io-timeout" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" -dependencies = [ - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-macros" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b557f72f448c511a979e2564e55d74e6c4432fc96ff4f6241bc6bded342643b7" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" -dependencies = [ - "rustls 0.19.1", - "tokio", - "webpki 0.21.4", -] - -[[package]] -name = "tokio-rustls" -version = "0.23.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4151fda0cf2798550ad0b34bcfc9b9dcc2a9d2471c895c68f3a8818e54f2389e" -dependencies = [ - "rustls 0.20.4", - "tokio", - "webpki 0.22.0", -] - -[[package]] -name = "tokio-stream" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50145484efff8818b5ccd256697f36863f587da82cf8b409c53adf1e840798e3" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" -dependencies = [ - "futures-util", - "log", - "pin-project", - "tokio", - "tungstenite", -] - -[[package]] -name = "tokio-util" -version = "0.6.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "log", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64910e1b9c1901aaf5375561e35b9c057d95ff41a44ede043a03e09279eabaf1" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "log", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "toml" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" -dependencies = [ - "serde", -] - -[[package]] -name = "tonic" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08f4649d10a70ffa3522ca559031285d8e421d727ac85c60825761818f5d0a" -dependencies = [ - "async-stream", - "async-trait", - "base64 0.13.0", - "bytes", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-timeout", - "percent-encoding", - "pin-project", - "prost", - "prost-derive", - "tokio", - "tokio-stream", - "tokio-util 0.6.9", - "tower", - "tower-layer", - "tower-service", - "tracing", - "tracing-futures", -] - -[[package]] -name = "tonic-build" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9403f1bafde247186684b230dc6f38b5cd514584e8bec1dd32514be4745fa757" -dependencies = [ - "proc-macro2 1.0.36", - "prost-build", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "tower" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a89fd63ad6adf737582df5db40d286574513c69a11dac5214dc3b5603d6713e" -dependencies = [ - "futures-core", - "futures-util", - "indexmap", - "pin-project", - "pin-project-lite", - "rand 0.8.5", - "slab", - "tokio", - "tokio-util 0.7.0", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-layer" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62" - -[[package]] -name = "tower-service" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" - -[[package]] -name = "tracing" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" -dependencies = [ - "cfg-if 1.0.0", - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", -] - -[[package]] -name = "tracing-core" -version = "0.1.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-error" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" -dependencies = [ - "tracing", - "tracing-subscriber", -] - -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - -[[package]] -name = "tracing-log" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77be66445c4eeebb934a7340f227bfe7b338173d3f8c00a60a5a58005c9faecf" -dependencies = [ - "ansi_term 0.12.1", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing-core", - "tracing-log", - "tracing-serde", -] - -[[package]] -name = "triehash" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" -dependencies = [ - "hash-db", - "rlp", -] - -[[package]] -name = "try-lock" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" - -[[package]] -name = "tungstenite" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" -dependencies = [ - "base64 0.13.0", - "byteorder", - "bytes", - "http", - "httparse", - "log", - "rand 0.8.5", - "sha-1 0.9.8", - "thiserror", - "url", - "utf-8", -] - -[[package]] -name = "twoway" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1" -dependencies = [ - "memchr", -] - -[[package]] -name = "typed-bytes" -version = "0.1.0" - -[[package]] -name = "typenum" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" - -[[package]] -name = "uint" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f03af7ccf01dd611cc450a0d10dbc9b745770d096473e2faf0ca6e2d66d1e0" -dependencies = [ - "byteorder", - "crunchy", - "hex", - "static_assertions", -] - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" - -[[package]] -name = "unicode-normalization" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" - -[[package]] -name = "unicode-width" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" - -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" - -[[package]] -name = "unicode-xid" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" - -[[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 = "unreachable" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" -dependencies = [ - "void", -] - -[[package]] -name = "unsigned-varint" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7fdeedbf205afadfe39ae559b75c3240f24e257d0ca27e85f85cb82aa19ac35" - -[[package]] -name = "unsigned-varint" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "url" -version = "2.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" -dependencies = [ - "form_urlencoded", - "idna", - "matches", - "percent-encoding", -] - -[[package]] -name = "utf-8" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "versionisator" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a11bb14ba286855b3313b543a6abc357656a005957582958bf7031854cd0a352" -dependencies = [ - "platforms", -] - -[[package]] -name = "vit-servicing-station-lib" -version = "0.3.4-dev" -dependencies = [ - "async-trait", - "base64 0.12.3", - "chain-ser", - "diesel", - "diesel_migrations", - "dotenv", - "http-zipkin", - "itertools 0.9.0", - "jormungandr-lib", - "libsqlite3-sys", - "log", - "notify", - "serde", - "serde_json", - "simplelog", - "snapshot-lib", - "structopt", - "strum 0.21.0", - "strum_macros 0.21.1", - "thiserror", - "time 0.3.9", - "tokio", - "tracing", - "tracing-futures", - "tracing-subscriber", - "warp", -] - -[[package]] -name = "vit-servicing-station-tests" -version = "0.3.4-dev" -dependencies = [ - "assert_cmd 2.0.4", - "assert_fs", - "base64 0.12.3", - "cfg-if 0.1.10", - "chain-addr", - "chain-crypto", - "chain-impl-mockchain", - "diesel", - "diesel_migrations", - "dyn-clone", - "fake", - "hyper", - "itertools 0.10.3", - "jortestkit", - "lazy_static", - "libsqlite3-sys", - "predicates 2.1.1", - "pretty_assertions", - "quickcheck", - "quickcheck_macros", - "rand 0.7.3", - "rand_core 0.5.1", - "reqwest", - "serde", - "serde_json", - "snapshot-lib", - "structopt", - "tempfile", - "thiserror", - "time 0.3.9", - "tokio", - "url", - "vit-servicing-station-lib", -] - -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" -dependencies = [ - "same-file", - "winapi", - "winapi-util", -] - -[[package]] -name = "wallet" -version = "0.6.0-pre.1" -dependencies = [ - "bip39", - "cardano-legacy-address", - "cbor_event", - "chain-addr", - "chain-crypto", - "chain-impl-mockchain", - "chain-path-derivation", - "chain-time", - "cryptoxide 0.4.2", - "ed25519-bip32", - "hashlink", - "hdkeygen", - "hex", - "imhamt", - "itertools 0.9.0", - "thiserror", - "zeroize", -] - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "warp" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cef4e1e9114a4b7f1ac799f16ce71c14de5778500c5450ec6b7b920c55b587e" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "headers", - "http", - "hyper", - "log", - "mime", - "mime_guess", - "multipart", - "percent-encoding", - "pin-project", - "scoped-tls", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-rustls 0.22.0", - "tokio-stream", - "tokio-tungstenite", - "tokio-util 0.6.9", - "tower-service", - "tracing", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f1af7423d8588a3d840681122e72e6a24ddbcb3f0ec385cac0d12d24256c06" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b21c0df030f5a177f3cba22e9bc4322695ec43e7257d865302900290bcdedca" -dependencies = [ - "bumpalo", - "lazy_static", - "log", - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb6ec270a31b1d3c7e266b999739109abce8b6c87e4b31fcfcd788b65267395" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f4203d69e40a52ee523b2529a773d5ffc1dc0071801c87b3d270b471b80ed01" -dependencies = [ - "quote 1.0.16", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa8a30d46208db204854cadbb5d4baf5fcf8071ba5bf48190c3e59937962ebc" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d958d035c4438e28c70e4321a2911302f10135ce78a9c7834c0cab4123d06a2" - -[[package]] -name = "web-sys" -version = "0.3.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c060b319f29dd25724f09a2ba1418f142f539b2be99fbf4d2d5a8f7330afb8eb" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki-roots" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552ceb903e957524388c4d3475725ff2c8b7960922063af6ce53c9a43da07449" -dependencies = [ - "webpki 0.22.0", -] - -[[package]] -name = "weezl" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b77fdfd5a253be4ab714e4ffa3c49caf146b4de743e97510c0656cf90f1e8e" - -[[package]] -name = "which" -version = "4.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae" -dependencies = [ - "either", - "lazy_static", - "libc", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi", -] - -[[package]] -name = "wyz" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e" -dependencies = [ - "tap", -] - -[[package]] -name = "xattr" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c" -dependencies = [ - "libc", -] - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "zeroize" -version = "1.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb5728b8afd3f280a869ce1d4c554ffaed35f45c231fc41bfbd0381bef50317" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.16", - "syn 1.0.89", - "synstructure", -] - -[[package]] -name = "zip" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf225bcf73bb52cbb496e70475c7bd7a3f769df699c0020f6c7bd9a96dcf0b8d" -dependencies = [ - "aes", - "byteorder", - "bzip2", - "constant_time_eq", - "crc32fast", - "crossbeam-utils", - "flate2", - "hmac 0.12.1", - "pbkdf2 0.10.1", - "sha1", - "time 0.3.9", - "zstd", -] - -[[package]] -name = "zipkin" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0457aa320de98fa42cc4803accc3ae11353e1fecae5aa32446baafd9ccf6e46" -dependencies = [ - "lazycell", - "log", - "pin-project-lite", - "rand 0.8.5", - "zipkin-types", -] - -[[package]] -name = "zipkin-types" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daea6189557992dcad925fd8cd069f3cf6f85a731c65561d648009d73d7bd489" -dependencies = [ - "data-encoding", -] - -[[package]] -name = "zstd" -version = "0.10.0+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b1365becbe415f3f0fcd024e2f7b45bacfb5bdd055f0dc113571394114e7bdd" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "4.1.4+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f7cd17c9af1a4d6c24beb1cc54b17e2ef7b593dc92f19e9d9acad8b182bbaee" -dependencies = [ - "libc", - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "1.6.3+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8" -dependencies = [ - "cc", - "libc", -] diff --git a/src/catalyst-toolbox/Cargo.toml b/src/catalyst-toolbox/Cargo.toml deleted file mode 100644 index 9c325c3e9e..0000000000 --- a/src/catalyst-toolbox/Cargo.toml +++ /dev/null @@ -1,5 +0,0 @@ -[workspace] -members = [ - "catalyst-toolbox", - "snapshot-lib" -] diff --git a/src/catalyst-toolbox/catalyst-toolbox/scripts/python/requirements.txt b/src/catalyst-toolbox/catalyst-toolbox/scripts/python/requirements.txt index 1505591afd..5d60197c0a 100644 --- a/src/catalyst-toolbox/catalyst-toolbox/scripts/python/requirements.txt +++ b/src/catalyst-toolbox/catalyst-toolbox/scripts/python/requirements.txt @@ -1,4 +1,4 @@ httpx==0.17.1 -pydantic==1.8.1 +pydantic==1.8.2 typer==0.3.2 pyYAML==6.0 diff --git a/src/chain-libs/.envrc b/src/chain-libs/.envrc new file mode 100644 index 0000000000..3550a30f2d --- /dev/null +++ b/src/chain-libs/.envrc @@ -0,0 +1 @@ +use flake diff --git a/src/chain-libs/.gitignore b/src/chain-libs/.gitignore index 7179e2d6ad..9fe63ea931 100644 --- a/src/chain-libs/.gitignore +++ b/src/chain-libs/.gitignore @@ -2,3 +2,5 @@ /Cargo.lock **/target/ + +.direnv/ diff --git a/src/chain-libs/Cargo.toml b/src/chain-libs/Cargo.toml deleted file mode 100644 index fa99397f7a..0000000000 --- a/src/chain-libs/Cargo.toml +++ /dev/null @@ -1,22 +0,0 @@ -[workspace] -members = [ - "imhamt", - "chain-ser", - "chain-core", - "chain-vote", - "chain-addr", - "chain-time", - "chain-crypto", - "chain-network", - "chain-storage", - "chain-impl-mockchain", - "chain-evm", - "cardano-legacy-address", - "sparse-array", - "typed-bytes", -] - -[profile.bench] -# Embed debuginfo into benchmarks for profiling. All other settings remain the -# same and are similar to the `release` profile. -debug = true diff --git a/src/chain-libs/chain-crypto/src/digest.rs b/src/chain-libs/chain-crypto/src/digest.rs index 71bb4e5446..0f5378f42e 100644 --- a/src/chain-libs/chain-crypto/src/digest.rs +++ b/src/chain-libs/chain-crypto/src/digest.rs @@ -191,8 +191,6 @@ macro_rules! define_from_instances { define_from_instances!(Blake2b256, 32, "blake2b"); -unsafe impl Send for Digest {} - impl PartialEq for Digest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -277,8 +275,6 @@ pub struct DigestOf { marker: PhantomData, } -unsafe impl Send for DigestOf {} - impl Clone for DigestOf { fn clone(&self) -> Self { DigestOf { diff --git a/src/chain-libs/chain-crypto/src/testing.rs b/src/chain-libs/chain-crypto/src/testing.rs index 8070d92841..485bf635fb 100644 --- a/src/chain-libs/chain-crypto/src/testing.rs +++ b/src/chain-libs/chain-crypto/src/testing.rs @@ -150,7 +150,7 @@ impl Arbitrary for digest::Digest { } } -impl Arbitrary for digest::DigestOf { +impl Arbitrary for digest::DigestOf { fn arbitrary(g: &mut G) -> Self { let bytes: Vec<_> = std::iter::repeat_with(|| u8::arbitrary(g)) .take(26) // actual number doesn't really matter diff --git a/src/chain-libs/chain-evm/src/transaction.rs b/src/chain-libs/chain-evm/src/transaction.rs index 2fd6218dae..805fa51357 100644 --- a/src/chain-libs/chain-evm/src/transaction.rs +++ b/src/chain-libs/chain-evm/src/transaction.rs @@ -99,7 +99,7 @@ impl Decodable for EthereumUnsignedTransaction { fn decode(rlp: &Rlp<'_>) -> Result { let slice = rlp.data()?; - let first = *slice.get(0).ok_or(DecoderError::Custom("empty slice"))?; + let first = *slice.first().ok_or(DecoderError::Custom("empty slice"))?; let item_count = rlp.item_count()?; diff --git a/src/chain-libs/chain-impl-mockchain/src/config.rs b/src/chain-libs/chain-impl-mockchain/src/config.rs index 2ae42dc5e4..676c2caa0c 100644 --- a/src/chain-libs/chain-impl-mockchain/src/config.rs +++ b/src/chain-libs/chain-impl-mockchain/src/config.rs @@ -120,7 +120,7 @@ pub struct EvmEnvSettings { } // Discriminants can NEVER be 1024 or higher -#[derive(AsRefStr, Clone, Copy, Debug, EnumIter, EnumString, PartialEq)] +#[derive(AsRefStr, Clone, Copy, Debug, EnumIter, EnumString, PartialEq, Eq)] pub enum Tag { #[strum(to_string = "discrimination")] Discrimination = 1, diff --git a/src/chain-libs/chain-impl-mockchain/src/header/cstruct.rs b/src/chain-libs/chain-impl-mockchain/src/header/cstruct.rs index 52156fb187..2ceb57da7a 100644 --- a/src/chain-libs/chain-impl-mockchain/src/header/cstruct.rs +++ b/src/chain-libs/chain-impl-mockchain/src/header/cstruct.rs @@ -242,7 +242,7 @@ impl Header { } } -#[derive(Debug, Clone, thiserror::Error, PartialEq)] +#[derive(Debug, Clone, thiserror::Error, PartialEq, Eq)] pub enum HeaderError { #[error("invalid payload size for block header")] InvalidSize, diff --git a/src/chain-libs/chain-impl-mockchain/src/lib.rs b/src/chain-libs/chain-impl-mockchain/src/lib.rs index 0bb4310690..6e806cfc7d 100644 --- a/src/chain-libs/chain-impl-mockchain/src/lib.rs +++ b/src/chain-libs/chain-impl-mockchain/src/lib.rs @@ -1,4 +1,5 @@ #![warn(clippy::all)] +#![allow(clippy::derive_partial_eq_without_eq)] #[cfg(any(test, feature = "property-test-api"))] #[macro_use] diff --git a/src/chain-libs/chain-impl-mockchain/src/testing/builders/tx_builder.rs b/src/chain-libs/chain-impl-mockchain/src/testing/builders/tx_builder.rs index 59dbde3c36..3eaa4282aa 100644 --- a/src/chain-libs/chain-impl-mockchain/src/testing/builders/tx_builder.rs +++ b/src/chain-libs/chain-impl-mockchain/src/testing/builders/tx_builder.rs @@ -20,7 +20,7 @@ pub struct TestTxBuilder { witness_mode: WitnessMode, } -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct TestTx { tx: Transaction, } diff --git a/src/chain-libs/chain-impl-mockchain/src/utxo.rs b/src/chain-libs/chain-impl-mockchain/src/utxo.rs index 4d9e6491ab..8b894dba72 100644 --- a/src/chain-libs/chain-impl-mockchain/src/utxo.rs +++ b/src/chain-libs/chain-impl-mockchain/src/utxo.rs @@ -98,7 +98,7 @@ impl fmt::Debug for Ledger
{ /// structure used by the iterator or the getter of the UTxO `Ledger` /// -#[derive(Debug, PartialEq, Clone)] +#[derive(Debug, PartialEq, Eq, Clone)] pub struct Entry<'a, OutputAddress> { pub fragment_id: FragmentId, pub output_index: u8, @@ -107,7 +107,7 @@ pub struct Entry<'a, OutputAddress> { /// structure used by the iterator or the getter of the UTxO `Ledger` /// -#[derive(Debug, PartialEq, Clone)] +#[derive(Debug, PartialEq, Eq, Clone)] pub struct EntryOwned { pub fragment_id: FragmentId, pub output_index: u8, diff --git a/src/chain-libs/chain-network/src/lib.rs b/src/chain-libs/chain-network/src/lib.rs index 6df9e03d04..b4c496afcd 100644 --- a/src/chain-libs/chain-network/src/lib.rs +++ b/src/chain-libs/chain-network/src/lib.rs @@ -1,4 +1,5 @@ #![warn(clippy::all)] +#![allow(clippy::derive_partial_eq_without_eq)] pub mod core; pub mod data; diff --git a/src/chain-libs/chain-vote/Cargo.toml b/src/chain-libs/chain-vote/Cargo.toml index 92b852484b..b7bfabaae9 100644 --- a/src/chain-libs/chain-vote/Cargo.toml +++ b/src/chain-libs/chain-vote/Cargo.toml @@ -31,3 +31,8 @@ name = "shvzk" default = ["ristretto255"] ristretto255 = [] p256k1 = ["chain-crypto/p256k1"] + +[profile.bench] +# Embed debuginfo into benchmarks for profiling. All other settings remain the +# same and are similar to the `release` profile. +debug = true diff --git a/src/chain-libs/flake.lock b/src/chain-libs/flake.lock new file mode 100644 index 0000000000..b31b334d21 --- /dev/null +++ b/src/chain-libs/flake.lock @@ -0,0 +1,88 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "naersk": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1662220400, + "narHash": "sha256-9o2OGQqu4xyLZP9K6kNe1pTHnyPz0Wr3raGYnr9AIgY=", + "owner": "nix-community", + "repo": "naersk", + "rev": "6944160c19cb591eb85bbf9b2f2768a935623ed3", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "naersk", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1664780719, + "narHash": "sha256-Oxe6la5dSqRfJogjtY4sRzJjDDqvroJIVkcGEOT87MA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "fd54651f5ffb4a36e8463e0c327a78442b26cbe7", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "naersk": "naersk", + "nixpkgs": "nixpkgs", + "rust-overlay": "rust-overlay" + } + }, + "rust-overlay": { + "inputs": { + "flake-utils": [ + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1664938250, + "narHash": "sha256-LdLOcoyqX0cO6ceYdOo3O/aMWX10x4p14KdlH6DKl04=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "e6531ebf628998fd03f6e5f4e3939b34bfd374f3", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/src/chain-libs/flake.nix b/src/chain-libs/flake.nix new file mode 100644 index 0000000000..135b0da7f5 --- /dev/null +++ b/src/chain-libs/flake.nix @@ -0,0 +1,34 @@ +{ + + description = "Flake providing dev shell for chain-libs development"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + rust-overlay.url = "github:oxalica/rust-overlay"; + rust-overlay.inputs.flake-utils.follows = "flake-utils"; + rust-overlay.inputs.nixpkgs.follows = "nixpkgs"; + naersk.url = "github:nix-community/naersk"; + naersk.inputs.nixpkgs.follows = "nixpkgs"; + }; + + outputs = { self, nixpkgs, flake-utils, rust-overlay, naersk }: flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + overlays = [ (import rust-overlay) ]; + }; + in + { + devShells.default = pkgs.mkShell + { + nativeBuildInputs = with pkgs; [ + rust-bin.stable.latest.default + pkg-config + protobuf + ]; + + }; + }); + +} diff --git a/src/chain-wallet-libs/Cargo.lock b/src/chain-wallet-libs/Cargo.lock deleted file mode 100644 index 8a1a698e2a..0000000000 --- a/src/chain-wallet-libs/Cargo.lock +++ /dev/null @@ -1,1633 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "ahash" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "991984e3fd003e7ba02eb724f87a0f997b78677c46c0e91f8424ad7394c9886a" -dependencies = [ - "getrandom 0.2.3", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5" -dependencies = [ - "memchr", -] - -[[package]] -name = "anyhow" -version = "1.0.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee10e43ae4a853c0a3591d4e2ada1719e553be18199d9da9d4a83f5927c2f5c7" - -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - -[[package]] -name = "askama" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d298738b6e47e1034e560e5afe63aa488fea34e25ec11b855a76f0d7b8e73134" -dependencies = [ - "askama_derive", - "askama_escape", - "askama_shared", -] - -[[package]] -name = "askama_derive" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2925c4c290382f9d2fa3d1c1b6a63fa1427099721ecca4749b154cc9c25522" -dependencies = [ - "askama_shared", - "proc-macro2", - "syn", -] - -[[package]] -name = "askama_escape" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90c108c1a94380c89d2215d0ac54ce09796823cca0fd91b299cfff3b33e346fb" - -[[package]] -name = "askama_shared" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2582b77e0f3c506ec4838a25fa8a5f97b9bed72bb6d3d272ea1c031d8bd373bc" -dependencies = [ - "askama_escape", - "nom 6.2.1", - "proc-macro2", - "quote", - "serde", - "syn", - "toml", -] - -[[package]] -name = "autocfg" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" - -[[package]] -name = "bech32" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1" - -[[package]] -name = "bech32" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9ff0bbfd639f15c74af777d81383cf53efb7c93613f6cab67c6c11e05bbf8b" - -[[package]] -name = "bip39" -version = "0.1.0" -dependencies = [ - "cryptoxide", - "hex", - "quickcheck", - "quickcheck_macros", - "rand 0.8.4", - "thiserror", - "unicode-normalization", - "zeroize", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitvec" -version = "0.19.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321" -dependencies = [ - "funty", - "radium", - "tap", - "wyz", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1d36a02058e76b040de25a4464ba1c80935655595b661505c8b39b664828b95" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bumpalo" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" - -[[package]] -name = "camino" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52d74260d9bf6944e2208aa46841b4b8f0d7ffc0849a06837b2f510337f86b2b" -dependencies = [ - "serde", -] - -[[package]] -name = "cardano-legacy-address" -version = "0.1.1" -dependencies = [ - "cbor_event", - "cryptoxide", - "ed25519-bip32", -] - -[[package]] -name = "cargo-platform" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo_metadata" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "081e3f0755c1f380c2d010481b6fa2e02973586d5f2b24eebb7a2a1d98b143d8" -dependencies = [ - "camino", - "cargo-platform", - "semver 0.11.0", - "semver-parser", - "serde", - "serde_json", -] - -[[package]] -name = "cbor_event" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b6cda8a789815488ee290d106bc97dba47785dae73d63576fc42c126912a451" - -[[package]] -name = "cc" -version = "1.0.70" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chain-addr" -version = "0.1.0" -dependencies = [ - "bech32 0.8.1", - "chain-core", - "chain-crypto", - "cryptoxide", -] - -[[package]] -name = "chain-core" -version = "0.1.0" -dependencies = [ - "chain-ser", -] - -[[package]] -name = "chain-crypto" -version = "0.1.0" -dependencies = [ - "bech32 0.8.1", - "cryptoxide", - "curve25519-dalek-ng", - "ed25519-bip32", - "ed25519-dalek", - "generic-array", - "hex", - "rand_core 0.6.3", - "rayon", - "sha2 0.10.1", - "typed-bytes", -] - -[[package]] -name = "chain-impl-mockchain" -version = "0.1.0" -dependencies = [ - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-ser", - "chain-time", - "chain-vote", - "cryptoxide", - "hex", - "imhamt", - "rand 0.8.4", - "rand_core 0.6.3", - "sparse-array", - "strum", - "strum_macros", - "thiserror", - "typed-bytes", -] - -[[package]] -name = "chain-path-derivation" -version = "0.1.0" -dependencies = [ - "paste 0.1.18", - "quickcheck", - "quickcheck_macros", - "thiserror", -] - -[[package]] -name = "chain-ser" -version = "0.1.0" -dependencies = [ - "thiserror", -] - -[[package]] -name = "chain-time" -version = "0.1.0" -dependencies = [ - "chain-core", - "chain-ser", -] - -[[package]] -name = "chain-vote" -version = "0.1.0" -dependencies = [ - "cfg-if 0.1.10", - "chain-core", - "chain-crypto", - "const_format", - "cryptoxide", - "rand 0.8.4", - "rand_core 0.6.3", - "rayon", - "thiserror", -] - -[[package]] -name = "clap" -version = "2.33.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" -dependencies = [ - "bitflags", - "textwrap", - "unicode-width", -] - -[[package]] -name = "clear_on_drop" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9cc5db465b294c3fa986d5bbb0f3017cd850bff6dd6c52f9ccff8b4d21b7b08" -dependencies = [ - "cc", -] - -[[package]] -name = "console_error_panic_hook" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8d976903543e0c48546a91908f21588a680a8c8f984df9a5d69feccb2b2a211" -dependencies = [ - "cfg-if 0.1.10", - "wasm-bindgen", -] - -[[package]] -name = "const_format" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59c7d3aa11be45d56befebb10f4a8785fcb62aabddf5f33638efef922e505ec9" -dependencies = [ - "const_format_proc_macros", -] - -[[package]] -name = "const_format_proc_macros" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c36c619c422113552db4eb28cddba8faa757e33f758cc3415bd2885977b591" -dependencies = [ - "proc-macro2", - "quote", - "unicode-xid", -] - -[[package]] -name = "cpufeatures" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469" -dependencies = [ - "libc", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", - "lazy_static", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" -dependencies = [ - "cfg-if 1.0.0", - "lazy_static", -] - -[[package]] -name = "crypto-common" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d6b536309245c849479fba3da410962a43ed8e51c26b729208ec0ac2798d0" -dependencies = [ - "generic-array", -] - -[[package]] -name = "cryptoxide" -version = "0.4.2" -source = "git+https://github.com/typed-io/cryptoxide.git#c953d1bfb22294d43098b8926e0ea215025d2061" - -[[package]] -name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek-ng" -version = "4.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "574d8b2cd0bae5434fd50d53280f8299d95557a978686555880aaf5b8f4f81e9" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.6.3", - "subtle-ng", - "zeroize", -] - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - -[[package]] -name = "digest" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b697d66081d42af4fba142d56918a3cb21dc8eb63372c6b85d14f44fb9c5979b" -dependencies = [ - "block-buffer 0.10.0", - "crypto-common", - "generic-array", -] - -[[package]] -name = "ed25519" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4620d40f6d2601794401d6dd95a5cf69b6c157852539470eeda433a99b3c0efc" -dependencies = [ - "signature", -] - -[[package]] -name = "ed25519-bip32" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb588f93c0d91b2f668849fd6d030cddb0b2e31f105963be189da5acdf492a21" -dependencies = [ - "cryptoxide", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek", - "ed25519", - "rand 0.7.3", - "serde", - "sha2 0.9.6", - "zeroize", -] - -[[package]] -name = "either" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" - -[[package]] -name = "env_logger" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "funty" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" - -[[package]] -name = "generic-array" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "libc", - "wasi 0.10.2+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "glob" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" - -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" -dependencies = [ - "ahash", -] - -[[package]] -name = "hashlink" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7249a3129cbc1ffccd74857f81464a323a152173cdb134e0fd81bc803b29facf" -dependencies = [ - "hashbrown", -] - -[[package]] -name = "hdkeygen" -version = "0.2.0" -dependencies = [ - "bip39", - "cardano-legacy-address", - "cbor_event", - "chain-addr", - "chain-crypto", - "chain-path-derivation", - "cryptoxide", - "ed25519-bip32", - "hex", - "quickcheck", - "quickcheck_macros", - "thiserror", - "zeroize", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "imhamt" -version = "0.1.0" -dependencies = [ - "rustc_version", - "thiserror", -] - -[[package]] -name = "itertools" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "jormungandrwallet" -version = "0.7.0-pre4" -dependencies = [ - "bip39", - "chain-addr", - "chain-impl-mockchain", - "chain-ser", - "wallet", - "wallet-core", -] - -[[package]] -name = "js-sys" -version = "0.3.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4bf49d50e2961077d9c99f4b7997d770a1114f087c3c2e0069b36c13fc2979d" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "lexical-core" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" -dependencies = [ - "arrayvec", - "bitflags", - "cfg-if 1.0.0", - "ryu", - "static_assertions", -] - -[[package]] -name = "libc" -version = "0.2.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21" - -[[package]] -name = "log" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "memchr" -version = "2.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" - -[[package]] -name = "memoffset" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - -[[package]] -name = "nom" -version = "5.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" -dependencies = [ - "memchr", - "version_check", -] - -[[package]] -name = "nom" -version = "6.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c5c51b9083a3c620fa67a2a635d1ce7d95b897e957d6b28ff9a5da960a103a6" -dependencies = [ - "bitvec", - "funty", - "lexical-core", - "memchr", - "version_check", -] - -[[package]] -name = "num_cpus" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "once_cell" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "paste" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" -dependencies = [ - "paste-impl", - "proc-macro-hack", -] - -[[package]] -name = "paste" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" - -[[package]] -name = "paste-impl" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" -dependencies = [ - "proc-macro-hack", -] - -[[package]] -name = "pest" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" -dependencies = [ - "ucd-trie", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" - -[[package]] -name = "proc-macro-hack" -version = "0.5.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" - -[[package]] -name = "proc-macro2" -version = "1.0.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d" -dependencies = [ - "unicode-xid", -] - -[[package]] -name = "quickcheck" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44883e74aa97ad63db83c4bf8ca490f02b2fc02f92575e720c8551e843c945f" -dependencies = [ - "env_logger", - "log", - "rand 0.7.3", - "rand_core 0.5.1", -] - -[[package]] -name = "quickcheck_macros" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608c156fd8e97febc07dc9c2e2c80bf74cfc6ef26893eae3daf8bc2bc94a4b7f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "quote" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "radium" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc 0.2.0", -] - -[[package]] -name = "rand" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "rand_hc 0.3.1", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom 0.2.3", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_hc" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rayon" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" -dependencies = [ - "autocfg", - "crossbeam-deque", - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "lazy_static", - "num_cpus", -] - -[[package]] -name = "regex" -version = "1.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a26af418b574bd56588335b3a3659a65725d4e636eb1016c2f9e3b38c7cc759" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.6.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver 1.0.9", -] - -[[package]] -name = "rustversion" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" - -[[package]] -name = "ryu" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" - -[[package]] -name = "scoped-tls" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "semver" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" -dependencies = [ - "semver-parser", - "serde", -] - -[[package]] -name = "semver" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd" - -[[package]] -name = "semver-parser" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" -dependencies = [ - "pest", -] - -[[package]] -name = "serde" -version = "1.0.130" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.130" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "sha2" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9204c41a1597a8c5af23c82d1c921cb01ec0a4c59e07a9c7306062829a3903f3" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha2" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.1", -] - -[[package]] -name = "signature" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19772be3c4dd2ceaacf03cb41d5885f2a02c4d8804884918e3a258480803335" - -[[package]] -name = "sparse-array" -version = "0.1.0" - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strum" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb" - -[[package]] -name = "strum_macros" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "subtle-ng" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8049cf85f0e715d6af38dde439cb0ccb91f67fb9f5f63c80f8b43e48356e1a3f" - -[[package]] -name = "symmetric-cipher" -version = "0.5.0" -dependencies = [ - "cryptoxide", - "rand 0.8.4", - "rand_chacha 0.3.1", - "thiserror", - "zeroize", -] - -[[package]] -name = "syn" -version = "1.0.75" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7f58f7e8eaa0009c5fec437aabf511bd9933e4b2d7407bd05273c01a8906ea7" -dependencies = [ - "proc-macro2", - "quote", - "unicode-xid", -] - -[[package]] -name = "synstructure" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "474aaa926faa1603c40b7885a9eaea29b444d1cb2850cb7c0e37bb1a4182f4fa" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "unicode-xid", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "thiserror" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "283d5230e63df9608ac7d9691adc1dfb6e701225436eb64d0b9a7f0a5a04f6ec" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa3884228611f5cd3608e2d409bf7dce832e4eb3135e3f11addbd7e41bd68e71" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tinyvec" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" - -[[package]] -name = "toml" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" -dependencies = [ - "serde", -] - -[[package]] -name = "typed-bytes" -version = "0.1.0" - -[[package]] -name = "typenum" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" - -[[package]] -name = "ucd-trie" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" - -[[package]] -name = "unicode-normalization" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" - -[[package]] -name = "unicode-width" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" - -[[package]] -name = "unicode-xid" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" - -[[package]] -name = "uniffi" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "472b6bbce3490a55f4f889e382a64803693929fea11e05c1057c0363af8fe019" -dependencies = [ - "anyhow", - "bytes", - "cargo_metadata", - "lazy_static", - "log", - "paste 1.0.5", - "static_assertions", -] - -[[package]] -name = "uniffi_bindgen" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e8e61e7f6d03d3bf70fe16c956061b7b5a5ef571171bb7bec160c86b5a5779" -dependencies = [ - "anyhow", - "askama", - "cargo_metadata", - "clap", - "heck", - "paste 1.0.5", - "serde", - "toml", - "weedle", -] - -[[package]] -name = "uniffi_build" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e41292abe9503cfdc682f53566b785f322548ca728e5b3b6183b0f2694b4225" -dependencies = [ - "anyhow", - "uniffi_bindgen", -] - -[[package]] -name = "uniffi_macros" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ce535e537d6a3004d503b405bde5971a0c0952a836a4c756af23bf09acd823" -dependencies = [ - "glob", - "proc-macro2", - "quote", - "syn", - "uniffi_build", -] - -[[package]] -name = "version_check" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" - -[[package]] -name = "wallet" -version = "0.6.0-pre.1" -dependencies = [ - "bip39", - "cardano-legacy-address", - "cbor_event", - "chain-addr", - "chain-crypto", - "chain-impl-mockchain", - "chain-path-derivation", - "chain-ser", - "chain-time", - "cryptoxide", - "ed25519-bip32", - "hashlink", - "hdkeygen", - "hex", - "imhamt", - "itertools", - "quickcheck", - "quickcheck_macros", - "thiserror", - "zeroize", -] - -[[package]] -name = "wallet-core" -version = "0.7.0-pre4" -dependencies = [ - "bech32 0.7.3", - "bip39", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-path-derivation", - "chain-ser", - "chain-time", - "chain-vote", - "hdkeygen", - "rand 0.8.4", - "rand_chacha 0.3.1", - "symmetric-cipher", - "thiserror", - "wallet", -] - -[[package]] -name = "wallet-js" -version = "0.7.0-pre4" -dependencies = [ - "bech32 0.7.3", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-vote", - "clear_on_drop", - "console_error_panic_hook", - "getrandom 0.2.3", - "hex", - "js-sys", - "rand 0.8.4", - "rand_chacha 0.3.1", - "symmetric-cipher", - "wallet-core", - "wasm-bindgen", - "wasm-bindgen-test", - "wee_alloc", -] - -[[package]] -name = "wallet-uniffi" -version = "0.1.0" -dependencies = [ - "chain-addr", - "chain-crypto", - "chain-impl-mockchain", - "chain-ser", - "chain-time", - "chain-vote", - "symmetric-cipher", - "thiserror", - "uniffi", - "uniffi_build", - "uniffi_macros", - "wallet", - "wallet-core", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" - -[[package]] -name = "wasm-bindgen" -version = "0.2.76" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce9b1b516211d33767048e5d47fa2a381ed8b76fc48d2ce4aa39877f9f183e0" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.76" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe8dc78e2326ba5f845f4b5bf548401604fa20b1dd1d365fb73b6c1d6364041" -dependencies = [ - "bumpalo", - "lazy_static", - "log", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fded345a6559c2cfee778d562300c581f7d4ff3edb9b0d230d69800d213972" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.76" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44468aa53335841d9d6b6c023eaab07c0cd4bddbcfdee3e2bb1e8d2cb8069fef" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.76" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0195807922713af1e67dc66132c7328206ed9766af3858164fb583eedc25fbad" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.76" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acdb075a845574a1fa5f09fd77e43f7747599301ea3417a9fbffdeedfc1f4a29" - -[[package]] -name = "wasm-bindgen-test" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046f563713e2e7a602f0b45d49a564355f9a8a404cac3fa27b9855718f6ba97a" -dependencies = [ - "console_error_panic_hook", - "js-sys", - "scoped-tls", - "wasm-bindgen", - "wasm-bindgen-futures", - "wasm-bindgen-test-macro", -] - -[[package]] -name = "wasm-bindgen-test-macro" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b561e538d0e87b844dd2ce4608581373854f19c4fa2c473570d9fa3797eeb56" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "web-sys" -version = "0.3.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224b2f6b67919060055ef1a67807367c2066ed520c3862cc013d26cf893a783c" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "wee_alloc" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" -dependencies = [ - "cfg-if 0.1.10", - "libc", - "memory_units", - "winapi", -] - -[[package]] -name = "weedle" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "610950904727748ca09682e857f0d6d6437f0ca862f32f9229edba8cec8b2635" -dependencies = [ - "nom 5.1.2", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "wyz" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" - -[[package]] -name = "zeroize" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50344758e2f40e3a1fcfc8f6f91aa57b5f8ebd8d27919fe6451f15aaaf9ee608" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] diff --git a/src/chain-wallet-libs/Cargo.toml b/src/chain-wallet-libs/Cargo.toml deleted file mode 100644 index 5657f044e0..0000000000 --- a/src/chain-wallet-libs/Cargo.toml +++ /dev/null @@ -1,18 +0,0 @@ -[workspace] -members = [ - "bip39", - "chain-path-derivation", - "hdkeygen", - "wallet", - "symmetric-cipher", - "bindings/wallet-c", - "bindings/wallet-js", - "bindings/wallet-uniffi", -] - -[profile.release] -lto = "yes" -strip = "symbols" - -[patch.crates-io] -cryptoxide = { git = "https://github.com/typed-io/cryptoxide.git" } diff --git a/src/chain-wallet-libs/bindings/wallet-c/Cargo.toml b/src/chain-wallet-libs/bindings/wallet-c/Cargo.toml index ceb65869a8..c24879a271 100644 --- a/src/chain-wallet-libs/bindings/wallet-c/Cargo.toml +++ b/src/chain-wallet-libs/bindings/wallet-c/Cargo.toml @@ -15,3 +15,7 @@ chain-ser = { path = "../../../chain-libs/chain-ser" } chain-addr = { path = "../../../chain-libs/chain-addr" } chain-impl-mockchain = { path = "../../../chain-libs/chain-impl-mockchain" } wallet-core = { path = "../wallet-core"} + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/bindings/wallet-core/Cargo.toml b/src/chain-wallet-libs/bindings/wallet-core/Cargo.toml index 77f9819f39..7be21340ab 100644 --- a/src/chain-wallet-libs/bindings/wallet-core/Cargo.toml +++ b/src/chain-wallet-libs/bindings/wallet-core/Cargo.toml @@ -30,3 +30,7 @@ rand = { version = "0.8.3", features = ["getrandom"] } [dev-dependencies] rand_chacha = "0.3.0" + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/bindings/wallet-core/src/c/fragment.rs b/src/chain-wallet-libs/bindings/wallet-core/src/c/fragment.rs index a5c20c37b5..7b69857e75 100644 --- a/src/chain-wallet-libs/bindings/wallet-core/src/c/fragment.rs +++ b/src/chain-wallet-libs/bindings/wallet-core/src/c/fragment.rs @@ -63,6 +63,6 @@ pub unsafe fn fragment_id(fragment_ptr: FragmentPtr, id_out: *mut u8) -> Result /// pub unsafe fn fragment_delete(fragment_ptr: FragmentPtr) { if !fragment_ptr.is_null() { - let _ = Box::from_raw(fragment_ptr as FragmentPtr); + let _dealloc = Box::from_raw(fragment_ptr as FragmentPtr); } } diff --git a/src/chain-wallet-libs/bindings/wallet-js/Cargo.toml b/src/chain-wallet-libs/bindings/wallet-js/Cargo.toml index 08f9abf2ff..e9eabae2ad 100644 --- a/src/chain-wallet-libs/bindings/wallet-js/Cargo.toml +++ b/src/chain-wallet-libs/bindings/wallet-js/Cargo.toml @@ -37,13 +37,6 @@ bech32 = "0.7.2" # code size when deploying. console_error_panic_hook = {version = "0.1.1", optional = true} -# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size -# compared to the default allocator's ~10K. It is slower than the default -# allocator, however. -# -# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now. -wee_alloc = {version = "0.4.2", optional = true} - # clear_on_drop is a dependency of ed25519_dalek # The default can't be compiled to wasm, so it's necessary to enable either the 'nightly' # feature or this one. @@ -56,3 +49,7 @@ hex = "0.4.2" # See https://github.com/rustwasm/wasm-pack/issues/886 [package.metadata.wasm-pack.profile.release] wasm-opt = ["-O4", "--enable-mutable-globals"] + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/bindings/wallet-uniffi/Cargo.toml b/src/chain-wallet-libs/bindings/wallet-uniffi/Cargo.toml index 90c4febeb2..6a329485f9 100644 --- a/src/chain-wallet-libs/bindings/wallet-uniffi/Cargo.toml +++ b/src/chain-wallet-libs/bindings/wallet-uniffi/Cargo.toml @@ -26,3 +26,7 @@ uniffi_build = "0.16.0" [features] builtin-bindgen = ["uniffi_build/builtin-bindgen"] + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/bip39/Cargo.toml b/src/chain-wallet-libs/bip39/Cargo.toml index d4dd2994ac..77c80bb492 100644 --- a/src/chain-wallet-libs/bip39/Cargo.toml +++ b/src/chain-wallet-libs/bip39/Cargo.toml @@ -16,3 +16,7 @@ quickcheck_macros = "0.9" unicode-normalization = "*" rand = "*" hex = "*" + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/chain-path-derivation/Cargo.toml b/src/chain-wallet-libs/chain-path-derivation/Cargo.toml index 493ec13526..db3d325b1c 100644 --- a/src/chain-wallet-libs/chain-path-derivation/Cargo.toml +++ b/src/chain-wallet-libs/chain-path-derivation/Cargo.toml @@ -11,4 +11,8 @@ thiserror = { version = "1.0.13", default-features = false } [dev-dependencies] quickcheck = "0.9" quickcheck_macros = "0.9" -paste = "0.1.8" \ No newline at end of file +paste = "0.1.8" + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/hdkeygen/Cargo.toml b/src/chain-wallet-libs/hdkeygen/Cargo.toml index 70a99acd17..82cfb43a80 100644 --- a/src/chain-wallet-libs/hdkeygen/Cargo.toml +++ b/src/chain-wallet-libs/hdkeygen/Cargo.toml @@ -22,3 +22,7 @@ cardano-legacy-address = { path = "../../chain-libs/cardano-legacy-address" } [dev-dependencies] quickcheck = "0.9" quickcheck_macros = "0.9" + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/symmetric-cipher/Cargo.toml b/src/chain-wallet-libs/symmetric-cipher/Cargo.toml index 93b2b04671..3dc3460bf6 100644 --- a/src/chain-wallet-libs/symmetric-cipher/Cargo.toml +++ b/src/chain-wallet-libs/symmetric-cipher/Cargo.toml @@ -15,3 +15,7 @@ zeroize = "1.5.3" [dev-dependencies] rand_chacha = "0.3.0" + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/chain-wallet-libs/wallet/Cargo.toml b/src/chain-wallet-libs/wallet/Cargo.toml index 9dca3cf973..504850d8d6 100644 --- a/src/chain-wallet-libs/wallet/Cargo.toml +++ b/src/chain-wallet-libs/wallet/Cargo.toml @@ -29,3 +29,7 @@ imhamt = { path = "../../chain-libs/imhamt" } quickcheck = "0.9" quickcheck_macros = "0.9" chain-ser = { path = "../../chain-libs/chain-ser" } + +[profile.release] +lto = "yes" +strip = "symbols" diff --git a/src/jormungandr/Cargo.lock b/src/jormungandr/Cargo.lock deleted file mode 100644 index 3890212fea..0000000000 --- a/src/jormungandr/Cargo.lock +++ /dev/null @@ -1,5793 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "Inflector" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" -dependencies = [ - "lazy_static", - "regex", -] - -[[package]] -name = "addr2line" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[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.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" -dependencies = [ - "cfg-if 1.0.0", - "cipher", - "cpufeatures", - "opaque-debug", -] - -[[package]] -name = "aes-gcm" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" -dependencies = [ - "aead", - "aes", - "cipher", - "ctr", - "ghash", - "subtle", -] - -[[package]] -name = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom 0.2.7", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e" -dependencies = [ - "memchr", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - -[[package]] -name = "anyhow" -version = "1.0.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9a8f622bcf6ff3df478e9deba3e03e4e04b300f8e6a139e192c05fa3490afc7" - -[[package]] -name = "arc-swap" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "983cd8b9d4b02a6dc6ffa557262eb5858a27a0038ffffe21a0f133eaa819a164" - -[[package]] -name = "arrayref" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" - -[[package]] -name = "arrayvec" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "ascii" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" - -[[package]] -name = "ascii_utils" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71938f30533e4d95a6d17aa530939da3842c2ab6f4f84b9dae68447e4129f74a" - -[[package]] -name = "assert_cmd" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e" -dependencies = [ - "bstr", - "doc-comment", - "predicates", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - -[[package]] -name = "assert_fs" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf09bb72e00da477c2596865e8873227e2196d263cca35414048875dbbeea1be" -dependencies = [ - "doc-comment", - "globwalk", - "predicates", - "predicates-core", - "predicates-tree", - "tempfile", -] - -[[package]] -name = "async-graphql" -version = "4.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7b4acd72d35f568664599c2cde503228b29910ca36656b653984c31c5a28cd6" -dependencies = [ - "async-graphql-derive", - "async-graphql-parser", - "async-graphql-value", - "async-stream", - "async-trait", - "base64", - "bytes", - "fast_chemail", - "fnv", - "futures-util", - "http", - "indexmap", - "mime", - "multer", - "num-traits", - "once_cell", - "pin-project-lite", - "regex", - "serde", - "serde_json", - "static_assertions", - "tempfile", - "thiserror", -] - -[[package]] -name = "async-graphql-derive" -version = "4.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cead3c5f127c89b0abb2434c250409b9fe75763ee72583d4a90a412a927c8a8" -dependencies = [ - "Inflector", - "async-graphql-parser", - "darling 0.14.1", - "proc-macro-crate 1.2.1", - "proc-macro2", - "quote", - "syn", - "thiserror", -] - -[[package]] -name = "async-graphql-parser" -version = "4.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2e30051a98bcecc8baab3f7a8b12e8e49b365afa81b598ad5dffa49d343f51" -dependencies = [ - "async-graphql-value", - "pest", - "serde", - "serde_json", -] - -[[package]] -name = "async-graphql-value" -version = "4.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47c8c0d67fe10c7c49c6dcc9072b7a5c6c07af3b72b6e67cfb30ee070e2e940c" -dependencies = [ - "bytes", - "indexmap", - "serde", - "serde_json", -] - -[[package]] -name = "async-graphql-warp" -version = "4.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81db0c5c9de2304aa6d2daad3760224c7120ef9bbb1fb299bafe4931eadd121c" -dependencies = [ - "async-graphql", - "futures-util", - "serde_json", - "warp", -] - -[[package]] -name = "async-stream" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e" -dependencies = [ - "async-stream-impl", - "futures-core", -] - -[[package]] -name = "async-stream-impl" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f203db73a71dfa2fb6dd22763990fa26f3d2625a6da2da900d23b87d26be27" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "async-trait" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - -[[package]] -name = "aurora-bn" -version = "0.1.0" -source = "git+https://github.com/aurora-is-near/aurora-bn.git#8f1743884061981cac84388862e2763b2aa09307" -dependencies = [ - "byteorder", - "getrandom 0.2.7", - "rand 0.8.5", - "serde", -] - -[[package]] -name = "auto_impl" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7862e21c893d65a1650125d157eaeec691439379a1cee17ee49031b79236ada4" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" -dependencies = [ - "addr2line", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -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.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1" - -[[package]] -name = "bech32" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9ff0bbfd639f15c74af777d81383cf53efb7c93613f6cab67c6c11e05bbf8b" - -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bit-set" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitvec" -version = "0.20.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" -dependencies = [ - "funty 1.1.0", - "radium 0.6.2", - "tap", - "wyz 0.2.0", -] - -[[package]] -name = "bitvec" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" -dependencies = [ - "funty 2.0.0", - "radium 0.7.0", - "tap", - "wyz 0.5.0", -] - -[[package]] -name = "blake2" -version = "0.9.1" -source = "git+https://github.com/near/near-blake2.git?rev=736ff607cc8160af87ffa697c14ebef85050138f#736ff607cc8160af87ffa697c14ebef85050138f" -dependencies = [ - "crypto-mac 0.8.0", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" -dependencies = [ - "generic-array", -] - -[[package]] -name = "blockchain" -version = "0.1.0" -dependencies = [ - "chain-impl-mockchain", - "chain-time", - "lru", - "thiserror", -] - -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - -[[package]] -name = "bstr" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" -dependencies = [ - "lazy_static", - "memchr", - "regex-automata", - "serde", -] - -[[package]] -name = "buf_redux" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f" -dependencies = [ - "memchr", - "safemem", -] - -[[package]] -name = "bumpalo" -version = "3.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" - -[[package]] -name = "byte-slice-cast" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" -dependencies = [ - "serde", -] - -[[package]] -name = "bytesize" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c58ec36aac5066d5ca17df51b3e70279f5670a72102f5752cb7e7c856adfc70" - -[[package]] -name = "bzip2" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afcd980b5f3a45017c57e57a2fcccbb351cc43a356ce117ef760ef8052b89b0" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "cardano-legacy-address" -version = "0.1.1" -dependencies = [ - "cbor_event", - "cryptoxide 0.4.2", - "ed25519-bip32", -] - -[[package]] -name = "cast" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" - -[[package]] -name = "cbor_event" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52b3d8b289b6c7d6d8832c8e2bf151c7677126afa627f51e19a6320aec8237cb" - -[[package]] -name = "cc" -version = "1.0.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" -dependencies = [ - "jobserver", -] - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chacha20" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" -dependencies = [ - "cfg-if 1.0.0", - "cipher", - "cpufeatures", - "zeroize", -] - -[[package]] -name = "chacha20poly1305" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" -dependencies = [ - "aead", - "chacha20", - "cipher", - "poly1305", - "zeroize", -] - -[[package]] -name = "chain-addr" -version = "0.1.0" -dependencies = [ - "bech32 0.8.1", - "chain-core", - "chain-crypto", - "cryptoxide 0.4.2", - "proptest", - "quickcheck", - "test-strategy", -] - -[[package]] -name = "chain-core" -version = "0.1.0" -dependencies = [ - "chain-ser", -] - -[[package]] -name = "chain-crypto" -version = "0.1.0" -dependencies = [ - "bech32 0.8.1", - "cryptoxide 0.4.2", - "curve25519-dalek-ng", - "ed25519-bip32", - "ed25519-dalek", - "generic-array", - "hex", - "proptest", - "quickcheck", - "rand 0.8.5", - "rand_core 0.6.3", - "rayon", - "sha2 0.10.5", - "test-strategy", - "typed-bytes", -] - -[[package]] -name = "chain-evm" -version = "0.1.0" -dependencies = [ - "aurora-bn", - "base64", - "blake2", - "byte-slice-cast", - "chain-core", - "chain-ser", - "ethabi", - "ethereum", - "ethereum-types", - "evm", - "hex", - "imhamt", - "libsecp256k1", - "num", - "quickcheck", - "ripemd", - "rlp", - "secp256k1", - "sha2 0.10.5", - "sha3", - "thiserror", - "typed-bytes", -] - -[[package]] -name = "chain-impl-mockchain" -version = "0.1.0" -dependencies = [ - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-evm", - "chain-ser", - "chain-time", - "chain-vote", - "cryptoxide 0.4.2", - "ed25519-bip32", - "hex", - "imhamt", - "lazy_static", - "proptest", - "quickcheck", - "quickcheck_macros", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "sparse-array", - "strum", - "strum_macros", - "test-strategy", - "thiserror", - "typed-bytes", -] - -[[package]] -name = "chain-network" -version = "0.1.0" -dependencies = [ - "async-trait", - "chain-crypto", - "futures", - "http-body", - "pin-project", - "prost 0.9.0", - "rand_core 0.6.3", - "thiserror", - "tonic 0.6.2", - "tonic-build", -] - -[[package]] -name = "chain-ser" -version = "0.1.0" -dependencies = [ - "thiserror", -] - -[[package]] -name = "chain-storage" -version = "0.1.0" -dependencies = [ - "criterion", - "data-pile", - "rand_core 0.6.3", - "sled", - "tempfile", - "thiserror", -] - -[[package]] -name = "chain-time" -version = "0.1.0" -dependencies = [ - "chain-core", - "chain-ser", - "proptest", - "quickcheck", - "test-strategy", -] - -[[package]] -name = "chain-vote" -version = "0.1.0" -dependencies = [ - "cfg-if 0.1.10", - "chain-core", - "chain-crypto", - "const_format", - "cryptoxide 0.4.2", - "rand 0.8.5", - "rand_core 0.6.3", - "rayon", - "thiserror", -] - -[[package]] -name = "cipher" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array", -] - -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "ansi_term", - "atty", - "bitflags", - "strsim 0.8.0", - "textwrap 0.11.0", - "unicode-width", - "vec_map", -] - -[[package]] -name = "clap" -version = "3.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b71c3ce99b7611011217b366d923f1d0a7e07a92bb2dbf1e84508c673ca3bd" -dependencies = [ - "atty", - "bitflags", - "clap_lex", - "indexmap", - "strsim 0.10.0", - "termcolor", - "terminal_size", - "textwrap 0.15.0", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "cocoon" -version = "0.3.0" -source = "git+https://github.com/dkijania/cocoon.git#1dfd975c3f0720d51c56fb297e7c92467bc3448a" -dependencies = [ - "aes-gcm", - "chacha20poly1305", - "hmac 0.11.0", - "pbkdf2 0.9.0", - "rand 0.8.5", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "combine" -version = "3.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680" -dependencies = [ - "ascii", - "byteorder", - "either", - "memchr", - "unreachable", -] - -[[package]] -name = "console" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89eab4d20ce20cea182308bca13088fecea9c05f6776cf287205d41a0ed3c847" -dependencies = [ - "encode_unicode", - "libc", - "once_cell", - "terminal_size", - "unicode-width", - "winapi", -] - -[[package]] -name = "const_format" -version = "0.2.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "939dc9e2eb9077e0679d2ce32de1ded8531779360b003b4a972a7a39ec263495" -dependencies = [ - "const_format_proc_macros", -] - -[[package]] -name = "const_format_proc_macros" -version = "0.2.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef196d5d972878a48da7decb7686eded338b4858fbabeed513d63a7c98b2b82d" -dependencies = [ - "proc-macro2", - "quote", - "unicode-xid", -] - -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - -[[package]] -name = "core-foundation-sys" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" - -[[package]] -name = "cpufeatures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "criterion" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b01d6de93b2b6c65e17c634a26653a29d107b3c98c607c765bf38d041531cd8f" -dependencies = [ - "atty", - "cast", - "clap 2.34.0", - "criterion-plot", - "csv", - "futures", - "itertools 0.10.3", - "lazy_static", - "num-traits", - "oorandom", - "plotters", - "rayon", - "regex", - "serde", - "serde_cbor", - "serde_derive", - "serde_json", - "tinytemplate", - "tokio", - "walkdir", -] - -[[package]] -name = "criterion-plot" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2673cc8207403546f45f5fd319a974b1e6983ad1a3ee7e6041650013be041876" -dependencies = [ - "cast", - "itertools 0.10.3", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "045ebe27666471bb549370b4b0b3e51b07f56325befa4284db65fc89c02511b1" -dependencies = [ - "autocfg", - "cfg-if 1.0.0", - "crossbeam-utils", - "memoffset", - "once_cell", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc" -dependencies = [ - "cfg-if 1.0.0", - "once_cell", -] - -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "crypto-mac" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "cryptoxide" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42014d4c82e74bc17aaccc4bd75d3615d2b8236198de81c51bed5ddefaae6435" - -[[package]] -name = "cryptoxide" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "129eabb7b0b78644a3a7e7cf220714aba47463bb281f69fa7a71ca5d12564cca" - -[[package]] -name = "csv" -version = "1.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" -dependencies = [ - "bstr", - "csv-core", - "itoa 0.4.8", - "ryu", - "serde", -] - -[[package]] -name = "csv-core" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" -dependencies = [ - "memchr", -] - -[[package]] -name = "ctr" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" -dependencies = [ - "cipher", -] - -[[package]] -name = "ctrlc" -version = "3.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d91974fbbe88ec1df0c24a4f00f99583667a7e2e6272b2b92d294d81e462173" -dependencies = [ - "nix 0.25.0", - "winapi", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek-ng" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.6.3", - "subtle-ng", - "zeroize", -] - -[[package]] -name = "custom_debug" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8225047674d65dcf4321e6bd3e060bdbbe940604a99b1559827f3e61c498d1e" -dependencies = [ - "custom_debug_derive", -] - -[[package]] -name = "custom_debug_derive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b35d34eb004bf2d33c093f1c55ee77829e8654644288d3b6afd8c2d99d23729" -dependencies = [ - "proc-macro2", - "syn", - "synstructure", -] - -[[package]] -name = "darling" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" -dependencies = [ - "darling_core 0.13.4", - "darling_macro 0.13.4", -] - -[[package]] -name = "darling" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4529658bdda7fd6769b8614be250cdcfc3aeb0ee72fe66f9e41e5e5eb73eac02" -dependencies = [ - "darling_core 0.14.1", - "darling_macro 0.14.1", -] - -[[package]] -name = "darling_core" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn", -] - -[[package]] -name = "darling_core" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "649c91bc01e8b1eac09fb91e8dbc7d517684ca6be8ebc75bb9cafc894f9fdb6f" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" -dependencies = [ - "darling_core 0.13.4", - "quote", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddfc69c5bfcbd2fc09a0f38451d2daf0e372e367986a83906d1b0dbc88134fb5" -dependencies = [ - "darling_core 0.14.1", - "quote", - "syn", -] - -[[package]] -name = "data-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" - -[[package]] -name = "data-pile" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48846bf4556c08a96570ca7a29cb7c3c83ce7bb70b027fbe143a0cfdbcb06aa1" -dependencies = [ - "memmap2", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "dialoguer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61579ada4ec0c6031cfac3f86fdba0d195a7ebeb5e36693bd53cb5999a25beeb" -dependencies = [ - "console", - "lazy_static", - "tempfile", - "zeroize", -] - -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - -[[package]] -name = "digest" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" -dependencies = [ - "block-buffer 0.10.3", - "crypto-common", - "subtle", -] - -[[package]] -name = "dirs" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - -[[package]] -name = "ed25519" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369" -dependencies = [ - "signature", -] - -[[package]] -name = "ed25519-bip32" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb588f93c0d91b2f668849fd6d030cddb0b2e31f105963be189da5acdf492a21" -dependencies = [ - "cryptoxide 0.4.2", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek", - "ed25519", - "rand 0.7.3", - "serde", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "either" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "encoding_rs" -version = "0.8.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "env_logger" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "environmental" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" - -[[package]] -name = "ethabi" -version = "17.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4966fba78396ff92db3b817ee71143eccd98acf0f876b8d600e585a670c5d1b" -dependencies = [ - "ethereum-types", - "hex", - "sha3", -] - -[[package]] -name = "ethbloom" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11da94e443c60508eb62cf256243a64da87304c2802ac2528847f79d750007ef" -dependencies = [ - "crunchy", - "fixed-hash", - "impl-codec 0.6.0", - "impl-rlp", - "impl-serde", - "scale-info", - "tiny-keccak", -] - -[[package]] -name = "ethereum" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23750149fe8834c0e24bb9adcbacbe06c45b9861f15df53e09f26cb7c4ab91ef" -dependencies = [ - "bytes", - "ethereum-types", - "hash-db", - "hash256-std-hasher", - "parity-scale-codec 3.1.5", - "rlp", - "rlp-derive", - "scale-info", - "serde", - "sha3", - "triehash", -] - -[[package]] -name = "ethereum-types" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2827b94c556145446fcce834ca86b7abf0c39a805883fe20e72c5bfdb5a0dc6" -dependencies = [ - "ethbloom", - "fixed-hash", - "impl-codec 0.6.0", - "impl-rlp", - "impl-serde", - "primitive-types 0.11.1", - "scale-info", - "uint", -] - -[[package]] -name = "evm" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8ff320c1e25e7f6d676858f16ffd9b0493d2cc67c3d900c6f2ed027b747f43" -dependencies = [ - "auto_impl", - "environmental", - "ethereum", - "evm-core", - "evm-gasometer", - "evm-runtime", - "log", - "parity-scale-codec 3.1.5", - "primitive-types 0.11.1", - "rlp", - "scale-info", - "serde", - "sha3", -] - -[[package]] -name = "evm-core" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4537041d3a3438d59b2d01bd950ce89fb1ccb3cf21d9331193c10be12e849f" -dependencies = [ - "parity-scale-codec 3.1.5", - "primitive-types 0.11.1", - "scale-info", - "serde", -] - -[[package]] -name = "evm-gasometer" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6181da8734c86873ac9b3f9886d4e00105361039dcfb9f621be9a0ddb8f43961" -dependencies = [ - "environmental", - "evm-core", - "evm-runtime", - "primitive-types 0.11.1", -] - -[[package]] -name = "evm-runtime" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6157af91ca70fcf3581afaea1fa25974a71b9ef63d454c08dfba93ab0c7715d" -dependencies = [ - "auto_impl", - "environmental", - "evm-core", - "primitive-types 0.11.1", - "sha3", -] - -[[package]] -name = "explorer" -version = "0.9.1" -dependencies = [ - "anyhow", - "async-graphql", - "async-graphql-warp", - "base64", - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-network", - "chain-ser", - "chain-time", - "chain-vote", - "futures", - "futures-channel", - "futures-util", - "http-zipkin", - "imhamt", - "jormungandr-automation", - "jormungandr-integration-tests", - "jormungandr-lib", - "lazy_static", - "parity-multiaddr", - "rand 0.8.5", - "rand_chacha 0.3.1", - "serde", - "serde_json", - "serde_yaml", - "structopt", - "thiserror", - "thor", - "tokio", - "tokio-stream", - "tokio-util 0.6.10", - "tonic 0.4.3", - "tracing", - "tracing-appender", - "tracing-futures", - "tracing-gelf", - "tracing-subscriber", - "url", - "warp", -] - -[[package]] -name = "failure" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" -dependencies = [ - "backtrace", - "failure_derive", -] - -[[package]] -name = "failure_derive" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "fast_chemail" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495a39d30d624c2caabe6312bfead73e7717692b44e0b32df168c275a2e8e9e4" -dependencies = [ - "ascii_utils", -] - -[[package]] -name = "fastrand" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" -dependencies = [ - "instant", -] - -[[package]] -name = "filetime" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "windows-sys", -] - -[[package]] -name = "fixed-hash" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" -dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", -] - -[[package]] -name = "fixedbitset" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" - -[[package]] -name = "flate2" -version = "1.0.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "float-cmp" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -dependencies = [ - "num-traits", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "form_urlencoded" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "fs2" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "fs_extra" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" - -[[package]] -name = "function_name" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef632c665dc6e2b99ffa4d913f7160bd902c4d3e4cb732d81dc3d221f848512" -dependencies = [ - "function_name-proc-macro", -] - -[[package]] -name = "function_name-proc-macro" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "569d2238870f92cff64fc810013b61edaf446ebcfba36b649b96bc5b4078328a" -dependencies = [ - "proc-macro-crate 0.1.5", - "quote", - "syn", -] - -[[package]] -name = "funty" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30bdd20c28fadd505d0fd6712cdfcb0d4b5648baf45faef7f852afb2399bb050" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e5aa3de05362c3fb88de6531e6296e85cde7739cccad4b9dfeeb7f6ebce56bf" - -[[package]] -name = "futures-executor" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff63c23854bee61b6e9cd331d523909f238fc7636290b96826e9cfa5faa00ab" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbf4d2a7a308fd4578637c0b17c7e1c7ba127b8f6ba00b29f717e9655d85eb68" - -[[package]] -name = "futures-macro" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd15d1c7456c04dbdf7e88bcd69760d74f3a798d6444e16974b505b0e62f17" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b20ba5a92e727ba30e72834706623d94ac93a725410b6a6b6fbc1b07f7ba56" - -[[package]] -name = "futures-task" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6508c467c73851293f390476d4491cf4d227dbabcd4170f3bb6044959b294f1" - -[[package]] -name = "futures-util" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44fb6cb1be61cc1d2e43b262516aafcf63b241cffdb1d3fa115f91d9c7b09c90" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - -[[package]] -name = "generic-array" -version = "0.14.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "ghash" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" -dependencies = [ - "opaque-debug", - "polyval", -] - -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" - -[[package]] -name = "globset" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - -[[package]] -name = "globwalk" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "graphql-introspection-query" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2a4732cf5140bd6c082434494f785a19cfb566ab07d1382c3671f5812fed6d" -dependencies = [ - "serde", -] - -[[package]] -name = "graphql-parser" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5613c31f18676f164112732202124f373bb2103ff017b3b85ca954ea6a66ada" -dependencies = [ - "combine", - "failure", -] - -[[package]] -name = "graphql_client" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9b58571cfc3cc42c3e8ff44fc6cfbb6c0dea17ed22d20f9d8f1efc4e8209a3f" -dependencies = [ - "graphql_query_derive", - "serde", - "serde_json", -] - -[[package]] -name = "graphql_client_codegen" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4bf9cd823359d74ad3d3ecf1afd4a975f4ff2f891cdf9a66744606daf52de8c" -dependencies = [ - "graphql-introspection-query", - "graphql-parser", - "heck", - "lazy_static", - "proc-macro2", - "quote", - "serde", - "serde_json", - "syn", -] - -[[package]] -name = "graphql_query_derive" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e56b093bfda71de1da99758b036f4cc811fd2511c8a76f75680e9ffbd2bb4251" -dependencies = [ - "graphql_client_codegen", - "proc-macro2", - "syn", -] - -[[package]] -name = "gtmpl" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8bc64bdceb2909623131a62d470e809c32f86b8329d82f8d31d9971349cb00a" -dependencies = [ - "gtmpl_value", - "itertools 0.10.3", - "lazy_static", - "percent-encoding", -] - -[[package]] -name = "gtmpl_value" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8995bd73dd9ff926fdfe2b146e3e571d4b488488844561c9628cf7a736d973de" - -[[package]] -name = "h2" -version = "0.3.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca32592cf21ac7ccab1825cd87f6c9b3d9022c44d086172ed0966bec8af30be" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util 0.7.4", - "tracing", -] - -[[package]] -name = "half" -version = "1.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" - -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - -[[package]] -name = "hash256-std-hasher" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" -dependencies = [ - "crunchy", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash", -] - -[[package]] -name = "headers" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" -dependencies = [ - "base64", - "bitflags", - "bytes", - "headers-core", - "http", - "httpdate", - "mime", - "sha1", -] - -[[package]] -name = "headers-core" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" -dependencies = [ - "http", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hersir" -version = "0.1.0" -dependencies = [ - "assert_fs", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-vote", - "ctrlc", - "custom_debug", - "hex", - "indicatif", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "parity-multiaddr", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "reqwest", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "structopt", - "thiserror", - "thor", - "yaml-rust", -] - -[[package]] -name = "hex" -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 0.11.1", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.3", -] - -[[package]] -name = "hostname" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" -dependencies = [ - "libc", - "match_cfg", - "winapi", -] - -[[package]] -name = "http" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" -dependencies = [ - "bytes", - "fnv", - "itoa 1.0.3", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "http-zipkin" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d10540bb06bfef59fe047376e293e2123e0681e9a57780a0a14776dcac74af0e" -dependencies = [ - "http", - "zipkin", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "hyper" -version = "0.14.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02c929dc5c39e335a03c405292728118860721b10190d98c2a0f0efd5baafbac" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa 1.0.3", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" -dependencies = [ - "http", - "hyper", - "rustls 0.20.6", - "tokio", - "tokio-rustls 0.23.4", -] - -[[package]] -name = "hyper-timeout" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" -dependencies = [ - "hyper", - "pin-project-lite", - "tokio", - "tokio-io-timeout", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "ignore" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d" -dependencies = [ - "crossbeam-utils", - "globset", - "lazy_static", - "log", - "memchr", - "regex", - "same-file", - "thread_local", - "walkdir", - "winapi-util", -] - -[[package]] -name = "imhamt" -version = "0.1.0" -dependencies = [ - "proptest", - "rustc_version", - "test-strategy", - "thiserror", -] - -[[package]] -name = "impl-codec" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "161ebdfec3c8e3b52bf61c4f3550a1eea4f9579d10dc1b936f3171ebdcd6c443" -dependencies = [ - "parity-scale-codec 2.3.1", -] - -[[package]] -name = "impl-codec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" -dependencies = [ - "parity-scale-codec 3.1.5", -] - -[[package]] -name = "impl-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp", -] - -[[package]] -name = "impl-serde" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" -dependencies = [ - "serde", -] - -[[package]] -name = "impl-trait-for-tuples" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "indexmap" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" -dependencies = [ - "autocfg", - "hashbrown", - "serde", -] - -[[package]] -name = "indicatif" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7baab56125e25686df467fe470785512329883aab42696d661247aca2a2896e4" -dependencies = [ - "console", - "lazy_static", - "number_prefix", - "regex", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "ipnet" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879d54834c8c76457ef4293a689b2a8c59b076067ad77b15efafbb05f92a592b" - -[[package]] -name = "itertools" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "itoa" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" - -[[package]] -name = "jcli" -version = "0.13.0" -dependencies = [ - "assert_fs", - "base64", - "bech32 0.8.1", - "bincode", - "bytes", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-evm", - "chain-impl-mockchain", - "chain-time", - "chain-vote", - "clap 3.2.20", - "ed25519-bip32", - "gtmpl", - "hex", - "jormungandr-lib", - "predicates", - "quickcheck", - "rand 0.7.3", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rayon", - "reqwest", - "rpassword", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "structopt", - "thiserror", - "versionisator", -] - -[[package]] -name = "jobserver" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa" -dependencies = [ - "libc", -] - -[[package]] -name = "jormungandr" -version = "0.13.0" -dependencies = [ - "arc-swap", - "async-trait", - "base64", - "bech32 0.8.1", - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-evm", - "chain-impl-mockchain", - "chain-network", - "chain-storage", - "chain-time", - "chain-vote", - "criterion", - "futures", - "hex", - "http-zipkin", - "imhamt", - "jormungandr-lib", - "jsonrpsee-core", - "jsonrpsee-http-server", - "keynesis", - "lazy_static", - "libc", - "linked-hash-map", - "lru", - "nix 0.23.1", - "parity-multiaddr", - "poldercast", - "prometheus", - "quickcheck", - "quickcheck_macros", - "rand 0.8.5", - "rand_chacha 0.3.1", - "reqwest", - "serde", - "serde_derive", - "serde_json", - "serde_with", - "serde_yaml", - "structopt", - "thiserror", - "time", - "tokio", - "tokio-stream", - "tokio-util 0.6.10", - "tonic 0.6.2", - "tracing", - "tracing-appender", - "tracing-futures", - "tracing-gelf", - "tracing-journald", - "tracing-subscriber", - "versionisator", - "warp", -] - -[[package]] -name = "jormungandr-automation" -version = "0.13.0" -dependencies = [ - "assert_cmd", - "assert_fs", - "base64", - "bech32 0.8.1", - "bytesize", - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-evm", - "chain-impl-mockchain", - "chain-storage", - "chain-time", - "chain-vote", - "custom_debug", - "flate2", - "fs_extra", - "futures", - "graphql_client", - "hex", - "humantime", - "jcli", - "jormungandr-lib", - "jortestkit", - "json", - "keynesis", - "lazy_static", - "log", - "netstat2", - "os_info", - "parity-multiaddr", - "poldercast", - "predicates", - "prost 0.9.0", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "regex", - "reqwest", - "semver", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "structopt", - "strum", - "sysinfo 0.23.13", - "tar", - "tempfile", - "thiserror", - "tokio", - "tokio-stream", - "tonic 0.6.2", - "tonic-build", - "tracing", - "tracing-subscriber", - "typed-bytes", - "url", - "versionisator", - "warp", - "zip", -] - -[[package]] -name = "jormungandr-integration-tests" -version = "0.13.0" -dependencies = [ - "assert_cmd", - "assert_fs", - "base64", - "bech32 0.7.3", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-time", - "chain-vote", - "fs_extra", - "function_name", - "futures", - "hersir", - "hex", - "indicatif", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "json", - "lazy_static", - "loki", - "mjolnir", - "parity-multiaddr", - "poldercast", - "predicates", - "prost 0.9.0", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "regex", - "reqwest", - "rstest", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "tempfile", - "thiserror", - "thor", - "tokio", - "tonic 0.6.2", - "tracing", - "url", - "yaml-rust", -] - -[[package]] -name = "jormungandr-lib" -version = "0.13.0" -dependencies = [ - "base64", - "bech32 0.8.1", - "bincode", - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-evm", - "chain-impl-mockchain", - "chain-time", - "chain-vote", - "ed25519-bip32", - "hex", - "http", - "humantime", - "parity-multiaddr", - "quickcheck", - "quickcheck_macros", - "rand 0.7.3", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "serde", - "serde_json", - "serde_with", - "serde_yaml", - "thiserror", - "time", - "typed-bytes", -] - -[[package]] -name = "jortestkit" -version = "0.1.0" -dependencies = [ - "assert_fs", - "base64", - "bech32 0.8.1", - "bytesize", - "console", - "csv", - "custom_debug", - "dialoguer", - "flate2", - "fs_extra", - "hex", - "humantime", - "indicatif", - "lazy_static", - "os_info", - "predicates", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "rayon", - "reqwest", - "semver", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "sha-1", - "sha2 0.9.9", - "sysinfo 0.14.15", - "tar", - "thiserror", - "time", - "tokio", - "warp", - "zip", -] - -[[package]] -name = "js-sys" -version = "0.3.59" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "json" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd" - -[[package]] -name = "jsonrpsee-core" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8066473754794e7784c61808d25d60dfb68e1025a625792a6a1bc680d1ab700a" -dependencies = [ - "anyhow", - "arrayvec", - "async-trait", - "beef", - "futures-channel", - "futures-util", - "hyper", - "jsonrpsee-types", - "parking_lot 0.12.1", - "rand 0.8.5", - "rustc-hash", - "serde", - "serde_json", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-http-server" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee81d83b686966d6ba3b79f21bc71beedad9ec7e31c201fccff31ef0dd212e17" -dependencies = [ - "futures-channel", - "futures-util", - "globset", - "hyper", - "jsonrpsee-core", - "jsonrpsee-types", - "lazy_static", - "serde_json", - "tokio", - "tracing", - "unicase", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd42e08ae7f0de7b00319f723f7b06e2d461ab69bfa615a611fab5dec00b192e" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - -[[package]] -name = "keccak" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9b7d56ba4a8344d6be9729995e6b06f928af29998cdf79fe390cbf6b1fee838" - -[[package]] -name = "keynesis" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5bf8dc22157c7a4d75f1df13a1b75ada82431141423e3d419ac89f2c1fbb298" -dependencies = [ - "cryptoxide 0.3.6", - "hex", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "thiserror", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - -[[package]] -name = "libc" -version = "0.2.132" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5" - -[[package]] -name = "libsecp256k1" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" -dependencies = [ - "arrayref", - "base64", - "digest 0.9.0", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", - "serde", -] - -[[package]] -name = "libsecp256k1-core" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] - -[[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "lock_api" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f80bf5aacaf25cbfc8210d1cfb718f2bf3b11c4c54e5afe36c236853a8ec390" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", - "serde", -] - -[[package]] -name = "loki" -version = "0.1.0" -dependencies = [ - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "custom_debug", - "jormungandr-automation", - "jormungandr-lib", - "parity-multiaddr", - "rand 0.8.5", - "rand_core 0.6.3", - "reqwest", - "serde", - "serde_yaml", - "structopt", - "thiserror", - "thor", - "tokio", - "warp", -] - -[[package]] -name = "lru" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" -dependencies = [ - "hashbrown", -] - -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memmap2" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4" -dependencies = [ - "libc", -] - -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "mime" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" - -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "miniz_oxide" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys", -] - -[[package]] -name = "mjolnir" -version = "0.1.0" -dependencies = [ - "assert_fs", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-storage", - "chain-time", - "chain-vote", - "indicatif", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "loki", - "rand 0.8.5", - "rand_core 0.6.3", - "structopt", - "thiserror", - "thor", - "tokio", - "versionisator", -] - -[[package]] -name = "multer" -version = "2.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a30ba6d97eb198c5e8a35d67d5779d6680cca35652a60ee90fc23dc431d4fde8" -dependencies = [ - "bytes", - "encoding_rs", - "futures-util", - "http", - "httparse", - "log", - "memchr", - "mime", - "spin 0.9.4", - "version_check", -] - -[[package]] -name = "multihash" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab" -dependencies = [ - "generic-array", - "multihash-derive", - "unsigned-varint 0.5.1", -] - -[[package]] -name = "multihash-derive" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" -dependencies = [ - "proc-macro-crate 1.2.1", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "multimap" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" - -[[package]] -name = "multipart" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" -dependencies = [ - "buf_redux", - "httparse", - "log", - "mime", - "mime_guess", - "quick-error 1.2.3", - "rand 0.8.5", - "safemem", - "tempfile", - "twoway", -] - -[[package]] -name = "netstat2" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0faa3f4ad230fd2bf2a5dad71476ecbaeaed904b3c7e7e5b1f266c415c03761f" -dependencies = [ - "bitflags", - "byteorder", - "libc", - "num-derive", - "num-traits", - "thiserror", -] - -[[package]] -name = "nix" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6" -dependencies = [ - "bitflags", - "cc", - "cfg-if 1.0.0", - "libc", - "memoffset", -] - -[[package]] -name = "nix" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e322c04a9e3440c327fca7b6c8a63e6890a32fa2ad689db972425f07e0d22abb" -dependencies = [ - "autocfg", - "bitflags", - "cfg-if 1.0.0", - "libc", -] - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "ntapi" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f" -dependencies = [ - "winapi", -] - -[[package]] -name = "num" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" -dependencies = [ - "num-bigint", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ae39348c8bc5fbd7f40c727a9925f03517afd2ab27d46702108b6a7e5414c19" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-derive" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" -dependencies = [ - "autocfg", - "num-bigint", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] - -[[package]] -name = "num_cpus" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "num_threads" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" -dependencies = [ - "libc", -] - -[[package]] -name = "number_prefix" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a" - -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f7254b99e31cad77da24b08ebf628882739a608578bb1bcdfc1f9c21260d7c0" - -[[package]] -name = "oorandom" -version = "11.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "os_info" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5209b2162b2c140df493a93689e04f8deab3a67634f5bc7a553c0a98e5b8d399" -dependencies = [ - "log", - "winapi", -] - -[[package]] -name = "os_str_bytes" -version = "6.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" - -[[package]] -name = "parity-multiaddr" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58341485071825827b7f03cf7efd1cb21e6a709bea778fb50227fd45d2f361b4" -dependencies = [ - "arrayref", - "bs58", - "byteorder", - "data-encoding", - "multihash", - "percent-encoding", - "serde", - "static_assertions", - "unsigned-varint 0.7.1", - "url", -] - -[[package]] -name = "parity-scale-codec" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" -dependencies = [ - "arrayvec", - "bitvec 0.20.4", - "byte-slice-cast", - "impl-trait-for-tuples", - "parity-scale-codec-derive 2.3.1", - "serde", -] - -[[package]] -name = "parity-scale-codec" -version = "3.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0" -dependencies = [ - "arrayvec", - "bitvec 1.0.1", - "byte-slice-cast", - "impl-trait-for-tuples", - "parity-scale-codec-derive 3.1.3", - "serde", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" -dependencies = [ - "proc-macro-crate 1.2.1", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "3.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" -dependencies = [ - "proc-macro-crate 1.2.1", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.5", -] - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.3", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" -dependencies = [ - "cfg-if 1.0.0", - "instant", - "libc", - "redox_syscall", - "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "smallvec", - "windows-sys", -] - -[[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 = "pbkdf2" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f05894bce6a1ba4be299d0c5f29563e08af2bc18bb7d48313113bed71e904739" -dependencies = [ - "crypto-mac 0.11.1", - "hmac 0.11.0", - "sha2 0.9.9", -] - -[[package]] -name = "pbkdf2" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271779f35b581956db91a3e55737327a03aa051e90b1c47aeb189508533adfd7" -dependencies = [ - "digest 0.10.3", - "hmac 0.12.1", - "password-hash", - "sha2 0.10.5", -] - -[[package]] -name = "percent-encoding" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" - -[[package]] -name = "pest" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb779fcf4bb850fbbb0edc96ff6cf34fd90c4b1a112ce042653280d9a7364048" -dependencies = [ - "thiserror", - "ucd-trie", -] - -[[package]] -name = "petgraph" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143" -dependencies = [ - "fixedbitset", - "indexmap", -] - -[[package]] -name = "pin-project" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" - -[[package]] -name = "platforms" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" - -[[package]] -name = "plotters" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97" -dependencies = [ - "num-traits", - "plotters-backend", - "plotters-svg", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "plotters-backend" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142" - -[[package]] -name = "plotters-svg" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f" -dependencies = [ - "plotters-backend", -] - -[[package]] -name = "poldercast" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2326808f3c476da7495ff611ad36b6a2e4e9d1f20a5b5eb4bbd8fb5e47f899be" -dependencies = [ - "hex", - "keynesis", - "lru", - "thiserror", -] - -[[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 = "polyval" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "opaque-debug", - "universal-hash", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" - -[[package]] -name = "predicates" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c" -dependencies = [ - "difflib", - "float-cmp", - "itertools 0.10.3", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates-core" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da1c2388b1513e1b605fcec39a95e0a9e8ef088f71443ef37099fa9ae6673fcb" - -[[package]] -name = "predicates-tree" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d86de6de25020a36c6d3643a86d9a6a9f552107c0559c60ea03551b5e16c032" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "primitive-types" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" -dependencies = [ - "fixed-hash", - "impl-codec 0.5.1", - "uint", -] - -[[package]] -name = "primitive-types" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" -dependencies = [ - "fixed-hash", - "impl-codec 0.6.0", - "impl-rlp", - "impl-serde", - "scale-info", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" -dependencies = [ - "toml", -] - -[[package]] -name = "proc-macro-crate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" -dependencies = [ - "once_cell", - "thiserror", - "toml", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "prometheus" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45c8babc29389186697fe5a2a4859d697825496b83db5d0b65271cdc0488e88c" -dependencies = [ - "cfg-if 1.0.0", - "fnv", - "lazy_static", - "memchr", - "parking_lot 0.12.1", - "protobuf", - "thiserror", -] - -[[package]] -name = "proptest" -version = "1.0.0" -source = "git+https://github.com/input-output-hk/proptest.git#38044d47b2e8eeab62408294aa9e78e393f13d6b" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static", - "num-traits", - "primitive-types 0.10.1", - "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_xorshift", - "rand_xoshiro", - "regex-syntax", - "rusty-fork", - "tempfile", -] - -[[package]] -name = "prost" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2" -dependencies = [ - "bytes", - "prost-derive 0.7.0", -] - -[[package]] -name = "prost" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" -dependencies = [ - "bytes", - "prost-derive 0.9.0", -] - -[[package]] -name = "prost-build" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" -dependencies = [ - "bytes", - "heck", - "itertools 0.10.3", - "lazy_static", - "log", - "multimap", - "petgraph", - "prost 0.9.0", - "prost-types", - "regex", - "tempfile", - "which", -] - -[[package]] -name = "prost-derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4" -dependencies = [ - "anyhow", - "itertools 0.9.0", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "prost-derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" -dependencies = [ - "anyhow", - "itertools 0.10.3", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "prost-types" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" -dependencies = [ - "bytes", - "prost 0.9.0", -] - -[[package]] -name = "protobuf" -version = "2.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf7e6d18738ecd0902d30d1ad232c9125985a3422929b16c65517b38adc14f96" - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - -[[package]] -name = "quickcheck" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44883e74aa97ad63db83c4bf8ca490f02b2fc02f92575e720c8551e843c945f" -dependencies = [ - "env_logger", - "log", - "rand 0.7.3", - "rand_core 0.5.1", -] - -[[package]] -name = "quickcheck_macros" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608c156fd8e97febc07dc9c2e2c80bf74cfc6ef26893eae3daf8bc2bc94a4b7f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "quote" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "radium" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" - -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom 0.2.7", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rand_xoshiro" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rayon" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d" -dependencies = [ - "autocfg", - "crossbeam-deque", - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_users" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" -dependencies = [ - "getrandom 0.2.7", - "redox_syscall", - "thiserror", -] - -[[package]] -name = "regex" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" - -[[package]] -name = "regex-syntax" -version = "0.6.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - -[[package]] -name = "reqwest" -version = "0.11.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b75aa69a3f06bbcc66ede33af2af253c6f7a86b1ca0033f60c580a27074fbf92" -dependencies = [ - "base64", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-rustls", - "ipnet", - "js-sys", - "lazy_static", - "log", - "mime", - "percent-encoding", - "pin-project-lite", - "rustls 0.20.6", - "rustls-pemfile", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-rustls 0.23.4", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "webpki-roots", - "winreg", -] - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted", - "web-sys", - "winapi", -] - -[[package]] -name = "ripemd" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1facec54cb5e0dc08553501fa740091086d0259ad0067e0d4103448e4cb22ed3" -dependencies = [ - "digest 0.10.3", -] - -[[package]] -name = "rlp" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" -dependencies = [ - "bytes", - "rustc-hex", -] - -[[package]] -name = "rlp-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "rpassword" -version = "6.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf099a1888612545b683d2661a1940089f6c2e5a8e38979b2159da876bfd956" -dependencies = [ - "libc", - "serde", - "serde_json", - "winapi", -] - -[[package]] -name = "rstest" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d912f35156a3f99a66ee3e11ac2e0b3f34ac85a07e05263d05a7e2c8810d616f" -dependencies = [ - "cfg-if 1.0.0", - "proc-macro2", - "quote", - "rustc_version", - "syn", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64", - "log", - "ring", - "sct 0.6.1", - "webpki 0.21.4", -] - -[[package]] -name = "rustls" -version = "0.20.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aab8ee6c7097ed6057f43c187a62418d0c05a4bd5f18b3571db50ee0f9ce033" -dependencies = [ - "log", - "ring", - "sct 0.7.0", - "webpki 0.22.0", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" -dependencies = [ - "base64", -] - -[[package]] -name = "rustversion" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97477e48b4cf8603ad5f7aaf897467cf42ab4218a38ef76fb14c2d6773a6d6a8" - -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - -[[package]] -name = "ryu" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" - -[[package]] -name = "safemem" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scale-info" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a" -dependencies = [ - "bitvec 1.0.1", - "cfg-if 1.0.0", - "derive_more", - "parity-scale-codec 3.1.5", - "scale-info-derive", -] - -[[package]] -name = "scale-info-derive" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50e334bb10a245e28e5fd755cabcafd96cfcd167c99ae63a46924ca8d8703a3c" -dependencies = [ - "proc-macro-crate 1.2.1", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "scoped-tls" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "sct" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "secp256k1" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ece73253dd9e1fb540ff324eae554113a31c25fb598d22fd13b088a6a03f90d" -dependencies = [ - "rand 0.8.5", - "secp256k1-sys", -] - -[[package]] -name = "secp256k1-sys" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7058dc8eaf3f2810d7828680320acda0b25a288f6d288e19278e249bbf74226b" -dependencies = [ - "cc", -] - -[[package]] -name = "semver" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f6841e709003d68bb2deee8c343572bf446003ec20a583e76f7b15cebf3711" -dependencies = [ - "serde", -] - -[[package]] -name = "serde" -version = "1.0.144" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f747710de3dcd43b88c9168773254e809d8ddbdf9653b84e2554ab219f17860" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_cbor" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" -dependencies = [ - "half", - "serde", -] - -[[package]] -name = "serde_derive" -version = "1.0.144" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94ed3a816fb1d101812f83e789f888322c34e291f894f19590dc310963e87a00" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44" -dependencies = [ - "itoa 1.0.3", - "ryu", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa 1.0.3", - "ryu", - "serde", -] - -[[package]] -name = "serde_with" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" -dependencies = [ - "serde", - "serde_with_macros", -] - -[[package]] -name = "serde_with_macros" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" -dependencies = [ - "darling 0.13.4", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_yaml" -version = "0.8.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" -dependencies = [ - "indexmap", - "ryu", - "serde", - "yaml-rust", -] - -[[package]] -name = "settings" -version = "0.1.0" -dependencies = [ - "sled", - "thiserror", -] - -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha1" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "006769ba83e921b3085caa8334186b00cf92b4cb1a6cf4632fbccc8eff5c7549" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha2" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9db03534dff993187064c4e0c05a5708d2a9728ace9a8959b77bedf415dac5" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sha3" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaedf34ed289ea47c2b741bb72e5357a209512d67bcd4bda44359e5bf0470f56" -dependencies = [ - "digest 0.10.3", - "keccak", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0ea32af43239f0d353a7dd75a22d94c329c8cdaafdcb4c1c1335aa10c298a4a" - -[[package]] -name = "slab" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" -dependencies = [ - "autocfg", -] - -[[package]] -name = "sled" -version = "0.34.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f96b4737c2ce5987354855aed3797279def4ebf734436c6aa4552cf8e169935" -dependencies = [ - "crc32fast", - "crossbeam-epoch", - "crossbeam-utils", - "fs2", - "fxhash", - "libc", - "log", - "parking_lot 0.11.2", -] - -[[package]] -name = "smallvec" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" - -[[package]] -name = "socket2" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "sparse-array" -version = "0.1.0" - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "spin" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09" - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "structmeta" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd9c2155aa89fb2c2cb87d99a610c689e7c47099b3e9f1c8a8f53faf4e3d2e3" -dependencies = [ - "proc-macro2", - "quote", - "structmeta-derive", - "syn", -] - -[[package]] -name = "structmeta-derive" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bafede0d0a2f21910f36d47b1558caae3076ed80f6f3ad0fc85a91e6ba7e5938" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "structopt" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" -dependencies = [ - "clap 2.34.0", - "lazy_static", - "structopt-derive", -] - -[[package]] -name = "structopt-derive" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "strum" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "subtle-ng" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" - -[[package]] -name = "syn" -version = "1.0.99" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "unicode-xid", -] - -[[package]] -name = "sysinfo" -version = "0.14.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2983daff11a197c7c406b130579bc362177aa54cf2cc1f34d6ac88fccaa6a5e1" -dependencies = [ - "cfg-if 0.1.10", - "doc-comment", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi", -] - -[[package]] -name = "sysinfo" -version = "0.23.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3977ec2e0520829be45c8a2df70db2bf364714d8a748316a10c3c35d4d2b01c9" -dependencies = [ - "cfg-if 1.0.0", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "tar" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" -dependencies = [ - "filetime", - "libc", - "xattr", -] - -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -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.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b" - -[[package]] -name = "test-strategy" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22c726321a7c108ca1de4ed2e6a362ead7193ecfbe0b326c5dff602b65a09e6a" -dependencies = [ - "proc-macro2", - "quote", - "structmeta", - "syn", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" -dependencies = [ - "terminal_size", -] - -[[package]] -name = "thiserror" -version = "1.0.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c1b05ca9d106ba7d2e31a9dab4a64e7be2cce415321966ea3132c49a656e252" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8f2591983642de85c921015f3f070c665a197ed69e417af436115e3a1407487" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thor" -version = "0.1.0" -dependencies = [ - "assert_fs", - "bech32 0.8.1", - "bincode", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-vote", - "cocoon", - "custom_debug", - "dirs", - "hex", - "jcli", - "jormungandr-automation", - "jormungandr-lib", - "jortestkit", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "serde", - "serde_yaml", - "structopt", - "thiserror", - "time", -] - -[[package]] -name = "thread_local" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" -dependencies = [ - "once_cell", -] - -[[package]] -name = "time" -version = "0.3.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3f9a28b618c3a6b9251b6908e9c99e04b9e5c02e6581ccbb67d59c34ef7f9b" -dependencies = [ - "itoa 1.0.3", - "libc", - "num_threads", - "serde", - "time-macros", -] - -[[package]] -name = "time-macros" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42657b1a6f4d817cda8e7a0ace261fe0cc946cf3a80314390b22cc61ae080792" - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinytemplate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" -dependencies = [ - "serde", - "serde_json", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" - -[[package]] -name = "tokio" -version = "1.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89797afd69d206ccd11fb0ea560a44bbb87731d020670e79416d442919257d42" -dependencies = [ - "autocfg", - "bytes", - "libc", - "memchr", - "mio", - "num_cpus", - "once_cell", - "parking_lot 0.12.1", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "winapi", -] - -[[package]] -name = "tokio-io-timeout" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" -dependencies = [ - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-macros" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tokio-rustls" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" -dependencies = [ - "rustls 0.19.1", - "tokio", - "webpki 0.21.4", -] - -[[package]] -name = "tokio-rustls" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" -dependencies = [ - "rustls 0.20.6", - "tokio", - "webpki 0.22.0", -] - -[[package]] -name = "tokio-stream" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df54d54117d6fdc4e4fea40fe1e4e566b3505700e148a6827e59b34b0d2600d9" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", - "tokio-util 0.7.4", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" -dependencies = [ - "futures-util", - "log", - "pin-project", - "tokio", - "tungstenite", -] - -[[package]] -name = "tokio-util" -version = "0.6.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36943ee01a6d67977dd3f84a5a1d2efeb4ada3a1ae771cadfaa535d9d9fc6507" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "log", - "pin-project-lite", - "slab", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" -dependencies = [ - "serde", -] - -[[package]] -name = "tonic" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ac42cd97ac6bd2339af5bcabf105540e21e45636ec6fa6aae5e85d44db31be0" -dependencies = [ - "async-stream", - "async-trait", - "base64", - "bytes", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "percent-encoding", - "pin-project", - "prost 0.7.0", - "prost-derive 0.7.0", - "tokio", - "tokio-stream", - "tokio-util 0.6.10", - "tower", - "tower-service", - "tracing", - "tracing-futures", -] - -[[package]] -name = "tonic" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08f4649d10a70ffa3522ca559031285d8e421d727ac85c60825761818f5d0a" -dependencies = [ - "async-stream", - "async-trait", - "base64", - "bytes", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-timeout", - "percent-encoding", - "pin-project", - "prost 0.9.0", - "prost-derive 0.9.0", - "tokio", - "tokio-stream", - "tokio-util 0.6.10", - "tower", - "tower-layer", - "tower-service", - "tracing", - "tracing-futures", -] - -[[package]] -name = "tonic-build" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9403f1bafde247186684b230dc6f38b5cd514584e8bec1dd32514be4745fa757" -dependencies = [ - "proc-macro2", - "prost-build", - "quote", - "syn", -] - -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "indexmap", - "pin-project", - "pin-project-lite", - "rand 0.8.5", - "slab", - "tokio", - "tokio-util 0.7.4", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-layer" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62" - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" -dependencies = [ - "cfg-if 1.0.0", - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-appender" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e" -dependencies = [ - "crossbeam-channel", - "time", - "tracing-subscriber", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - -[[package]] -name = "tracing-gelf" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6d094204165dcfc9cffe7b2c22d98e4a7bc86f1e8a052c83c7c5442ee325bf4" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "hostname", - "serde_json", - "thiserror", - "tokio", - "tokio-util 0.6.10", - "tracing", - "tracing-core", - "tracing-futures", - "tracing-subscriber", -] - -[[package]] -name = "tracing-journald" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c35f4a6b4b2d00511aa9e17d4efc74d4c3ddc5a5416f58a5de25c30bfeb0307" -dependencies = [ - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60db860322da191b40952ad9affe65ea23e7dd6a5c442c2c42865810c6ab8e6b" -dependencies = [ - "ansi_term", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "time", - "tracing-core", - "tracing-log", - "tracing-serde", -] - -[[package]] -name = "triehash" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" -dependencies = [ - "hash-db", - "rlp", -] - -[[package]] -name = "try-lock" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" - -[[package]] -name = "tungstenite" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" -dependencies = [ - "base64", - "byteorder", - "bytes", - "http", - "httparse", - "log", - "rand 0.8.5", - "sha-1", - "thiserror", - "url", - "utf-8", -] - -[[package]] -name = "twoway" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1" -dependencies = [ - "memchr", -] - -[[package]] -name = "typed-bytes" -version = "0.1.0" - -[[package]] -name = "typenum" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" - -[[package]] -name = "ucd-trie" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" - -[[package]] -name = "uint" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f03af7ccf01dd611cc450a0d10dbc9b745770d096473e2faf0ca6e2d66d1e0" -dependencies = [ - "byteorder", - "crunchy", - "hex", - "static_assertions", -] - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" - -[[package]] -name = "unicode-ident" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" - -[[package]] -name = "unicode-normalization" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" - -[[package]] -name = "unicode-width" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" - -[[package]] -name = "unicode-xid" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" - -[[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 = "unreachable" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" -dependencies = [ - "void", -] - -[[package]] -name = "unsigned-varint" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7fdeedbf205afadfe39ae559b75c3240f24e257d0ca27e85f85cb82aa19ac35" - -[[package]] -name = "unsigned-varint" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "url" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "utf-8" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "versionisator" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19409971e0a30a77927dd4bf8979b9e9efabd00ea3a8a6f162b277213942b6c8" -dependencies = [ - "platforms", -] - -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" -dependencies = [ - "same-file", - "winapi", - "winapi-util", -] - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "warp" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cef4e1e9114a4b7f1ac799f16ce71c14de5778500c5450ec6b7b920c55b587e" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "headers", - "http", - "hyper", - "log", - "mime", - "mime_guess", - "multipart", - "percent-encoding", - "pin-project", - "scoped-tls", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-rustls 0.22.0", - "tokio-stream", - "tokio-tungstenite", - "tokio-util 0.6.10", - "tower-service", - "tracing", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa76fb221a1f8acddf5b54ace85912606980ad661ac7a503b4570ffd3a624dad" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a" - -[[package]] -name = "web-sys" -version = "0.3.59" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed055ab27f941423197eb86b2035720b1a3ce40504df082cac2ecc6ed73335a1" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki-roots" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1c760f0d366a6c24a02ed7816e23e691f5d92291f94d15e836006fd11b04daf" -dependencies = [ - "webpki 0.22.0", -] - -[[package]] -name = "which" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b" -dependencies = [ - "either", - "libc", - "once_cell", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi", -] - -[[package]] -name = "wyz" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" - -[[package]] -name = "wyz" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e" -dependencies = [ - "tap", -] - -[[package]] -name = "xattr" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" -dependencies = [ - "libc", -] - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "zeroize" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zip" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf225bcf73bb52cbb496e70475c7bd7a3f769df699c0020f6c7bd9a96dcf0b8d" -dependencies = [ - "aes", - "byteorder", - "bzip2", - "constant_time_eq", - "crc32fast", - "crossbeam-utils", - "flate2", - "hmac 0.12.1", - "pbkdf2 0.10.1", - "sha1", - "time", - "zstd", -] - -[[package]] -name = "zipkin" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0457aa320de98fa42cc4803accc3ae11353e1fecae5aa32446baafd9ccf6e46" -dependencies = [ - "lazycell", - "log", - "pin-project-lite", - "rand 0.8.5", - "zipkin-types", -] - -[[package]] -name = "zipkin-types" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daea6189557992dcad925fd8cd069f3cf6f85a731c65561d648009d73d7bd489" -dependencies = [ - "data-encoding", -] - -[[package]] -name = "zstd" -version = "0.10.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4a6bd64f22b5e3e94b4e238669ff9f10815c27a5180108b849d24174a83847" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "4.1.6+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b61c51bb270702d6167b8ce67340d2754b088d0c091b06e593aa772c3ee9bb" -dependencies = [ - "libc", - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "1.6.3+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8" -dependencies = [ - "cc", - "libc", -] diff --git a/src/jormungandr/Cargo.toml b/src/jormungandr/Cargo.toml deleted file mode 100644 index 79acbdabc3..0000000000 --- a/src/jormungandr/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[workspace] -members = [ - "jormungandr-lib", - "jormungandr", - "jcli", - "explorer", - "modules/settings", - "modules/blockchain", - "testing/jormungandr-automation", - "testing/jormungandr-integration-tests", - "testing/loki", - "testing/mjolnir", - "testing/hersir", - "testing/thor", -] diff --git a/src/jormungandr/explorer/src/db/indexing.rs b/src/jormungandr/explorer/src/db/indexing.rs index 4f4fc911f9..c7c4b0b9cb 100644 --- a/src/jormungandr/explorer/src/db/indexing.rs +++ b/src/jormungandr/explorer/src/db/indexing.rs @@ -170,6 +170,28 @@ impl ExplorerBlock { offset_in_block: offset, config_params: Some(config.clone()), }), + Fragment::UpdateProposal(tx) => { + let tx = tx.as_slice(); + Some(ExplorerTransaction::from( + &context, + &fragment_id, + &tx, + Some(Certificate::UpdateProposal(tx.payload().into_payload())), + offset, + ¤t_block_txs, + )) + } + Fragment::UpdateVote(tx) => { + let tx = tx.as_slice(); + Some(ExplorerTransaction::from( + &context, + &fragment_id, + &tx, + Some(Certificate::UpdateVote(tx.payload().into_payload())), + offset, + ¤t_block_txs, + )) + } Fragment::Transaction(tx) => { let tx = tx.as_slice(); Some(ExplorerTransaction::from( diff --git a/src/jormungandr/testing/hersir/src/config/blockchain.rs b/src/jormungandr/testing/hersir/src/config/blockchain.rs index 4b3144b07e..35f65998f7 100644 --- a/src/jormungandr/testing/hersir/src/config/blockchain.rs +++ b/src/jormungandr/testing/hersir/src/config/blockchain.rs @@ -1,5 +1,5 @@ +#![allow(dead_code)] use super::NodeAlias; -use crate::builder::VotePlanKey; use chain_addr::Discrimination; pub use chain_impl_mockchain::chaintypes::ConsensusVersion; use chain_impl_mockchain::{fee::LinearFee, milli::Milli}; @@ -7,12 +7,11 @@ use jormungandr_lib::{ interfaces::{ ActiveSlotCoefficient, BlockContentMaxSize, CommitteeIdDef, ConsensusLeaderId, ConsensusVersionDef, DiscriminationDef, KesUpdateSpeed, LinearFeeDef, - NumberOfSlotsPerEpoch, SlotDuration, VotePlan, + NumberOfSlotsPerEpoch, SlotDuration, }, time::SecondsSinceUnixEpoch, }; use serde::Deserialize; -use std::collections::HashMap; #[derive(Clone, Deserialize, Debug)] #[serde(deny_unknown_fields)] @@ -43,8 +42,6 @@ pub struct Blockchain { slots_per_epoch: NumberOfSlotsPerEpoch, #[serde(default)] tx_max_expiry_epochs: Option, - #[serde(default)] - vote_plans: HashMap, } impl Blockchain { @@ -182,21 +179,6 @@ impl Blockchain { self.tx_max_expiry_epochs = tx_max_expiry_epochs; self } - - pub fn vote_plans(&self) -> HashMap { - self.vote_plans.clone() - } - - pub fn with_vote_plan( - mut self, - alias: String, - owner_alias: String, - vote_plan_template: VotePlan, - ) -> Self { - self.vote_plans - .insert(VotePlanKey { alias, owner_alias }, vote_plan_template); - self - } } impl Default for Blockchain { @@ -218,7 +200,6 @@ impl Default for Blockchain { slot_duration: SlotDuration::new(2).unwrap(), slots_per_epoch: NumberOfSlotsPerEpoch::new(60).unwrap(), tx_max_expiry_epochs: None, - vote_plans: HashMap::new(), } } } @@ -316,18 +297,6 @@ impl BlockchainBuilder { self } - pub fn vote_plan( - mut self, - alias: String, - owner_alias: String, - vote_plan_template: VotePlan, - ) -> Self { - self.blockchain = self - .blockchain - .with_vote_plan(alias, owner_alias, vote_plan_template); - self - } - pub fn build(self) -> Blockchain { self.blockchain } diff --git a/src/jormungandr/testing/hersir/src/config/mod.rs b/src/jormungandr/testing/hersir/src/config/mod.rs index 9ab79b3d9d..617f88de6f 100644 --- a/src/jormungandr/testing/hersir/src/config/mod.rs +++ b/src/jormungandr/testing/hersir/src/config/mod.rs @@ -3,9 +3,8 @@ mod committee; mod spawn_params; mod vote_plan; mod wallet; - pub use crate::config::{ - blockchain::{Blockchain, BlockchainBuilder}, + blockchain::Blockchain, committee::CommitteeTemplate, spawn_params::SpawnParams, wallet::{WalletTemplate, WalletTemplateBuilder}, @@ -19,7 +18,7 @@ use jormungandr_automation::jormungandr::{ }; use serde::Deserialize; use std::{collections::HashSet, path::PathBuf, str::FromStr}; -pub use vote_plan::VotePlanTemplate; +pub use vote_plan::{PrivateParameters, VotePlanTemplate}; #[derive(Debug, Deserialize, Clone)] pub struct Config { diff --git a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/allblocks.graphql b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/allblocks.graphql index 5f04a86056..d14e3319b0 100644 --- a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/allblocks.graphql +++ b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/allblocks.graphql @@ -3,22 +3,160 @@ query AllBlocks($last: Int!) { blocks(last: $last) { edges { node { - id - date { + id + date { epoch { id } slot } - previousBlock { - id - } - chainLength - totalInput - totalOutput + chainLength + leader { + __typename + ... on Pool{ id } + ... on BftLeader{ id } } + previousBlock { id } + totalInput + totalOutput + isConfirmed + branches { id } + transactions{totalCount + edges { + node { + id + blocks{id date{...blockDate}} + inputs{amount address{id}} + outputs{amount address{id}} + certificate{ + __typename + ... on StakeDelegation {account{id #delegation {... poolInfo} not implemented yet NPG-2247 + } + pools {... poolInfo}} + ... on OwnerStakeDelegation {pools {... poolInfo}} + ... on PoolRegistration {pool {... poolInfo} + startValidity + managementThreshold + owners + operators + rewards {fixed ratio {numerator denominator} maxLimit} + rewardAccount {id #delegation {... poolInfo} not implemented yet NPG-2247 + } + } + ... on PoolRetirement {poolId retirementTime} + ... on PoolUpdate {poolId startValidity} + ... on VotePlan{voteStart{...blockDate} + voteEnd{...blockDate} + committeeEnd{...blockDate} + payloadType + proposals {externalId} + } + ... on VoteCast {votePlan proposalIndex} + ... on VoteTally {votePlan} + ... on UpdateProposal {changes { configParams {...configParam}} + proposerId{id} + } + ... on UpdateVote{proposalId voterId{id}} + ... on MintToken{name} + ... on EvmMapping {address} + } + } + }} + } } totalCount } } } + +fragment poolInfo on Pool { + id + blocks(first: 1000){totalCount} + registration{pool{id}} + retirement{poolId} + } + +fragment blockDate on BlockDate{ + epoch{id} + slot + } + +fragment configParam on ConfigParam +{ + __typename + ... on Block0Date { block0Date } + ... on Discrimination { discrimination } + ... on ConsensusType { consensusType } + ... on SlotsPerEpoch { slotsPerEpoch } + ... on SlotDuration { slotDuration} + ... on EpochStabilityDepth { epochStabilityDepth } + ... on Milli { milli} + ... on BlockContentMaxSize { blockContentMaxSize} + ... on AddBftLeader { addBftLeader{ id }} + ... on RemoveBftLeader { removeBftLeader { id }} + ... on LinearFee { + constant + coefficient + certificate + perCertificateFees { + certificatePoolRegistration + certificateStakeDelegation + certificateOwnerStakeDelegation + } + perVoteCertificateFees { + certificateVotePlan + certificateVoteCast + }} + ... on ProposalExpiration{ proposalExpiration } + ... on KesUpdateSpeed { kesUpdateSpeed} + ... on TreasuryAdd { treasuryAdd } + ... on TreasuryParams { treasuryParams { + fixed + ratio { + numerator + denominator + } + maxLimit + }} + ... on RewardPot { rewardPot } + ... on RewardParams { rewardParams { + __typename + ... on LinearRewardParams{ + constant + ratio { + numerator + denominator + } + epochStart + epochRate + } + ... on HalvingRewardParams { + constant + ratio { + numerator + denominator + } + epochStart + epochRate + } + }} + ... on PerCertificateFee{ + certificatePoolRegistration + certificateStakeDelegation + certificateOwnerStakeDelegation + } + ... on FeesInTreasury { feesInTreasury} + ... on RewardLimitNone { rewardLimitNone } + ... on RewardLimitByAbsoluteStake { rewardLimitByAbsoluteStake { + numerator + denominator + }} + ... on PoolRewardParticipationCapping { min max } + ... on AddCommitteeId { addCommitteeId} + ... on RemoveCommitteeId { removeCommitteeId } + ... on PerVoteCertificateFee { + certificateVotePlan + certificateVoteCast + } + ... on TransactionMaxExpiryEpochs { transactionMaxExpiryEpochs } +} diff --git a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/blocksbychainlength.graphql b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/blocksbychainlength.graphql index 824e6858f7..c0d7d75975 100644 --- a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/blocksbychainlength.graphql +++ b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/blocksbychainlength.graphql @@ -1,5 +1,155 @@ query BlocksByChainLength($length: ChainLength!){ blocksByChainLength(length: $length) { - id, + id + date { + epoch { + id + } + slot + } + chainLength + leader { + __typename + ... on Pool{ id } + ... on BftLeader{ id } + } + previousBlock { id } + totalInput + totalOutput + isConfirmed + branches { id } + transactions{totalCount + edges { + node { + id + blocks{id date{...blockDate}} + inputs{amount address{id}} + outputs{amount address{id}} + certificate{ + __typename + ... on StakeDelegation {account{id #delegation {... poolInfo} not implemented yet NPG-2247 + } + pools {... poolInfo}} + ... on OwnerStakeDelegation {pools {... poolInfo}} + ... on PoolRegistration {pool {... poolInfo} + startValidity + managementThreshold + owners + operators + rewards {fixed ratio {numerator denominator} maxLimit} + rewardAccount {id #delegation {... poolInfo} not implemented yet NPG-2247 + } + } + ... on PoolRetirement {poolId retirementTime} + ... on PoolUpdate {poolId startValidity} + ... on VotePlan{voteStart{...blockDate} + voteEnd{...blockDate} + committeeEnd{...blockDate} + payloadType + proposals {externalId} + } + ... on VoteCast {votePlan proposalIndex} + ... on VoteTally {votePlan} + ... on UpdateProposal {changes { configParams {...configParam}} + proposerId{id} + } + ... on UpdateVote{proposalId voterId{id}} + ... on MintToken{name} + ... on EvmMapping {address} } + } + }} + } +} + +fragment poolInfo on Pool { + id + blocks(first: 1000){totalCount} + registration{pool{id}} + retirement{poolId} + } + +fragment blockDate on BlockDate{ + epoch{id} + slot + } + +fragment configParam on ConfigParam +{ + __typename + ... on Block0Date { block0Date } + ... on Discrimination { discrimination } + ... on ConsensusType { consensusType } + ... on SlotsPerEpoch { slotsPerEpoch } + ... on SlotDuration { slotDuration} + ... on EpochStabilityDepth { epochStabilityDepth } + ... on Milli { milli} + ... on BlockContentMaxSize { blockContentMaxSize} + ... on AddBftLeader { addBftLeader{ id }} + ... on RemoveBftLeader { removeBftLeader { id }} + ... on LinearFee { + constant + coefficient + certificate + perCertificateFees { + certificatePoolRegistration + certificateStakeDelegation + certificateOwnerStakeDelegation + } + perVoteCertificateFees { + certificateVotePlan + certificateVoteCast + }} + ... on ProposalExpiration{ proposalExpiration } + ... on KesUpdateSpeed { kesUpdateSpeed} + ... on TreasuryAdd { treasuryAdd } + ... on TreasuryParams { treasuryParams { + fixed + ratio { + numerator + denominator + } + maxLimit + }} + ... on RewardPot { rewardPot } + ... on RewardParams { rewardParams { + __typename + ... on LinearRewardParams{ + constant + ratio { + numerator + denominator + } + epochStart + epochRate + } + ... on HalvingRewardParams { + constant + ratio { + numerator + denominator + } + epochStart + epochRate + } + }} + ... on PerCertificateFee{ + certificatePoolRegistration + certificateStakeDelegation + certificateOwnerStakeDelegation + } + ... on FeesInTreasury { feesInTreasury} + ... on RewardLimitNone { rewardLimitNone } + ... on RewardLimitByAbsoluteStake { rewardLimitByAbsoluteStake { + numerator + denominator + }} + ... on PoolRewardParticipationCapping { min max } + ... on AddCommitteeId { addCommitteeId} + ... on RemoveCommitteeId { removeCommitteeId } + ... on PerVoteCertificateFee { + certificateVotePlan + certificateVoteCast + } + ... on TransactionMaxExpiryEpochs { transactionMaxExpiryEpochs } } diff --git a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/lastblock.graphql b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/lastblock.graphql index f9a3b08796..20fbbe8eb6 100644 --- a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/lastblock.graphql +++ b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/lastblock.graphql @@ -1,14 +1,157 @@ query LastBlock { tip { block { - id - chainLength - date { - epoch { - id + id + date { + epoch { + id + } + slot + } + chainLength + leader { + __typename + ... on Pool{ id } + ... on BftLeader{ id } } - slot - } + previousBlock { id } + totalInput + totalOutput + isConfirmed + branches { id } + transactions{totalCount + edges { + node { + id + blocks{id date{...blockDate}} + inputs{amount address{id}} + outputs{amount address{id}} + certificate{ + __typename + ... on StakeDelegation {account{id #delegation {... poolInfo} not implemented yet NPG-2247 + } + pools {... poolInfo}} + ... on OwnerStakeDelegation {pools {... poolInfo}} + ... on PoolRegistration {pool {... poolInfo} + startValidity + managementThreshold + owners + operators + rewards {fixed ratio {numerator denominator} maxLimit} + rewardAccount {id #delegation {... poolInfo} not implemented yet NPG-2247 + } + } + ... on PoolRetirement {poolId retirementTime} + ... on PoolUpdate {poolId startValidity} + ... on VotePlan{voteStart{...blockDate} + voteEnd{...blockDate} + committeeEnd{...blockDate} + payloadType + proposals {externalId} + } + ... on VoteCast {votePlan proposalIndex} + ... on VoteTally {votePlan} + ... on UpdateProposal {changes { configParams {...configParam}} + proposerId{id} + } + ... on UpdateVote{proposalId voterId{id}} + ... on MintToken{name} + ... on EvmMapping {address} + } + } + }} } } } + +fragment poolInfo on Pool { + id + blocks(first: 1000){totalCount} + registration{pool{id}} + retirement{poolId} + } + +fragment blockDate on BlockDate{ + epoch{id} + slot + } + +fragment configParam on ConfigParam + { + __typename + ... on Block0Date { block0Date } + ... on Discrimination { discrimination } + ... on ConsensusType { consensusType } + ... on SlotsPerEpoch { slotsPerEpoch } + ... on SlotDuration { slotDuration} + ... on EpochStabilityDepth { epochStabilityDepth } + ... on Milli { milli} + ... on BlockContentMaxSize { blockContentMaxSize} + ... on AddBftLeader { addBftLeader{ id }} + ... on RemoveBftLeader { removeBftLeader { id }} + ... on LinearFee { + constant + coefficient + certificate + perCertificateFees { + certificatePoolRegistration + certificateStakeDelegation + certificateOwnerStakeDelegation + } + perVoteCertificateFees { + certificateVotePlan + certificateVoteCast + }} + ... on ProposalExpiration{ proposalExpiration } + ... on KesUpdateSpeed { kesUpdateSpeed} + ... on TreasuryAdd { treasuryAdd } + ... on TreasuryParams { treasuryParams { + fixed + ratio { + numerator + denominator + } + maxLimit + }} + ... on RewardPot { rewardPot } + ... on RewardParams { rewardParams { + __typename + ... on LinearRewardParams{ + constant + ratio { + numerator + denominator + } + epochStart + epochRate + } + ... on HalvingRewardParams { + constant + ratio { + numerator + denominator + } + epochStart + epochRate + } + }} + ... on PerCertificateFee{ + certificatePoolRegistration + certificateStakeDelegation + certificateOwnerStakeDelegation + } + ... on FeesInTreasury { feesInTreasury} + ... on RewardLimitNone { rewardLimitNone } + ... on RewardLimitByAbsoluteStake { rewardLimitByAbsoluteStake { + numerator + denominator + }} + ... on PoolRewardParticipationCapping { min max } + ... on AddCommitteeId { addCommitteeId} + ... on RemoveCommitteeId { removeCommitteeId } + ... on PerVoteCertificateFee { + certificateVotePlan + certificateVoteCast + } + ... on TransactionMaxExpiryEpochs { transactionMaxExpiryEpochs } + } diff --git a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/voteplans.graphql b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/voteplans.graphql index 2b4e98435b..0186a114a1 100644 --- a/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/voteplans.graphql +++ b/src/jormungandr/testing/jormungandr-automation/resources/explorer/graphql/voteplans.graphql @@ -3,51 +3,46 @@ query AllVotePlans($first: Int!) { allVotePlans(first: $first) { edges { node { - id - voteStart { - epoch { - id - } - slot - } - voteEnd { - epoch { - id - } - slot - } - committeeEnd { - epoch { - id - } - slot - } - payloadType - proposals { - # proposalId - options { - start - end - } - votes { - edges { - node { - address { - id - } - payload { - __typename - ... on VotePayloadPublicStatus { - choice + id + voteStart {...blockDate} + voteEnd {...blockDate} + committeeEnd {...blockDate} + payloadType + proposals { + proposalId + options {start end} + tally { + __typename + ... on TallyPublicStatus {results + options{start end} } + ... on TallyPrivateStatus {results + options{start end} } + } + votes{ + edges{ + node{ + address{ + id + #delegation{id} + } + payload{ + __typename + ... on VotePayloadPublicStatus {choice} + ... on VotePayloadPrivateStatus {proof encryptedVote} + } + } } - } - } - } + totalCount } - } } + } } totalCount } } } + +fragment blockDate on BlockDate{ + epoch{id} + slot + } \ No newline at end of file diff --git a/src/jormungandr/testing/jormungandr-automation/src/jcli/api/rest/v0/block.rs b/src/jormungandr/testing/jormungandr-automation/src/jcli/api/rest/v0/block.rs index 25ffcdc9a4..97f28a2d59 100644 --- a/src/jormungandr/testing/jormungandr-automation/src/jcli/api/rest/v0/block.rs +++ b/src/jormungandr/testing/jormungandr-automation/src/jcli/api/rest/v0/block.rs @@ -36,7 +36,12 @@ impl Block { .stderr(predicates::str::contains(expected_msg)); } - pub fn next, S: Into>(self, block_id: P, limit: u32, host: S) -> Hash { + pub fn next, S: Into>( + self, + block_id: P, + limit: u32, + host: S, + ) -> Vec { let content = self .block_command .next(block_id, limit, host) @@ -44,8 +49,12 @@ impl Block { .assert() .success() .get_output() - .as_single_line(); - Hash::from_hex(&content).unwrap() + .as_multi_line(); + + content + .iter() + .map(|s| Hash::from_hex(s).unwrap()) + .collect::>() } pub fn next_expect_fail, S: Into>( diff --git a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/client.rs b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/client.rs index c51821506e..3024fc26af 100644 --- a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/client.rs +++ b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/client.rs @@ -43,7 +43,7 @@ impl GraphQlClient { if self.print_out { println!( "running query: {:#?}, against: {}", - query.query, self.base_url + query.operation_name, self.base_url ); } reqwest::blocking::Client::new() diff --git a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/mod.rs b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/mod.rs index 41e3477155..fa7d286594 100644 --- a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/mod.rs +++ b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/mod.rs @@ -149,6 +149,29 @@ impl ExplorerProcess { pub fn client_mut(&mut self) -> &mut Explorer { &mut self.client } + + pub fn wait_to_be_up(&self, seconds_wait: u64, attempts: u64) -> bool { + let mut wait = Wait::new(Duration::from_secs(seconds_wait), attempts); + while !wait.timeout_reached() { + if reqwest::blocking::Client::new() + .head(self.configuration.explorer_listen_http_address()) + .send() + .is_ok() + { + break; + }; + wait.advance(); + println!("Waiting for explorer to be up"); + } + + if wait.timeout_reached() { + println!("Timeout reached"); + false + } else { + println!("Explorer is up"); + true + } + } } impl Drop for ExplorerProcess { diff --git a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/all_blocks_verifier.rs b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/all_blocks_verifier.rs new file mode 100644 index 0000000000..c1d33a9245 --- /dev/null +++ b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/all_blocks_verifier.rs @@ -0,0 +1,943 @@ +use super::{ExplorerVerifier, VerifierError}; +use crate::jormungandr::explorer::data::all_blocks::{PayloadType as expPayloadType, *}; +use chain_addr::AddressReadable; +use chain_impl_mockchain::{ + account::DelegationType, + block::Block, + certificate::*, + chaintypes::ConsensusType, + config::{ConfigParam::*, RewardParams}, + fragment::Fragment, + transaction::{AccountIdentifier, InputEnum, Transaction}, + vote::PayloadType, +}; +use std::num::NonZeroU64; + +impl ExplorerVerifier { + pub fn assert_all_blocks( + block: Block, + explorer_block: &AllBlocksTipBlocksEdgesNode, + ) -> Result<(), VerifierError> { + assert_eq!(explorer_block.id, block.header().id().to_string()); + assert_eq!( + explorer_block.date.epoch.id.parse::().unwrap(), + block.header().block_date().epoch + ); + assert_eq!( + explorer_block.date.slot.parse::().unwrap(), + block.header().block_date().slot_id + ); + assert_eq!( + explorer_block.chain_length, + block.header().chain_length().to_string() + ); + assert_eq!( + explorer_block.previous_block.id, + block.header().block_parent_hash().to_string() + ); + match &explorer_block.leader { + Some(leader) => match leader { + AllBlocksTipBlocksEdgesNodeLeader::Pool(leader) => assert_eq!( + leader.id, + block.header().get_stakepool_id().unwrap().to_string() + ), + AllBlocksTipBlocksEdgesNodeLeader::BftLeader(leader) => assert_eq!( + Self::decode_bech32_pk(leader.id.as_str()), + *block.header().get_bft_leader_id().unwrap().as_public_key() + ), + }, + None => { + assert!(block.header().get_stakepool_id().is_none()); + assert!(block.header().get_bft_leader_id().is_none()); + } + } + //Logging the fragments in the block + for f in block.fragments() { + match f { + Fragment::Initial(_) => println!("Fragment::Initial hash {}", f.hash()), + Fragment::OldUtxoDeclaration(_) => { + println!("Fragment::OldUtxoDeclaration hash {}", f.hash()) + } + Fragment::Transaction(_) => { + println!("Fragment::Transaction hash {}", f.hash()) + } + Fragment::OwnerStakeDelegation(_) => { + println!("Fragment::OwnerStakeDelegation hash {}", f.hash()) + } + Fragment::StakeDelegation(_) => { + println!("Fragment::StakeDelegation hash {}", f.hash()) + } + Fragment::PoolRegistration(_) => { + println!("Fragment::PoolRegistration hash {}", f.hash()) + } + Fragment::PoolRetirement(_) => { + println!("Fragment::PoolRetirement hash {}", f.hash()) + } + Fragment::PoolUpdate(_) => { + println!("Fragment::PoolUpdate hash {}", f.hash()) + } + Fragment::UpdateProposal(_) => { + println!("Fragment::UpdateProposal hash {}", f.hash()) + } + Fragment::UpdateVote(_) => { + println!("Fragment::UpdateVote hash {}", f.hash()) + } + Fragment::VotePlan(_) => { + println!("Fragment::VotePlan hash {}", f.hash()) + } + Fragment::VoteCast(_) => { + println!("Fragment::VoteCast hash {}", f.hash()) + } + Fragment::VoteTally(_) => { + println!("Fragment::VoteTall hash {}", f.hash()) + } + Fragment::MintToken(_) => { + println!("Fragment::MintToken hash {}", f.hash()) + } + Fragment::Evm(_) => println!("Fragment::Evm hash {}", f.hash()), + Fragment::EvmMapping(_) => { + println!("Fragment::EvmMapping hash {}", f.hash()) + } + } + } + + assert_eq!( + explorer_block.transactions.total_count + 1, + block.contents().len() as i64 + ); + let mut matching_fragments_count = 0; + + if !block.contents().is_empty() { + for fragment in block.fragments() { + for edge in &explorer_block.transactions.edges { + let explorer_transaction = &edge.node; + if fragment.hash().to_string() == explorer_transaction.id { + matching_fragments_count += 1; + match &explorer_transaction.certificate { + None => { + if let Fragment::Transaction(fragment_transaction) = fragment { + Self::assert_all_blocks_transaction_param( + fragment_transaction, + explorer_transaction, + ) + .unwrap(); + } else if let Fragment::Initial(_config_params) = fragment { + //Not implemented because of the bug //NPG-3274 + return Err(VerifierError::Unimplemented); + } else { + return Err(VerifierError::InvalidCertificate { + received: "Transaction".to_string(), + }); + }; + } + Some(certificate) => { + match certificate{ + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::StakeDelegation( + explorer_cert, + ) => { + if let Fragment::StakeDelegation(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_stake_delegation(fragment_cert, explorer_cert) + .unwrap(); + } else { + return Err(VerifierError::InvalidCertificate { + received: "StakeDelegation".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::OwnerStakeDelegation( + explorer_cert, + ) => { + if let Fragment::OwnerStakeDelegation(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_owner_delegation(fragment_cert, explorer_cert) + .unwrap(); + } else { + return Err(VerifierError::InvalidCertificate { + received: "OwnerStakeDelegation".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::PoolRegistration( + explorer_cert, + ) => { + if let Fragment::PoolRegistration(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_pool_registration(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolRegistration".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::PoolRetirement( + explorer_cert, + ) => { + if let Fragment::PoolRetirement(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_pool_retirement(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolRetirement".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::PoolUpdate(explorer_cert) => { + if let Fragment::PoolUpdate(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_pool_update(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolUpdate".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::VotePlan(explorer_cert) => { + if let Fragment::VotePlan(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_vote_plan(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VotePlan".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::VoteCast(explorer_cert) => { + if let Fragment::VoteCast(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_vote_cast(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VoteCast".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::VoteTally(explorer_cert) => { + if let Fragment::VoteTally(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_vote_tally(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VoteTally".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::UpdateProposal( + explorer_cert, + ) => { + if let Fragment::UpdateProposal(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_update_proposal(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "UpdateProposal".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::UpdateVote(explorer_cert) => { + if let Fragment::UpdateVote(fragment_cert) = fragment { + Self::assert_all_blocks_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_all_blocks_update_vote(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "UpdateVote".to_string(), + }); + } + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::MintToken(_) => { + return Err(VerifierError::InvalidCertificate { + received: "MintToken can be only in block0".to_string(), + }); + } + AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificate::EvmMapping(_) => { + //Not implemented because of the bug EAS-238 + return Err(VerifierError::Unimplemented); + } + } + } + } + } + } + } + assert_eq!(matching_fragments_count, block.contents().len() as i32); + } + Ok(()) + } + + fn assert_all_blocks_transaction_param

( + fragment_transaction: &Transaction

, + explorer_transaction: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNode, + ) -> Result<(), VerifierError> { + assert_eq!( + fragment_transaction.as_slice().nb_inputs(), + explorer_transaction.inputs.len() as u8 + ); + + if fragment_transaction.as_slice().nb_inputs() > 0 { + let mut fragment_accounts = vec![]; + + for fragment_input in fragment_transaction.as_slice().inputs().iter() { + match fragment_input.to_enum() { + InputEnum::AccountInput(account_id, amount) => { + fragment_accounts.push(( + account_id.to_single_account().unwrap().to_string(), + amount.to_string(), + )); + Ok(()) + } + InputEnum::UtxoInput(_) => Err(VerifierError::Unimplemented), + } + .unwrap() + } + + let mut explorer_accounts = vec![]; + + for explorer_inputs in explorer_transaction.inputs.iter() { + let adr = + AddressReadable::from_string_anyprefix(&explorer_inputs.address.id).unwrap(); + explorer_accounts.push(( + adr.to_address().public_key().unwrap().to_string(), + explorer_inputs.amount.clone(), + )); + } + + let matching_inputs = fragment_accounts + .iter() + .zip(explorer_accounts.iter()) + .filter(|&(a, b)| a == b) + .count(); + assert_eq!(matching_inputs, explorer_transaction.inputs.len()); + }; + + assert_eq!( + fragment_transaction.as_slice().nb_outputs(), + explorer_transaction.outputs.len() as u8 + ); + + if fragment_transaction.as_slice().nb_outputs() > 0 { + let mut fragment_accounts = vec![]; + + for fragment_output in fragment_transaction.as_slice().outputs().iter() { + fragment_accounts.push(( + fragment_output.address.public_key().unwrap().to_string(), + fragment_output.value.to_string(), + )); + } + + let mut explorer_accounts = vec![]; + + for explorer_outputs in explorer_transaction.outputs.iter() { + let adr = + AddressReadable::from_string_anyprefix(&explorer_outputs.address.id).unwrap(); + explorer_accounts.push(( + adr.to_address().public_key().unwrap().to_string(), + explorer_outputs.amount.clone(), + )); + } + + let matching_outputs = fragment_accounts + .iter() + .zip(explorer_accounts.iter()) + .filter(|&(a, b)| a == b) + .count(); + assert_eq!(matching_outputs, explorer_transaction.outputs.len()); + }; + Ok(()) + } + + fn assert_all_blocks_pool_registration( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnPoolRegistration, + ) { + let pool_cert = fragment_cert.as_slice().payload().into_payload(); + + assert_eq!(pool_cert.to_id().to_string(), explorer_cert.pool.id); + assert_eq!( + u64::from(pool_cert.start_validity), + explorer_cert.start_validity.parse::().unwrap() + ); + if pool_cert.reward_account.is_some() { + if let AccountIdentifier::Single(id) = pool_cert.reward_account.as_ref().unwrap() { + assert_eq!( + id.to_string(), + explorer_cert.reward_account.as_ref().unwrap().id + ); + } + } + + assert_eq!( + pool_cert.rewards.ratio.numerator, + explorer_cert + .rewards + .ratio + .numerator + .parse::() + .unwrap() + ); + assert_eq!( + pool_cert.rewards.ratio.denominator, + explorer_cert + .rewards + .ratio + .denominator + .parse::() + .unwrap() + ); + if pool_cert.rewards.max_limit.is_some() { + assert_eq!( + pool_cert.rewards.max_limit.unwrap(), + explorer_cert + .rewards + .max_limit + .as_ref() + .unwrap() + .parse::() + .unwrap() + ); + } + + assert_eq!( + pool_cert.management_threshold(), + explorer_cert.management_threshold as u8 + ); + + assert_eq!(pool_cert.owners.len(), explorer_cert.owners.len()); + + let owners_matching = pool_cert + .owners + .iter() + .zip(explorer_cert.owners.iter()) + .filter(|&(a, b)| *a == Self::decode_bech32_pk(b)) + .count(); + + assert_eq!(pool_cert.owners.len(), owners_matching); + + assert_eq!(pool_cert.operators.len(), explorer_cert.operators.len()); + + let operators_matching = pool_cert + .operators + .iter() + .zip(explorer_cert.operators.iter()) + .filter(|&(a, b)| *a == Self::decode_bech32_pk(b)) + .count(); + + assert_eq!(pool_cert.operators.len(), operators_matching); + + assert!(explorer_cert.pool.retirement.is_none()); + } + + fn assert_all_blocks_stake_delegation( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnStakeDelegation, + ) -> Result<(), VerifierError> { + let deleg_cert = fragment_cert.as_slice().payload().into_payload(); + let adr = AddressReadable::from_string_anyprefix(&explorer_cert.account.id).unwrap(); + assert_eq!( + deleg_cert + .account_id + .to_single_account() + .unwrap() + .to_string(), + adr.to_address().public_key().unwrap().to_string() + ); + + match deleg_cert.delegation { + DelegationType::NonDelegated => Err(VerifierError::Unimplemented), + DelegationType::Full(pool_id) => { + assert_eq!(explorer_cert.pools.len(), 1); + assert_eq!(pool_id.to_string(), explorer_cert.pools[0].id); + Ok(()) + } + DelegationType::Ratio(deleg) => { + assert_eq!(explorer_cert.pools.len(), deleg.pools().len()); + let pools_matching = explorer_cert + .pools + .iter() + .zip(deleg.pools().iter()) + .filter(|&(a, b)| a.id == b.0.to_string()) + .count(); + assert_eq!(pools_matching, explorer_cert.pools.len()); + Ok(()) + } + } + } + fn assert_all_blocks_owner_delegation( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnOwnerStakeDelegation, + ) -> Result<(), VerifierError> { + let owner_cert = fragment_cert.as_slice().payload().into_payload(); + + match owner_cert.delegation { + DelegationType::NonDelegated => Err(VerifierError::Unimplemented), + DelegationType::Full(pool_id) => { + assert_eq!(explorer_cert.pools.len(), 1); + assert_eq!(pool_id.to_string(), explorer_cert.pools[0].id); + Ok(()) + } + DelegationType::Ratio(deleg) => { + assert_eq!(explorer_cert.pools.len(), deleg.pools().len()); + let pools_matching = explorer_cert + .pools + .iter() + .zip(deleg.pools().iter()) + .filter(|&(a, b)| a.id == b.0.to_string()) + .count(); + assert_eq!(pools_matching, explorer_cert.pools.len()); + Ok(()) + } + } + } + + fn assert_all_blocks_pool_retirement( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnPoolRetirement, + ) { + let ret_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(ret_cert.pool_id.to_string(), explorer_cert.pool_id); + assert_eq!( + u64::from(ret_cert.retirement_time), + explorer_cert.retirement_time.parse::().unwrap() + ); + } + + fn assert_all_blocks_pool_update( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnPoolUpdate, + ) { + let update_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(update_cert.pool_id.to_string(), explorer_cert.pool_id); + assert_eq!( + u64::from(update_cert.new_pool_reg.start_validity), + explorer_cert.start_validity.parse::().unwrap() + ); + } + + fn assert_all_blocks_vote_plan( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnVotePlan, + ) { + let vote_plan_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + explorer_cert.vote_start.epoch.id.parse::().unwrap(), + vote_plan_cert.vote_start().epoch + ); + assert_eq!( + explorer_cert.vote_start.slot.parse::().unwrap(), + vote_plan_cert.vote_start().slot_id + ); + assert_eq!( + explorer_cert.vote_end.epoch.id.parse::().unwrap(), + vote_plan_cert.vote_end().epoch + ); + assert_eq!( + explorer_cert.vote_end.slot.parse::().unwrap(), + vote_plan_cert.vote_end().slot_id + ); + assert_eq!( + explorer_cert.committee_end.epoch.id.parse::().unwrap(), + vote_plan_cert.committee_end().epoch + ); + assert_eq!( + explorer_cert.committee_end.slot.parse::().unwrap(), + vote_plan_cert.committee_end().slot_id + ); + + match vote_plan_cert.payload_type() { + PayloadType::Public => { + assert!(matches!(explorer_cert.payload_type, expPayloadType::PUBLIC)) + } + PayloadType::Private => assert!(matches!( + explorer_cert.payload_type, + expPayloadType::PRIVATE + )), + } + + assert_eq!( + explorer_cert.proposals.len(), + vote_plan_cert.proposals().len() + ); + let matching_proposal = explorer_cert + .proposals + .iter() + .zip(vote_plan_cert.proposals().iter()) + .filter(|&(a, b)| a.external_id == b.external_id().to_string()) + .count(); + assert_eq!(explorer_cert.proposals.len(), matching_proposal); + } + + fn assert_all_blocks_vote_cast( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnVoteCast, + ) { + let vote_cast_cert = fragment_cert.as_slice().payload().into_payload(); + + assert_eq!( + explorer_cert.vote_plan, + vote_cast_cert.vote_plan().to_string() + ); + assert_eq!( + explorer_cert.proposal_index as u8, + vote_cast_cert.proposal_index() + ); + } + + fn assert_all_blocks_vote_tally( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnVoteTally, + ) { + let vote_tally_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(explorer_cert.vote_plan, vote_tally_cert.id().to_string()); + } + + fn assert_all_blocks_update_proposal( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnUpdateProposal, + ) { + let update_proposal_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + Self::decode_bech32_pk(&explorer_cert.proposer_id.id), + *update_proposal_cert.proposer_id().as_public_key() + ); + assert_eq!( + explorer_cert.changes.config_params.len(), + update_proposal_cert.changes().iter().len() + ); + + //for each parameter in the update_proposal_certificate check that there is only one parameter + //of the corrisponding type in the explorer query answer and that the parameters have the same value + for update_proposal_param in update_proposal_cert.changes().iter() { + match update_proposal_param { + Block0Date(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::Block0Date(explorer_param) + if explorer_param.block0_date as u64 == certificate_param.0) + }) + .count(); + assert_eq!(matching_params, 1); + } + Discrimination(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::Discrimination(explorer_param) + if { match explorer_param.discrimination{ + DiscriminationEnum::PRODUCTION => {matches!(certificate_param, chain_addr::Discrimination::Production)}, + DiscriminationEnum::TEST => {matches!(certificate_param, chain_addr::Discrimination::Test)}, + DiscriminationEnum::Other(_) => false, + }})).count(); + assert_eq!(matching_params, 1); + } + ConsensusVersion(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::ConsensusType(explorer_param) + if { match explorer_param.consensus_type{ + ConsensusTypeEnum::BFT => {matches!(certificate_param, ConsensusType::Bft)}, + ConsensusTypeEnum::GENESIS_PRAOS => {matches!(certificate_param, ConsensusType::GenesisPraos)}, + ConsensusTypeEnum::Other(_) => false, + }})).count(); + assert_eq!(matching_params, 1); + } + SlotsPerEpoch(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::SlotsPerEpoch(explorer_param) + if explorer_param.slots_per_epoch as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + SlotDuration(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::SlotDuration(explorer_param) + if explorer_param.slot_duration as u8 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + EpochStabilityDepth(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::EpochStabilityDepth(explorer_param) + if explorer_param.epoch_stability_depth as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + ConsensusGenesisPraosActiveSlotsCoeff(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::Milli(explorer_param) + if explorer_param.milli as u64 == certificate_param.to_millis()) + }) + .count(); + assert_eq!(matching_params, 1); + } + BlockContentMaxSize(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::BlockContentMaxSize(explorer_param) + if explorer_param.block_content_max_size as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + AddBftLeader(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::AddBftLeader(explorer_param) + if explorer_param.add_bft_leader.id == certificate_param.as_public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + RemoveBftLeader(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RemoveBftLeader(explorer_param) + if explorer_param.remove_bft_leader.id == certificate_param.as_public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + LinearFee(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::LinearFee(explorer_param) + if {explorer_param.certificate as u64 == certificate_param.certificate && + explorer_param.coefficient as u64 == certificate_param.coefficient && + explorer_param.constant as u64 == certificate_param.constant && + explorer_param.per_certificate_fees.certificate_owner_stake_delegation.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_owner_stake_delegation.unwrap()) && + explorer_param.per_certificate_fees.certificate_pool_registration.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_pool_registration.unwrap()) && + explorer_param.per_certificate_fees.certificate_stake_delegation.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_stake_delegation.unwrap()) && + explorer_param.per_vote_certificate_fees.certificate_vote_cast.unwrap() as u64 == u64::from(certificate_param.per_vote_certificate_fees.certificate_vote_cast.unwrap()) && + explorer_param.per_vote_certificate_fees.certificate_vote_plan.unwrap() as u64 == u64::from(certificate_param.per_vote_certificate_fees.certificate_vote_plan.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + ProposalExpiration(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::ProposalExpiration(explorer_param) + if explorer_param.proposal_expiration as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + KesUpdateSpeed(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::KesUpdateSpeed(explorer_param) + if explorer_param.kes_update_speed as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + TreasuryAdd(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::TreasuryAdd(explorer_param) + if explorer_param.treasury_add == certificate_param.to_string()) + }) + .count(); + assert_eq!(matching_params, 1); + } + TreasuryParams(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::TreasuryParams(explorer_param) + if {explorer_param.treasury_params.fixed == certificate_param.fixed.to_string() && + explorer_param.treasury_params.ratio.numerator.parse::().unwrap() == certificate_param.ratio.numerator && + explorer_param.treasury_params.ratio.denominator.parse::().unwrap() == u64::from(certificate_param.ratio.denominator) && + explorer_param.treasury_params.max_limit.as_ref().unwrap().parse::().unwrap() == u64::from(certificate_param.max_limit.unwrap())} + )).count(); + assert_eq!(matching_params, 1); + } + RewardPot(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::RewardPot(explorer_param) + if explorer_param.reward_pot == certificate_param.to_string()) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardParams(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RewardParams(explorer_param) + if { match &explorer_param.reward_params { + ConfigParamOnRewardParamsRewardParams::LinearRewardParams(exp_linear_param) => + {matches!(certificate_param, RewardParams::Linear { constant,ratio,epoch_rate,epoch_start } + if {*constant == exp_linear_param.constant as u64 && + ratio.numerator == exp_linear_param.ratio.numerator.parse::().unwrap() && + u64::from(ratio.denominator) == exp_linear_param.ratio.denominator.parse::().unwrap() && + u32::from(*epoch_rate) == exp_linear_param.epoch_rate as u32 && + *epoch_start == exp_linear_param.epoch_start as u32}) }, + ConfigParamOnRewardParamsRewardParams::HalvingRewardParams(exp_halving_param) => + {matches!(certificate_param, RewardParams::Halving { constant,ratio,epoch_rate,epoch_start } + if {*constant == exp_halving_param.constant as u64 && + ratio.numerator == exp_halving_param.ratio.numerator.parse::().unwrap() && + u64::from(ratio.denominator) == exp_halving_param.ratio.denominator.parse::().unwrap() && + u32::from(*epoch_rate) == exp_halving_param.epoch_rate as u32 && + *epoch_start == exp_halving_param.epoch_start as u32}) }, + }})).count(); + assert_eq!(matching_params, 1); + } + PerCertificateFees(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PerCertificateFee(explorer_param) + if { + explorer_param.certificate_owner_stake_delegation.unwrap() as u64 == u64::from(certificate_param.certificate_owner_stake_delegation.unwrap()) && + explorer_param.certificate_pool_registration.unwrap() as u64 == u64::from(certificate_param.certificate_pool_registration.unwrap()) && + explorer_param.certificate_stake_delegation.unwrap() as u64 == u64::from(certificate_param.certificate_stake_delegation.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + FeesInTreasury(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::FeesInTreasury(explorer_param) + if explorer_param.fees_in_treasury == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardLimitNone => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::RewardLimitNone(explorer_param) + if !explorer_param.reward_limit_none) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardLimitByAbsoluteStake(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RewardLimitByAbsoluteStake(explorer_param) + if explorer_param.reward_limit_by_absolute_stake.numerator.parse::().unwrap() == certificate_param.numerator && + explorer_param.reward_limit_by_absolute_stake.denominator.parse::().unwrap() == u64::from(certificate_param.denominator))).count(); + assert_eq!(matching_params, 1); + } + PoolRewardParticipationCapping(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PoolRewardParticipationCapping(explorer_param) + if explorer_param.max as u32 == u32::from(certificate_param.0) && + explorer_param.min as u32 == u32::from(certificate_param.1))).count(); + assert_eq!(matching_params, 1); + } + AddCommitteeId(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::AddCommitteeId(explorer_param) + if explorer_param.add_committee_id == certificate_param.public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + RemoveCommitteeId(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RemoveCommitteeId(explorer_param) + if explorer_param.remove_committee_id == certificate_param.public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + PerVoteCertificateFees(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PerVoteCertificateFee(explorer_param) + if {explorer_param.certificate_vote_cast.unwrap() as u64 == u64::from(certificate_param.certificate_vote_cast.unwrap()) && + explorer_param.certificate_vote_plan.unwrap() as u64 == u64::from(certificate_param.certificate_vote_plan.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + TransactionMaxExpiryEpochs(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::TransactionMaxExpiryEpochs(explorer_param) + if explorer_param.transaction_max_expiry_epochs as u8 == *certificate_param)).count(); + assert_eq!(matching_params, 1); + } + #[cfg(feature = "evm")] + EvmConfiguration(_) => unimplemented!(), + #[cfg(feature = "evm")] + EvmEnvironment(_) => unimplemented!(), + } + } + } + + fn assert_all_blocks_update_vote( + fragment_cert: &Transaction, + explorer_cert: &AllBlocksTipBlocksEdgesNodeTransactionsEdgesNodeCertificateOnUpdateVote, + ) { + let update_vote_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + explorer_cert.proposal_id, + update_vote_cert.proposal_id().to_string() + ); + assert_eq!( + Self::decode_bech32_pk(&explorer_cert.voter_id.id), + *update_vote_cert.voter_id().as_public_key() + ); + } +} diff --git a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/all_vote_plans_verifier.rs b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/all_vote_plans_verifier.rs new file mode 100644 index 0000000000..884b4987f6 --- /dev/null +++ b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/all_vote_plans_verifier.rs @@ -0,0 +1,192 @@ +use super::ExplorerVerifier; +use crate::jormungandr::explorer::data::all_vote_plans::{ + self, AllVotePlansTipAllVotePlansEdgesNodeProposalsTally::*, + AllVotePlansTipAllVotePlansEdgesNodeProposalsVotesEdgesNodePayload::*, *, +}; +use chain_impl_mockchain::{testing::data::Wallet, vote, vote::Choice}; +use jormungandr_lib::interfaces::{PrivateTallyState, Tally, VotePlanStatus}; +use std::collections::HashMap; + +impl ExplorerVerifier { + pub fn assert_all_vote_plans( + explorer_vote_plans: Vec, + vote_plan_statuses: Vec, + proposal_votes: HashMap>>, + ) { + let mut matching_vote_plans = 0; + assert_eq!(vote_plan_statuses.len(), explorer_vote_plans.len()); + for vote_plan_status in &vote_plan_statuses { + for explorer_vote_plan_edge in &explorer_vote_plans { + let explorer_vote_plan = &explorer_vote_plan_edge.node; + if explorer_vote_plan.id == vote_plan_status.id.to_string() { + matching_vote_plans += 1; + assert_eq!( + explorer_vote_plan.vote_start.epoch.id, + vote_plan_status.vote_start.epoch().to_string() + ); + assert_eq!( + explorer_vote_plan.vote_start.slot, + vote_plan_status.vote_start.slot().to_string() + ); + assert_eq!( + explorer_vote_plan.vote_end.epoch.id, + vote_plan_status.vote_end.epoch().to_string() + ); + assert_eq!( + explorer_vote_plan.vote_end.slot, + vote_plan_status.vote_end.slot().to_string() + ); + assert_eq!( + explorer_vote_plan.committee_end.epoch.id, + vote_plan_status.committee_end.epoch().to_string() + ); + assert_eq!( + explorer_vote_plan.committee_end.slot, + vote_plan_status.committee_end.slot().to_string() + ); + match explorer_vote_plan.payload_type { + all_vote_plans::PayloadType::PUBLIC => assert!(matches!( + vote_plan_status.payload, + vote::PayloadType::Public + )), + all_vote_plans::PayloadType::PRIVATE => assert!(matches!( + vote_plan_status.payload, + vote::PayloadType::Private + )), + all_vote_plans::PayloadType::Other(_) => panic!("Wrong payload type"), + } + + assert_eq!( + explorer_vote_plan.proposals.len(), + vote_plan_status.proposals.len() + ); + for explorer_proposal in &explorer_vote_plan.proposals { + let vote_proposal_status = + match vote_plan_status.proposals.iter().position(|proposal| { + explorer_proposal.proposal_id == proposal.proposal_id.to_string() + }) { + Some(index) => vote_plan_status.proposals[index].clone(), + None => panic!("Proposal id not found"), + }; + assert_eq!( + vote_proposal_status.options.start, + explorer_proposal.options.start as u8 + ); + assert_eq!( + vote_proposal_status.options.end, + explorer_proposal.options.end as u8 + ); + match &vote_proposal_status.tally { + Tally::Public { result } => { + if let TallyPublicStatus(explorer_tally_status) = + explorer_proposal.tally.as_ref().unwrap() + { + assert_eq!( + result.results.len(), + explorer_tally_status.results.len() + ); + let matching_results = result + .results + .iter() + .zip(explorer_tally_status.results.iter()) + .filter(|&(a, b)| &a.to_string() == b) + .count(); + assert_eq!(matching_results, result.results.len()); + assert_eq!( + result.options.len(), + explorer_tally_status.results.len() + ); + assert_eq!( + result.options.start, + explorer_tally_status.options.start as u8 + ); + assert_eq!( + result.options.end, + explorer_tally_status.options.end as u8 + ); + } else { + panic!("Wrong tally status. Expected Public") + } + } + Tally::Private { state } => { + assert!(explorer_proposal.tally.is_some()); + if let TallyPrivateStatus(explorer_tally_status) = + explorer_proposal.tally.as_ref().unwrap() + { + match state { + PrivateTallyState::Encrypted { encrypted_tally: _ } => { + assert!( + explorer_tally_status.results.is_none(), + "BUG NPG-3369 fixed" + ) + } + PrivateTallyState::Decrypted { result } => { + let explorer_tally_result = + explorer_tally_status.results.as_ref().unwrap(); + assert_eq!( + result.results.len(), + explorer_tally_result.len() + ); + let matching_results = result + .results + .iter() + .zip(explorer_tally_result.iter()) + .filter(|&(a, b)| &a.to_string() == b) + .count(); + assert_eq!(matching_results, result.results.len()); + assert_eq!( + result.options.len(), + explorer_tally_result.len() + ); + assert_eq!( + result.options.start, + explorer_tally_status.options.start as u8 + ); + assert_eq!( + result.options.end, + explorer_tally_status.options.end as u8 + ); + } + } + } else { + panic!("Wrong tally status. Expected Private") + } + } + } + assert_eq!( + vote_proposal_status.votes_cast, + explorer_proposal.votes.total_count as usize + ); + if vote_proposal_status.votes_cast == 0 { + assert!(explorer_proposal.votes.edges.is_empty()); + } else { + let explorer_votes = &explorer_proposal.votes.edges; + assert_eq!(explorer_votes.len(), vote_proposal_status.votes_cast); + let votes = proposal_votes + .get(&vote_plan_status.id.to_string()) + .unwrap() + .get(&vote_proposal_status.proposal_id.to_string()) + .unwrap(); + + for vote in votes { + for explorer_vote in explorer_votes { + if vote.0.public_key().to_string() + == explorer_vote.node.address.id + { + match &explorer_vote.node.payload { + VotePayloadPublicStatus(choice) => { + assert_eq!(choice.choice as u8, vote.1.as_byte()) + } + VotePayloadPrivateStatus(_) => todo!(), + } + } + } + } + } + } + } + } + } + assert_eq!(vote_plan_statuses.len(), matching_vote_plans); + } +} diff --git a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/blocks_by_chain_length_verifier.rs b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/blocks_by_chain_length_verifier.rs new file mode 100644 index 0000000000..9e6cc27d0d --- /dev/null +++ b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/blocks_by_chain_length_verifier.rs @@ -0,0 +1,946 @@ +use super::{ExplorerVerifier, VerifierError}; +use crate::jormungandr::explorer::data::blocks_by_chain_length::{ + PayloadType as expPayloadType, *, +}; +use chain_addr::AddressReadable; +use chain_impl_mockchain::{ + account::DelegationType, + block::Block, + certificate::*, + chaintypes::ConsensusType, + config::{ConfigParam::*, RewardParams}, + fragment::Fragment, + transaction::{AccountIdentifier, InputEnum, Transaction}, + vote::PayloadType, +}; +use std::num::NonZeroU64; + +impl ExplorerVerifier { + pub fn assert_block_by_chain_length( + block: Block, + explorer_block: &BlocksByChainLengthBlocksByChainLength, + ) -> Result<(), VerifierError> { + assert_eq!(explorer_block.id, block.header().id().to_string()); + assert_eq!( + explorer_block.date.epoch.id.parse::().unwrap(), + block.header().block_date().epoch + ); + assert_eq!( + explorer_block.date.slot.parse::().unwrap(), + block.header().block_date().slot_id + ); + assert_eq!( + explorer_block.chain_length, + block.header().chain_length().to_string() + ); + assert_eq!( + explorer_block.previous_block.id, + block.header().block_parent_hash().to_string() + ); + match &explorer_block.leader { + Some(leader) => match leader { + BlocksByChainLengthBlocksByChainLengthLeader::Pool(leader) => assert_eq!( + leader.id, + block.header().get_stakepool_id().unwrap().to_string() + ), + BlocksByChainLengthBlocksByChainLengthLeader::BftLeader(leader) => assert_eq!( + Self::decode_bech32_pk(leader.id.as_str()), + *block.header().get_bft_leader_id().unwrap().as_public_key() + ), + }, + None => { + assert!(block.header().get_stakepool_id().is_none()); + assert!(block.header().get_bft_leader_id().is_none()); + } + } + //Logging the fragments in the block + for f in block.fragments() { + match f { + Fragment::Initial(_) => println!("Fragment::Initial hash {}", f.hash()), + Fragment::OldUtxoDeclaration(_) => { + println!("Fragment::OldUtxoDeclaration hash {}", f.hash()) + } + Fragment::Transaction(_) => { + println!("Fragment::Transaction hash {}", f.hash()) + } + Fragment::OwnerStakeDelegation(_) => { + println!("Fragment::OwnerStakeDelegation hash {}", f.hash()) + } + Fragment::StakeDelegation(_) => { + println!("Fragment::StakeDelegation hash {}", f.hash()) + } + Fragment::PoolRegistration(_) => { + println!("Fragment::PoolRegistration hash {}", f.hash()) + } + Fragment::PoolRetirement(_) => { + println!("Fragment::PoolRetirement hash {}", f.hash()) + } + Fragment::PoolUpdate(_) => { + println!("Fragment::PoolUpdate hash {}", f.hash()) + } + Fragment::UpdateProposal(_) => { + println!("Fragment::UpdateProposal hash {}", f.hash()) + } + Fragment::UpdateVote(_) => { + println!("Fragment::UpdateVote hash {}", f.hash()) + } + Fragment::VotePlan(_) => { + println!("Fragment::VotePlan hash {}", f.hash()) + } + Fragment::VoteCast(_) => { + println!("Fragment::VoteCast hash {}", f.hash()) + } + Fragment::VoteTally(_) => { + println!("Fragment::VoteTall hash {}", f.hash()) + } + Fragment::MintToken(_) => { + println!("Fragment::MintToken hash {}", f.hash()) + } + Fragment::Evm(_) => println!("Fragment::Evm hash {}", f.hash()), + Fragment::EvmMapping(_) => { + println!("Fragment::EvmMapping hash {}", f.hash()) + } + } + } + + assert_eq!( + explorer_block.transactions.total_count, + block.contents().len() as i64 + ); + let mut matching_fragments_count = 0; + + if !block.contents().is_empty() { + for fragment in block.fragments() { + for edge in &explorer_block.transactions.edges { + let explorer_transaction = &edge.node; + if fragment.hash().to_string() == explorer_transaction.id { + matching_fragments_count += 1; + match &explorer_transaction.certificate { + None => { + if let Fragment::Transaction(fragment_transaction) = fragment { + Self::assert_block_by_chain_length_transaction_param( + fragment_transaction, + explorer_transaction, + ) + .unwrap(); + } else if let Fragment::Initial(_config_params) = fragment { + //Not implemented because of the bug //NPG-3274 + return Err(VerifierError::Unimplemented); + } else { + return Err(VerifierError::InvalidCertificate { + received: "Transaction".to_string(), + }); + }; + } + Some(certificate) => { + match certificate{ + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate + ::StakeDelegation( + explorer_cert, + ) => { + if let Fragment::StakeDelegation(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_stake_delegation(fragment_cert, explorer_cert) + .unwrap(); + } else { + return Err(VerifierError::InvalidCertificate { + received: "StakeDelegation".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::OwnerStakeDelegation( + explorer_cert, + ) => { + if let Fragment::OwnerStakeDelegation(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_owner_delegation(fragment_cert, explorer_cert) + .unwrap(); + } else { + return Err(VerifierError::InvalidCertificate { + received: "OwnerStakeDelegation".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::PoolRegistration( + explorer_cert, + ) => { + if let Fragment::PoolRegistration(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_pool_registration(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolRegistration".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::PoolRetirement( + explorer_cert, + ) => { + if let Fragment::PoolRetirement(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_pool_retirement(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolRetirement".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::PoolUpdate(explorer_cert) => { + if let Fragment::PoolUpdate(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_pool_update(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolUpdate".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::VotePlan(explorer_cert) => { + if let Fragment::VotePlan(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_vote_plan(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VotePlan".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::VoteCast(explorer_cert) => { + if let Fragment::VoteCast(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_vote_cast(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VoteCast".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::VoteTally(explorer_cert) => { + if let Fragment::VoteTally(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_vote_tally(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VoteTally".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::UpdateProposal( + explorer_cert, + ) => { + if let Fragment::UpdateProposal(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_update_proposal(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "UpdateProposal".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::UpdateVote(explorer_cert) => { + if let Fragment::UpdateVote(fragment_cert) = fragment { + Self::assert_block_by_chain_length_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_block_by_chain_length_update_vote(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "UpdateVote".to_string(), + }); + } + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::MintToken(_) => { + return Err(VerifierError::InvalidCertificate { + received: "MintToken can be only in block0".to_string(), + }); + } + BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificate::EvmMapping(_) => { + //Not implemented because of the bug EAS-238 + return Err(VerifierError::Unimplemented); + } + } + } + } + } + } + } + assert_eq!(matching_fragments_count, block.contents().len() as i32); + } + Ok(()) + } + + fn assert_block_by_chain_length_transaction_param

( + fragment_transaction: &Transaction

, + explorer_transaction: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNode, + ) -> Result<(), VerifierError> { + assert_eq!( + fragment_transaction.as_slice().nb_inputs(), + explorer_transaction.inputs.len() as u8 + ); + + if fragment_transaction.as_slice().nb_inputs() > 0 { + let mut fragment_accounts = vec![]; + + for fragment_input in fragment_transaction.as_slice().inputs().iter() { + match fragment_input.to_enum() { + InputEnum::AccountInput(account_id, amount) => { + fragment_accounts.push(( + account_id.to_single_account().unwrap().to_string(), + amount.to_string(), + )); + Ok(()) + } + InputEnum::UtxoInput(_) => Err(VerifierError::Unimplemented), + } + .unwrap() + } + + let mut explorer_accounts = vec![]; + + for explorer_inputs in explorer_transaction.inputs.iter() { + let adr = + AddressReadable::from_string_anyprefix(&explorer_inputs.address.id).unwrap(); + explorer_accounts.push(( + adr.to_address().public_key().unwrap().to_string(), + explorer_inputs.amount.clone(), + )); + } + + let matching_inputs = fragment_accounts + .iter() + .zip(explorer_accounts.iter()) + .filter(|&(a, b)| a == b) + .count(); + assert_eq!(matching_inputs, explorer_transaction.inputs.len()); + }; + + assert_eq!( + fragment_transaction.as_slice().nb_outputs(), + explorer_transaction.outputs.len() as u8 + ); + + if fragment_transaction.as_slice().nb_outputs() > 0 { + let mut fragment_accounts = vec![]; + + for fragment_output in fragment_transaction.as_slice().outputs().iter() { + fragment_accounts.push(( + fragment_output.address.public_key().unwrap().to_string(), + fragment_output.value.to_string(), + )); + } + + let mut explorer_accounts = vec![]; + + for explorer_outputs in explorer_transaction.outputs.iter() { + let adr = + AddressReadable::from_string_anyprefix(&explorer_outputs.address.id).unwrap(); + explorer_accounts.push(( + adr.to_address().public_key().unwrap().to_string(), + explorer_outputs.amount.clone(), + )); + } + + let matching_outputs = fragment_accounts + .iter() + .zip(explorer_accounts.iter()) + .filter(|&(a, b)| a == b) + .count(); + assert_eq!(matching_outputs, explorer_transaction.outputs.len()); + }; + Ok(()) + } + + fn assert_block_by_chain_length_pool_registration( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnPoolRegistration, + ) { + let pool_cert = fragment_cert.as_slice().payload().into_payload(); + + assert_eq!(pool_cert.to_id().to_string(), explorer_cert.pool.id); + assert_eq!( + u64::from(pool_cert.start_validity), + explorer_cert.start_validity.parse::().unwrap() + ); + if pool_cert.reward_account.is_some() { + if let AccountIdentifier::Single(id) = pool_cert.reward_account.as_ref().unwrap() { + assert_eq!( + id.to_string(), + explorer_cert.reward_account.as_ref().unwrap().id + ); + } + } + + assert_eq!( + pool_cert.rewards.ratio.numerator, + explorer_cert + .rewards + .ratio + .numerator + .parse::() + .unwrap() + ); + assert_eq!( + pool_cert.rewards.ratio.denominator, + explorer_cert + .rewards + .ratio + .denominator + .parse::() + .unwrap() + ); + if pool_cert.rewards.max_limit.is_some() { + assert_eq!( + pool_cert.rewards.max_limit.unwrap(), + explorer_cert + .rewards + .max_limit + .as_ref() + .unwrap() + .parse::() + .unwrap() + ); + } + + assert_eq!( + pool_cert.management_threshold(), + explorer_cert.management_threshold as u8 + ); + + assert_eq!(pool_cert.owners.len(), explorer_cert.owners.len()); + + let owners_matching = pool_cert + .owners + .iter() + .zip(explorer_cert.owners.iter()) + .filter(|&(a, b)| *a == Self::decode_bech32_pk(b)) + .count(); + + assert_eq!(pool_cert.owners.len(), owners_matching); + + assert_eq!(pool_cert.operators.len(), explorer_cert.operators.len()); + + let operators_matching = pool_cert + .operators + .iter() + .zip(explorer_cert.operators.iter()) + .filter(|&(a, b)| *a == Self::decode_bech32_pk(b)) + .count(); + + assert_eq!(pool_cert.operators.len(), operators_matching); + + assert!(explorer_cert.pool.retirement.is_none()); + } + + fn assert_block_by_chain_length_stake_delegation( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnStakeDelegation, + ) -> Result<(), VerifierError> { + let deleg_cert = fragment_cert.as_slice().payload().into_payload(); + let adr = AddressReadable::from_string_anyprefix(&explorer_cert.account.id).unwrap(); + assert_eq!( + deleg_cert + .account_id + .to_single_account() + .unwrap() + .to_string(), + adr.to_address().public_key().unwrap().to_string() + ); + + match deleg_cert.delegation { + DelegationType::NonDelegated => Err(VerifierError::Unimplemented), + DelegationType::Full(pool_id) => { + assert_eq!(explorer_cert.pools.len(), 1); + assert_eq!(pool_id.to_string(), explorer_cert.pools[0].id); + Ok(()) + } + DelegationType::Ratio(deleg) => { + assert_eq!(explorer_cert.pools.len(), deleg.pools().len()); + let pools_matching = explorer_cert + .pools + .iter() + .zip(deleg.pools().iter()) + .filter(|&(a, b)| a.id == b.0.to_string()) + .count(); + assert_eq!(pools_matching, explorer_cert.pools.len()); + Ok(()) + } + } + } + fn assert_block_by_chain_length_owner_delegation( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnOwnerStakeDelegation, + ) -> Result<(), VerifierError> { + let owner_cert = fragment_cert.as_slice().payload().into_payload(); + + match owner_cert.delegation { + DelegationType::NonDelegated => Err(VerifierError::Unimplemented), + DelegationType::Full(pool_id) => { + assert_eq!(explorer_cert.pools.len(), 1); + assert_eq!(pool_id.to_string(), explorer_cert.pools[0].id); + Ok(()) + } + DelegationType::Ratio(deleg) => { + assert_eq!(explorer_cert.pools.len(), deleg.pools().len()); + let pools_matching = explorer_cert + .pools + .iter() + .zip(deleg.pools().iter()) + .filter(|&(a, b)| a.id == b.0.to_string()) + .count(); + assert_eq!(pools_matching, explorer_cert.pools.len()); + Ok(()) + } + } + } + + fn assert_block_by_chain_length_pool_retirement( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnPoolRetirement, + ) { + let ret_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(ret_cert.pool_id.to_string(), explorer_cert.pool_id); + assert_eq!( + u64::from(ret_cert.retirement_time), + explorer_cert.retirement_time.parse::().unwrap() + ); + } + + fn assert_block_by_chain_length_pool_update( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnPoolUpdate, + ) { + let update_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(update_cert.pool_id.to_string(), explorer_cert.pool_id); + assert_eq!( + u64::from(update_cert.new_pool_reg.start_validity), + explorer_cert.start_validity.parse::().unwrap() + ); + } + + fn assert_block_by_chain_length_vote_plan( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnVotePlan, + ) { + let vote_plan_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + explorer_cert.vote_start.epoch.id.parse::().unwrap(), + vote_plan_cert.vote_start().epoch + ); + assert_eq!( + explorer_cert.vote_start.slot.parse::().unwrap(), + vote_plan_cert.vote_start().slot_id + ); + assert_eq!( + explorer_cert.vote_end.epoch.id.parse::().unwrap(), + vote_plan_cert.vote_end().epoch + ); + assert_eq!( + explorer_cert.vote_end.slot.parse::().unwrap(), + vote_plan_cert.vote_end().slot_id + ); + assert_eq!( + explorer_cert.committee_end.epoch.id.parse::().unwrap(), + vote_plan_cert.committee_end().epoch + ); + assert_eq!( + explorer_cert.committee_end.slot.parse::().unwrap(), + vote_plan_cert.committee_end().slot_id + ); + + match vote_plan_cert.payload_type() { + PayloadType::Public => { + assert!(matches!(explorer_cert.payload_type, expPayloadType::PUBLIC)) + } + PayloadType::Private => assert!(matches!( + explorer_cert.payload_type, + expPayloadType::PRIVATE + )), + } + + assert_eq!( + explorer_cert.proposals.len(), + vote_plan_cert.proposals().len() + ); + let matching_proposal = explorer_cert + .proposals + .iter() + .zip(vote_plan_cert.proposals().iter()) + .filter(|&(a, b)| a.external_id == b.external_id().to_string()) + .count(); + assert_eq!(explorer_cert.proposals.len(), matching_proposal); + } + + fn assert_block_by_chain_length_vote_cast( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnVoteCast, + ) { + let vote_cast_cert = fragment_cert.as_slice().payload().into_payload(); + + assert_eq!( + explorer_cert.vote_plan, + vote_cast_cert.vote_plan().to_string() + ); + assert_eq!( + explorer_cert.proposal_index as u8, + vote_cast_cert.proposal_index() + ); + } + + fn assert_block_by_chain_length_vote_tally( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnVoteTally, + ) { + let vote_tally_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(explorer_cert.vote_plan, vote_tally_cert.id().to_string()); + } + + fn assert_block_by_chain_length_update_proposal( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnUpdateProposal, + ) { + let update_proposal_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + Self::decode_bech32_pk(&explorer_cert.proposer_id.id), + *update_proposal_cert.proposer_id().as_public_key() + ); + assert_eq!( + explorer_cert.changes.config_params.len(), + update_proposal_cert.changes().iter().len() + ); + + //for each parameter in the update_proposal_certificate check that there is only one parameter + //of the corrisponding type in the explorer query answer and that the parameters have the same value + for update_proposal_param in update_proposal_cert.changes().iter() { + match update_proposal_param { + Block0Date(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::Block0Date(explorer_param) + if explorer_param.block0_date as u64 == certificate_param.0) + }) + .count(); + assert_eq!(matching_params, 1); + } + Discrimination(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::Discrimination(explorer_param) + if { match explorer_param.discrimination{ + DiscriminationEnum::PRODUCTION => {matches!(certificate_param, chain_addr::Discrimination::Production)}, + DiscriminationEnum::TEST => {matches!(certificate_param, chain_addr::Discrimination::Test)}, + DiscriminationEnum::Other(_) => false, + }})).count(); + assert_eq!(matching_params, 1); + } + ConsensusVersion(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::ConsensusType(explorer_param) + if { match explorer_param.consensus_type{ + ConsensusTypeEnum::BFT => {matches!(certificate_param, ConsensusType::Bft)}, + ConsensusTypeEnum::GENESIS_PRAOS => {matches!(certificate_param, ConsensusType::GenesisPraos)}, + ConsensusTypeEnum::Other(_) => false, + }})).count(); + assert_eq!(matching_params, 1); + } + SlotsPerEpoch(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::SlotsPerEpoch(explorer_param) + if explorer_param.slots_per_epoch as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + SlotDuration(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::SlotDuration(explorer_param) + if explorer_param.slot_duration as u8 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + EpochStabilityDepth(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::EpochStabilityDepth(explorer_param) + if explorer_param.epoch_stability_depth as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + ConsensusGenesisPraosActiveSlotsCoeff(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::Milli(explorer_param) + if explorer_param.milli as u64 == certificate_param.to_millis()) + }) + .count(); + assert_eq!(matching_params, 1); + } + BlockContentMaxSize(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::BlockContentMaxSize(explorer_param) + if explorer_param.block_content_max_size as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + AddBftLeader(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::AddBftLeader(explorer_param) + if explorer_param.add_bft_leader.id == certificate_param.as_public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + RemoveBftLeader(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RemoveBftLeader(explorer_param) + if explorer_param.remove_bft_leader.id == certificate_param.as_public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + LinearFee(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::LinearFee(explorer_param) + if {explorer_param.certificate as u64 == certificate_param.certificate && + explorer_param.coefficient as u64 == certificate_param.coefficient && + explorer_param.constant as u64 == certificate_param.constant && + explorer_param.per_certificate_fees.certificate_owner_stake_delegation.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_owner_stake_delegation.unwrap()) && + explorer_param.per_certificate_fees.certificate_pool_registration.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_pool_registration.unwrap()) && + explorer_param.per_certificate_fees.certificate_stake_delegation.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_stake_delegation.unwrap()) && + explorer_param.per_vote_certificate_fees.certificate_vote_cast.unwrap() as u64 == u64::from(certificate_param.per_vote_certificate_fees.certificate_vote_cast.unwrap()) && + explorer_param.per_vote_certificate_fees.certificate_vote_plan.unwrap() as u64 == u64::from(certificate_param.per_vote_certificate_fees.certificate_vote_plan.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + ProposalExpiration(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::ProposalExpiration(explorer_param) + if explorer_param.proposal_expiration as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + KesUpdateSpeed(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::KesUpdateSpeed(explorer_param) + if explorer_param.kes_update_speed as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + TreasuryAdd(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::TreasuryAdd(explorer_param) + if explorer_param.treasury_add == certificate_param.to_string()) + }) + .count(); + assert_eq!(matching_params, 1); + } + TreasuryParams(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::TreasuryParams(explorer_param) + if {explorer_param.treasury_params.fixed == certificate_param.fixed.to_string() && + explorer_param.treasury_params.ratio.numerator.parse::().unwrap() == certificate_param.ratio.numerator && + explorer_param.treasury_params.ratio.denominator.parse::().unwrap() == u64::from(certificate_param.ratio.denominator) && + explorer_param.treasury_params.max_limit.as_ref().unwrap().parse::().unwrap() == u64::from(certificate_param.max_limit.unwrap())} + )).count(); + assert_eq!(matching_params, 1); + } + RewardPot(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::RewardPot(explorer_param) + if explorer_param.reward_pot == certificate_param.to_string()) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardParams(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RewardParams(explorer_param) + if { match &explorer_param.reward_params { + ConfigParamOnRewardParamsRewardParams::LinearRewardParams(exp_linear_param) => + {matches!(certificate_param, RewardParams::Linear { constant,ratio,epoch_rate,epoch_start } + if {*constant == exp_linear_param.constant as u64 && + ratio.numerator == exp_linear_param.ratio.numerator.parse::().unwrap() && + u64::from(ratio.denominator) == exp_linear_param.ratio.denominator.parse::().unwrap() && + u32::from(*epoch_rate) == exp_linear_param.epoch_rate as u32 && + *epoch_start == exp_linear_param.epoch_start as u32}) }, + ConfigParamOnRewardParamsRewardParams::HalvingRewardParams(exp_halving_param) => + {matches!(certificate_param, RewardParams::Halving { constant,ratio,epoch_rate,epoch_start } + if {*constant == exp_halving_param.constant as u64 && + ratio.numerator == exp_halving_param.ratio.numerator.parse::().unwrap() && + u64::from(ratio.denominator) == exp_halving_param.ratio.denominator.parse::().unwrap() && + u32::from(*epoch_rate) == exp_halving_param.epoch_rate as u32 && + *epoch_start == exp_halving_param.epoch_start as u32}) }, + }})).count(); + assert_eq!(matching_params, 1); + } + PerCertificateFees(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PerCertificateFee(explorer_param) + if { + explorer_param.certificate_owner_stake_delegation.unwrap() as u64 == u64::from(certificate_param.certificate_owner_stake_delegation.unwrap()) && + explorer_param.certificate_pool_registration.unwrap() as u64 == u64::from(certificate_param.certificate_pool_registration.unwrap()) && + explorer_param.certificate_stake_delegation.unwrap() as u64 == u64::from(certificate_param.certificate_stake_delegation.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + FeesInTreasury(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::FeesInTreasury(explorer_param) + if explorer_param.fees_in_treasury == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardLimitNone => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::RewardLimitNone(explorer_param) + if !explorer_param.reward_limit_none) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardLimitByAbsoluteStake(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RewardLimitByAbsoluteStake(explorer_param) + if explorer_param.reward_limit_by_absolute_stake.numerator.parse::().unwrap() == certificate_param.numerator && + explorer_param.reward_limit_by_absolute_stake.denominator.parse::().unwrap() == u64::from(certificate_param.denominator))).count(); + assert_eq!(matching_params, 1); + } + PoolRewardParticipationCapping(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PoolRewardParticipationCapping(explorer_param) + if explorer_param.max as u32 == u32::from(certificate_param.0) && + explorer_param.min as u32 == u32::from(certificate_param.1))).count(); + assert_eq!(matching_params, 1); + } + AddCommitteeId(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::AddCommitteeId(explorer_param) + if explorer_param.add_committee_id == certificate_param.public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + RemoveCommitteeId(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RemoveCommitteeId(explorer_param) + if explorer_param.remove_committee_id == certificate_param.public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + PerVoteCertificateFees(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PerVoteCertificateFee(explorer_param) + if {explorer_param.certificate_vote_cast.unwrap() as u64 == u64::from(certificate_param.certificate_vote_cast.unwrap()) && + explorer_param.certificate_vote_plan.unwrap() as u64 == u64::from(certificate_param.certificate_vote_plan.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + TransactionMaxExpiryEpochs(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::TransactionMaxExpiryEpochs(explorer_param) + if explorer_param.transaction_max_expiry_epochs as u8 == *certificate_param)).count(); + assert_eq!(matching_params, 1); + } + #[cfg(feature = "evm")] + EvmConfiguration(_) => unimplemented!(), + #[cfg(feature = "evm")] + EvmEnvironment(_) => unimplemented!(), + } + } + } + + fn assert_block_by_chain_length_update_vote( + fragment_cert: &Transaction, + explorer_cert: &BlocksByChainLengthBlocksByChainLengthTransactionsEdgesNodeCertificateOnUpdateVote, + ) { + let update_vote_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + explorer_cert.proposal_id, + update_vote_cert.proposal_id().to_string() + ); + assert_eq!( + Self::decode_bech32_pk(&explorer_cert.voter_id.id), + *update_vote_cert.voter_id().as_public_key() + ); + } +} diff --git a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/last_block_verifier.rs b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/last_block_verifier.rs new file mode 100644 index 0000000000..300996c712 --- /dev/null +++ b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/last_block_verifier.rs @@ -0,0 +1,944 @@ +use super::{ExplorerVerifier, VerifierError}; +use crate::jormungandr::explorer::{ + data::last_block::{PayloadType as expPayloadType, *}, + last_block::LastBlockTipBlockTransactionsEdgesNode, +}; +use chain_addr::AddressReadable; +use chain_impl_mockchain::{ + account::DelegationType, + block::Block, + certificate::*, + chaintypes::ConsensusType, + config::{ConfigParam::*, RewardParams}, + fragment::Fragment, + transaction::{AccountIdentifier, InputEnum, Transaction}, + vote::PayloadType, +}; +use std::num::NonZeroU64; + +impl ExplorerVerifier { + pub fn assert_last_block( + block: Block, + explorer_block: &LastBlockTipBlock, + ) -> Result<(), VerifierError> { + assert_eq!(explorer_block.id, block.header().id().to_string()); + assert_eq!( + explorer_block.date.epoch.id.parse::().unwrap(), + block.header().block_date().epoch + ); + assert_eq!( + explorer_block.date.slot.parse::().unwrap(), + block.header().block_date().slot_id + ); + assert_eq!( + explorer_block.chain_length, + block.header().chain_length().to_string() + ); + assert_eq!( + explorer_block.previous_block.id, + block.header().block_parent_hash().to_string() + ); + match &explorer_block.leader { + Some(leader) => match leader { + LastBlockTipBlockLeader::Pool(leader) => assert_eq!( + leader.id, + block.header().get_stakepool_id().unwrap().to_string() + ), + LastBlockTipBlockLeader::BftLeader(leader) => assert_eq!( + Self::decode_bech32_pk(leader.id.as_str()), + *block.header().get_bft_leader_id().unwrap().as_public_key() + ), + }, + None => { + assert!(block.header().get_stakepool_id().is_none()); + assert!(block.header().get_bft_leader_id().is_none()); + } + } + //Logging the fragments in the block + for f in block.fragments() { + match f { + Fragment::Initial(_) => println!("Fragment::Initial hash {}", f.hash()), + Fragment::OldUtxoDeclaration(_) => { + println!("Fragment::OldUtxoDeclaration hash {}", f.hash()) + } + Fragment::Transaction(_) => { + println!("Fragment::Transaction hash {}", f.hash()) + } + Fragment::OwnerStakeDelegation(_) => { + println!("Fragment::OwnerStakeDelegation hash {}", f.hash()) + } + Fragment::StakeDelegation(_) => { + println!("Fragment::StakeDelegation hash {}", f.hash()) + } + Fragment::PoolRegistration(_) => { + println!("Fragment::PoolRegistration hash {}", f.hash()) + } + Fragment::PoolRetirement(_) => { + println!("Fragment::PoolRetirement hash {}", f.hash()) + } + Fragment::PoolUpdate(_) => { + println!("Fragment::PoolUpdate hash {}", f.hash()) + } + Fragment::UpdateProposal(_) => { + println!("Fragment::UpdateProposal hash {}", f.hash()) + } + Fragment::UpdateVote(_) => { + println!("Fragment::UpdateVote hash {}", f.hash()) + } + Fragment::VotePlan(_) => { + println!("Fragment::VotePlan hash {}", f.hash()) + } + Fragment::VoteCast(_) => { + println!("Fragment::VoteCast hash {}", f.hash()) + } + Fragment::VoteTally(_) => { + println!("Fragment::VoteTall hash {}", f.hash()) + } + Fragment::MintToken(_) => { + println!("Fragment::MintToken hash {}", f.hash()) + } + Fragment::Evm(_) => println!("Fragment::Evm hash {}", f.hash()), + Fragment::EvmMapping(_) => { + println!("Fragment::EvmMapping hash {}", f.hash()) + } + } + } + + assert_eq!( + explorer_block.transactions.total_count, + block.contents().len() as i64 + ); + let mut matching_fragments_count = 0; + + if !block.contents().is_empty() { + for fragment in block.fragments() { + for edge in &explorer_block.transactions.edges { + let explorer_transaction = &edge.node; + if fragment.hash().to_string() == explorer_transaction.id { + matching_fragments_count += 1; + match &explorer_transaction.certificate { + None => { + if let Fragment::Transaction(fragment_transaction) = fragment { + Self::assert_last_block_transaction_param( + fragment_transaction, + explorer_transaction, + ) + .unwrap(); + } else if let Fragment::Initial(_config_params) = fragment { + //Not implemented because of the bug //NPG-3274 + return Err(VerifierError::Unimplemented); + } else { + return Err(VerifierError::InvalidCertificate { + received: "Transaction".to_string(), + }); + }; + } + Some(certificate) => { + match certificate{ + LastBlockTipBlockTransactionsEdgesNodeCertificate::StakeDelegation( + explorer_cert, + ) => { + if let Fragment::StakeDelegation(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_stake_delegation(fragment_cert, explorer_cert) + .unwrap(); + } else { + return Err(VerifierError::InvalidCertificate { + received: "StakeDelegation".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::OwnerStakeDelegation( + explorer_cert, + ) => { + if let Fragment::OwnerStakeDelegation(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_owner_delegation(fragment_cert, explorer_cert) + .unwrap(); + } else { + return Err(VerifierError::InvalidCertificate { + received: "OwnerStakeDelegation".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::PoolRegistration( + explorer_cert, + ) => { + if let Fragment::PoolRegistration(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_pool_registration(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolRegistration".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::PoolRetirement( + explorer_cert, + ) => { + if let Fragment::PoolRetirement(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_pool_retirement(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolRetirement".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::PoolUpdate(explorer_cert) => { + if let Fragment::PoolUpdate(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_pool_update(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "PoolUpdate".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::VotePlan(explorer_cert) => { + if let Fragment::VotePlan(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_vote_plan(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VotePlan".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::VoteCast(explorer_cert) => { + if let Fragment::VoteCast(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_vote_cast(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VoteCast".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::VoteTally(explorer_cert) => { + if let Fragment::VoteTally(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_vote_tally(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "VoteTally".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::UpdateProposal( + explorer_cert, + ) => { + if let Fragment::UpdateProposal(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_update_proposal(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "UpdateProposal".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::UpdateVote(explorer_cert) => { + if let Fragment::UpdateVote(fragment_cert) = fragment { + Self::assert_last_block_transaction_param( + &fragment_cert.clone(), + explorer_transaction, + ) + .unwrap(); + Self::assert_last_block_update_vote(fragment_cert, explorer_cert); + } else { + return Err(VerifierError::InvalidCertificate { + received: "UpdateVote".to_string(), + }); + } + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::MintToken(_) => { + return Err(VerifierError::InvalidCertificate { + received: "MintToken can be only in block0".to_string(), + }); + } + LastBlockTipBlockTransactionsEdgesNodeCertificate::EvmMapping(_) => { + //Not implemented because of the bug EAS-238 + return Err(VerifierError::Unimplemented); + } + } + } + } + } + } + } + assert_eq!(matching_fragments_count, block.contents().len() as i32); + } + Ok(()) + } + + fn assert_last_block_transaction_param

( + fragment_transaction: &Transaction

, + explorer_transaction: &LastBlockTipBlockTransactionsEdgesNode, + ) -> Result<(), VerifierError> { + assert_eq!( + fragment_transaction.as_slice().nb_inputs(), + explorer_transaction.inputs.len() as u8 + ); + + if fragment_transaction.as_slice().nb_inputs() > 0 { + let mut fragment_accounts = vec![]; + + for fragment_input in fragment_transaction.as_slice().inputs().iter() { + match fragment_input.to_enum() { + InputEnum::AccountInput(account_id, amount) => { + fragment_accounts.push(( + account_id.to_single_account().unwrap().to_string(), + amount.to_string(), + )); + Ok(()) + } + InputEnum::UtxoInput(_) => Err(VerifierError::Unimplemented), + } + .unwrap() + } + + let mut explorer_accounts = vec![]; + + for explorer_inputs in explorer_transaction.inputs.iter() { + let adr = + AddressReadable::from_string_anyprefix(&explorer_inputs.address.id).unwrap(); + explorer_accounts.push(( + adr.to_address().public_key().unwrap().to_string(), + explorer_inputs.amount.clone(), + )); + } + + let matching_inputs = fragment_accounts + .iter() + .zip(explorer_accounts.iter()) + .filter(|&(a, b)| a == b) + .count(); + assert_eq!(matching_inputs, explorer_transaction.inputs.len()); + }; + + assert_eq!( + fragment_transaction.as_slice().nb_outputs(), + explorer_transaction.outputs.len() as u8 + ); + + if fragment_transaction.as_slice().nb_outputs() > 0 { + let mut fragment_accounts = vec![]; + + for fragment_output in fragment_transaction.as_slice().outputs().iter() { + fragment_accounts.push(( + fragment_output.address.public_key().unwrap().to_string(), + fragment_output.value.to_string(), + )); + } + + let mut explorer_accounts = vec![]; + + for explorer_outputs in explorer_transaction.outputs.iter() { + let adr = + AddressReadable::from_string_anyprefix(&explorer_outputs.address.id).unwrap(); + explorer_accounts.push(( + adr.to_address().public_key().unwrap().to_string(), + explorer_outputs.amount.clone(), + )); + } + + let matching_outputs = fragment_accounts + .iter() + .zip(explorer_accounts.iter()) + .filter(|&(a, b)| a == b) + .count(); + assert_eq!(matching_outputs, explorer_transaction.outputs.len()); + }; + Ok(()) + } + + fn assert_last_block_pool_registration( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnPoolRegistration, + ) { + let pool_cert = fragment_cert.as_slice().payload().into_payload(); + + assert_eq!(pool_cert.to_id().to_string(), explorer_cert.pool.id); + assert_eq!( + u64::from(pool_cert.start_validity), + explorer_cert.start_validity.parse::().unwrap() + ); + if pool_cert.reward_account.is_some() { + if let AccountIdentifier::Single(id) = pool_cert.reward_account.as_ref().unwrap() { + assert_eq!( + id.to_string(), + explorer_cert.reward_account.as_ref().unwrap().id + ); + } + } + + assert_eq!( + pool_cert.rewards.ratio.numerator, + explorer_cert + .rewards + .ratio + .numerator + .parse::() + .unwrap() + ); + assert_eq!( + pool_cert.rewards.ratio.denominator, + explorer_cert + .rewards + .ratio + .denominator + .parse::() + .unwrap() + ); + if pool_cert.rewards.max_limit.is_some() { + assert_eq!( + pool_cert.rewards.max_limit.unwrap(), + explorer_cert + .rewards + .max_limit + .as_ref() + .unwrap() + .parse::() + .unwrap() + ); + } + + assert_eq!( + pool_cert.management_threshold(), + explorer_cert.management_threshold as u8 + ); + + assert_eq!(pool_cert.owners.len(), explorer_cert.owners.len()); + + let owners_matching = pool_cert + .owners + .iter() + .zip(explorer_cert.owners.iter()) + .filter(|&(a, b)| *a == Self::decode_bech32_pk(b)) + .count(); + + assert_eq!(pool_cert.owners.len(), owners_matching); + + assert_eq!(pool_cert.operators.len(), explorer_cert.operators.len()); + + let operators_matching = pool_cert + .operators + .iter() + .zip(explorer_cert.operators.iter()) + .filter(|&(a, b)| *a == Self::decode_bech32_pk(b)) + .count(); + + assert_eq!(pool_cert.operators.len(), operators_matching); + } + + fn assert_last_block_stake_delegation( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnStakeDelegation, + ) -> Result<(), VerifierError> { + let deleg_cert = fragment_cert.as_slice().payload().into_payload(); + let adr = AddressReadable::from_string_anyprefix(&explorer_cert.account.id).unwrap(); + assert_eq!( + deleg_cert + .account_id + .to_single_account() + .unwrap() + .to_string(), + adr.to_address().public_key().unwrap().to_string() + ); + + match deleg_cert.delegation { + DelegationType::NonDelegated => Err(VerifierError::Unimplemented), + DelegationType::Full(pool_id) => { + assert_eq!(explorer_cert.pools.len(), 1); + assert_eq!(pool_id.to_string(), explorer_cert.pools[0].id); + Ok(()) + } + DelegationType::Ratio(deleg) => { + assert_eq!(explorer_cert.pools.len(), deleg.pools().len()); + let pools_matching = explorer_cert + .pools + .iter() + .zip(deleg.pools().iter()) + .filter(|&(a, b)| a.id == b.0.to_string()) + .count(); + assert_eq!(pools_matching, explorer_cert.pools.len()); + Ok(()) + } + } + } + fn assert_last_block_owner_delegation( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnOwnerStakeDelegation, + ) -> Result<(), VerifierError> { + let owner_cert = fragment_cert.as_slice().payload().into_payload(); + + match owner_cert.delegation { + DelegationType::NonDelegated => Err(VerifierError::Unimplemented), + DelegationType::Full(pool_id) => { + assert_eq!(explorer_cert.pools.len(), 1); + assert_eq!(pool_id.to_string(), explorer_cert.pools[0].id); + Ok(()) + } + DelegationType::Ratio(deleg) => { + assert_eq!(explorer_cert.pools.len(), deleg.pools().len()); + let pools_matching = explorer_cert + .pools + .iter() + .zip(deleg.pools().iter()) + .filter(|&(a, b)| a.id == b.0.to_string()) + .count(); + assert_eq!(pools_matching, explorer_cert.pools.len()); + Ok(()) + } + } + } + + fn assert_last_block_pool_retirement( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnPoolRetirement, + ) { + let ret_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(ret_cert.pool_id.to_string(), explorer_cert.pool_id); + assert_eq!( + u64::from(ret_cert.retirement_time), + explorer_cert.retirement_time.parse::().unwrap() + ); + } + + fn assert_last_block_pool_update( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnPoolUpdate, + ) { + let update_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(update_cert.pool_id.to_string(), explorer_cert.pool_id); + assert_eq!( + u64::from(update_cert.new_pool_reg.start_validity), + explorer_cert.start_validity.parse::().unwrap() + ); + } + + fn assert_last_block_vote_plan( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnVotePlan, + ) { + let vote_plan_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + explorer_cert.vote_start.epoch.id.parse::().unwrap(), + vote_plan_cert.vote_start().epoch + ); + assert_eq!( + explorer_cert.vote_start.slot.parse::().unwrap(), + vote_plan_cert.vote_start().slot_id + ); + assert_eq!( + explorer_cert.vote_end.epoch.id.parse::().unwrap(), + vote_plan_cert.vote_end().epoch + ); + assert_eq!( + explorer_cert.vote_end.slot.parse::().unwrap(), + vote_plan_cert.vote_end().slot_id + ); + assert_eq!( + explorer_cert.committee_end.epoch.id.parse::().unwrap(), + vote_plan_cert.committee_end().epoch + ); + assert_eq!( + explorer_cert.committee_end.slot.parse::().unwrap(), + vote_plan_cert.committee_end().slot_id + ); + + match vote_plan_cert.payload_type() { + PayloadType::Public => { + assert!(matches!(explorer_cert.payload_type, expPayloadType::PUBLIC)) + } + PayloadType::Private => assert!(matches!( + explorer_cert.payload_type, + expPayloadType::PRIVATE + )), + } + + assert_eq!( + explorer_cert.proposals.len(), + vote_plan_cert.proposals().len() + ); + let matching_proposal = explorer_cert + .proposals + .iter() + .zip(vote_plan_cert.proposals().iter()) + .filter(|&(a, b)| a.external_id == b.external_id().to_string()) + .count(); + assert_eq!(explorer_cert.proposals.len(), matching_proposal); + } + + fn assert_last_block_vote_cast( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnVoteCast, + ) { + let vote_cast_cert = fragment_cert.as_slice().payload().into_payload(); + + assert_eq!( + explorer_cert.vote_plan, + vote_cast_cert.vote_plan().to_string() + ); + assert_eq!( + explorer_cert.proposal_index as u8, + vote_cast_cert.proposal_index() + ); + } + + fn assert_last_block_vote_tally( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnVoteTally, + ) { + let vote_tally_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!(explorer_cert.vote_plan, vote_tally_cert.id().to_string()); + } + + fn assert_last_block_update_proposal( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnUpdateProposal, + ) { + let update_proposal_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + Self::decode_bech32_pk(&explorer_cert.proposer_id.id), + *update_proposal_cert.proposer_id().as_public_key() + ); + assert_eq!( + explorer_cert.changes.config_params.len(), + update_proposal_cert.changes().iter().len() + ); + + //for each parameter in the update_proposal_certificate check that there is only one parameter + //of the corrisponding type in the explorer query answer and that the parameters have the same value + for update_proposal_param in update_proposal_cert.changes().iter() { + match update_proposal_param { + Block0Date(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::Block0Date(explorer_param) + if explorer_param.block0_date as u64 == certificate_param.0) + }) + .count(); + assert_eq!(matching_params, 1); + } + Discrimination(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::Discrimination(explorer_param) + if { match explorer_param.discrimination{ + DiscriminationEnum::PRODUCTION => {matches!(certificate_param, chain_addr::Discrimination::Production)}, + DiscriminationEnum::TEST => {matches!(certificate_param, chain_addr::Discrimination::Test)}, + DiscriminationEnum::Other(_) => false, + }})).count(); + assert_eq!(matching_params, 1); + } + ConsensusVersion(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::ConsensusType(explorer_param) + if { match explorer_param.consensus_type{ + ConsensusTypeEnum::BFT => {matches!(certificate_param, ConsensusType::Bft)}, + ConsensusTypeEnum::GENESIS_PRAOS => {matches!(certificate_param, ConsensusType::GenesisPraos)}, + ConsensusTypeEnum::Other(_) => false, + }})).count(); + assert_eq!(matching_params, 1); + } + SlotsPerEpoch(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::SlotsPerEpoch(explorer_param) + if explorer_param.slots_per_epoch as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + SlotDuration(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::SlotDuration(explorer_param) + if explorer_param.slot_duration as u8 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + EpochStabilityDepth(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::EpochStabilityDepth(explorer_param) + if explorer_param.epoch_stability_depth as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + ConsensusGenesisPraosActiveSlotsCoeff(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::Milli(explorer_param) + if explorer_param.milli as u64 == certificate_param.to_millis()) + }) + .count(); + assert_eq!(matching_params, 1); + } + BlockContentMaxSize(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::BlockContentMaxSize(explorer_param) + if explorer_param.block_content_max_size as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + AddBftLeader(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::AddBftLeader(explorer_param) + if explorer_param.add_bft_leader.id == certificate_param.as_public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + RemoveBftLeader(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RemoveBftLeader(explorer_param) + if explorer_param.remove_bft_leader.id == certificate_param.as_public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + LinearFee(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::LinearFee(explorer_param) + if {explorer_param.certificate as u64 == certificate_param.certificate && + explorer_param.coefficient as u64 == certificate_param.coefficient && + explorer_param.constant as u64 == certificate_param.constant && + explorer_param.per_certificate_fees.certificate_owner_stake_delegation.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_owner_stake_delegation.unwrap()) && + explorer_param.per_certificate_fees.certificate_pool_registration.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_pool_registration.unwrap()) && + explorer_param.per_certificate_fees.certificate_stake_delegation.unwrap() as u64 == u64::from(certificate_param.per_certificate_fees.certificate_stake_delegation.unwrap()) && + explorer_param.per_vote_certificate_fees.certificate_vote_cast.unwrap() as u64 == u64::from(certificate_param.per_vote_certificate_fees.certificate_vote_cast.unwrap()) && + explorer_param.per_vote_certificate_fees.certificate_vote_plan.unwrap() as u64 == u64::from(certificate_param.per_vote_certificate_fees.certificate_vote_plan.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + ProposalExpiration(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::ProposalExpiration(explorer_param) + if explorer_param.proposal_expiration as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + KesUpdateSpeed(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::KesUpdateSpeed(explorer_param) + if explorer_param.kes_update_speed as u32 == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + TreasuryAdd(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::TreasuryAdd(explorer_param) + if explorer_param.treasury_add == certificate_param.to_string()) + }) + .count(); + assert_eq!(matching_params, 1); + } + TreasuryParams(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::TreasuryParams(explorer_param) + if {explorer_param.treasury_params.fixed == certificate_param.fixed.to_string() && + explorer_param.treasury_params.ratio.numerator.parse::().unwrap() == certificate_param.ratio.numerator && + explorer_param.treasury_params.ratio.denominator.parse::().unwrap() == u64::from(certificate_param.ratio.denominator) && + explorer_param.treasury_params.max_limit.as_ref().unwrap().parse::().unwrap() == u64::from(certificate_param.max_limit.unwrap())} + )).count(); + assert_eq!(matching_params, 1); + } + RewardPot(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::RewardPot(explorer_param) + if explorer_param.reward_pot == certificate_param.to_string()) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardParams(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RewardParams(explorer_param) + if { match &explorer_param.reward_params { + ConfigParamOnRewardParamsRewardParams::LinearRewardParams(exp_linear_param) => + {matches!(certificate_param, RewardParams::Linear { constant,ratio,epoch_rate,epoch_start } + if {*constant == exp_linear_param.constant as u64 && + ratio.numerator == exp_linear_param.ratio.numerator.parse::().unwrap() && + u64::from(ratio.denominator) == exp_linear_param.ratio.denominator.parse::().unwrap() && + u32::from(*epoch_rate) == exp_linear_param.epoch_rate as u32 && + *epoch_start == exp_linear_param.epoch_start as u32}) }, + ConfigParamOnRewardParamsRewardParams::HalvingRewardParams(exp_halving_param) => + {matches!(certificate_param, RewardParams::Halving { constant,ratio,epoch_rate,epoch_start } + if {*constant == exp_halving_param.constant as u64 && + ratio.numerator == exp_halving_param.ratio.numerator.parse::().unwrap() && + u64::from(ratio.denominator) == exp_halving_param.ratio.denominator.parse::().unwrap() && + u32::from(*epoch_rate) == exp_halving_param.epoch_rate as u32 && + *epoch_start == exp_halving_param.epoch_start as u32}) }, + }})).count(); + assert_eq!(matching_params, 1); + } + PerCertificateFees(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PerCertificateFee(explorer_param) + if { + explorer_param.certificate_owner_stake_delegation.unwrap() as u64 == u64::from(certificate_param.certificate_owner_stake_delegation.unwrap()) && + explorer_param.certificate_pool_registration.unwrap() as u64 == u64::from(certificate_param.certificate_pool_registration.unwrap()) && + explorer_param.certificate_stake_delegation.unwrap() as u64 == u64::from(certificate_param.certificate_stake_delegation.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + FeesInTreasury(certificate_param) => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::FeesInTreasury(explorer_param) + if explorer_param.fees_in_treasury == *certificate_param) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardLimitNone => { + let matching_params = explorer_cert + .changes + .config_params + .iter() + .filter(|&config_param| { + matches!(config_param, configParam::RewardLimitNone(explorer_param) + if !explorer_param.reward_limit_none) + }) + .count(); + assert_eq!(matching_params, 1); + } + RewardLimitByAbsoluteStake(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RewardLimitByAbsoluteStake(explorer_param) + if explorer_param.reward_limit_by_absolute_stake.numerator.parse::().unwrap() == certificate_param.numerator && + explorer_param.reward_limit_by_absolute_stake.denominator.parse::().unwrap() == u64::from(certificate_param.denominator))).count(); + assert_eq!(matching_params, 1); + } + PoolRewardParticipationCapping(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PoolRewardParticipationCapping(explorer_param) + if explorer_param.max as u32 == u32::from(certificate_param.0) && + explorer_param.min as u32 == u32::from(certificate_param.1))).count(); + assert_eq!(matching_params, 1); + } + AddCommitteeId(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::AddCommitteeId(explorer_param) + if explorer_param.add_committee_id == certificate_param.public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + RemoveCommitteeId(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::RemoveCommitteeId(explorer_param) + if explorer_param.remove_committee_id == certificate_param.public_key().to_string())).count(); + assert_eq!(matching_params, 1); + } + PerVoteCertificateFees(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::PerVoteCertificateFee(explorer_param) + if {explorer_param.certificate_vote_cast.unwrap() as u64 == u64::from(certificate_param.certificate_vote_cast.unwrap()) && + explorer_param.certificate_vote_plan.unwrap() as u64 == u64::from(certificate_param.certificate_vote_plan.unwrap()) + })).count(); + assert_eq!(matching_params, 1); + } + TransactionMaxExpiryEpochs(certificate_param) => { + let matching_params = explorer_cert.changes.config_params.iter() + .filter(|&config_param| matches!(config_param, configParam::TransactionMaxExpiryEpochs(explorer_param) + if explorer_param.transaction_max_expiry_epochs as u8 == *certificate_param)).count(); + assert_eq!(matching_params, 1); + } + #[cfg(feature = "evm")] + EvmConfiguration(_) => unimplemented!(), + #[cfg(feature = "evm")] + EvmEnvironment(_) => unimplemented!(), + } + } + } + + fn assert_last_block_update_vote( + fragment_cert: &Transaction, + explorer_cert: &LastBlockTipBlockTransactionsEdgesNodeCertificateOnUpdateVote, + ) { + let update_vote_cert = fragment_cert.as_slice().payload().into_payload(); + assert_eq!( + explorer_cert.proposal_id, + update_vote_cert.proposal_id().to_string() + ); + assert_eq!( + Self::decode_bech32_pk(&explorer_cert.voter_id.id), + *update_vote_cert.voter_id().as_public_key() + ); + } +} diff --git a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/mod.rs b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/mod.rs index b58ead9f6c..783c3cb20c 100644 --- a/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/mod.rs +++ b/src/jormungandr/testing/jormungandr-automation/src/jormungandr/explorer/verifiers/mod.rs @@ -1,4 +1,8 @@ +pub mod all_blocks_verifier; +pub mod all_vote_plans_verifier; pub mod block_by_id_verifier; +pub mod blocks_by_chain_length_verifier; +pub mod last_block_verifier; pub mod transaction_by_id_verifier; pub mod vote_plan_verifier; @@ -7,8 +11,9 @@ use super::data::{ }; use crate::jormungandr::explorer::data::settings::SettingsSettingsFees; use bech32::FromBase32; +use chain_core::{packer::Codec, property::Deserialize}; use chain_crypto::{Ed25519, PublicKey}; -use chain_impl_mockchain::{fee::LinearFee, fragment::Fragment}; +use chain_impl_mockchain::{block::Block, fee::LinearFee, fragment::Fragment}; use jormungandr_lib::interfaces::{Address, FragmentStatus}; use std::collections::HashMap; use thiserror::Error; @@ -120,9 +125,16 @@ impl ExplorerVerifier { assert_eq!(fragment.hash().to_string(), node.id.to_string()); } } + fn decode_bech32_pk(bech32_public_key: &str) -> PublicKey { let (_, data, _variant) = bech32::decode(bech32_public_key).unwrap(); let dat = Vec::from_base32(&data).unwrap(); PublicKey::::from_binary(&dat).unwrap() } + + pub fn decode_block(encoded_block: String) -> Block { + let bytes_block = hex::decode(encoded_block.trim()).unwrap(); + let reader = std::io::Cursor::new(&bytes_block); + Block::deserialize(&mut Codec::new(reader)).unwrap() + } } diff --git a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/block.rs b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/block.rs index f2392e2379..143d5b13e2 100644 --- a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/block.rs +++ b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/block.rs @@ -15,7 +15,7 @@ use jormungandr_automation::{ explorer::{configuration::ExplorerParams, verifiers::ExplorerVerifier}, ConfigurationBuilder, MemPoolCheck, Starter, }, - testing::time, + testing::time::{self, wait_for_date}, }; use jormungandr_lib::interfaces::{ ActiveSlotCoefficient, BlockDate, FragmentStatus, InitialToken, Mempool, @@ -27,6 +27,68 @@ use thor::{FragmentSender, FragmentSenderSetup, FragmentVerifier}; const BLOCK_QUERY_COMPLEXITY_LIMIT: u64 = 150; const BLOCK_QUERY_DEPTH_LIMIT: u64 = 30; +#[test] +pub fn explorer_block_incorrect_id_test() { + let incorrect_block_ids = vec![ + ( + "e1049ea45726f0b1fc473af54f706546b3331765abf89ae9e6a8333e49621641aa", + "invalid hash size", + ), + ( + "e1049ea45726f0b1fc473af54f706546b3331765abf89ae9e6a8333e49621641a", + "invalid hex encoding", + ), + ( + "e1049ea45726f0b1fc473af54f706546b3331765abf89ae9e6a8333e49621641", + "Couldn't find block in the explorer", + ), + ]; + + let jormungandr = Starter::new().start().unwrap(); + + let params = ExplorerParams::new(BLOCK_QUERY_COMPLEXITY_LIMIT, BLOCK_QUERY_DEPTH_LIMIT, None); + let explorer_process = jormungandr.explorer(params).unwrap(); + let explorer = explorer_process.client(); + + for (incorrect_block_id, error_message) in incorrect_block_ids { + let response = explorer.block_by_id(incorrect_block_id.to_string()); + assert!(response.as_ref().unwrap().errors.is_some()); + assert!(response.as_ref().unwrap().data.is_none()); + assert!(response + .unwrap() + .errors + .unwrap() + .first() + .unwrap() + .message + .contains(error_message)); + } +} + +#[should_panic] +#[test] //NPG-3274 +pub fn explorer_block0_test() { + let jormungandr = Starter::new().start().unwrap(); + let block0_id = jormungandr.genesis_block_hash().to_string(); + let params = ExplorerParams::new(BLOCK_QUERY_COMPLEXITY_LIMIT, BLOCK_QUERY_DEPTH_LIMIT, None); + let explorer_process = jormungandr.explorer(params).unwrap(); + + wait_for_date(BlockDate::new(0, 10), jormungandr.rest()); + let explorer = explorer_process.client(); + + let explorer_block0_response = explorer.block_by_id(block0_id).unwrap(); + + assert!( + explorer_block0_response.errors.is_none(), + "{:?}", + explorer_block0_response.errors.unwrap() + ); + + let explorer_block0 = explorer_block0_response.data.unwrap().block; + let block0 = jormungandr.block0_configuration().to_block(); + ExplorerVerifier::assert_block_by_id(block0, explorer_block0).unwrap(); +} + #[test] pub fn explorer_block_test() { let jcli: JCli = Default::default(); @@ -62,6 +124,9 @@ pub fn explorer_block_test() { ) .unwrap(); + let params = ExplorerParams::new(BLOCK_QUERY_COMPLEXITY_LIMIT, BLOCK_QUERY_DEPTH_LIMIT, None); + let explorer_process = jormungandr.explorer(params).unwrap(); + let fragment_sender = FragmentSender::from_with_setup( jormungandr.block0_configuration(), FragmentSenderSetup::no_verify(), @@ -119,79 +184,345 @@ pub fn explorer_block_test() { let reader = std::io::Cursor::new(&bytes_block); let decoded_block = Block::deserialize(&mut Codec::new(reader)).unwrap(); - let params = ExplorerParams::new(BLOCK_QUERY_COMPLEXITY_LIMIT, BLOCK_QUERY_DEPTH_LIMIT, None); - let explorer_process = jormungandr.explorer(params).unwrap(); + time::wait_for_epoch(3, jormungandr.rest()); + + assert!(explorer_process.wait_to_be_up(2, 10)); let explorer = explorer_process.client(); - let explorer_block_response = explorer.block_by_id(fragment_block_id.to_string()).unwrap(); + let explorer_block_response = explorer.block_by_id(fragment_block_id.to_string()); assert!( - explorer_block_response.errors.is_none(), + explorer_block_response.as_ref().unwrap().errors.is_none(), "{:?}", - explorer_block_response.errors.unwrap() + explorer_block_response.unwrap().errors.as_ref().unwrap() ); - let explorer_block = explorer_block_response.data.unwrap().block; + let explorer_block = explorer_block_response.unwrap().data.unwrap().block; ExplorerVerifier::assert_block_by_id(decoded_block, explorer_block).unwrap(); } +#[test] +pub fn explorer_last_block_test() { + let jcli: JCli = Default::default(); + let sender = thor::Wallet::default(); + let receiver = thor::Wallet::default(); + + let (jormungandr, _) = startup::start_stake_pool( + &[sender.clone()], + &[receiver.clone()], + ConfigurationBuilder::new() + .with_block0_consensus(ConsensusType::GenesisPraos) + .with_slots_per_epoch(20) + .with_block_content_max_size(100000.into()) + .with_consensus_genesis_praos_active_slot_coeff(ActiveSlotCoefficient::MAXIMUM) + .with_slot_duration(3) + .with_linear_fees(LinearFee::new(1, 1, 1)) + .with_mempool(Mempool { + pool_max_entries: 1_000_000usize.into(), + log_max_entries: 1_000_000usize.into(), + persistent_log: None, + }) + .with_token(InitialToken { + // FIXME: this works because I know it's the VotePlanBuilder's default, but + // probably should me more explicit. + token_id: TokenIdentifier::from_str( + "00000000000000000000000000000000000000000000000000000000.00000000", + ) + .unwrap() + .into(), + policy: MintingPolicy::new().into(), + to: vec![sender.to_initial_token(1_000_000)], + }), + ) + .unwrap(); + + let params = ExplorerParams::new(BLOCK_QUERY_COMPLEXITY_LIMIT, BLOCK_QUERY_DEPTH_LIMIT, None); + let explorer_process = jormungandr.explorer(params).unwrap(); + + let fragment_sender = FragmentSender::from_with_setup( + jormungandr.block0_configuration(), + FragmentSenderSetup::no_verify(), + ); + + let time_era = jormungandr.time_era(); + + let mut fragment_generator = FragmentGenerator::new( + sender, + receiver, + None, + jormungandr.to_remote(), + time_era.slots_per_epoch(), + 2, + 2, + 2, + 0, + fragment_sender, + ); + + fragment_generator.prepare(BlockDate::new(1, 0)); + + time::wait_for_epoch(2, jormungandr.rest()); + + let mem_checks: Vec = fragment_generator.send_all().unwrap(); + FragmentVerifier::wait_and_verify_all_are_in_block( + Duration::from_secs(2), + mem_checks, + &jormungandr, + ) + .unwrap(); + + time::wait_for_epoch(3, jormungandr.rest()); + + assert!(explorer_process.wait_to_be_up(2, 10)); + let explorer = explorer_process.client(); + let explorer_block_response = explorer.last_block(); + let explorer_last_block = explorer_block_response.unwrap(); + + let encoded_block = jcli + .rest() + .v0() + .block() + .get(&explorer_last_block.block().id, jormungandr.rest_uri()); + + let bytes_block = hex::decode(encoded_block.trim()).unwrap(); + let reader = std::io::Cursor::new(&bytes_block); + let decoded_block = Block::deserialize(&mut Codec::new(reader)).unwrap(); + + assert_eq!( + explorer_last_block.block_date(), + decoded_block.header().block_date().into() + ); + + ExplorerVerifier::assert_last_block(decoded_block, explorer_last_block.block()).unwrap(); +} + #[should_panic] #[test] //NPG-3274 -pub fn explorer_block0_test() { - let jormungandr = Starter::new().start().unwrap(); - let block0_id = jormungandr.genesis_block_hash().to_string(); +pub fn explorer_all_blocks_test() { + let max_blocks_number = 100; + let jcli: JCli = Default::default(); + let sender = thor::Wallet::default(); + let receiver = thor::Wallet::default(); + + let (jormungandr, _) = startup::start_stake_pool( + &[sender.clone()], + &[receiver.clone()], + ConfigurationBuilder::new() + .with_block0_consensus(ConsensusType::GenesisPraos) + .with_slots_per_epoch(20) + .with_block_content_max_size(100000.into()) + .with_consensus_genesis_praos_active_slot_coeff(ActiveSlotCoefficient::MAXIMUM) + .with_slot_duration(3) + .with_linear_fees(LinearFee::new(1, 1, 1)) + .with_mempool(Mempool { + pool_max_entries: 1_000_000usize.into(), + log_max_entries: 1_000_000usize.into(), + persistent_log: None, + }) + .with_token(InitialToken { + // FIXME: this works because I know it's the VotePlanBuilder's default, but + // probably should me more explicit. + token_id: TokenIdentifier::from_str( + "00000000000000000000000000000000000000000000000000000000.00000000", + ) + .unwrap() + .into(), + policy: MintingPolicy::new().into(), + to: vec![sender.to_initial_token(1_000_000)], + }), + ) + .unwrap(); + let params = ExplorerParams::new(BLOCK_QUERY_COMPLEXITY_LIMIT, BLOCK_QUERY_DEPTH_LIMIT, None); let explorer_process = jormungandr.explorer(params).unwrap(); - let explorer = explorer_process.client(); - let explorer_block0_response = explorer.block_by_id(block0_id).unwrap(); + let fragment_sender = FragmentSender::from_with_setup( + jormungandr.block0_configuration(), + FragmentSenderSetup::no_verify(), + ); + + let time_era = jormungandr.time_era(); + + let mut fragment_generator = FragmentGenerator::new( + sender, + receiver, + None, + jormungandr.to_remote(), + time_era.slots_per_epoch(), + 2, + 2, + 2, + 0, + fragment_sender, + ); + + fragment_generator.prepare(BlockDate::new(1, 0)); + + time::wait_for_epoch(2, jormungandr.rest()); + + let mem_checks: Vec = fragment_generator.send_all().unwrap(); + FragmentVerifier::wait_and_verify_all_are_in_block( + Duration::from_secs(2), + mem_checks, + &jormungandr, + ) + .unwrap(); + + time::wait_for_epoch(3, jormungandr.rest()); + + assert!(explorer_process.wait_to_be_up(2, 10)); + + let explorer = explorer_process.client(); + let explorer_block_response = explorer.blocks(max_blocks_number).unwrap(); assert!( - explorer_block0_response.errors.is_none(), + explorer_block_response.errors.is_none(), "{:?}", - explorer_block0_response.errors.unwrap() + explorer_block_response.errors.unwrap() ); - let explorer_block0 = explorer_block0_response.data.unwrap().block; - let block0 = jormungandr.block0_configuration().to_block(); - ExplorerVerifier::assert_block_by_id(block0, explorer_block0).unwrap(); + let explorer_blocks_data = explorer_block_response.data.unwrap(); + let explorer_blocks = explorer_blocks_data.tip.blocks.edges; + + let block0_id = jormungandr.genesis_block_hash(); + + let mut block_ids = jcli.rest().v0().block().next( + block0_id.to_string(), + (max_blocks_number - 1) as u32, + jormungandr.rest_uri(), + ); + + block_ids.insert(0, block0_id); + + assert_eq!( + explorer_blocks_data.tip.blocks.total_count, + block_ids.len() as i64 + ); + + assert_eq!(explorer_blocks.len(), block_ids.len()); + + for (n, explorer_block) in explorer_blocks.iter().enumerate() { + let encoded_block = jcli + .rest() + .v0() + .block() + .get(block_ids[n].to_string(), jormungandr.rest_uri()); + let decoded_block = ExplorerVerifier::decode_block(encoded_block); + ExplorerVerifier::assert_all_blocks(decoded_block, &explorer_block.node).unwrap(); + } } #[test] -pub fn explorer_block_incorrect_id_test() { - let incorrect_block_ids = vec![ - ( - "e1049ea45726f0b1fc473af54f706546b3331765abf89ae9e6a8333e49621641aa", - "invalid hash size", - ), - ( - "e1049ea45726f0b1fc473af54f706546b3331765abf89ae9e6a8333e49621641a", - "invalid hex encoding", - ), - ( - "e1049ea45726f0b1fc473af54f706546b3331765abf89ae9e6a8333e49621641", - "Couldn't find block in the explorer", - ), - ]; +pub fn explorer_block_by_chain_lenght_test() { + let jcli: JCli = Default::default(); + let sender = thor::Wallet::default(); + let receiver = thor::Wallet::default(); - let jormungandr = Starter::new().start().unwrap(); + let (jormungandr, _) = startup::start_stake_pool( + &[sender.clone()], + &[receiver.clone()], + ConfigurationBuilder::new() + .with_block0_consensus(ConsensusType::GenesisPraos) + .with_slots_per_epoch(20) + .with_block_content_max_size(100000.into()) + .with_consensus_genesis_praos_active_slot_coeff(ActiveSlotCoefficient::MAXIMUM) + .with_slot_duration(3) + .with_linear_fees(LinearFee::new(1, 1, 1)) + .with_mempool(Mempool { + pool_max_entries: 1_000_000usize.into(), + log_max_entries: 1_000_000usize.into(), + persistent_log: None, + }) + .with_token(InitialToken { + // FIXME: this works because I know it's the VotePlanBuilder's default, but + // probably should me more explicit. + token_id: TokenIdentifier::from_str( + "00000000000000000000000000000000000000000000000000000000.00000000", + ) + .unwrap() + .into(), + policy: MintingPolicy::new().into(), + to: vec![sender.to_initial_token(1_000_000)], + }), + ) + .unwrap(); let params = ExplorerParams::new(BLOCK_QUERY_COMPLEXITY_LIMIT, BLOCK_QUERY_DEPTH_LIMIT, None); let explorer_process = jormungandr.explorer(params).unwrap(); + + let fragment_sender = FragmentSender::from_with_setup( + jormungandr.block0_configuration(), + FragmentSenderSetup::no_verify(), + ); + + let time_era = jormungandr.time_era(); + + let mut fragment_generator = FragmentGenerator::new( + sender, + receiver, + None, + jormungandr.to_remote(), + time_era.slots_per_epoch(), + 2, + 2, + 2, + 0, + fragment_sender, + ); + + fragment_generator.prepare(BlockDate::new(1, 0)); + + time::wait_for_epoch(2, jormungandr.rest()); + + let mem_checks: Vec = fragment_generator.send_all().unwrap(); + FragmentVerifier::wait_and_verify_all_are_in_block( + Duration::from_secs(2), + mem_checks.clone(), + &jormungandr, + ) + .unwrap(); + + let fragments_log = jcli.rest().v0().message().logs(jormungandr.rest_uri()); + let fragment_log = fragments_log + .iter() + .find(|x| { + *x.fragment_id().to_string() == mem_checks.last().unwrap().fragment_id().to_string() + }) + .unwrap(); + + let fragment_block_id = + if let &FragmentStatus::InABlock { date: _, block } = fragment_log.status() { + block + } else { + panic!("Fragment not in block") + }; + + let encoded_block = jcli + .rest() + .v0() + .block() + .get(fragment_block_id.to_string(), jormungandr.rest_uri()); + + let decoded_block = ExplorerVerifier::decode_block(encoded_block); + + time::wait_for_epoch(3, jormungandr.rest()); + + explorer_process.wait_to_be_up(2, 20); let explorer = explorer_process.client(); - for (incorrect_block_id, error_message) in incorrect_block_ids { - let response = explorer.block_by_id(incorrect_block_id.to_string()); - assert!(response.as_ref().unwrap().errors.is_some()); - assert!(response.as_ref().unwrap().data.is_none()); - assert!(response - .unwrap() - .errors - .unwrap() - .first() - .unwrap() - .message - .contains(error_message)); - } + let explorer_block_response = explorer + .blocks_at_chain_length(decoded_block.header().chain_length().into()) + .unwrap(); + + assert!( + explorer_block_response.errors.is_none(), + "{:?}", + explorer_block_response.errors.unwrap() + ); + + let explorer_blocks_data = explorer_block_response.data.unwrap(); + let explorer_block = explorer_blocks_data.blocks_by_chain_length.first().unwrap(); + + ExplorerVerifier::assert_block_by_chain_length(decoded_block, explorer_block).unwrap(); } diff --git a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/certificates.rs b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/certificates.rs index e4fe67e6d8..4000a270a1 100644 --- a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/certificates.rs +++ b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/certificates.rs @@ -803,7 +803,6 @@ pub fn explorer_vote_tally_certificate_test() { .unwrap(); } -#[should_panic] //bug NPG-2742 #[test] pub fn explorer_update_proposal_certificate_test() { let temp_dir = TempDir::new().unwrap(); diff --git a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/explorer_sanity.rs b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/explorer_sanity.rs index 9f9941ebf0..e7a1ad8b42 100644 --- a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/explorer_sanity.rs +++ b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/explorer_sanity.rs @@ -54,7 +54,7 @@ pub fn explorer_sanity_test() { let jcli: JCli = Default::default(); let faucet = thor::Wallet::default(); let receiver = thor::Wallet::default(); - let query_complexity_limit = 100; + let query_complexity_limit = 150; let attempts_number = 20; let mut config = ConfigurationBuilder::new(); diff --git a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/vote_plan.rs b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/vote_plan.rs index a9f39b4f85..d318ae8c7d 100644 --- a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/vote_plan.rs +++ b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/explorer/vote_plan.rs @@ -2,9 +2,14 @@ use assert_fs::TempDir; use chain_addr::Discrimination; use chain_core::property::BlockDate as propertyBlockDate; use chain_impl_mockchain::{ - block::BlockDate, certificate::VoteAction, chaintypes::ConsensusType, - ledger::governance::TreasuryGovernanceAction, testing::data::Wallet as chainWallet, - tokens::minting_policy::MintingPolicy, value::Value, vote::Choice, + block::BlockDate, + certificate::{VoteAction, VotePlan}, + chaintypes::ConsensusType, + ledger::governance::TreasuryGovernanceAction, + testing::data::Wallet as chainWallet, + tokens::minting_policy::MintingPolicy, + value::Value, + vote::Choice, }; use jormungandr_automation::{ jormungandr::{ @@ -18,10 +23,10 @@ use jormungandr_automation::{ }; use jormungandr_lib::interfaces::{InitialToken, KesUpdateSpeed}; use rand_core::OsRng; -use std::collections::HashMap; +use std::{collections::HashMap, iter, time::Duration}; use thor::{ vote_plan_cert, CommitteeDataManager, FragmentBuilder, FragmentSender, FragmentSenderSetup, - Wallet, + FragmentVerifier, Wallet, }; const INITIAL_FUND_PER_WALLET_1: u64 = 1_000_000; @@ -222,12 +227,12 @@ pub fn explorer_vote_plan_public_flow_test() { &mut voters[0], &vote_plan, VOTE_FOR_ANTONIO, - &no_choice, + &yes_choice, &jormungandr, ) .unwrap(); - vote_for_antonio.push((chainWallet::from(voters[0].clone()), no_choice)); + vote_for_antonio.push((chainWallet::from(voters[0].clone()), yes_choice)); transaction_sender .send_vote_cast( @@ -324,9 +329,17 @@ pub fn explorer_vote_plan_public_flow_test() { wait_for_date(vote_plan.vote_end().into(), jormungandr.rest()); //3.Start talling - transaction_sender + let mempool_check = transaction_sender .send_public_vote_tally(&mut voters[0], &vote_plan, &jormungandr) .unwrap(); + + FragmentVerifier::wait_and_verify_is_in_block( + Duration::from_secs(2), + mempool_check, + &jormungandr, + ) + .unwrap(); + let query_response = explorer .vote_plan(vote_plan.to_id().to_string()) .expect("vote plan transaction not found"); @@ -616,10 +629,17 @@ pub fn explorer_vote_plan_private_flow_test() { .decrypt_tally(&vote_plan_statuses.into()) .unwrap(); - let _mempool_check = transaction_sender + let mempool_check = transaction_sender .send_private_vote_tally(&mut voters[0], &vote_plan, decrypted_shares, &jormungandr) .unwrap(); + FragmentVerifier::wait_and_verify_is_in_block( + Duration::from_secs(2), + mempool_check, + &jormungandr, + ) + .unwrap(); + let query_response = explorer .vote_plan(vote_plan.to_id().to_string()) .expect("vote plan transaction not found"); @@ -681,3 +701,649 @@ pub fn explorer_vote_plan_private_flow_test() { proposal_votes.clone(), ); } + +#[should_panic] +#[test] //NPG-3334 +pub fn explorer_all_vote_plans_public_flow_test() { + let temp_dir = TempDir::new().unwrap(); + let alice = Wallet::default(); + let bob = Wallet::default(); + let vote_plans_limit = 10; + let mut voters = vec![alice, bob]; + let proposals = vec![VOTE_FOR_MARIO, VOTE_FOR_LUIGI, VOTE_FOR_ANTONIO]; + let proposal_count = proposals.len(); + let yes_choice = Choice::new(1); + let no_choice = Choice::new(0); + let mut vote_for_mario: Vec<(chainWallet, Choice)> = Vec::new(); + let mut vote_for_luigi: Vec<(chainWallet, Choice)> = Vec::new(); + let mut vote_for_antonio: Vec<(chainWallet, Choice)> = Vec::new(); + let mut vote_plans_proposal_votes: HashMap< + String, + HashMap>, + > = HashMap::new(); + let vote_plans_count = 3; + + let vote_plans: Vec = iter::from_fn(|| { + Some( + VotePlanBuilder::new() + .proposals_count(proposal_count) + .vote_start(BlockDate::from_epoch_slot_id(0, 0)) + .tally_start(BlockDate::from_epoch_slot_id(1, 0)) + .tally_end(BlockDate::from_epoch_slot_id(1, 10)) + .public() + .build(), + ) + }) + .take(vote_plans_count) + .collect(); + + let mut vote_plans_cert = Vec::new(); + + for vote_plan in &vote_plans { + let vote_plan_cert = vote_plan_cert( + &voters[0], + chain_impl_mockchain::block::BlockDate { + epoch: 1, + slot_id: 0, + }, + &vote_plan, + ) + .into(); + vote_plans_cert.push(vote_plan_cert); + } + + let config = ConfigurationBuilder::new() + .with_funds( + voters + .iter() + .map(|x| x.to_initial_fund(INITIAL_TREASURY)) + .collect(), + ) + .with_token(InitialToken { + token_id: vote_plans.first().unwrap().voting_token().clone().into(), + policy: MintingPolicy::new().into(), + to: vec![ + voters[0].to_initial_token(INITIAL_FUND_PER_WALLET_1), + voters[1].to_initial_token(INITIAL_FUND_PER_WALLET_2), + ], + }) + .with_committees(&[voters[0].to_committee_id()]) + .with_slots_per_epoch(SLOTS_PER_EPOCH) + .with_certs(vote_plans_cert) + .with_treasury(INITIAL_TREASURY.into()) + .build(&temp_dir); + + let jormungandr = Starter::new() + .config(config) + .temp_dir(temp_dir) + .start() + .unwrap(); + + let transaction_sender = FragmentSender::new( + jormungandr.genesis_block_hash(), + jormungandr.fees(), + chain_impl_mockchain::block::BlockDate { + epoch: 3, + slot_id: 0, + } + .into(), + FragmentSenderSetup::resend_3_times(), + ); + + let params = ExplorerParams::new( + VOTE_PLAN_QUERY_COMPLEXITY_LIMIT, + VOTE_PLAN_QUERY_DEPTH_LIMIT, + None, + ); + let explorer_process = jormungandr.explorer(params).unwrap(); + + let explorer = explorer_process.client(); + + // 1.Vote plan started + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); + + assert!(vote_plans + .first() + .unwrap() + .can_vote(get_current_date(&mut jormungandr.rest()).into())); + + //2. Voting + for vote_plan in &vote_plans { + transaction_sender + .send_vote_cast( + &mut voters[0], + &vote_plan, + VOTE_FOR_ANTONIO, + &no_choice, + &jormungandr, + ) + .unwrap(); + + vote_for_antonio.push((chainWallet::from(voters[0].clone()), no_choice)); + + transaction_sender + .send_vote_cast( + &mut voters[1], + &vote_plan, + VOTE_FOR_ANTONIO, + &yes_choice, + &jormungandr, + ) + .unwrap(); + + vote_for_antonio.push((chainWallet::from(voters[1].clone()), yes_choice)); + + transaction_sender + .send_vote_cast( + &mut voters[0], + &vote_plan, + VOTE_FOR_MARIO, + &no_choice, + &jormungandr, + ) + .unwrap(); + + vote_for_mario.push((chainWallet::from(voters[0].clone()), no_choice)); + + transaction_sender + .send_vote_cast( + &mut voters[1], + &vote_plan, + VOTE_FOR_LUIGI, + &no_choice, + &jormungandr, + ) + .unwrap(); + + vote_for_luigi.push((chainWallet::from(voters[1].clone()), no_choice)); + + let mut proposal_votes = HashMap::new(); + + proposal_votes.insert( + vote_plan + .proposals() + .to_vec() + .get(VOTE_FOR_MARIO as usize) + .unwrap() + .external_id() + .to_string(), + vote_for_mario.clone(), + ); + + proposal_votes.insert( + vote_plan + .proposals() + .to_vec() + .get(VOTE_FOR_ANTONIO as usize) + .unwrap() + .external_id() + .to_string(), + vote_for_antonio.clone(), + ); + + proposal_votes.insert( + vote_plan + .proposals() + .to_vec() + .get(VOTE_FOR_LUIGI as usize) + .unwrap() + .external_id() + .to_string(), + vote_for_luigi.clone(), + ); + + vote_plans_proposal_votes.insert(vote_plan.to_id().to_string(), proposal_votes); + } + + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); + + wait_for_date( + vote_plans.first().unwrap().vote_end().into(), + jormungandr.rest(), + ); + + //3.Start talling + let mut mempool_check = Vec::new(); + for vote_plan in &vote_plans { + mempool_check.push( + transaction_sender + .send_public_vote_tally(&mut voters[0], &vote_plan, &jormungandr) + .unwrap(), + ); + } + + FragmentVerifier::wait_and_verify_all_are_in_block( + Duration::from_secs(2), + mempool_check, + &jormungandr, + ) + .unwrap(); + + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); + + wait_for_date( + vote_plans.first().unwrap().committee_end().into(), + jormungandr.rest(), + ); + + //4. End talling + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); +} + +#[should_panic] +#[test] //NPG-3369 +pub fn explorer_all_vote_plans_private_flow_test() { + let temp_dir = TempDir::new().unwrap().into_persistent(); + let yes_choice = Choice::new(1); + let no_choice = Choice::new(2); + let threshold = 1; + let mut rng = OsRng; + let alice = Wallet::new_account_with_discrimination(&mut rng, Discrimination::Production); + let bob = Wallet::new_account_with_discrimination(&mut rng, Discrimination::Production); + let vote_plans_limit = 10; + let mut voters = vec![alice, bob]; + let proposals = vec![VOTE_FOR_MARIO, VOTE_FOR_LUIGI, VOTE_FOR_ANTONIO]; + let proposal_count = proposals.len(); + let private_vote_committee_data_manager = + CommitteeDataManager::private(&mut OsRng, vec![(voters[0].account_id())], threshold); + let mut vote_for_mario: Vec<(chainWallet, Choice)> = Vec::new(); + let mut vote_for_luigi: Vec<(chainWallet, Choice)> = Vec::new(); + let vote_for_antonio: Vec<(chainWallet, Choice)> = Vec::new(); + let mut vote_plans_proposal_votes: HashMap< + String, + HashMap>, + > = HashMap::new(); + let vote_plans_count = 3; + + let vote_plans: Vec = iter::from_fn(|| { + Some( + VotePlanBuilder::new() + .proposals_count(proposal_count) + .vote_start(BlockDate::from_epoch_slot_id(0, 0)) + .tally_start(BlockDate::from_epoch_slot_id(1, 0)) + .tally_end(BlockDate::from_epoch_slot_id(1, 10)) + .private() + .member_public_keys(private_vote_committee_data_manager.member_public_keys()) + .options_size(3) + .build(), + ) + }) + .take(vote_plans_count) + .collect(); + + let mut vote_plans_cert = Vec::new(); + + for vote_plan in &vote_plans { + let vote_plan_cert = vote_plan_cert( + &voters[0], + chain_impl_mockchain::block::BlockDate { + epoch: 1, + slot_id: 0, + }, + &vote_plan, + ) + .into(); + vote_plans_cert.push(vote_plan_cert); + } + + let config = ConfigurationBuilder::new() + .with_funds(vec![ + voters[0].to_initial_fund(INITIAL_FUND_PER_WALLET_1), + voters[1].to_initial_fund(INITIAL_FUND_PER_WALLET_2), + ]) + .with_token(InitialToken { + token_id: vote_plans.first().unwrap().voting_token().clone().into(), + policy: MintingPolicy::new().into(), + to: vec![ + voters[0].to_initial_token(INITIAL_FUND_PER_WALLET_1), + voters[1].to_initial_token(INITIAL_FUND_PER_WALLET_2), + ], + }) + .with_block0_consensus(ConsensusType::Bft) + .with_kes_update_speed(KesUpdateSpeed::MAXIMUM) + .with_treasury(INITIAL_TREASURY.into()) + .with_discrimination(Discrimination::Production) + .with_committees(&[voters[0].to_committee_id()]) + .with_slot_duration(SLOT_DURATION) + .with_slots_per_epoch(SLOTS_PER_EPOCH) + .with_certs(vote_plans_cert) + .build(&temp_dir); + + let jormungandr = Starter::new().config(config).start().unwrap(); + + let transaction_sender = FragmentSender::new( + jormungandr.genesis_block_hash(), + jormungandr.fees(), + chain_impl_mockchain::block::BlockDate { + epoch: 1, + slot_id: 0, + } + .into(), + FragmentSenderSetup::resend_3_times(), + ); + + let fragment_builder = FragmentBuilder::new( + &jormungandr.genesis_block_hash(), + &jormungandr.fees(), + chain_impl_mockchain::block::BlockDate { + epoch: 3, + slot_id: 0, + }, + ); + + let params = ExplorerParams::new( + VOTE_PLAN_QUERY_COMPLEXITY_LIMIT, + VOTE_PLAN_QUERY_DEPTH_LIMIT, + None, + ); + let explorer_process = jormungandr.explorer(params).unwrap(); + let explorer = explorer_process.client(); + + //1. Voteplan + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); + + //2. Voting + assert!(vote_plans + .first() + .unwrap() + .can_vote(get_current_date(&mut jormungandr.rest()).into())); + + for vote_plan in &vote_plans { + let first_voter_luigi_fragment = + fragment_builder.private_vote_cast(&voters[0], &vote_plan, VOTE_FOR_LUIGI, &yes_choice); + //voters[0].confirm_transaction(); + + let second_voter_luigi_fragment = + fragment_builder.private_vote_cast(&voters[1], &vote_plan, VOTE_FOR_LUIGI, &yes_choice); + voters[1].confirm_transaction(); + + let second_voter_mario_fragment = + fragment_builder.private_vote_cast(&voters[1], &vote_plan, VOTE_FOR_MARIO, &no_choice); + voters[1].decrement_counter(); + + transaction_sender + .send_fragment(&mut voters[0], first_voter_luigi_fragment, &jormungandr) + .unwrap(); + + vote_for_luigi.push((chainWallet::from(voters[0].clone()), yes_choice)); + + transaction_sender + .send_fragment(&mut voters[1], second_voter_luigi_fragment, &jormungandr) + .unwrap(); + + vote_for_luigi.push((chainWallet::from(voters[1].clone()), yes_choice)); + + transaction_sender + .send_fragment(&mut voters[1], second_voter_mario_fragment, &jormungandr) + .unwrap(); + + vote_for_mario.push((chainWallet::from(voters[1].clone()), no_choice)); + + let mut proposal_votes = HashMap::new(); + + proposal_votes.insert( + vote_plan + .proposals() + .to_vec() + .get(VOTE_FOR_MARIO as usize) + .unwrap() + .external_id() + .to_string(), + vote_for_mario.clone(), + ); + + proposal_votes.insert( + vote_plan + .proposals() + .to_vec() + .get(VOTE_FOR_ANTONIO as usize) + .unwrap() + .external_id() + .to_string(), + vote_for_antonio.clone(), + ); + + proposal_votes.insert( + vote_plan + .proposals() + .to_vec() + .get(VOTE_FOR_LUIGI as usize) + .unwrap() + .external_id() + .to_string(), + vote_for_luigi.clone(), + ); + + vote_plans_proposal_votes.insert(vote_plan.to_id().to_string(), proposal_votes); + } + + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); + + //3.Tally + wait_for_date( + vote_plans.first().unwrap().committee_start().into(), + jormungandr.rest(), + ); + let transaction_sender = + transaction_sender.set_valid_until(chain_impl_mockchain::block::BlockDate { + epoch: 3, + slot_id: 0, + }); + + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + + let mut mempool_check = Vec::new(); + for vote_plan_status in vote_plan_statuses { + let decrypted_shares = private_vote_committee_data_manager + .decrypt_tally(&vote_plan_status.clone().into()) + .unwrap(); + + for vote_plan in &vote_plans { + if vote_plan.to_id().to_string() == vote_plan_status.id.to_string() { + mempool_check.push( + transaction_sender + .send_private_vote_tally( + &mut voters[0], + &vote_plan, + decrypted_shares.clone(), + &jormungandr, + ) + .unwrap(), + ); + } + } + } + + FragmentVerifier::wait_and_verify_all_are_in_block( + Duration::from_secs(2), + mempool_check, + &jormungandr, + ) + .unwrap(); + + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); + + //4. Tally end + wait_for_date( + vote_plans.first().unwrap().committee_end().into(), + jormungandr.rest(), + ); + + let query_response = explorer + .vote_plans(vote_plans_limit) + .expect("vote plan transaction not found"); + + assert!( + query_response.errors.is_none(), + "{:?}", + query_response.errors.unwrap() + ); + + let all_vote_plans_response = query_response.data.unwrap().tip.all_vote_plans; + let all_vote_plans = all_vote_plans_response.edges; + let vote_plan_statuses = jormungandr.rest().vote_plan_statuses().unwrap(); + assert_eq!( + all_vote_plans_response.total_count, + vote_plan_statuses.len() as i64 + ); + + ExplorerVerifier::assert_all_vote_plans( + all_vote_plans, + vote_plan_statuses, + vote_plans_proposal_votes.clone(), + ); +} diff --git a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/leadership.rs b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/leadership.rs index dd94396fcd..202787be75 100644 --- a/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/leadership.rs +++ b/src/jormungandr/testing/jormungandr-integration-tests/src/jormungandr/leadership.rs @@ -46,7 +46,9 @@ fn verify_leadership_logs_parent_hash(jormungandr: JormungandrProcess) { .v0() .block() .next(parent.to_string(), 1, jormungandr.rest_uri()); - assert_eq!(actual_block, *block, "wrong parent block"); + + let actual_block = actual_block.first().unwrap(); + assert_eq!(actual_block, block, "wrong parent block"); } } } diff --git a/src/jormungandr/testing/mjolnir/src/mjolnir_lib/generators/fragment_generator.rs b/src/jormungandr/testing/mjolnir/src/mjolnir_lib/generators/fragment_generator.rs index fe3ad2726c..59d29f8305 100644 --- a/src/jormungandr/testing/mjolnir/src/mjolnir_lib/generators/fragment_generator.rs +++ b/src/jormungandr/testing/mjolnir/src/mjolnir_lib/generators/fragment_generator.rs @@ -259,13 +259,11 @@ impl<'a, S: SyncNode + Send> FragmentGenerator<'a, S> { 3 => { let index = self.rand.next_u32() as usize % self.active_stake_pools.len(); let stake_pool = self.active_stake_pools.get(index).unwrap(); - self.fragment_sender .send_owner_delegation(&mut self.sender, stake_pool, &self.node) } 4 => { let stake_pool = StakePool::new(&self.sender); - self.active_stake_pools.push(stake_pool.clone()); self.fragment_sender.send_pool_registration( &mut self.sender, &stake_pool, @@ -285,7 +283,6 @@ impl<'a, S: SyncNode + Send> FragmentGenerator<'a, S> { 6 => { let index = self.rand.next_u32() as usize % self.active_stake_pools.len(); let stake_pool = self.active_stake_pools.remove(index); - self.fragment_sender .send_pool_retire(&mut self.sender, &stake_pool, &self.node) } diff --git a/src/jortestkit/src/load/stats.rs b/src/jortestkit/src/load/stats.rs index 707811f142..69236ca184 100644 --- a/src/jortestkit/src/load/stats.rs +++ b/src/jortestkit/src/load/stats.rs @@ -46,7 +46,7 @@ impl Stats { let tps = self.calculate_tps(); let passrate = self.calculate_passrate(); println!("Load scenario `{}` finished", title); - println!("I made a total of {:.2} requests ({} passed/ {} failed/ {} pending), the mean response time was: {:.3} seconds. tps: {:.2}. Test duration: {} s. Passrate: {} %", + println!("I made a total of {:.2} requests ({} passed/ {} failed/ {} pending), the mean response time was: {:.3} seconds. tps: {:.2}. Test duration: {} s. Passrate: {} %", requests, self.total_requests_passed(), self.total_requests_failed(), @@ -79,7 +79,7 @@ impl Stats { if errors.len() > 10 { println!("{} errors fund. Printing only 10 :", errors.len()); - let first_10_errors: Vec = errors.iter().cloned().take(10).collect(); + let first_10_errors: Vec = errors.iter().take(10).cloned().collect(); self.print_errors(first_10_errors); return; } diff --git a/src/vit-servicing-station/Cargo.lock b/src/vit-servicing-station/Cargo.lock deleted file mode 100644 index 507f19a3ad..0000000000 --- a/src/vit-servicing-station/Cargo.lock +++ /dev/null @@ -1,4569 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aho-corasick" -version = "0.7.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" -dependencies = [ - "memchr", -] - -[[package]] -name = "android_system_properties" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e" -dependencies = [ - "libc", -] - -[[package]] -name = "ansi_term" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" -dependencies = [ - "winapi", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - -[[package]] -name = "arrayref" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" - -[[package]] -name = "arrayvec" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "ascii" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" - -[[package]] -name = "assert_cmd" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e" -dependencies = [ - "bstr", - "doc-comment", - "predicates", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - -[[package]] -name = "assert_fs" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf09bb72e00da477c2596865e8873227e2196d263cca35414048875dbbeea1be" -dependencies = [ - "doc-comment", - "globwalk", - "predicates", - "predicates-core", - "predicates-tree", - "tempfile", -] - -[[package]] -name = "async-trait" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - -[[package]] -name = "aurora-bn" -version = "0.1.0" -source = "git+https://github.com/aurora-is-near/aurora-bn.git#8f1743884061981cac84388862e2763b2aa09307" -dependencies = [ - "byteorder", - "getrandom 0.2.7", - "rand 0.8.5", - "serde", -] - -[[package]] -name = "auto_impl" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7862e21c893d65a1650125d157eaeec691439379a1cee17ee49031b79236ada4" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" -dependencies = [ - "addr2line", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" - -[[package]] -name = "base64" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" - -[[package]] -name = "bech32" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9ff0bbfd639f15c74af777d81383cf53efb7c93613f6cab67c6c11e05bbf8b" - -[[package]] -name = "bit-set" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitvec" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" -dependencies = [ - "funty", - "radium", - "tap", - "wyz", -] - -[[package]] -name = "blake2" -version = "0.9.1" -source = "git+https://github.com/near/near-blake2.git?rev=736ff607cc8160af87ffa697c14ebef85050138f#736ff607cc8160af87ffa697c14ebef85050138f" -dependencies = [ - "crypto-mac", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - -[[package]] -name = "bstr" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" -dependencies = [ - "lazy_static", - "memchr", - "regex-automata", - "serde", -] - -[[package]] -name = "buf_redux" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f" -dependencies = [ - "memchr", - "safemem", -] - -[[package]] -name = "bumpalo" -version = "3.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" - -[[package]] -name = "byte-slice-cast" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" - -[[package]] -name = "bytesize" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c58ec36aac5066d5ca17df51b3e70279f5670a72102f5752cb7e7c856adfc70" - -[[package]] -name = "cardano-legacy-address" -version = "0.1.1" -dependencies = [ - "cbor_event", - "cryptoxide", - "ed25519-bip32", -] - -[[package]] -name = "cbor_event" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52b3d8b289b6c7d6d8832c8e2bf151c7677126afa627f51e19a6320aec8237cb" - -[[package]] -name = "cc" -version = "1.0.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chain-addr" -version = "0.1.0" -dependencies = [ - "bech32", - "chain-core", - "chain-crypto", - "cryptoxide", - "proptest", - "quickcheck", - "test-strategy", -] - -[[package]] -name = "chain-core" -version = "0.1.0" -dependencies = [ - "chain-ser", -] - -[[package]] -name = "chain-crypto" -version = "0.1.0" -dependencies = [ - "bech32", - "cryptoxide", - "curve25519-dalek-ng", - "ed25519-bip32", - "ed25519-dalek", - "generic-array", - "hex", - "proptest", - "quickcheck", - "rand 0.8.5", - "rand_core 0.6.3", - "rayon", - "sha2 0.10.2", - "test-strategy", - "typed-bytes", -] - -[[package]] -name = "chain-evm" -version = "0.1.0" -dependencies = [ - "aurora-bn", - "base64 0.13.0", - "blake2", - "byte-slice-cast", - "chain-core", - "chain-ser", - "ethabi", - "ethereum", - "ethereum-types", - "evm", - "hex", - "imhamt", - "libsecp256k1", - "num 0.4.0", - "quickcheck", - "ripemd", - "rlp", - "secp256k1", - "sha2 0.10.2", - "sha3", - "thiserror", - "typed-bytes", -] - -[[package]] -name = "chain-impl-mockchain" -version = "0.1.0" -dependencies = [ - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-evm", - "chain-ser", - "chain-time", - "chain-vote", - "cryptoxide", - "ed25519-bip32", - "hex", - "imhamt", - "lazy_static", - "proptest", - "quickcheck", - "quickcheck_macros", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "sparse-array", - "strum 0.23.0", - "strum_macros 0.23.1", - "test-strategy", - "thiserror", - "typed-bytes", -] - -[[package]] -name = "chain-ser" -version = "0.1.0" -dependencies = [ - "thiserror", -] - -[[package]] -name = "chain-time" -version = "0.1.0" -dependencies = [ - "chain-core", - "chain-ser", - "proptest", - "quickcheck", - "test-strategy", -] - -[[package]] -name = "chain-vote" -version = "0.1.0" -dependencies = [ - "cfg-if 0.1.10", - "chain-core", - "chain-crypto", - "const_format", - "cryptoxide", - "rand 0.8.5", - "rand_core 0.6.3", - "rayon", - "thiserror", -] - -[[package]] -name = "chrono" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f725f340c3854e3cb3ab736dc21f0cca183303acea3b3ffec30f141503ac8eb" -dependencies = [ - "iana-time-zone", - "js-sys", - "num-integer", - "num-traits", - "time 0.1.44", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "ansi_term 0.12.1", - "atty", - "bitflags", - "strsim 0.8.0", - "textwrap", - "unicode-width", - "vec_map", -] - -[[package]] -name = "combine" -version = "3.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680" -dependencies = [ - "ascii", - "byteorder", - "either", - "memchr", - "unreachable", -] - -[[package]] -name = "console" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89eab4d20ce20cea182308bca13088fecea9c05f6776cf287205d41a0ed3c847" -dependencies = [ - "encode_unicode", - "libc", - "once_cell", - "terminal_size", - "unicode-width", - "winapi", -] - -[[package]] -name = "const_format" -version = "0.2.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "939dc9e2eb9077e0679d2ce32de1ded8531779360b003b4a972a7a39ec263495" -dependencies = [ - "const_format_proc_macros", -] - -[[package]] -name = "const_format_proc_macros" -version = "0.2.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef196d5d972878a48da7decb7686eded338b4858fbabeed513d63a7c98b2b82d" -dependencies = [ - "proc-macro2", - "quote", - "unicode-xid", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" - -[[package]] -name = "cpufeatures" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "045ebe27666471bb549370b4b0b3e51b07f56325befa4284db65fc89c02511b1" -dependencies = [ - "autocfg", - "cfg-if 1.0.0", - "crossbeam-utils", - "memoffset", - "once_cell", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc" -dependencies = [ - "cfg-if 1.0.0", - "once_cell", -] - -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "cryptoxide" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "129eabb7b0b78644a3a7e7cf220714aba47463bb281f69fa7a71ca5d12564cca" - -[[package]] -name = "csv" -version = "1.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" -dependencies = [ - "bstr", - "csv-core", - "itoa 0.4.8", - "ryu", - "serde", -] - -[[package]] -name = "csv-core" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" -dependencies = [ - "memchr", -] - -[[package]] -name = "ctor" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdffe87e1d521a10f9696f833fe502293ea446d7f256c06128293a4119bdf4cb" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek-ng" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.6.3", - "subtle-ng", - "zeroize", -] - -[[package]] -name = "custom_debug" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8225047674d65dcf4321e6bd3e060bdbbe940604a99b1559827f3e61c498d1e" -dependencies = [ - "custom_debug_derive", -] - -[[package]] -name = "custom_debug_derive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b35d34eb004bf2d33c093f1c55ee77829e8654644288d3b6afd8c2d99d23729" -dependencies = [ - "proc-macro2", - "syn", - "synstructure", -] - -[[package]] -name = "darling" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" -dependencies = [ - "darling_core", - "quote", - "syn", -] - -[[package]] -name = "data-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "dialoguer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61579ada4ec0c6031cfac3f86fdba0d195a7ebeb5e36693bd53cb5999a25beeb" -dependencies = [ - "console", - "lazy_static", - "tempfile", - "zeroize", -] - -[[package]] -name = "diesel" -version = "1.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b28135ecf6b7d446b43e27e225622a038cc4e2930a1022f51cdb97ada19b8e4d" -dependencies = [ - "byteorder", - "diesel_derives", - "libsqlite3-sys", - "r2d2", -] - -[[package]] -name = "diesel_derives" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "diesel_migrations" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf3cde8413353dc7f5d72fa8ce0b99a560a359d2c5ef1e5817ca731cd9008f4c" -dependencies = [ - "migrations_internals", - "migrations_macros", -] - -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - -[[package]] -name = "digest" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" -dependencies = [ - "block-buffer 0.10.2", - "crypto-common", -] - -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - -[[package]] -name = "dotenv" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" - -[[package]] -name = "dyn-clone" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2" - -[[package]] -name = "eccoxide" -version = "0.2.0" -source = "git+https://github.com/eugene-babichenko/eccoxide.git?branch=fast-u64-scalar-mul#d921d47523087b76c8c1dc32ec3495c581f83a82" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "ed25519" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369" -dependencies = [ - "signature", -] - -[[package]] -name = "ed25519-bip32" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb588f93c0d91b2f668849fd6d030cddb0b2e31f105963be189da5acdf492a21" -dependencies = [ - "cryptoxide", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek", - "ed25519", - "rand 0.7.3", - "serde", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "either" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "encoding_rs" -version = "0.8.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "env_logger" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "environmental" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" - -[[package]] -name = "ethabi" -version = "17.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f186de076b3e77b8e6d73c99d1b52edc2a229e604f4b5eb6992c06c11d79d537" -dependencies = [ - "ethereum-types", - "hex", - "sha3", -] - -[[package]] -name = "ethbloom" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11da94e443c60508eb62cf256243a64da87304c2802ac2528847f79d750007ef" -dependencies = [ - "crunchy", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "tiny-keccak", -] - -[[package]] -name = "ethereum" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23750149fe8834c0e24bb9adcbacbe06c45b9861f15df53e09f26cb7c4ab91ef" -dependencies = [ - "bytes", - "ethereum-types", - "hash-db", - "hash256-std-hasher", - "parity-scale-codec", - "rlp", - "rlp-derive", - "scale-info", - "serde", - "sha3", - "triehash", -] - -[[package]] -name = "ethereum-types" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2827b94c556145446fcce834ca86b7abf0c39a805883fe20e72c5bfdb5a0dc6" -dependencies = [ - "ethbloom", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "primitive-types", - "scale-info", - "uint", -] - -[[package]] -name = "evm" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8ff320c1e25e7f6d676858f16ffd9b0493d2cc67c3d900c6f2ed027b747f43" -dependencies = [ - "auto_impl", - "environmental", - "ethereum", - "evm-core", - "evm-gasometer", - "evm-runtime", - "log", - "parity-scale-codec", - "primitive-types", - "rlp", - "scale-info", - "serde", - "sha3", -] - -[[package]] -name = "evm-core" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4537041d3a3438d59b2d01bd950ce89fb1ccb3cf21d9331193c10be12e849f" -dependencies = [ - "parity-scale-codec", - "primitive-types", - "scale-info", - "serde", -] - -[[package]] -name = "evm-gasometer" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6181da8734c86873ac9b3f9886d4e00105361039dcfb9f621be9a0ddb8f43961" -dependencies = [ - "environmental", - "evm-core", - "evm-runtime", - "primitive-types", -] - -[[package]] -name = "evm-runtime" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6157af91ca70fcf3581afaea1fa25974a71b9ef63d454c08dfba93ab0c7715d" -dependencies = [ - "auto_impl", - "environmental", - "evm-core", - "primitive-types", - "sha3", -] - -[[package]] -name = "failure" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" -dependencies = [ - "backtrace", - "failure_derive", -] - -[[package]] -name = "failure_derive" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "fake" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d68f517805463f3a896a9d29c1d6ff09d3579ded64a7201b4069f8f9c0d52fd" -dependencies = [ - "http", - "rand 0.8.5", -] - -[[package]] -name = "fastrand" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" -dependencies = [ - "instant", -] - -[[package]] -name = "filetime" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "windows-sys", -] - -[[package]] -name = "fixed-hash" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" -dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", -] - -[[package]] -name = "flate2" -version = "1.0.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "float-cmp" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -dependencies = [ - "num-traits", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" -dependencies = [ - "matches", - "percent-encoding", -] - -[[package]] -name = "fraction" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb65943183b6b3cbf00f64c181e8178217e30194381b150e4f87ec59864c803" -dependencies = [ - "lazy_static", - "num 0.2.1", - "serde", - "serde_derive", -] - -[[package]] -name = "fs_extra" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" - -[[package]] -name = "fsevent-sys" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2" -dependencies = [ - "libc", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures-channel" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" - -[[package]] -name = "futures-io" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" - -[[package]] -name = "futures-sink" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" - -[[package]] -name = "futures-task" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" - -[[package]] -name = "futures-util" -version = "0.3.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" -dependencies = [ - "futures-core", - "futures-io", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "generic-array" -version = "0.14.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" - -[[package]] -name = "globset" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - -[[package]] -name = "globwalk" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "graphql-introspection-query" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2a4732cf5140bd6c082434494f785a19cfb566ab07d1382c3671f5812fed6d" -dependencies = [ - "serde", -] - -[[package]] -name = "graphql-parser" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5613c31f18676f164112732202124f373bb2103ff017b3b85ca954ea6a66ada" -dependencies = [ - "combine", - "failure", -] - -[[package]] -name = "graphql_client" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9b58571cfc3cc42c3e8ff44fc6cfbb6c0dea17ed22d20f9d8f1efc4e8209a3f" -dependencies = [ - "graphql_query_derive", - "serde", - "serde_json", -] - -[[package]] -name = "graphql_client_codegen" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4bf9cd823359d74ad3d3ecf1afd4a975f4ff2f891cdf9a66744606daf52de8c" -dependencies = [ - "graphql-introspection-query", - "graphql-parser", - "heck", - "lazy_static", - "proc-macro2", - "quote", - "serde", - "serde_json", - "syn", -] - -[[package]] -name = "graphql_query_derive" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e56b093bfda71de1da99758b036f4cc811fd2511c8a76f75680e9ffbd2bb4251" -dependencies = [ - "graphql_client_codegen", - "proc-macro2", - "syn", -] - -[[package]] -name = "h2" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util 0.7.3", - "tracing", -] - -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - -[[package]] -name = "hash256-std-hasher" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" -dependencies = [ - "crunchy", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - -[[package]] -name = "headers" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cff78e5788be1e0ab65b04d306b2ed5092c815ec97ec70f4ebd5aee158aa55d" -dependencies = [ - "base64 0.13.0", - "bitflags", - "bytes", - "headers-core", - "http", - "httpdate", - "mime", - "sha-1 0.10.0", -] - -[[package]] -name = "headers-core" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" -dependencies = [ - "http", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "http" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" -dependencies = [ - "bytes", - "fnv", - "itoa 1.0.3", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "http-zipkin" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d10540bb06bfef59fe047376e293e2123e0681e9a57780a0a14776dcac74af0e" -dependencies = [ - "http", - "zipkin", -] - -[[package]] -name = "httparse" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "hyper" -version = "0.14.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02c929dc5c39e335a03c405292728118860721b10190d98c2a0f0efd5baafbac" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa 1.0.3", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" -dependencies = [ - "http", - "hyper", - "rustls 0.20.6", - "tokio", - "tokio-rustls 0.23.4", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.41" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1779539f58004e5dba1c1f093d44325ebeb244bfc04b791acdc0aaeca9c04570" -dependencies = [ - "android_system_properties", - "core-foundation", - "js-sys", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "ignore" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d" -dependencies = [ - "crossbeam-utils", - "globset", - "lazy_static", - "log", - "memchr", - "regex", - "same-file", - "thread_local", - "walkdir", - "winapi-util", -] - -[[package]] -name = "imhamt" -version = "0.1.0" -dependencies = [ - "proptest", - "rustc_version", - "test-strategy", - "thiserror", -] - -[[package]] -name = "impl-codec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" -dependencies = [ - "parity-scale-codec", -] - -[[package]] -name = "impl-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp", -] - -[[package]] -name = "impl-serde" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" -dependencies = [ - "serde", -] - -[[package]] -name = "impl-trait-for-tuples" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "indexmap" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" -dependencies = [ - "autocfg", - "hashbrown", -] - -[[package]] -name = "indicatif" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7baab56125e25686df467fe470785512329883aab42696d661247aca2a2896e4" -dependencies = [ - "console", - "lazy_static", - "number_prefix", - "regex", -] - -[[package]] -name = "inotify" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" -dependencies = [ - "bitflags", - "inotify-sys", - "libc", -] - -[[package]] -name = "inotify-sys" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb" -dependencies = [ - "libc", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "ipnet" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879d54834c8c76457ef4293a689b2a8c59b076067ad77b15efafbb05f92a592b" - -[[package]] -name = "itertools" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "itoa" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" - -[[package]] -name = "jormungandr-lib" -version = "0.13.0" -dependencies = [ - "base64 0.13.0", - "bech32", - "cardano-legacy-address", - "chain-addr", - "chain-core", - "chain-crypto", - "chain-impl-mockchain", - "chain-time", - "chain-vote", - "hex", - "http", - "humantime", - "parity-multiaddr", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "serde", - "serde_with", - "thiserror", - "time 0.3.13", - "typed-bytes", -] - -[[package]] -name = "jortestkit" -version = "0.1.0" -dependencies = [ - "assert_fs", - "base64 0.13.0", - "bech32", - "bytesize", - "console", - "csv", - "custom_debug", - "dialoguer", - "flate2", - "fs_extra", - "hex", - "humantime", - "indicatif", - "lazy_static", - "os_info", - "predicates", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "rayon", - "reqwest", - "semver", - "serde", - "serde_derive", - "serde_json", - "serde_yaml", - "sha-1 0.9.8", - "sha2 0.9.9", - "sysinfo", - "tar", - "thiserror", - "time 0.3.13", - "tokio", - "warp", - "zip", -] - -[[package]] -name = "js-sys" -version = "0.3.59" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "keccak" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9b7d56ba4a8344d6be9729995e6b06f928af29998cdf79fe390cbf6b1fee838" - -[[package]] -name = "kqueue" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6112e8f37b59803ac47a42d14f1f3a59bbf72fc6857ffc5be455e28a691f8e" -dependencies = [ - "kqueue-sys", - "libc", -] - -[[package]] -name = "kqueue-sys" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8367585489f01bc55dd27404dcf56b95e6da061a256a666ab23be9ba96a2e587" -dependencies = [ - "bitflags", - "libc", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - -[[package]] -name = "libc" -version = "0.2.127" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" - -[[package]] -name = "libsecp256k1" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" -dependencies = [ - "arrayref", - "base64 0.13.0", - "digest 0.9.0", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", - "serde", -] - -[[package]] -name = "libsecp256k1-core" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] - -[[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsqlite3-sys" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb2c84bff2c4d43bf6866c786098f7b6a17714b0cbda3abc6323a6b7571a045" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "lock_api" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", - "serde", -] - -[[package]] -name = "matches" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "migrations_internals" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b4fc84e4af020b837029e017966f86a1c2d5e83e64b589963d5047525995860" -dependencies = [ - "diesel", -] - -[[package]] -name = "migrations_macros" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c" -dependencies = [ - "migrations_internals", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "mime" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" - -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "miniz_oxide" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.7.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" -dependencies = [ - "libc", - "log", - "miow", - "ntapi", - "winapi", -] - -[[package]] -name = "mio" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys", -] - -[[package]] -name = "miow" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" -dependencies = [ - "winapi", -] - -[[package]] -name = "multihash" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab" -dependencies = [ - "generic-array", - "multihash-derive", - "unsigned-varint 0.5.1", -] - -[[package]] -name = "multihash-derive" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" -dependencies = [ - "proc-macro-crate", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "multipart" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" -dependencies = [ - "buf_redux", - "httparse", - "log", - "mime", - "mime_guess", - "quick-error 1.2.3", - "rand 0.8.5", - "safemem", - "tempfile", - "twoway", -] - -[[package]] -name = "native-tls" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd7e2f3618557f980e0b17e8856252eee3c97fa12c54dff0ca290fb6266ca4a9" -dependencies = [ - "lazy_static", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "notify" -version = "5.0.0-pre.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c614e7ed2b1cf82ec99aeffd8cf6225ef5021b9951148eb161393c394855032c" -dependencies = [ - "bitflags", - "crossbeam-channel", - "filetime", - "fsevent-sys", - "inotify", - "kqueue", - "libc", - "mio 0.7.14", - "walkdir", - "winapi", -] - -[[package]] -name = "ntapi" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f" -dependencies = [ - "winapi", -] - -[[package]] -name = "num" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36" -dependencies = [ - "num-bigint 0.2.6", - "num-complex 0.2.4", - "num-integer", - "num-iter", - "num-rational 0.2.4", - "num-traits", -] - -[[package]] -name = "num" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" -dependencies = [ - "num-bigint 0.4.3", - "num-complex 0.4.2", - "num-integer", - "num-iter", - "num-rational 0.4.1", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", - "serde", -] - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" -dependencies = [ - "autocfg", - "num-traits", - "serde", -] - -[[package]] -name = "num-complex" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ae39348c8bc5fbd7f40c727a9925f03517afd2ab27d46702108b6a7e5414c19" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" -dependencies = [ - "autocfg", - "num-bigint 0.2.6", - "num-integer", - "num-traits", - "serde", -] - -[[package]] -name = "num-rational" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" -dependencies = [ - "autocfg", - "num-bigint 0.4.3", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] - -[[package]] -name = "num_cpus" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "num_threads" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" -dependencies = [ - "libc", -] - -[[package]] -name = "number_prefix" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a" - -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "openssl" -version = "0.10.41" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "618febf65336490dfcf20b73f885f5651a0c89c64c2d4a8c3662585a70bf5bd0" -dependencies = [ - "bitflags", - "cfg-if 1.0.0", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.75" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5f9bd0c2710541a3cda73d6f9ac4f1b240de4ae261065d309dbe73d9dceb42f" -dependencies = [ - "autocfg", - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "os_info" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5209b2162b2c140df493a93689e04f8deab3a67634f5bc7a553c0a98e5b8d399" -dependencies = [ - "log", - "winapi", -] - -[[package]] -name = "output_vt100" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66" -dependencies = [ - "winapi", -] - -[[package]] -name = "parity-multiaddr" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58341485071825827b7f03cf7efd1cb21e6a709bea778fb50227fd45d2f361b4" -dependencies = [ - "arrayref", - "bs58", - "byteorder", - "data-encoding", - "multihash", - "percent-encoding", - "serde", - "static_assertions", - "unsigned-varint 0.7.1", -] - -[[package]] -name = "parity-scale-codec" -version = "3.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0" -dependencies = [ - "arrayvec", - "bitvec", - "byte-slice-cast", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "3.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "smallvec", - "windows-sys", -] - -[[package]] -name = "percent-encoding" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" - -[[package]] -name = "pin-project" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78203e83c48cffbe01e4a2d35d566ca4de445d79a85372fc64e378bfc812a260" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "710faf75e1b33345361201d36d04e98ac1ed8909151a017ed384700836104c74" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" - -[[package]] -name = "ppv-lite86" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" - -[[package]] -name = "predicates" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c" -dependencies = [ - "difflib", - "float-cmp", - "itertools 0.10.3", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates-core" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da1c2388b1513e1b605fcec39a95e0a9e8ef088f71443ef37099fa9ae6673fcb" - -[[package]] -name = "predicates-tree" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d86de6de25020a36c6d3643a86d9a6a9f552107c0559c60ea03551b5e16c032" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "pretty_assertions" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f81e1644e1b54f5a68959a29aa86cde704219254669da328ecfdf6a1f09d427" -dependencies = [ - "ansi_term 0.11.0", - "ctor", - "difference", - "output_vt100", -] - -[[package]] -name = "primitive-types" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" -dependencies = [ - "once_cell", - "thiserror", - "toml", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "proptest" -version = "1.0.0" -source = "git+https://github.com/input-output-hk/proptest.git#38044d47b2e8eeab62408294aa9e78e393f13d6b" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static", - "num-traits", - "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_xorshift", - "rand_xoshiro", - "regex-syntax", - "rusty-fork", - "tempfile", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - -[[package]] -name = "quickcheck" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44883e74aa97ad63db83c4bf8ca490f02b2fc02f92575e720c8551e843c945f" -dependencies = [ - "env_logger", - "log", - "rand 0.7.3", - "rand_core 0.5.1", -] - -[[package]] -name = "quickcheck_macros" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608c156fd8e97febc07dc9c2e2c80bf74cfc6ef26893eae3daf8bc2bc94a4b7f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "quote" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "r2d2" -version = "0.8.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93" -dependencies = [ - "log", - "parking_lot", - "scheduled-thread-pool", -] - -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom 0.2.7", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rand_xoshiro" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rayon" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d" -dependencies = [ - "autocfg", - "crossbeam-deque", - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "regex" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" - -[[package]] -name = "regex-syntax" -version = "0.6.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - -[[package]] -name = "reqwest" -version = "0.11.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b75aa69a3f06bbcc66ede33af2af253c6f7a86b1ca0033f60c580a27074fbf92" -dependencies = [ - "base64 0.13.0", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-rustls", - "hyper-tls", - "ipnet", - "js-sys", - "lazy_static", - "log", - "mime", - "native-tls", - "percent-encoding", - "pin-project-lite", - "rustls 0.20.6", - "rustls-pemfile", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-native-tls", - "tokio-rustls 0.23.4", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "webpki-roots", - "winreg", -] - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin", - "untrusted", - "web-sys", - "winapi", -] - -[[package]] -name = "ripemd" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1facec54cb5e0dc08553501fa740091086d0259ad0067e0d4103448e4cb22ed3" -dependencies = [ - "digest 0.10.3", -] - -[[package]] -name = "rlp" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" -dependencies = [ - "bytes", - "rustc-hex", -] - -[[package]] -name = "rlp-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "rust_decimal" -version = "1.26.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee9164faf726e4f3ece4978b25ca877ddc6802fa77f38cdccb32c7f805ecd70c" -dependencies = [ - "arrayvec", - "num-traits", - "serde", -] - -[[package]] -name = "rust_decimal_macros" -version = "1.26.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4903d8db81d2321699ca8318035d6ff805c548868df435813968795a802171b2" -dependencies = [ - "quote", - "rust_decimal", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" - -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64 0.13.0", - "log", - "ring", - "sct 0.6.1", - "webpki 0.21.4", -] - -[[package]] -name = "rustls" -version = "0.20.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aab8ee6c7097ed6057f43c187a62418d0c05a4bd5f18b3571db50ee0f9ce033" -dependencies = [ - "log", - "ring", - "sct 0.7.0", - "webpki 0.22.0", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" -dependencies = [ - "base64 0.13.0", -] - -[[package]] -name = "rustversion" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97477e48b4cf8603ad5f7aaf897467cf42ab4218a38ef76fb14c2d6773a6d6a8" - -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - -[[package]] -name = "ryu" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" - -[[package]] -name = "safemem" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scale-info" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a" -dependencies = [ - "bitvec", - "cfg-if 1.0.0", - "derive_more", - "parity-scale-codec", - "scale-info-derive", -] - -[[package]] -name = "scale-info-derive" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50e334bb10a245e28e5fd755cabcafd96cfcd167c99ae63a46924ca8d8703a3c" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "schannel" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2" -dependencies = [ - "lazy_static", - "windows-sys", -] - -[[package]] -name = "scheduled-thread-pool" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "977a7519bff143a44f842fd07e80ad1329295bd71686457f18e496736f4bf9bf" -dependencies = [ - "parking_lot", -] - -[[package]] -name = "scoped-tls" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "sct" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "secp256k1" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ece73253dd9e1fb540ff324eae554113a31c25fb598d22fd13b088a6a03f90d" -dependencies = [ - "rand 0.8.5", - "secp256k1-sys", -] - -[[package]] -name = "secp256k1-sys" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7058dc8eaf3f2810d7828680320acda0b25a288f6d288e19278e249bbf74226b" -dependencies = [ - "cc", -] - -[[package]] -name = "security-framework" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dc14f172faf8a0194a3aded622712b0de276821addc574fa54fc0a1167e10dc" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "semver" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f6841e709003d68bb2deee8c343572bf446003ec20a583e76f7b15cebf3711" - -[[package]] -name = "serde" -version = "1.0.143" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.143" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7" -dependencies = [ - "itoa 1.0.3", - "ryu", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa 1.0.3", - "ryu", - "serde", -] - -[[package]] -name = "serde_with" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" -dependencies = [ - "serde", - "serde_with_macros", -] - -[[package]] -name = "serde_with_macros" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_yaml" -version = "0.8.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" -dependencies = [ - "indexmap", - "ryu", - "serde", - "yaml-rust", -] - -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha-1" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha2" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sha3" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a31480366ec990f395a61b7c08122d99bd40544fdb5abcfc1b06bb29994312c" -dependencies = [ - "digest 0.10.3", - "keccak", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" - -[[package]] -name = "simplelog" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2736f58087298a448859961d3f4a0850b832e72619d75adc69da7993c2cd3c" -dependencies = [ - "chrono", - "log", - "termcolor", -] - -[[package]] -name = "slab" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" - -[[package]] -name = "snapshot-lib" -version = "0.1.0" -dependencies = [ - "bech32", - "chain-crypto", - "fraction", - "graphql_client", - "hex", - "jormungandr-lib", - "reqwest", - "rust_decimal", - "rust_decimal_macros", - "serde", - "thiserror", -] - -[[package]] -name = "socket2" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "sparse-array" -version = "0.1.0" - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "structmeta" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd9c2155aa89fb2c2cb87d99a610c689e7c47099b3e9f1c8a8f53faf4e3d2e3" -dependencies = [ - "proc-macro2", - "quote", - "structmeta-derive", - "syn", -] - -[[package]] -name = "structmeta-derive" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bafede0d0a2f21910f36d47b1558caae3076ed80f6f3ad0fc85a91e6ba7e5938" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "structopt" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" -dependencies = [ - "clap", - "lazy_static", - "structopt-derive", -] - -[[package]] -name = "structopt-derive" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "strum" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" - -[[package]] -name = "strum" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb" - -[[package]] -name = "strum_macros" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "strum_macros" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "subtle-ng" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" - -[[package]] -name = "syn" -version = "1.0.99" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "unicode-xid", -] - -[[package]] -name = "sysinfo" -version = "0.14.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2983daff11a197c7c406b130579bc362177aa54cf2cc1f34d6ac88fccaa6a5e1" -dependencies = [ - "cfg-if 0.1.10", - "doc-comment", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "tar" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" -dependencies = [ - "filetime", - "libc", - "xattr", -] - -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -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.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b" - -[[package]] -name = "test-strategy" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22c726321a7c108ca1de4ed2e6a362ead7193ecfbe0b326c5dff602b65a09e6a" -dependencies = [ - "proc-macro2", - "quote", - "structmeta", - "syn", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "thiserror" -version = "1.0.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thread_local" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" -dependencies = [ - "once_cell", -] - -[[package]] -name = "time" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db76ff9fa4b1458b3c7f077f3ff9887394058460d21e634355b273aaf11eea45" -dependencies = [ - "itoa 1.0.3", - "libc", - "num_threads", - "serde", - "time-macros", -] - -[[package]] -name = "time-macros" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42657b1a6f4d817cda8e7a0ace261fe0cc946cf3a80314390b22cc61ae080792" - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" - -[[package]] -name = "tokio" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a8325f63a7d4774dd041e363b2409ed1c5cbbd0f867795e661df066b2b0a581" -dependencies = [ - "autocfg", - "bytes", - "libc", - "memchr", - "mio 0.8.4", - "num_cpus", - "once_cell", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "winapi", -] - -[[package]] -name = "tokio-macros" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" -dependencies = [ - "rustls 0.19.1", - "tokio", - "webpki 0.21.4", -] - -[[package]] -name = "tokio-rustls" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" -dependencies = [ - "rustls 0.20.6", - "tokio", - "webpki 0.22.0", -] - -[[package]] -name = "tokio-stream" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df54d54117d6fdc4e4fea40fe1e4e566b3505700e148a6827e59b34b0d2600d9" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" -dependencies = [ - "futures-util", - "log", - "pin-project", - "tokio", - "tungstenite", -] - -[[package]] -name = "tokio-util" -version = "0.6.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36943ee01a6d67977dd3f84a5a1d2efeb4ada3a1ae771cadfaa535d9d9fc6507" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "log", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" -dependencies = [ - "serde", -] - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" -dependencies = [ - "cfg-if 1.0.0", - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-appender" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e" -dependencies = [ - "crossbeam-channel", - "time 0.3.13", - "tracing-subscriber", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60db860322da191b40952ad9affe65ea23e7dd6a5c442c2c42865810c6ab8e6b" -dependencies = [ - "ansi_term 0.12.1", - "sharded-slab", - "smallvec", - "thread_local", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "triehash" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" -dependencies = [ - "hash-db", - "rlp", -] - -[[package]] -name = "try-lock" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" - -[[package]] -name = "tungstenite" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" -dependencies = [ - "base64 0.13.0", - "byteorder", - "bytes", - "http", - "httparse", - "log", - "rand 0.8.5", - "sha-1 0.9.8", - "thiserror", - "url", - "utf-8", -] - -[[package]] -name = "twoway" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1" -dependencies = [ - "memchr", -] - -[[package]] -name = "typed-bytes" -version = "0.1.0" - -[[package]] -name = "typenum" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" - -[[package]] -name = "uint" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f03af7ccf01dd611cc450a0d10dbc9b745770d096473e2faf0ca6e2d66d1e0" -dependencies = [ - "byteorder", - "crunchy", - "hex", - "static_assertions", -] - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" - -[[package]] -name = "unicode-ident" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" - -[[package]] -name = "unicode-normalization" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" - -[[package]] -name = "unicode-width" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" - -[[package]] -name = "unicode-xid" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" - -[[package]] -name = "unreachable" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" -dependencies = [ - "void", -] - -[[package]] -name = "unsigned-varint" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7fdeedbf205afadfe39ae559b75c3240f24e257d0ca27e85f85cb82aa19ac35" - -[[package]] -name = "unsigned-varint" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "url" -version = "2.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" -dependencies = [ - "form_urlencoded", - "idna", - "matches", - "percent-encoding", -] - -[[package]] -name = "utf-8" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "vit-servicing-station-cli" -version = "0.3.4-dev" -dependencies = [ - "base64 0.12.3", - "csv", - "diesel", - "diesel_migrations", - "r2d2", - "rand 0.7.3", - "serde", - "serde_json", - "structopt", - "tempfile", - "thiserror", - "time 0.3.13", - "url", - "vit-servicing-station-lib", -] - -[[package]] -name = "vit-servicing-station-lib" -version = "0.3.4-dev" -dependencies = [ - "async-trait", - "base64 0.12.3", - "chain-ser", - "diesel", - "diesel_migrations", - "dotenv", - "eccoxide", - "http-zipkin", - "itertools 0.9.0", - "jormungandr-lib", - "libsqlite3-sys", - "log", - "notify", - "rand 0.8.5", - "serde", - "serde_json", - "simplelog", - "snapshot-lib", - "structopt", - "strum 0.21.0", - "strum_macros 0.21.1", - "tempfile", - "thiserror", - "time 0.3.13", - "tokio", - "tracing", - "tracing-futures", - "tracing-subscriber", - "warp", -] - -[[package]] -name = "vit-servicing-station-server" -version = "0.3.4-dev" -dependencies = [ - "log", - "structopt", - "tokio", - "tracing", - "tracing-appender", - "tracing-futures", - "tracing-subscriber", - "vit-servicing-station-lib", -] - -[[package]] -name = "vit-servicing-station-tests" -version = "0.3.4-dev" -dependencies = [ - "assert_cmd", - "assert_fs", - "base64 0.12.3", - "cfg-if 0.1.10", - "chain-addr", - "chain-crypto", - "chain-impl-mockchain", - "diesel", - "diesel_migrations", - "dyn-clone", - "fake", - "hyper", - "itertools 0.10.3", - "jortestkit", - "lazy_static", - "libsqlite3-sys", - "predicates", - "pretty_assertions", - "quickcheck", - "quickcheck_macros", - "rand 0.7.3", - "rand_core 0.5.1", - "reqwest", - "serde", - "serde_json", - "snapshot-lib", - "structopt", - "tempfile", - "thiserror", - "time 0.3.13", - "tokio", - "url", - "vit-servicing-station-lib", -] - -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" -dependencies = [ - "same-file", - "winapi", - "winapi-util", -] - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "warp" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cef4e1e9114a4b7f1ac799f16ce71c14de5778500c5450ec6b7b920c55b587e" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "headers", - "http", - "hyper", - "log", - "mime", - "mime_guess", - "multipart", - "percent-encoding", - "pin-project", - "scoped-tls", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-rustls 0.22.0", - "tokio-stream", - "tokio-tungstenite", - "tokio-util 0.6.10", - "tower-service", - "tracing", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa76fb221a1f8acddf5b54ace85912606980ad661ac7a503b4570ffd3a624dad" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a" - -[[package]] -name = "web-sys" -version = "0.3.59" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed055ab27f941423197eb86b2035720b1a3ce40504df082cac2ecc6ed73335a1" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki-roots" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1c760f0d366a6c24a02ed7816e23e691f5d92291f94d15e836006fd11b04daf" -dependencies = [ - "webpki 0.22.0", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi", -] - -[[package]] -name = "wyz" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e" -dependencies = [ - "tap", -] - -[[package]] -name = "xattr" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" -dependencies = [ - "libc", -] - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "zeroize" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zip" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf225bcf73bb52cbb496e70475c7bd7a3f769df699c0020f6c7bd9a96dcf0b8d" -dependencies = [ - "byteorder", - "crc32fast", - "crossbeam-utils", -] - -[[package]] -name = "zipkin" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0457aa320de98fa42cc4803accc3ae11353e1fecae5aa32446baafd9ccf6e46" -dependencies = [ - "lazycell", - "log", - "pin-project-lite", - "rand 0.8.5", - "zipkin-types", -] - -[[package]] -name = "zipkin-types" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daea6189557992dcad925fd8cd069f3cf6f85a731c65561d648009d73d7bd489" -dependencies = [ - "data-encoding", -] diff --git a/src/vit-servicing-station/Cargo.toml b/src/vit-servicing-station/Cargo.toml deleted file mode 100644 index e87c360f1c..0000000000 --- a/src/vit-servicing-station/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[workspace] -members = [ - "vit-servicing-station-cli", - "vit-servicing-station-lib", - "vit-servicing-station-server", - "vit-servicing-station-tests", -] diff --git a/src/vit-testing/Cargo.toml b/src/vit-testing/Cargo.toml deleted file mode 100644 index 031cc5da31..0000000000 --- a/src/vit-testing/Cargo.toml +++ /dev/null @@ -1,12 +0,0 @@ -[workspace] -members = [ - "iapyx", - "vitup", - "valgrind", - "integration-tests", - "mainnet-tools", - "registration-service", - "registration-verify-service", - "snapshot-trigger-service", - "signals-handler" -] diff --git a/src/vit-testing/vitup/src/builders/helpers/vote_plan.rs b/src/vit-testing/vitup/src/builders/helpers/vote_plan.rs index 882dedf35d..3fbe2487a5 100644 --- a/src/vit-testing/vitup/src/builders/helpers/vote_plan.rs +++ b/src/vit-testing/vitup/src/builders/helpers/vote_plan.rs @@ -1,11 +1,13 @@ use crate::config::{Role, VoteBlockchainTime}; -use chain_impl_mockchain::testing::scenario::template::VotePlanDef; -use chain_impl_mockchain::testing::scenario::template::{ProposalDefBuilder, VotePlanDefBuilder}; +use chain_impl_mockchain::certificate::{Proposal, Proposals, PushProposal}; +use chain_impl_mockchain::testing::scenario::template::ProposalDefBuilder; use chain_impl_mockchain::testing::TestGen; -use chain_impl_mockchain::vote::PayloadType; +use hersir::builder::VotePlanKey; +use hersir::config::{CommitteeTemplate, PrivateParameters, VotePlanTemplate}; pub use jormungandr_lib::interfaces::Initial; -use jormungandr_lib::interfaces::TokenIdentifier; +use jormungandr_lib::interfaces::{BlockDate, TokenIdentifier}; use std::iter; + use thor::WalletAlias; pub struct VitVotePlanDefBuilder { @@ -80,7 +82,7 @@ impl VitVotePlanDefBuilder { self } - pub fn build(self) -> Vec { + pub fn build(self) -> Vec { iter::from_fn(|| { Some( ProposalDefBuilder::new( @@ -109,25 +111,36 @@ impl VitVotePlanDefBuilder { .iter() .zip(std::iter::repeat(vote_plan_name)) .map(|((role, voting_token), vote_plan_name)| { - let vote_plan_name = format!("{vote_plan_name}-{role}"); - let mut vote_plan_builder = VotePlanDefBuilder::new(&vote_plan_name); - - vote_plan_builder - .voting_token(voting_token.clone().into()) - .owner(&self.committee_wallet) - .vote_phases( - self.vote_phases.vote_start, - self.vote_phases.tally_start, - self.vote_phases.tally_end, - ); - - if self.private { - vote_plan_builder.payload_type(PayloadType::Private); + let vote_plan_key = VotePlanKey { + alias: format!("{vote_plan_name}-{role}"), + owner_alias: self.committee_wallet.to_string(), + }; + + VotePlanTemplate { + committees: vec![CommitteeTemplate::Generated { + alias: self.committee_wallet.to_string(), + member_pk: None, + communication_pk: None, + }], + vote_start: BlockDate::new(self.vote_phases.vote_start, 0), + vote_end: BlockDate::new(self.vote_phases.tally_start, 0), + committee_end: BlockDate::new(self.vote_phases.tally_end, 0), + proposals: proposal_builders + .into_iter() + .map(|pb| pb.clone().build()) + .fold(Proposals::new(), |mut acc, p| { + let proposal: Proposal = p.into(); + assert_eq!(acc.push(proposal), PushProposal::Success); + acc + }), + committee_member_public_keys: vec![], + voting_token: voting_token.clone().into(), + vote_plan_key, + private: self.private.then_some(PrivateParameters { + crs: None, + threshold: None, + }), } - proposal_builders.to_vec().iter_mut().for_each(|proposal| { - vote_plan_builder.with_proposal(proposal); - }); - vote_plan_builder.build() }) }) .collect() diff --git a/src/vit-testing/vitup/src/builders/mod.rs b/src/vit-testing/vitup/src/builders/mod.rs index 15cba473c0..0f77503b4d 100644 --- a/src/vit-testing/vitup/src/builders/mod.rs +++ b/src/vit-testing/vitup/src/builders/mod.rs @@ -4,6 +4,7 @@ pub mod utils; pub use crate::builders::helpers::{build_current_fund, build_servicing_station_parameters}; use crate::builders::utils::DeploymentTree; +use crate::config; use crate::config::{Config, Role}; use crate::mode::standard::{VitController, VitControllerBuilder}; use assert_fs::fixture::ChildPath; @@ -12,6 +13,7 @@ use chain_impl_mockchain::testing::TestGen; use chain_impl_mockchain::tokens::identifier::TokenIdentifier; use chain_impl_mockchain::tokens::minting_policy::MintingPolicy; use chain_impl_mockchain::value::Value; +use config::Block0Initial::Wallet; pub use helpers::{ convert_to_blockchain_date, convert_to_human_date, generate_qr_and_hashes, VitVotePlanDefBuilder, WalletExtension, @@ -140,7 +142,7 @@ impl VitBackendSettingsBuilder { .map_err(Into::into) } - pub fn build(self) -> Result<(VitController, ValidVotePlanParameters), Error> { + pub fn build(mut self) -> Result<(VitController, ValidVotePlanParameters), Error> { let mut builder = VitControllerBuilder::new(); let vote_blockchain_time = convert_to_blockchain_date(&self.config); @@ -221,6 +223,14 @@ impl VitBackendSettingsBuilder { self.write_token(root.join("voting_token.txt"), &token_list)?; println!("building initials.."); + + self.config.initials.block0.push(Wallet { + name: self.committee_wallet.clone(), + funds: 1_000_000, + pin: "".to_string(), + role: Default::default(), + }); + let mut generated_wallet_templates = HashMap::new(); if self.config.initials.block0.any() { @@ -239,46 +249,43 @@ impl VitBackendSettingsBuilder { } println!("building direct voteplan.."); - for vote_plan_def in VitVotePlanDefBuilder::default() - .vote_phases(vote_blockchain_time) - .options( - self.config - .data - .current_fund - .options - .0 - .len() - .try_into() - .map_err(|_| Error::TooManyOptions)?, - ) - .split_by(255) - .fund_name( - self.config - .data - .current_fund - .fund_info - .fund_name - .to_string(), - ) - .committee(self.committee_wallet.clone()) - .private(self.config.vote_plan.private) - .proposals_count(self.config.data.current_fund.proposals as usize) - .voting_tokens( - token_list - .iter() - .cloned() - .map(|(a, b)| (a, b.into())) - .collect(), - ) - .build() - .into_iter() - { - blockchain = blockchain.with_vote_plan( - vote_plan_def.alias(), - vote_plan_def.owner(), - chain_impl_mockchain::certificate::VotePlan::from(vote_plan_def).into(), - ); - } + builder = builder.vote_plans( + VitVotePlanDefBuilder::default() + .vote_phases(vote_blockchain_time) + .options( + self.config + .data + .current_fund + .options + .0 + .len() + .try_into() + .map_err(|_| Error::TooManyOptions)?, + ) + .split_by(255) + .fund_name( + self.config + .data + .current_fund + .fund_info + .fund_name + .to_string(), + ) + .committee(self.committee_wallet.clone()) + .private(self.config.vote_plan.private) + .proposals_count(self.config.data.current_fund.proposals as usize) + .voting_tokens( + token_list + .iter() + .cloned() + .map(|(a, b)| (a, b.into())) + .collect(), + ) + .build() + .into_iter() + .map(Into::into) + .collect(), + ); builder = builder.blockchain(blockchain); println!("building controllers.."); diff --git a/src/vit-testing/vitup/src/cli/start/quick.rs b/src/vit-testing/vitup/src/cli/start/quick.rs index 980286c54c..8fba723895 100644 --- a/src/vit-testing/vitup/src/cli/start/quick.rs +++ b/src/vit-testing/vitup/src/cli/start/quick.rs @@ -214,7 +214,7 @@ impl QuickStartCommandArgs { .version(self.version) .build(); - print_intro(&session_settings, "VOTING BACKEND"); + print_intro(&session_settings, "CATALYST BACKEND"); let mut template_generator = ArbitraryValidVotingTemplateGenerator::new(); diff --git a/src/vit-testing/vitup/src/config/initials/block0.rs b/src/vit-testing/vitup/src/config/initials/block0.rs index 1f931f7771..05d6c1c699 100644 --- a/src/vit-testing/vitup/src/config/initials/block0.rs +++ b/src/vit-testing/vitup/src/config/initials/block0.rs @@ -98,6 +98,10 @@ impl Initials { } } + pub fn push(&mut self, initial: Initial) { + self.0.push(initial); + } + pub fn any(&self) -> bool { !self.0.is_empty() } @@ -288,9 +292,8 @@ impl Initials { pin, role, } => { - let wallet_alias = format!("wallet_{}", name); templates.insert( - WalletTemplateBuilder::new(&wallet_alias) + WalletTemplateBuilder::new(name) .with(*funds as u64) .discrimination(discrimination) .with_token(roles(role), (*funds) as u64) diff --git a/src/vit-testing/vitup/src/mode/mock/rest/mod.rs b/src/vit-testing/vitup/src/mode/mock/rest/mod.rs index d29f955feb..6c36e136f3 100644 --- a/src/vit-testing/vitup/src/mode/mock/rest/mod.rs +++ b/src/vit-testing/vitup/src/mode/mock/rest/mod.rs @@ -1347,7 +1347,7 @@ pub async fn get_proposal_by_idx( return Err(warp::reject::custom(ForcedErrorCode { code })); } - let proposals: Vec = context + let proposals: Vec<_> = context .lock() .unwrap() .state() @@ -1360,7 +1360,7 @@ pub async fn get_proposal_by_idx( && item.indexes.contains(&x.voteplan.chain_proposal_index) }) }) - .map(|x| x.proposal.clone()) + .cloned() .collect(); Ok(HandlerResult(Ok(proposals))) @@ -1389,7 +1389,7 @@ pub async fn get_proposal(id: i32, context: ContextLock) -> Result) -> Self { + self.controller_builder = self.controller_builder.vote_plan_templates(vote_plans); + self + } + pub fn build( self, mut session_settings: SessionSettings, diff --git a/src/voting-tools-rs/Cargo.lock b/src/voting-tools-rs/Cargo.lock deleted file mode 100644 index aed6663146..0000000000 --- a/src/voting-tools-rs/Cargo.lock +++ /dev/null @@ -1,1943 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - -[[package]] -name = "arrayvec" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "async-trait" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" - -[[package]] -name = "bech32" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1" - -[[package]] -name = "bigdecimal" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aaf33151a6429fe9211d1b276eafdf70cdff28b071e76c0b0e1503221ea3744" -dependencies = [ - "num-bigint", - "num-integer", - "num-traits", - "serde", -] - -[[package]] -name = "bit-set" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bumpalo" -version = "3.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" - -[[package]] -name = "cardano-serialization-lib" -version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d83cd91cf03aca2806107a1e1c1dabfac49b6d6b453304065f49979d7fca12" -dependencies = [ - "bech32", - "cbor_event", - "cfg-if", - "clear_on_drop", - "cryptoxide", - "digest 0.9.0", - "ed25519-bip32", - "getrandom", - "hex", - "itertools", - "js-sys", - "linked-hash-map", - "noop_proc_macro", - "num-bigint", - "num-integer", - "rand 0.8.5", - "rand_os", - "serde_json", - "sha2 0.9.9", - "wasm-bindgen", -] - -[[package]] -name = "cbor_event" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52b3d8b289b6c7d6d8832c8e2bf151c7677126afa627f51e19a6320aec8237cb" - -[[package]] -name = "cc" -version = "1.0.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "clap" -version = "3.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3dbbb6653e7c55cc8595ad3e1f7be8f32aba4eb7ff7f0fd1163d4f3d137c0a9" -dependencies = [ - "atty", - "bitflags", - "clap_derive", - "clap_lex", - "indexmap", - "once_cell", - "strsim", - "termcolor", - "textwrap", -] - -[[package]] -name = "clap_derive" -version = "3.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba52acd3b0a5c33aeada5cdaa3267cdc7c594a98731d4268cdc1532f4264cb4" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "clear_on_drop" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38508a63f4979f0048febc9966fadbd48e5dab31fd0ec6a3f151bbf4a74f7423" -dependencies = [ - "cc", -] - -[[package]] -name = "cloudabi" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" -dependencies = [ - "bitflags", -] - -[[package]] -name = "color-eyre" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a667583cca8c4f8436db8de46ea8233c42a7d9ae424a82d338f2e4675229204" -dependencies = [ - "backtrace", - "color-spantrace", - "eyre", - "indenter", - "once_cell", - "owo-colors", - "tracing-error", -] - -[[package]] -name = "color-spantrace" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba75b3d9449ecdccb27ecbc479fdc0b87fa2dd43d2f8298f9bf0e59aacc8dce" -dependencies = [ - "once_cell", - "owo-colors", - "tracing-core", - "tracing-error", -] - -[[package]] -name = "console" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89eab4d20ce20cea182308bca13088fecea9c05f6776cf287205d41a0ed3c847" -dependencies = [ - "encode_unicode", - "libc", - "once_cell", - "terminal_size", - "winapi", -] - -[[package]] -name = "cpufeatures" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" -dependencies = [ - "libc", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "cryptoxide" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "129eabb7b0b78644a3a7e7cf220714aba47463bb281f69fa7a71ca5d12564cca" - -[[package]] -name = "dashmap" -version = "5.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3495912c9c1ccf2e18976439f4443f3fee0fd61f424ff99fde6a66b15ecb448f" -dependencies = [ - "cfg-if", - "hashbrown", - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "diesel" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e2adfd0a7a81070ed7beec0c62636458926326c16fedb77796d41e447b282d" -dependencies = [ - "bigdecimal", - "bitflags", - "byteorder", - "diesel_derives", - "itoa", - "num-bigint", - "num-integer", - "num-traits", - "pq-sys", - "r2d2", - "serde_json", -] - -[[package]] -name = "diesel-derive-enum" -version = "2.0.0-rc.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f28fc9f5bf184ebc58ad9105dede024981e2303fe878a0fe16557f3a979064a" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "diesel_derives" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a7ab9d7967e6a1a247ea38aedf88ab808b4ac0c159576bc71866ab8f9f9250" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "diesel_migrations" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9ae22beef5e9d6fab9225ddb073c1c6c1a7a6ded5019d5da11d1e5c5adc34e2" -dependencies = [ - "diesel", - "migrations_internals", - "migrations_macros", -] - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - -[[package]] -name = "digest" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" -dependencies = [ - "block-buffer 0.10.2", - "crypto-common", - "subtle", -] - -[[package]] -name = "ed25519-bip32" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb588f93c0d91b2f668849fd6d030cddb0b2e31f105963be189da5acdf492a21" -dependencies = [ - "cryptoxide", -] - -[[package]] -name = "either" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "eyre" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb" -dependencies = [ - "indenter", - "once_cell", -] - -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - -[[package]] -name = "fastrand" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" -dependencies = [ - "instant", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "fuchsia-cprng" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" - -[[package]] -name = "futures" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab30e97ab6aacfe635fad58f22c2bb06c8b685f7421eb1e064a729e2a5f481fa" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bfc52cbddcfd745bf1740338492bb0bd83d76c67b445f91c5fb29fae29ecaa1" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2acedae88d38235936c3922476b10fced7b2b68136f5e3c03c2d5be348a1115" - -[[package]] -name = "futures-executor" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d11aa21b5b587a64682c0094c2bdd4df0076c5324961a40cc3abd7f37930528" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93a66fc6d035a26a3ae255a6d2bca35eda63ae4c5512bef54449113f7a1228e5" - -[[package]] -name = "futures-macro" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0db9cce532b0eae2ccf2766ab246f114b56b9cf6d445e00c2549fbc100ca045d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca0bae1fe9752cf7fd9b0064c674ae63f97b37bc714d745cbde0afb7ec4e6765" - -[[package]] -name = "futures-task" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "842fc63b931f4056a24d59de13fb1272134ce261816e063e634ad0c15cdc5306" - -[[package]] -name = "futures-util" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0828a5471e340229c11c77ca80017937ce3c58cb788a17e5f1c2d5c485a9577" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "generic-array" -version = "0.14.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" -dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi", - "wasm-bindgen", -] - -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - -[[package]] -name = "heck" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.3", -] - -[[package]] -name = "indenter" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" - -[[package]] -name = "indexmap" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" -dependencies = [ - "autocfg", - "hashbrown", -] - -[[package]] -name = "insta" -version = "1.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc61e98be01e89296f3343a878e9f8ca75a494cb5aaf29df65ef55734aeb85f5" -dependencies = [ - "console", - "linked-hash-map", - "once_cell", - "serde", - "similar", - "yaml-rust", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "itertools" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" - -[[package]] -name = "js-sys" -version = "0.3.51" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.127" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "lock_api" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "matchers" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" -dependencies = [ - "regex-automata", -] - -[[package]] -name = "md-5" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658646b21e0b72f7866c7038ab086d3d5e1cd6271f060fd37defb241949d0582" -dependencies = [ - "digest 0.10.3", -] - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "microtype" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb9ca3488e33f6a3d00075d11d530adbda4eb0c4e6cad1388e2fce2fecac829" -dependencies = [ - "microtype-macro", - "secrecy", -] - -[[package]] -name = "microtype-macro" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "929b484769808451b5e72f8d387e3cce92d2d5094ab7475d994aa30ccec8e696" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "migrations_internals" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c493c09323068c01e54c685f7da41a9ccf9219735c3766fbfd6099806ea08fbc" -dependencies = [ - "serde", - "toml", -] - -[[package]] -name = "migrations_macros" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a8ff27a350511de30cdabb77147501c36ef02e0451d957abea2f30caffb2b58" -dependencies = [ - "migrations_internals", - "proc-macro2", - "quote", -] - -[[package]] -name = "miniz_oxide" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf" -dependencies = [ - "libc", - "log", - "wasi", - "windows-sys", -] - -[[package]] -name = "noop_proc_macro" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8" - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] - -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "os_str_bytes" -version = "6.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4" - -[[package]] -name = "owo-colors" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b" - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-sys", -] - -[[package]] -name = "percent-encoding" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" - -[[package]] -name = "phf" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" -dependencies = [ - "phf_shared", -] - -[[package]] -name = "phf_shared" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" -dependencies = [ - "siphasher", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "postgres" -version = "0.19.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8bbcd5f6deb39585a0d9f4ef34c4a41c25b7ad26d23c75d837d78c8e7adc85f" -dependencies = [ - "bytes", - "fallible-iterator", - "futures", - "log", - "tokio", - "tokio-postgres", -] - -[[package]] -name = "postgres-protocol" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878c6cbf956e03af9aa8204b407b9cbf47c072164800aa918c516cd4b056c50c" -dependencies = [ - "base64", - "byteorder", - "bytes", - "fallible-iterator", - "hmac", - "md-5", - "memchr", - "rand 0.8.5", - "sha2 0.10.2", - "stringprep", -] - -[[package]] -name = "postgres-types" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd6e8b7189a73169290e89bd24c771071f1012d8fe6f738f5226531f0b03d89" -dependencies = [ - "bytes", - "fallible-iterator", - "postgres-protocol", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" - -[[package]] -name = "pq-sys" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b845d6d8ec554f972a2c5298aad68953fd64e7441e846075450b44656a016d1" -dependencies = [ - "vcpkg", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "proptest" -version = "1.0.0" -source = "git+https://github.com/input-output-hk/proptest#38044d47b2e8eeab62408294aa9e78e393f13d6b" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static", - "num-traits", - "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha", - "rand_xorshift", - "rand_xoshiro", - "regex-syntax", - "rusty-fork", - "tempfile", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - -[[package]] -name = "quote" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "r2d2" -version = "0.8.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93" -dependencies = [ - "log", - "parking_lot", - "scheduled-thread-pool", -] - -[[package]] -name = "rand" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" -dependencies = [ - "fuchsia-cprng", - "libc", - "rand_core 0.3.1", - "rdrand", - "winapi", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.3", -] - -[[package]] -name = "rand_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -dependencies = [ - "rand_core 0.4.2", -] - -[[package]] -name = "rand_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" - -[[package]] -name = "rand_core" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom", -] - -[[package]] -name = "rand_os" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" -dependencies = [ - "cloudabi", - "fuchsia-cprng", - "libc", - "rand_core 0.4.2", - "rdrand", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rand_xoshiro" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" -dependencies = [ - "rand_core 0.6.3", -] - -[[package]] -name = "rdrand" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -dependencies = [ - "rand_core 0.3.1", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "regex" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" -dependencies = [ - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.6.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - -[[package]] -name = "rust_decimal" -version = "1.26.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee9164faf726e4f3ece4978b25ca877ddc6802fa77f38cdccb32c7f805ecd70c" -dependencies = [ - "arrayvec", - "byteorder", - "bytes", - "num-traits", - "postgres", - "serde", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" - -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - -[[package]] -name = "ryu" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" - -[[package]] -name = "scheduled-thread-pool" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "977a7519bff143a44f842fd07e80ad1329295bd71686457f18e496736f4bf9bf" -dependencies = [ - "parking_lot", -] - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "secrecy" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" -dependencies = [ - "serde", - "zeroize", -] - -[[package]] -name = "serde" -version = "1.0.142" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.142" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serial_test" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92761393ee4dc3ff8f4af487bd58f4307c9329bbedea02cac0089ad9c411e153" -dependencies = [ - "dashmap", - "futures", - "lazy_static", - "log", - "parking_lot", - "serial_test_derive", -] - -[[package]] -name = "serial_test_derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6f5d1c3087fb119617cff2966fe3808a80e5eb59a8c1601d5994d66f4346a5" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha2" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.3", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "similar" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62ac7f900db32bf3fd12e0117dd3dc4da74bc52ebaac97f39668446d89694803" - -[[package]] -name = "siphasher" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" - -[[package]] -name = "slab" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" - -[[package]] -name = "socket2" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "stringprep" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee348cb74b87454fff4b551cbf727025810a004f88aeacae7f85b87f4e9a1c1" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "structmeta" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd9c2155aa89fb2c2cb87d99a610c689e7c47099b3e9f1c8a8f53faf4e3d2e3" -dependencies = [ - "proc-macro2", - "quote", - "structmeta-derive", - "syn", -] - -[[package]] -name = "structmeta-derive" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bafede0d0a2f21910f36d47b1558caae3076ed80f6f3ad0fc85a91e6ba7e5938" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "syn" -version = "1.0.99" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "tempdir" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" -dependencies = [ - "rand 0.4.6", - "remove_dir_all", -] - -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -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 = "test-strategy" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c18b325ca048e49683d5cb9166a50191fc862e36020706bbd7723c22a05d4ffa" -dependencies = [ - "proc-macro2", - "quote", - "structmeta", - "syn", -] - -[[package]] -name = "textwrap" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" - -[[package]] -name = "thread_local" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" -dependencies = [ - "once_cell", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" - -[[package]] -name = "tokio" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a8325f63a7d4774dd041e363b2409ed1c5cbbd0f867795e661df066b2b0a581" -dependencies = [ - "autocfg", - "bytes", - "libc", - "memchr", - "mio", - "once_cell", - "pin-project-lite", - "socket2", - "winapi", -] - -[[package]] -name = "tokio-postgres" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19c88a47a23c5d2dc9ecd28fb38fba5fc7e5ddc1fe64488ec145076b0c71c8ae" -dependencies = [ - "async-trait", - "byteorder", - "bytes", - "fallible-iterator", - "futures", - "log", - "parking_lot", - "percent-encoding", - "phf", - "pin-project-lite", - "postgres-protocol", - "postgres-types", - "socket2", - "tokio", - "tokio-util", -] - -[[package]] -name = "tokio-util" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" -dependencies = [ - "serde", -] - -[[package]] -name = "tracing" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" -dependencies = [ - "cfg-if", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-error" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" -dependencies = [ - "tracing", - "tracing-subscriber", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60db860322da191b40952ad9affe65ea23e7dd6a5c442c2c42865810c6ab8e6b" -dependencies = [ - "ansi_term", - "matchers", - "once_cell", - "regex", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "tracing-test" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e3d272c44878d2bbc9f4a20ad463724f03e19dbc667c6e84ac433ab7ffcc70b" -dependencies = [ - "lazy_static", - "tracing-core", - "tracing-subscriber", - "tracing-test-macro", -] - -[[package]] -name = "tracing-test-macro" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744324b12d69a9fc1edea4b38b7b1311295b662d161ad5deac17bb1358224a08" -dependencies = [ - "lazy_static", - "quote", - "syn", -] - -[[package]] -name = "typenum" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" - -[[package]] -name = "unicode-bidi" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" - -[[package]] -name = "unicode-ident" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" - -[[package]] -name = "unicode-normalization" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "voting_tools_rs" -version = "0.1.0" -dependencies = [ - "bigdecimal", - "cardano-serialization-lib", - "clap", - "color-eyre", - "diesel", - "diesel-derive-enum", - "diesel_migrations", - "hex", - "insta", - "microtype", - "once_cell", - "postgres", - "proptest", - "rust_decimal", - "serde", - "serde_json", - "serial_test", - "tempdir", - "test-strategy", - "tracing", - "tracing-subscriber", - "tracing-test", -] - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a317bf8f9fba2476b4b2c85ef4c4af8ff39c3c7f0cdfeed4f82c34a880aa837b" -dependencies = [ - "bumpalo", - "lazy_static", - "log", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "zeroize" -version = "1.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f"