From 7ed3e5d4e0371d08a61dc9aa1855bdbaad46f743 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Thu, 16 May 2024 12:35:24 +0400 Subject: [PATCH] feat: Port test-node to most recent core revision (#284) --- Cargo.lock | 1868 +++++---------------------------------- Cargo.toml | 18 +- src/fork.rs | 19 +- src/http_fork_source.rs | 22 +- src/namespaces/eth.rs | 4 +- src/node/eth.rs | 28 +- src/node/fee_model.rs | 2 +- src/node/in_memory.rs | 8 +- src/testing.rs | 4 +- 9 files changed, 284 insertions(+), 1689 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8976062d..38c69fdc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,17 +12,6 @@ dependencies = [ "regex", ] -[[package]] -name = "addchain" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2e69442aa5628ea6951fa33e24efe8313f4321a91bd729fc2f75bdfc858570" -dependencies = [ - "num-bigint 0.3.3", - "num-integer", - "num-traits", -] - [[package]] name = "addr2line" version = "0.21.0" @@ -38,16 +27,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "aead" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" -dependencies = [ - "crypto-common", - "generic-array", -] - [[package]] name = "aes" version = "0.8.3" @@ -59,20 +38,6 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "aes-gcm" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" -dependencies = [ - "aead", - "aes", - "cipher", - "ctr", - "ghash", - "subtle", -] - [[package]] name = "ahash" version = "0.7.7" @@ -106,21 +71,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "alloc-no-stdlib" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" - -[[package]] -name = "alloc-stdlib" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" -dependencies = [ - "alloc-no-stdlib", -] - [[package]] name = "allocator-api2" version = "0.2.16" @@ -196,42 +146,12 @@ version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" -[[package]] -name = "arr_macro" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a105bfda48707cf19220129e78fca01e9639433ffaef4163546ed8fb04120a5" -dependencies = [ - "arr_macro_impl", - "proc-macro-hack", -] - -[[package]] -name = "arr_macro_impl" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0609c78bd572f4edc74310dfb63a01f5609d53fa8b4dd7c4d98aef3b3e8d72d1" -dependencies = [ - "proc-macro-hack", - "quote 1.0.35", - "syn 1.0.109", -] - [[package]] name = "arrayref" version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" -[[package]] -name = "arrayvec" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" -dependencies = [ - "nodrop", -] - [[package]] name = "arrayvec" version = "0.5.2" @@ -253,22 +173,6 @@ dependencies = [ "term", ] -[[package]] -name = "async-compression" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a116f46a969224200a0a97f29cfd4c50e7534e4b4826bd23ea2c3c533039c82c" -dependencies = [ - "brotli", - "flate2", - "futures-core", - "memchr", - "pin-project-lite", - "tokio", - "zstd 0.13.0", - "zstd-safe 7.0.0", -] - [[package]] name = "async-lock" version = "3.3.0" @@ -280,36 +184,14 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "async-stream" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" -dependencies = [ - "async-stream-impl", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-stream-impl" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" -dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", - "syn 2.0.48", -] - [[package]] name = "async-trait" version = "0.1.77" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -349,8 +231,8 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "823b8bb275161044e2ac7a25879cb3e2480cb403e3943022c7c769c599b756aa" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -382,11 +264,7 @@ dependencies = [ "pin-project-lite", "rustversion", "serde", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", "sync_wrapper", - "tokio", "tower", "tower-layer", "tower-service", @@ -448,6 +326,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + [[package]] name = "base64ct" version = "1.6.0" @@ -498,7 +382,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6773ddc0eafc0e509fb60e48dff7f450f8e674a0686ae8605e8d9901bd5eefa" dependencies = [ - "num-bigint 0.4.4", + "num-bigint", "num-integer", "num-traits", "serde", @@ -526,8 +410,8 @@ dependencies = [ "lazycell", "peeking_take_while", "prettyplease", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "regex", "rustc-hash", "shlex", @@ -567,15 +451,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bitmaps" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2" -dependencies = [ - "typenum", -] - [[package]] name = "bitvec" version = "0.20.4" @@ -600,17 +475,6 @@ dependencies = [ "wyz 0.5.1", ] -[[package]] -name = "blake2" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a4e37d16930f5459780f5621038b6382b9bb37c19016f39fb6b5808d831f174" -dependencies = [ - "crypto-mac", - "digest 0.9.0", - "opaque-debug", -] - [[package]] name = "blake2" version = "0.10.6" @@ -628,17 +492,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "blake2-rfc_bellman_edition" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc60350286c7c3db13b98e91dbe5c8b6830a6821bc20af5b0c310ce94d74915" -dependencies = [ - "arrayvec 0.4.12", - "byteorder", - "constant_time_eq", -] - [[package]] name = "blake2s_const" version = "0.6.0" @@ -746,33 +599,12 @@ checksum = "bf4918709cc4dd777ad2b6303ed03cb37f3ca0ccede8c1b0d28ac6db8f4710e0" dependencies = [ "once_cell", "proc-macro-crate 2.0.2", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", "syn_derive", ] -[[package]] -name = "brotli" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "516074a47ef4bce09577a3b379392300159ce5b1ba2e501ff1c819950066100f" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", - "brotli-decompressor", -] - -[[package]] -name = "brotli-decompressor" -version = "2.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", -] - [[package]] name = "bs58" version = "0.5.0" @@ -833,8 +665,8 @@ version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -962,30 +794,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" -[[package]] -name = "chacha20" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" -dependencies = [ - "cfg-if 1.0.0", - "cipher", - "cpufeatures", -] - -[[package]] -name = "chacha20poly1305" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" -dependencies = [ - "aead", - "chacha20", - "cipher", - "poly1305", - "zeroize", -] - [[package]] name = "chrono" version = "0.4.33" @@ -1009,7 +817,6 @@ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ "crypto-common", "inout", - "zeroize", ] [[package]] @@ -1159,8 +966,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -1170,22 +977,6 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" -[[package]] -name = "codegen" -version = "0.1.0" -source = "git+https://github.com/matter-labs/solidity_plonk_verifier.git?branch=dev#82f96b7156551087f1c9bfe4f0ea68845b6debfc" -dependencies = [ - "ethereum-types 0.14.1", - "franklin-crypto", - "handlebars", - "hex", - "paste", - "rescue_poseidon", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "coins-bip32" version = "0.8.7" @@ -1262,9 +1053,9 @@ checksum = "bed69047ed42e52c7e38d6421eeb8ceefb4f2a2b52eed59137f7bad7908f6800" [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" dependencies = [ "crossbeam-utils 0.8.19", ] @@ -1303,9 +1094,9 @@ version = "0.2.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7f6ff08fd20f4f299298a28e2dfa8a8ba1036e6cd2460ac1de7b425d76f2500" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", - "unicode-xid 0.2.4", + "proc-macro2", + "quote", + "unicode-xid", ] [[package]] @@ -1543,28 +1334,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array", - "rand_core 0.6.4", "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 = "cs_derive" version = "0.1.0" source = "git+https://github.com/matter-labs/era-boojum.git?branch=main#19988079852ea22576da6b09e39365e6cdc1368f" dependencies = [ "proc-macro-error", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -1577,16 +1357,6 @@ dependencies = [ "cipher", ] -[[package]] -name = "ctrlc" -version = "3.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b467862cc8610ca6fc9a1532d7777cee0804e678ab45410897b9396495994a0b" -dependencies = [ - "nix", - "windows-sys 0.52.0", -] - [[package]] name = "curve25519-dalek" version = "4.1.1" @@ -1610,46 +1380,11 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] -[[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 1.0.78", - "quote 1.0.35", - "strsim", - "syn 1.0.109", -] - -[[package]] -name = "darling_macro" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" -dependencies = [ - "darling_core", - "quote 1.0.35", - "syn 1.0.109", -] - [[package]] name = "dashmap" version = "5.5.3" @@ -1707,7 +1442,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ "powerfmt", - "serde", ] [[package]] @@ -1716,8 +1450,8 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -1728,8 +1462,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ "convert_case 0.4.0", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "rustc_version", "syn 1.0.109", ] @@ -1749,10 +1483,10 @@ version = "1.0.0-beta.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bba3e9872d7c58ce7ef0fcf1844fcc3e23ef2a58377b50df35dd98e42a5726e" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", - "unicode-xid 0.2.4", + "unicode-xid", ] [[package]] @@ -2032,7 +1766,7 @@ dependencies = [ "httptest", "indexmap 2.2.2", "itertools 0.10.5", - "jsonrpc-core 18.0.0 (git+https://github.com/matter-labs/jsonrpc.git?branch=master)", + "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", "jsonrpc-http-server", @@ -2054,7 +1788,7 @@ dependencies = [ "zksync-web3-rs", "zksync_basic_types", "zksync_contracts", - "zksync_core", + "zksync_node_fee_model", "zksync_state", "zksync_types", "zksync_utils", @@ -2263,8 +1997,8 @@ dependencies = [ "ethers-etherscan", "eyre", "prettyplease", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "regex", "reqwest", "serde", @@ -2284,8 +2018,8 @@ dependencies = [ "const-hex", "ethers-contract-abigen", "ethers-core", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "serde_json", "syn 2.0.48", ] @@ -2317,7 +2051,7 @@ dependencies = [ "tempfile", "thiserror", "tiny-keccak 2.0.2", - "unicode-xid 0.2.4", + "unicode-xid", ] [[package]] @@ -2533,11 +2267,11 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b96fbccd88dbb1fac4ee4a07c2fcc4ca719a74ffbd9d2b9d41d8c8eb073d8b20" dependencies = [ - "num-bigint 0.4.4", + "num-bigint", "num-integer", "num-traits", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "serde", "syn 1.0.109", ] @@ -2653,36 +2387,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "franklin-crypto" -version = "0.0.5" -source = "git+https://github.com/matter-labs/franklin-crypto?branch=dev#5695d07c7bc604c2c39a27712ffac171d39ee1ed" -dependencies = [ - "arr_macro", - "bellman_ce", - "bit-vec", - "blake2 0.9.2", - "blake2-rfc_bellman_edition", - "blake2s_simd", - "byteorder", - "digest 0.9.0", - "hex", - "indexmap 1.9.3", - "itertools 0.10.5", - "lazy_static", - "num-bigint 0.4.4", - "num-derive", - "num-integer", - "num-traits", - "rand 0.4.6", - "serde", - "sha2 0.9.9", - "sha3 0.9.1", - "smallvec", - "splitmut", - "tiny-keccak 1.5.0", -] - [[package]] name = "fs2" version = "0.4.3" @@ -2793,8 +2497,8 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -2881,16 +2585,6 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] -[[package]] -name = "ghash" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" -dependencies = [ - "opaque-debug", - "polyval", -] - [[package]] name = "gimli" version = "0.28.1" @@ -2963,127 +2657,37 @@ dependencies = [ ] [[package]] -name = "google-cloud-auth" -version = "0.13.0" +name = "group" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1087f1fbd2dd3f58c17c7574ddd99cd61cbbbc2c4dc81114b8687209b196cb" +checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ - "async-trait", - "base64 0.21.7", - "google-cloud-metadata", - "google-cloud-token", - "home", - "jsonwebtoken", - "reqwest", - "serde", - "serde_json", - "thiserror", - "time", - "tokio", - "tracing", - "urlencoding", + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", ] [[package]] -name = "google-cloud-metadata" -version = "0.4.0" +name = "group" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc279bfb50487d7bcd900e8688406475fc750fe474a835b2ab9ade9eb1fc90e2" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "reqwest", - "thiserror", - "tokio", + "ff 0.13.0", + "rand_core 0.6.4", + "subtle", ] [[package]] -name = "google-cloud-storage" -version = "0.15.0" +name = "h2" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac04b29849ebdeb9fb008988cc1c4d1f0c9d121b4c7f1ddeb8061df124580e93" +checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" dependencies = [ - "async-stream", - "async-trait", - "base64 0.21.7", "bytes", - "futures-util", - "google-cloud-auth", - "google-cloud-metadata", - "google-cloud-token", - "hex", - "once_cell", - "percent-encoding", - "pkcs8 0.10.2", - "regex", - "reqwest", - "ring 0.17.7", - "serde", - "serde_json", - "sha2 0.10.8", - "thiserror", - "time", - "tokio", - "tracing", - "url", -] - -[[package]] -name = "google-cloud-token" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f49c12ba8b21d128a2ce8585955246977fbce4415f680ebf9199b6f9d6d725f" -dependencies = [ - "async-trait", -] - -[[package]] -name = "governor" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19775995ee20209163239355bc3ad2f33f83da35d9ef72dea26e5af753552c87" -dependencies = [ - "dashmap", - "futures 0.3.30", - "futures-timer", - "no-std-compat", - "nonzero_ext", - "parking_lot 0.12.1", - "quanta 0.9.3", - "rand 0.8.5", - "smallvec", -] - -[[package]] -name = "group" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" -dependencies = [ - "ff 0.12.1", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff 0.13.0", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "h2" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", + "fnv", + "futures-core", + "futures-sink", "futures-util", "http", "indexmap 2.2.2", @@ -3093,20 +2697,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "handlebars" -version = "5.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab283476b99e66691dee3f1640fea91487a8d81f50fb5ecc75538f8f8879a1e4" -dependencies = [ - "log", - "pest", - "pest_derive", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "hashbrown" version = "0.12.3" @@ -3116,15 +2706,6 @@ dependencies = [ "ahash 0.7.7", ] -[[package]] -name = "hashbrown" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ff8ae62cd3a9102e5637afc8452c55acf3844001bd5374e0b0bd7b6616c038" -dependencies = [ - "ahash 0.8.7", -] - [[package]] name = "hashbrown" version = "0.14.3" @@ -3153,40 +2734,6 @@ dependencies = [ "hashbrown 0.14.3", ] -[[package]] -name = "hdrhistogram" -version = "7.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d" -dependencies = [ - "byteorder", - "num-traits", -] - -[[package]] -name = "headers" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270" -dependencies = [ - "base64 0.21.7", - "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.4.1" @@ -3274,12 +2821,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "http-range-header" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" - [[package]] name = "httparse" version = "1.8.0" @@ -3408,22 +2949,6 @@ dependencies = [ "cc", ] -[[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.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "0.5.0" @@ -3434,20 +2959,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "im" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0acd33ff0285af998aaf9b57342af478078f53492322fafc47450e09397e0e9" -dependencies = [ - "bitmaps", - "rand_core 0.6.4", - "rand_xoshiro", - "sized-chunks", - "typenum", - "version_check", -] - [[package]] name = "impl-codec" version = "0.5.1" @@ -3499,8 +3010,8 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -3563,16 +3074,6 @@ dependencies = [ "serde", ] -[[package]] -name = "iri-string" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21859b667d66a4c1dacd9df0863b3efb65785474255face87f5bca39dd8407c0" -dependencies = [ - "memchr", - "serde", -] - [[package]] name = "is-terminal" version = "0.4.10" @@ -3642,28 +3143,13 @@ source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e2 dependencies = [ "derive_more 0.99.17", "futures 0.3.30", - "jsonrpc-core 18.0.0 (git+https://github.com/matter-labs/jsonrpc.git?branch=master)", + "jsonrpc-core", "jsonrpc-pubsub", "log", "serde", "serde_json", ] -[[package]] -name = "jsonrpc-core" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" -dependencies = [ - "futures 0.3.30", - "futures-executor", - "futures-util", - "log", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "jsonrpc-core" version = "18.0.0" @@ -3693,8 +3179,8 @@ version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ "proc-macro-crate 0.1.5", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -3705,7 +3191,7 @@ source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e2 dependencies = [ "futures 0.3.30", "hyper", - "jsonrpc-core 18.0.0 (git+https://github.com/matter-labs/jsonrpc.git?branch=master)", + "jsonrpc-core", "jsonrpc-server-utils", "log", "net2", @@ -3719,7 +3205,7 @@ version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ "futures 0.3.30", - "jsonrpc-core 18.0.0 (git+https://github.com/matter-labs/jsonrpc.git?branch=master)", + "jsonrpc-core", "lazy_static", "log", "parking_lot 0.11.2", @@ -3735,7 +3221,7 @@ dependencies = [ "bytes", "futures 0.3.30", "globset", - "jsonrpc-core 18.0.0 (git+https://github.com/matter-labs/jsonrpc.git?branch=master)", + "jsonrpc-core", "lazy_static", "log", "tokio", @@ -3841,8 +3327,8 @@ checksum = "d94b7505034e2737e688e1153bf81e6f93ad296695c43958d6da2e4321f0a990" dependencies = [ "heck 0.4.1", "proc-macro-crate 2.0.2", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -3956,19 +3442,6 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "kzg" -version = "0.1.50" -source = "git+https://github.com/matter-labs/era-zkevm_test_harness.git?branch=v1.5.0#394e1c7d1aec06d2f3abd63bdc2ddf0efef5ac49" -dependencies = [ - "boojum", - "derivative", - "rayon", - "serde", - "serde_json", - "zkevm_circuits 1.5.0", -] - [[package]] name = "lalrpop" version = "0.20.0" @@ -3988,7 +3461,7 @@ dependencies = [ "string_cache", "term", "tiny-keccak 2.0.2", - "unicode-xid 0.2.4", + "unicode-xid", ] [[package]] @@ -4012,12 +3485,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" -[[package]] -name = "leb128" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" - [[package]] name = "libc" version = "0.2.153" @@ -4104,8 +3571,8 @@ version = "0.3.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04e542a18c94a9b6fcc7adb090fa3ba6b79ee220a16404f325672729f32a66ff" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -4148,8 +3615,8 @@ checksum = "dc487311295e0002e452025d6b580b77bb17286de87b57138f3b5db711cded68" dependencies = [ "beef", "fnv", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "regex-syntax 0.6.29", "syn 2.0.48", ] @@ -4163,12 +3630,6 @@ dependencies = [ "logos-codegen", ] -[[package]] -name = "lru" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2c024b41519440580066ba82aab04092b333e09066a5eb86c7c4890df31f22" - [[package]] name = "lz4-sys" version = "1.9.4" @@ -4179,24 +3640,6 @@ dependencies = [ "libc", ] -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - -[[package]] -name = "mach2" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" -dependencies = [ - "libc", -] - [[package]] name = "maplit" version = "1.0.2" @@ -4255,61 +3698,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "metrics" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde3af1a009ed76a778cb84fdef9e7dbbdf5775ae3e4cc1f434a6a307f6f76c5" -dependencies = [ - "ahash 0.8.7", - "metrics-macros", - "portable-atomic", -] - -[[package]] -name = "metrics-exporter-prometheus" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d4fa7ce7c4862db464a37b0b31d89bca874562f034bd7993895572783d02950" -dependencies = [ - "base64 0.21.7", - "hyper", - "indexmap 1.9.3", - "ipnet", - "metrics", - "metrics-util", - "quanta 0.11.1", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "metrics-macros" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b4faf00617defe497754acde3024865bc143d44a86799b24e191ecff91354f" -dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", - "syn 2.0.48", -] - -[[package]] -name = "metrics-util" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de2ed6e491ed114b40b732e4d1659a9d53992ebd87490c44a6ffe23739d973e" -dependencies = [ - "crossbeam-epoch 0.9.18", - "crossbeam-utils 0.8.19", - "hashbrown 0.13.1", - "metrics", - "num_cpus", - "quanta 0.11.1", - "sketches-ddsketch", -] - [[package]] name = "miette" version = "5.10.0" @@ -4328,8 +3716,8 @@ version = "5.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -4339,16 +3727,6 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" -[[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 = "mini-moka" version = "0.10.3" @@ -4399,7 +3777,7 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multivm" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "circuit_sequencer_api 0.1.0", @@ -4410,6 +3788,7 @@ dependencies = [ "hex", "itertools 0.10.5", "once_cell", + "serde", "thiserror", "tracing", "vise", @@ -4471,18 +3850,6 @@ dependencies = [ "libc", ] -[[package]] -name = "no-std-compat" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" - -[[package]] -name = "nodrop" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" - [[package]] name = "nom" version = "7.1.3" @@ -4493,12 +3860,6 @@ dependencies = [ "minimal-lexical", ] -[[package]] -name = "nonzero_ext" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" - [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -4515,7 +3876,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" dependencies = [ - "num-bigint 0.4.4", + "num-bigint", "num-complex", "num-integer", "num-iter", @@ -4523,17 +3884,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-bigint" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6f7833f2cbf2360a6cfd58cd41a53aa7a90bd4c202f5b1c7dd2ed73c57b2c3" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-bigint" version = "0.4.4" @@ -4579,17 +3929,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" -[[package]] -name = "num-derive" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eafd0b45c5537c3ba526f79d3e75120036502bebacbb3f3220914067ce39dbf2" -dependencies = [ - "proc-macro2 0.4.30", - "quote 0.6.13", - "syn 0.15.44", -] - [[package]] name = "num-integer" version = "0.1.45" @@ -4628,7 +3967,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" dependencies = [ "autocfg", - "num-bigint 0.4.4", + "num-bigint", "num-integer", "num-traits", "serde", @@ -4679,8 +4018,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ "proc-macro-crate 1.3.1", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -4691,8 +4030,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ "proc-macro-crate 2.0.2", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -4746,8 +4085,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "003b2be5c6c53c1cfeb0a238b8a1c3915cd410feb684457a36c10038f764bb1c" dependencies = [ "bytes", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -4772,8 +4111,8 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -5044,8 +4383,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" dependencies = [ "proc-macro-crate 1.3.1", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -5056,8 +4395,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ "proc-macro-crate 2.0.2", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -5190,51 +4529,6 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" -[[package]] -name = "pest" -version = "2.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "219c0dcc30b6a27553f9cc242972b67f75b60eb0db71f0b5462f38b058c41546" -dependencies = [ - "memchr", - "thiserror", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e1288dbd7786462961e69bfd4df7848c1e37e8b74303dbdab82c3a9cdd2809" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1381c29a877c6d34b8c176e734f35d7f7f5b3adaefe940cb4d1bb7af94678e2e" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2 1.0.78", - "quote 1.0.35", - "syn 2.0.48", -] - -[[package]] -name = "pest_meta" -version = "2.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0934d6907f148c22a3acbda520c7eed243ad7487a30f51f6ce52b58b7077a8a" -dependencies = [ - "once_cell", - "pest", - "sha2 0.10.8", -] - [[package]] name = "petgraph" version = "0.6.4" @@ -5283,8 +4577,8 @@ checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" dependencies = [ "phf_generator", "phf_shared 0.11.2", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -5321,8 +4615,8 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -5381,35 +4675,6 @@ version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" -[[package]] -name = "poly1305" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" -dependencies = [ - "cpufeatures", - "opaque-debug", - "universal-hash", -] - -[[package]] -name = "polyval" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "opaque-debug", - "universal-hash", -] - -[[package]] -name = "portable-atomic" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" - [[package]] name = "powerfmt" version = "0.2.0" @@ -5428,23 +4693,13 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" -[[package]] -name = "pretty_assertions" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" -dependencies = [ - "diff", - "yansi", -] - [[package]] name = "prettyplease" version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" dependencies = [ - "proc-macro2 1.0.78", + "proc-macro2", "syn 2.0.48", ] @@ -5520,8 +4775,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", "version_check", ] @@ -5532,26 +4787,11 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "version_check", ] -[[package]] -name = "proc-macro-hack" -version = "0.5.20+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" - -[[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.78" @@ -5579,24 +4819,11 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] -[[package]] -name = "prometheus_exporter" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "metrics", - "metrics-exporter-prometheus", - "tokio", - "vise", - "vise-exporter", -] - [[package]] name = "proptest" version = "1.4.0" @@ -5663,8 +4890,8 @@ checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ "anyhow", "itertools 0.10.5", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -5676,8 +4903,8 @@ checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" dependencies = [ "anyhow", "itertools 0.11.0", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -5733,17 +4960,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "prover_dal" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "sqlx", - "strum 0.24.1", - "zksync_basic_types", - "zksync_db_connection", -] - [[package]] name = "ptr_meta" version = "0.1.4" @@ -5759,8 +4975,8 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -5775,38 +4991,6 @@ dependencies = [ "unicase", ] -[[package]] -name = "quanta" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20afe714292d5e879d8b12740aa223c6a88f118af41870e8b6196e39a02238a8" -dependencies = [ - "crossbeam-utils 0.8.19", - "libc", - "mach", - "once_cell", - "raw-cpuid", - "wasi 0.10.2+wasi-snapshot-preview1", - "web-sys", - "winapi", -] - -[[package]] -name = "quanta" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17e662a7a8291a865152364c20c7abc5e60486ab2001e8ec10b24862de0b9ab" -dependencies = [ - "crossbeam-utils 0.8.19", - "libc", - "mach2", - "once_cell", - "raw-cpuid", - "wasi 0.11.0+wasi-snapshot-preview1", - "web-sys", - "winapi", -] - [[package]] name = "quick-protobuf" version = "0.8.1" @@ -5816,22 +5000,13 @@ dependencies = [ "byteorder", ] -[[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.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ - "proc-macro2 1.0.78", + "proc-macro2", ] [[package]] @@ -5954,24 +5129,6 @@ dependencies = [ "rand_core 0.6.4", ] -[[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.4", -] - -[[package]] -name = "raw-cpuid" -version = "10.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c297679cb867470fa8c9f67dbba74a78d78e3e98d7cf2b08d6d71540f797332" -dependencies = [ - "bitflags 1.3.2", -] - [[package]] name = "rayon" version = "1.8.1" @@ -6119,7 +5276,6 @@ dependencies = [ "js-sys", "log", "mime", - "mime_guess", "native-tls", "once_cell", "percent-encoding", @@ -6134,37 +5290,15 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-rustls 0.24.1", - "tokio-util 0.7.10", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams", "web-sys", "webpki-roots 0.25.4", "winreg", ] -[[package]] -name = "rescue_poseidon" -version = "0.4.1" -source = "git+https://github.com/matter-labs/rescue-poseidon#d059b5042df5ed80e151f05751410b524a54d16c" -dependencies = [ - "addchain", - "arrayvec 0.7.4", - "blake2 0.10.6 (registry+https://github.com/rust-lang/crates.io-index)", - "byteorder", - "franklin-crypto", - "num-bigint 0.3.3", - "num-integer", - "num-iter", - "num-traits", - "rand 0.4.6", - "serde", - "sha3 0.9.1", - "smallvec", -] - [[package]] name = "rfc6979" version = "0.3.1" @@ -6248,8 +5382,8 @@ version = "0.7.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7dddfff8de25e6f62b9d64e6e432bf1c6736c57d20323e15ee10435fbda7c65" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -6270,8 +5404,8 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -6381,14 +5515,14 @@ dependencies = [ [[package]] name = "rustls" -version = "0.22.2" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" dependencies = [ "log", "ring 0.17.7", "rustls-pki-types", - "rustls-webpki 0.102.2", + "rustls-webpki 0.102.3", "subtle", "zeroize", ] @@ -6412,7 +5546,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" dependencies = [ "openssl-probe", - "rustls-pemfile 2.0.0", + "rustls-pemfile 2.1.2", "rustls-pki-types", "schannel", "security-framework", @@ -6429,19 +5563,19 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.0.0" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e4980fa29e4c4b212ffb3db068a564cbf560e51d3944b7c88bd8bf5bec64f4" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.2.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a716eb65e3158e90e17cd93d855216e27bde02745ab842f2cab4a39dba1bacf" +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" [[package]] name = "rustls-webpki" @@ -6455,9 +5589,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.2" +version = "0.102.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" +checksum = "f3bce581c0dd41bce533ce695a1437fa16a7ab5ac3ccfa99fe1a620a7885eabf" dependencies = [ "ring 0.17.7", "rustls-pki-types", @@ -6513,8 +5647,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ "proc-macro-crate 1.3.1", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 1.0.109", ] @@ -6607,6 +5741,15 @@ dependencies = [ "cc", ] +[[package]] +name = "secrecy" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" +dependencies = [ + "zeroize", +] + [[package]] name = "security-framework" version = "2.9.2" @@ -6790,8 +5933,8 @@ version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -6806,16 +5949,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_path_to_error" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd154a240de39fdebcf5775d2675c204d7c13cf39a4c697be6493c8e734337c" -dependencies = [ - "itoa", - "serde", -] - [[package]] name = "serde_spanned" version = "0.6.5" @@ -6837,29 +5970,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_with" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" -dependencies = [ - "base64 0.13.1", - "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 1.0.78", - "quote 1.0.35", - "syn 1.0.109", -] - [[package]] name = "serde_yaml" version = "0.9.32" @@ -7018,7 +6128,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ - "num-bigint 0.4.4", + "num-bigint", "num-traits", "thiserror", "time", @@ -7030,16 +6140,6 @@ version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" -[[package]] -name = "sized-chunks" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e" -dependencies = [ - "bitmaps", - "typenum", -] - [[package]] name = "skeptic" version = "0.13.7" @@ -7055,12 +6155,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "sketches-ddsketch" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85636c14b73d81f541e525f585c0a2109e6744e1565b5c1668e31c70c10ed65c" - [[package]] name = "slab" version = "0.4.9" @@ -7079,22 +6173,6 @@ dependencies = [ "serde", ] -[[package]] -name = "snow" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" -dependencies = [ - "aes-gcm", - "blake2 0.10.6 (registry+https://github.com/rust-lang/crates.io-index)", - "chacha20poly1305", - "curve25519-dalek", - "rand_core 0.6.4", - "rustc_version", - "sha2 0.10.8", - "subtle", -] - [[package]] name = "socket2" version = "0.5.5" @@ -7132,7 +6210,7 @@ dependencies = [ "lalrpop-util", "phf", "thiserror", - "unicode-xid 0.2.4", + "unicode-xid", ] [[package]] @@ -7170,12 +6248,6 @@ dependencies = [ "der 0.7.8", ] -[[package]] -name = "splitmut" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85070f382340e8b23a75808e83573ddf65f9ad9143df9573ca37c1ed2ee956a" - [[package]] name = "sqlformat" version = "0.2.3" @@ -7251,8 +6323,8 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89961c00dc4d7dffb7aee214964b065072bff69e36ddb9e2c107541f75e4f2a5" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "sqlx-core", "sqlx-macros-core", "syn 1.0.109", @@ -7270,8 +6342,8 @@ dependencies = [ "heck 0.4.1", "hex", "once_cell", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "serde", "serde_json", "sha2 0.10.8", @@ -7358,7 +6430,7 @@ dependencies = [ "log", "md-5", "memchr", - "num-bigint 0.4.4", + "num-bigint", "once_cell", "rand 0.8.5", "rust_decimal", @@ -7465,8 +6537,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "rustversion", "syn 1.0.109", ] @@ -7478,8 +6550,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "rustversion", "syn 2.0.48", ] @@ -7510,25 +6582,14 @@ dependencies = [ "zip", ] -[[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.109" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "unicode-ident", ] @@ -7538,8 +6599,8 @@ version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "unicode-ident", ] @@ -7550,8 +6611,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1329189c02ff984e9736652b1631330da25eaa6bc639089ed4915d25446cbe7b" dependencies = [ "proc-macro-error", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -7651,8 +6712,8 @@ version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -7776,8 +6837,8 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -7807,7 +6868,7 @@ version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" dependencies = [ - "rustls 0.22.2", + "rustls 0.22.4", "rustls-pki-types", "tokio", ] @@ -7957,7 +7018,6 @@ checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ "futures-core", "futures-util", - "hdrhistogram", "indexmap 1.9.3", "pin-project", "pin-project-lite", @@ -7970,36 +7030,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "tower-http" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" -dependencies = [ - "async-compression", - "base64 0.21.7", - "bitflags 2.4.2", - "bytes", - "futures-core", - "futures-util", - "http", - "http-body", - "http-range-header", - "httpdate", - "iri-string", - "mime", - "mime_guess", - "percent-encoding", - "pin-project-lite", - "tokio", - "tokio-util 0.7.10", - "tower", - "tower-layer", - "tower-service", - "tracing", - "uuid 1.7.0", -] - [[package]] name = "tower-layer" version = "0.3.2" @@ -8030,8 +7060,8 @@ version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -8163,12 +7193,6 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" -[[package]] -name = "ucd-trie" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" - [[package]] name = "uint" version = "0.9.5" @@ -8238,12 +7262,6 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" -[[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.4" @@ -8256,23 +7274,13 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" -[[package]] -name = "universal-hash" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" -dependencies = [ - "crypto-common", - "subtle", -] - [[package]] name = "unroll" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ad948c1cb799b1a70f836077721a92a35ac177d4daddf4c20a633786d4cf618" dependencies = [ - "quote 1.0.35", + "quote", "syn 1.0.109", ] @@ -8314,7 +7322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna", "percent-encoding", "serde", ] @@ -8353,7 +7361,6 @@ version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" dependencies = [ - "getrandom 0.2.12", "serde", ] @@ -8389,60 +7396,32 @@ dependencies = [ ] [[package]] -name = "vise-exporter" +name = "vise-macros" version = "0.1.0" source = "git+https://github.com/matter-labs/vise.git?rev=a5bb80c9ce7168663114ee30e794d6dc32159ee4#a5bb80c9ce7168663114ee30e794d6dc32159ee4" dependencies = [ - "hyper", - "metrics-exporter-prometheus", - "once_cell", - "tokio", - "tracing", - "vise", -] - -[[package]] -name = "vise-macros" -version = "0.1.0" -source = "git+https://github.com/matter-labs/vise.git?rev=a5bb80c9ce7168663114ee30e794d6dc32159ee4#a5bb80c9ce7168663114ee30e794d6dc32159ee4" -dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", - "syn 2.0.48", + "proc-macro2", + "quote", + "syn 2.0.48", ] [[package]] name = "vlog" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "chrono", "opentelemetry", "opentelemetry-otlp", "opentelemetry-semantic-conventions", "sentry", + "serde", "serde_json", "tracing", "tracing-opentelemetry", "tracing-subscriber", ] -[[package]] -name = "vm_utils" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "multivm", - "tokio", - "tracing", - "zksync_contracts", - "zksync_dal", - "zksync_state", - "zksync_types", - "zksync_utils", -] - [[package]] name = "walkdir" version = "2.4.0" @@ -8468,12 +7447,6 @@ 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" @@ -8499,8 +7472,8 @@ dependencies = [ "bumpalo", "log", "once_cell", - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", "wasm-bindgen-shared", ] @@ -8523,7 +7496,7 @@ version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" dependencies = [ - "quote 1.0.35", + "quote", "wasm-bindgen-macro-support", ] @@ -8533,8 +7506,8 @@ version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", "wasm-bindgen-backend", "wasm-bindgen-shared", @@ -8546,19 +7519,6 @@ version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" -[[package]] -name = "wasm-streams" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b65dc4c90b63b118468cf747d8bf3566c1913ef60be765b5730ead9e0a3ba129" -dependencies = [ - "futures-util", - "js-sys", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - [[package]] name = "web-sys" version = "0.3.67" @@ -8569,54 +7529,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "web3" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5388522c899d1e1c96a4c307e3797e0f697ba7c77dd8e0e625ecba9dd0342937" -dependencies = [ - "arrayvec 0.7.4", - "base64 0.21.7", - "bytes", - "derive_more 0.99.17", - "ethabi 18.0.0", - "ethereum-types 0.14.1", - "futures 0.3.30", - "futures-timer", - "headers", - "hex", - "idna 0.4.0", - "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log", - "once_cell", - "parking_lot 0.12.1", - "pin-project", - "reqwest", - "rlp", - "secp256k1", - "serde", - "serde_json", - "soketto", - "tiny-keccak 2.0.2", - "tokio", - "tokio-stream", - "tokio-util 0.7.10", - "url", - "web3-async-native-tls", -] - -[[package]] -name = "web3-async-native-tls" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f6d8d1636b2627fe63518d5a9b38a569405d9c9bc665c43c9c341de57227ebb" -dependencies = [ - "native-tls", - "thiserror", - "tokio", - "url", -] - [[package]] name = "webpki-roots" version = "0.25.4" @@ -8896,8 +7808,8 @@ version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -8916,8 +7828,8 @@ version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ - "proc-macro2 1.0.78", - "quote 1.0.35", + "proc-macro2", + "quote", "syn 2.0.48", ] @@ -8938,7 +7850,7 @@ dependencies = [ "pbkdf2 0.11.0", "sha1", "time", - "zstd 0.11.2+zstd.1.5.2", + "zstd", ] [[package]] @@ -9113,7 +8025,7 @@ dependencies = [ [[package]] name = "zkevm_circuits" version = "1.5.0" -source = "git+https://github.com/matter-labs/era-zkevm_circuits.git?branch=v1.5.0#861f81029bf3a916dae55afa5bd7f82b2eaca98b" +source = "git+https://github.com/matter-labs/era-zkevm_circuits.git?branch=v1.5.0#c9d3ca5dba6d1125da02c48987a01f0f0f1744e3" dependencies = [ "arrayvec 0.7.4", "boojum", @@ -9208,55 +8120,20 @@ dependencies = [ [[package]] name = "zksync_basic_types" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "chrono", + "ethabi 18.0.0", + "hex", "num_enum 0.7.2", "serde", "serde_json", + "sqlx", "strum 0.24.1", - "web3", -] - -[[package]] -name = "zksync_circuit_breaker" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "async-trait", "thiserror", - "tokio", - "tracing", - "vise", - "zksync_config", - "zksync_dal", -] - -[[package]] -name = "zksync_commitment_generator" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "circuit_sequencer_api 0.1.40", - "circuit_sequencer_api 0.1.41", - "circuit_sequencer_api 0.1.50", - "itertools 0.10.5", - "multivm", - "serde_json", - "tokio", - "tracing", - "vise", - "zk_evm 1.3.3 (git+https://github.com/matter-labs/era-zk_evm.git?tag=v1.3.3-rc2)", - "zk_evm 1.4.1", - "zk_evm 1.5.0", - "zksync_dal", - "zksync_health_check", - "zksync_l1_contract_interface", - "zksync_types", - "zksync_utils", + "tiny-keccak 2.0.2", + "url", ] [[package]] @@ -9280,37 +8157,17 @@ dependencies = [ [[package]] name = "zksync_config" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "rand 0.8.5", + "secrecy", "serde", "zksync_basic_types", "zksync_consensus_utils", "zksync_crypto_primitives", ] -[[package]] -name = "zksync_consensus_bft" -version = "0.1.0" -source = "git+https://github.com/matter-labs/era-consensus.git?rev=92ecb2d5d65e3bc4a883dacd18d0640e86576c8c#92ecb2d5d65e3bc4a883dacd18d0640e86576c8c" -dependencies = [ - "anyhow", - "async-trait", - "once_cell", - "rand 0.8.5", - "thiserror", - "tracing", - "vise", - "zksync_concurrency", - "zksync_consensus_crypto", - "zksync_consensus_network", - "zksync_consensus_roles", - "zksync_consensus_storage", - "zksync_consensus_utils", - "zksync_protobuf", -] - [[package]] name = "zksync_consensus_crypto" version = "0.1.0" @@ -9321,7 +8178,7 @@ dependencies = [ "ed25519-dalek", "ff_ce", "hex", - "num-bigint 0.4.4", + "num-bigint", "num-traits", "pairing_ce 0.28.5 (git+https://github.com/matter-labs/pairing.git?rev=d24f2c5871089c4cd4f54c0ca266bb9fef6115eb)", "rand 0.4.6", @@ -9332,50 +8189,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "zksync_consensus_executor" -version = "0.1.0" -source = "git+https://github.com/matter-labs/era-consensus.git?rev=92ecb2d5d65e3bc4a883dacd18d0640e86576c8c#92ecb2d5d65e3bc4a883dacd18d0640e86576c8c" -dependencies = [ - "anyhow", - "rand 0.8.5", - "tracing", - "vise", - "zksync_concurrency", - "zksync_consensus_bft", - "zksync_consensus_crypto", - "zksync_consensus_network", - "zksync_consensus_roles", - "zksync_consensus_storage", - "zksync_consensus_utils", - "zksync_protobuf", -] - -[[package]] -name = "zksync_consensus_network" -version = "0.1.0" -source = "git+https://github.com/matter-labs/era-consensus.git?rev=92ecb2d5d65e3bc4a883dacd18d0640e86576c8c#92ecb2d5d65e3bc4a883dacd18d0640e86576c8c" -dependencies = [ - "anyhow", - "async-trait", - "im", - "once_cell", - "pin-project", - "prost 0.12.3", - "rand 0.8.5", - "snow", - "thiserror", - "tracing", - "vise", - "zksync_concurrency", - "zksync_consensus_crypto", - "zksync_consensus_roles", - "zksync_consensus_storage", - "zksync_consensus_utils", - "zksync_protobuf", - "zksync_protobuf_build", -] - [[package]] name = "zksync_consensus_roles" version = "0.1.0" @@ -9384,7 +8197,7 @@ dependencies = [ "anyhow", "bit-vec", "hex", - "num-bigint 0.4.4", + "num-bigint", "prost 0.12.3", "rand 0.8.5", "serde", @@ -9428,7 +8241,7 @@ dependencies = [ [[package]] name = "zksync_contracts" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "envy", "ethabi 18.0.0", @@ -9439,84 +8252,10 @@ dependencies = [ "zksync_utils", ] -[[package]] -name = "zksync_core" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "async-trait", - "axum", - "chrono", - "ctrlc", - "futures 0.3.30", - "governor", - "hex", - "itertools 0.10.5", - "lru", - "metrics", - "multivm", - "once_cell", - "pin-project-lite", - "prometheus_exporter", - "prost 0.12.3", - "prover_dal", - "rand 0.8.5", - "reqwest", - "serde", - "serde_json", - "serde_yaml", - "thiserror", - "thread_local", - "tokio", - "tower", - "tower-http", - "tracing", - "vise", - "vlog", - "vm_utils", - "zksync_circuit_breaker", - "zksync_commitment_generator", - "zksync_concurrency", - "zksync_config", - "zksync_consensus_bft", - "zksync_consensus_crypto", - "zksync_consensus_executor", - "zksync_consensus_network", - "zksync_consensus_roles", - "zksync_consensus_storage", - "zksync_consensus_utils", - "zksync_contracts", - "zksync_dal", - "zksync_db_connection", - "zksync_eth_client", - "zksync_eth_signer", - "zksync_eth_watch", - "zksync_health_check", - "zksync_house_keeper", - "zksync_l1_contract_interface", - "zksync_mempool", - "zksync_merkle_tree", - "zksync_mini_merkle_tree", - "zksync_object_store", - "zksync_protobuf", - "zksync_protobuf_build", - "zksync_protobuf_config", - "zksync_prover_interface", - "zksync_queued_job_processor", - "zksync_shared_metrics", - "zksync_state", - "zksync_storage", - "zksync_system_constants", - "zksync_types", - "zksync_utils", - "zksync_web3_decl", -] - [[package]] name = "zksync_crypto" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "blake2 0.10.6 (registry+https://github.com/rust-lang/crates.io-index)", "hex", @@ -9530,7 +8269,7 @@ dependencies = [ [[package]] name = "zksync_crypto_primitives" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "hex", @@ -9539,7 +8278,6 @@ dependencies = [ "serde", "serde_json", "thiserror", - "web3", "zksync_basic_types", "zksync_utils", ] @@ -9547,7 +8285,7 @@ dependencies = [ [[package]] name = "zksync_dal" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "bigdecimal", @@ -9579,7 +8317,7 @@ dependencies = [ [[package]] name = "zksync_db_connection" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "rand 0.8.5", @@ -9589,20 +8327,19 @@ dependencies = [ "thiserror", "tokio", "tracing", - "url", "vise", + "zksync_basic_types", "zksync_health_check", ] [[package]] name = "zksync_eth_client" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "async-trait", - "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "jsonrpsee", "rlp", - "serde", "thiserror", "tracing", "vise", @@ -9610,49 +8347,24 @@ dependencies = [ "zksync_contracts", "zksync_eth_signer", "zksync_types", + "zksync_web3_decl", ] [[package]] name = "zksync_eth_signer" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "async-trait", - "hex", - "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "reqwest", "rlp", - "secp256k1", - "serde", - "serde_derive", - "serde_json", "thiserror", "zksync_types", ] -[[package]] -name = "zksync_eth_watch" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "async-trait", - "thiserror", - "tokio", - "tracing", - "vise", - "zksync_contracts", - "zksync_dal", - "zksync_eth_client", - "zksync_shared_metrics", - "zksync_system_constants", - "zksync_types", -] - [[package]] name = "zksync_health_check" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "async-trait", "futures 0.3.30", @@ -9664,72 +8376,10 @@ dependencies = [ "vise", ] -[[package]] -name = "zksync_house_keeper" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "async-trait", - "metrics", - "prover_dal", - "tokio", - "tracing", - "vise", - "zksync_config", - "zksync_dal", - "zksync_shared_metrics", - "zksync_types", -] - -[[package]] -name = "zksync_l1_contract_interface" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "codegen", - "hex", - "kzg", - "once_cell", - "sha2 0.10.8", - "sha3 0.10.8", - "zksync_prover_interface", - "zksync_types", -] - -[[package]] -name = "zksync_mempool" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "tracing", - "zksync_types", -] - -[[package]] -name = "zksync_merkle_tree" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "leb128", - "once_cell", - "rayon", - "thiserror", - "thread_local", - "tracing", - "vise", - "zksync_crypto", - "zksync_prover_interface", - "zksync_storage", - "zksync_types", - "zksync_utils", -] - [[package]] name = "zksync_mini_merkle_tree" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "once_cell", "zksync_basic_types", @@ -9737,25 +8387,21 @@ dependencies = [ ] [[package]] -name = "zksync_object_store" +name = "zksync_node_fee_model" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "async-trait", - "bincode", - "flate2", - "google-cloud-auth", - "google-cloud-storage", - "http", - "prost 0.12.3", - "serde_json", "tokio", "tracing", "vise", "zksync_config", - "zksync_protobuf", + "zksync_dal", + "zksync_eth_client", "zksync_types", + "zksync_utils", + "zksync_web3_decl", ] [[package]] @@ -9786,64 +8432,18 @@ dependencies = [ "anyhow", "heck 0.5.0", "prettyplease", - "proc-macro2 1.0.78", + "proc-macro2", "prost-build", "prost-reflect", "protox", - "quote 1.0.35", + "quote", "syn 2.0.48", ] -[[package]] -name = "zksync_protobuf_config" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "hex", - "pretty_assertions", - "prost 0.12.3", - "rand 0.8.5", - "serde_json", - "serde_yaml", - "zksync_basic_types", - "zksync_config", - "zksync_protobuf", - "zksync_protobuf_build", - "zksync_types", -] - -[[package]] -name = "zksync_prover_interface" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "chrono", - "circuit_sequencer_api 0.1.50", - "serde", - "serde_with", - "strum 0.24.1", - "zksync_object_store", - "zksync_types", -] - -[[package]] -name = "zksync_queued_job_processor" -version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" -dependencies = [ - "anyhow", - "async-trait", - "tokio", - "tracing", - "vise", - "zksync_utils", -] - [[package]] name = "zksync_shared_metrics" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "vise", "zksync_dal", @@ -9853,7 +8453,7 @@ dependencies = [ [[package]] name = "zksync_state" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "async-trait", @@ -9874,7 +8474,7 @@ dependencies = [ [[package]] name = "zksync_storage" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "num_cpus", "once_cell", @@ -9887,7 +8487,7 @@ dependencies = [ [[package]] name = "zksync_system_constants" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "once_cell", "zksync_basic_types", @@ -9897,7 +8497,7 @@ dependencies = [ [[package]] name = "zksync_types" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "blake2 0.10.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -9929,7 +8529,7 @@ dependencies = [ [[package]] name = "zksync_utils" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "bigdecimal", @@ -9950,7 +8550,7 @@ dependencies = [ [[package]] name = "zksync_web3_decl" version = "0.1.0" -source = "git+https://github.com/matter-labs/zksync-era.git?rev=e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3#e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" +source = "git+https://github.com/matter-labs/zksync-era.git?rev=e10bbdd1e863962552f37e768ae6af649353e4ea#e10bbdd1e863962552f37e768ae6af649353e4ea" dependencies = [ "anyhow", "async-trait", @@ -9974,16 +8574,7 @@ version = "0.11.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" dependencies = [ - "zstd-safe 5.0.2+zstd.1.5.2", -] - -[[package]] -name = "zstd" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bffb3309596d527cfcba7dfc6ed6052f1d39dfbd7c867aa2e865e4a449c10110" -dependencies = [ - "zstd-safe 7.0.0", + "zstd-safe", ] [[package]] @@ -9996,15 +8587,6 @@ dependencies = [ "zstd-sys", ] -[[package]] -name = "zstd-safe" -version = "7.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43747c7422e2924c11144d5229878b98180ef8b06cca4ab5af37afc8a8d8ea3e" -dependencies = [ - "zstd-sys", -] - [[package]] name = "zstd-sys" version = "2.0.9+zstd.1.5.5" diff --git a/Cargo.toml b/Cargo.toml index 77044585..eabad6f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,14 +11,14 @@ categories = ["cryptography"] publish = false # We don't want to publish our binaries. [dependencies] -zksync_basic_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } -zksync_core = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } -multivm = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } -zksync_contracts = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } -zksync_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } -zksync_utils = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } -zksync_state = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } -zksync_web3_decl = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e9d41a6927f832b5b3eb2a93e30c54d4bf090fe3" } +zksync_basic_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" } +zksync_node_fee_model = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" } +multivm = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" } +zksync_contracts = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" } +zksync_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" } +zksync_utils = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" } +zksync_state = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" } +zksync_web3_decl = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea", features = [ "server", "client" ] } sha3 = "0.10.6" @@ -63,4 +63,4 @@ ethers = { version = "2.0.4", features = ["rustls"] } sha3 = { git = "https://github.com/RustCrypto/hashes", tag = "sha3-v0.10.6" } [profile.dev] -debug = 0 \ No newline at end of file +debug = 0 diff --git a/src/fork.rs b/src/fork.rs index 8728cfc1..46713fac 100644 --- a/src/fork.rs +++ b/src/fork.rs @@ -7,6 +7,7 @@ use std::{ collections::HashMap, convert::{TryFrom, TryInto}, future::Future, + str::FromStr, sync::{Arc, RwLock}, }; @@ -19,6 +20,7 @@ use zksync_types::{ TransactionDetails, TransactionVariant, }, l2::L2Tx, + url::SensitiveUrl, ProtocolVersionId, StorageKey, }; @@ -26,9 +28,10 @@ use zksync_state::ReadStorage; use zksync_utils::{bytecode::hash_bytecode, h256_to_u256}; use zksync_web3_decl::{ - jsonrpsee::http_client::HttpClient, namespaces::EthNamespaceClient, types::Index, + client::{Client, L2}, + namespaces::ZksNamespaceClient, }; -use zksync_web3_decl::{jsonrpsee::http_client::HttpClientBuilder, namespaces::ZksNamespaceClient}; +use zksync_web3_decl::{namespaces::EthNamespaceClient, types::Index}; use crate::system_contracts; use crate::{cache::CacheConfig, node::TEST_NODE_NETWORK_ID}; @@ -354,7 +357,7 @@ pub fn supported_versions_to_string() -> String { impl ForkDetails { pub async fn from_url_and_miniblock_and_chain( url: &str, - client: HttpClient, + client: Client, miniblock: u64, chain_id: Option, cache_config: CacheConfig, @@ -447,7 +450,7 @@ impl ForkDetails { impl ForkDetails { /// Return URL and HTTP client for a given fork name. - pub fn fork_to_url_and_client(fork: &str) -> (&str, HttpClient) { + pub fn fork_to_url_and_client(fork: &str) -> (&str, Client) { let url = match fork { "mainnet" => "https://mainnet.era.zksync.io:443", "sepolia-testnet" => "https://sepolia.era.zksync.dev:443", @@ -455,9 +458,11 @@ impl ForkDetails { _ => fork, }; - let client = HttpClientBuilder::default() - .build(url) - .expect("Unable to create a client for fork"); + let parsed_url = SensitiveUrl::from_str(url) + .unwrap_or_else(|_| panic!("Unable to parse client URL: {}", &url)); + let client = Client::http(parsed_url) + .unwrap_or_else(|_| panic!("Unable to create a client for fork: {}", &url)) + .build(); (url, client) } diff --git a/src/http_fork_source.rs b/src/http_fork_source.rs index a1e27ca6..f5e0144f 100644 --- a/src/http_fork_source.rs +++ b/src/http_fork_source.rs @@ -1,4 +1,7 @@ -use std::sync::{Arc, RwLock}; +use std::{ + str::FromStr, + sync::{Arc, RwLock}, +}; use crate::{ cache::{Cache, CacheConfig}, @@ -6,13 +9,16 @@ use crate::{ }; use eyre::Context; use zksync_basic_types::{H256, U256}; -use zksync_types::api::{BridgeAddresses, Transaction}; -use zksync_web3_decl::types::Token; +use zksync_types::{ + api::{BridgeAddresses, Transaction}, + url::SensitiveUrl, +}; use zksync_web3_decl::{ - jsonrpsee::http_client::{HttpClient, HttpClientBuilder}, + client::Client, namespaces::{EthNamespaceClient, ZksNamespaceClient}, types::Index, }; +use zksync_web3_decl::{client::L2, types::Token}; #[derive(Debug, Clone)] /// Fork source that gets the data via HTTP requests. @@ -31,10 +37,12 @@ impl HttpForkSource { } } - pub fn create_client(&self) -> HttpClient { - HttpClientBuilder::default() - .build(self.fork_url.clone()) + pub fn create_client(&self) -> Client { + let url = SensitiveUrl::from_str(&self.fork_url) + .unwrap_or_else(|_| panic!("Unable to parse client URL: {}", &self.fork_url)); + Client::http(url) .unwrap_or_else(|_| panic!("Unable to create a client for fork: {}", self.fork_url)) + .build() } } diff --git a/src/namespaces/eth.rs b/src/namespaces/eth.rs index ab7badf2..701beab7 100644 --- a/src/namespaces/eth.rs +++ b/src/namespaces/eth.rs @@ -3,8 +3,8 @@ use jsonrpc_derive::rpc; use zksync_types::{ api::{BlockIdVariant, BlockNumber, Transaction, TransactionReceipt, TransactionVariant}, transaction_request::CallRequest, - web3::types::{FeeHistory, Index, SyncState}, - Address, Bytes, H256, U256, U64, + web3::{Bytes, FeeHistory, Index, SyncState}, + Address, H256, U256, U64, }; use zksync_web3_decl::types::{Block, Filter, FilterChanges, Log}; diff --git a/src/node/eth.rs b/src/node/eth.rs index f9227786..5c093408 100644 --- a/src/node/eth.rs +++ b/src/node/eth.rs @@ -5,7 +5,10 @@ use futures::FutureExt; use itertools::Itertools; use multivm::interface::{ExecutionResult, TxExecutionMode}; use multivm::vm_latest::constants::ETH_CALL_GAS_LIMIT; -use zksync_basic_types::{web3, AccountTreeId, Address, Bytes, H160, H256, U256, U64}; +use zksync_basic_types::{ + web3::{self, Bytes}, + AccountTreeId, Address, H160, H256, U256, U64, +}; use zksync_state::ReadStorage; use zksync_types::{ api::{Block, BlockIdVariant, BlockNumber, TransactionVariant}, @@ -58,7 +61,7 @@ impl EthNamespa &self, req: zksync_types::transaction_request::CallRequest, _block: Option, - ) -> RpcResult { + ) -> RpcResult { match L2Tx::from_request(req.into(), MAX_TX_SIZE) { Ok(mut tx) => { tx.common_data.fee.gas_limit = ETH_CALL_GAS_LIMIT.into(); @@ -244,12 +247,12 @@ impl EthNamespa /// # Returns /// /// A `BoxFuture` containing the result of the operation, which is a `jsonrpc_core::Result` containing - /// the code as a `zksync_basic_types::Bytes` object. + /// the code as a `Bytes` object. fn get_code( &self, address: zksync_basic_types::Address, _block: Option, - ) -> RpcResult { + ) -> RpcResult { let inner = self.get_inner().clone(); Box::pin(async move { @@ -349,10 +352,7 @@ impl EthNamespa /// # Returns /// /// A future that resolves to the hash of the transaction if successful, or an error if the transaction is invalid or execution fails. - fn send_raw_transaction( - &self, - tx_bytes: zksync_basic_types::Bytes, - ) -> RpcResult { + fn send_raw_transaction(&self, tx_bytes: Bytes) -> RpcResult { let chain_id = match self.get_inner().read() { Ok(reader) => reader.fork_storage.chain_id, Err(_) => { @@ -1105,7 +1105,7 @@ impl EthNamespa fn get_transaction_by_block_hash_and_index( &self, block_hash: zksync_basic_types::H256, - index: zksync_basic_types::web3::types::Index, + index: zksync_basic_types::web3::Index, ) -> RpcResult> { let inner = self.get_inner().clone(); @@ -1172,7 +1172,7 @@ impl EthNamespa fn get_transaction_by_block_number_and_index( &self, block_number: BlockNumber, - index: zksync_basic_types::web3::types::Index, + index: zksync_basic_types::web3::Index, ) -> RpcResult> { let inner = self.get_inner().clone(); @@ -1347,7 +1347,7 @@ impl EthNamespa base_fee_per_gas.push(*base_fee_per_gas.last().unwrap()); Ok(FeeHistory { - oldest_block: web3::types::BlockNumber::Number(oldest_block.into()), + oldest_block: web3::BlockNumber::Number(oldest_block.into()), base_fee_per_gas, gas_used_ratio, reward, @@ -1509,7 +1509,7 @@ mod tests { assert_eq!( fee_history.oldest_block, - web3::types::BlockNumber::Number(U64::from(0)) + web3::BlockNumber::Number(U64::from(0)) ); assert_eq!( fee_history.base_fee_per_gas, @@ -1530,7 +1530,7 @@ mod tests { assert_eq!( fee_history.oldest_block, - web3::types::BlockNumber::Number(U64::from(0)) + web3::BlockNumber::Number(U64::from(0)) ); assert_eq!( fee_history.base_fee_per_gas, @@ -1561,7 +1561,7 @@ mod tests { assert_eq!(latest_block, U64::from(2)); assert_eq!( fee_history.oldest_block, - web3::types::BlockNumber::Number(U64::from(1)) + web3::BlockNumber::Number(U64::from(1)) ); assert_eq!( fee_history.base_fee_per_gas, diff --git a/src/node/fee_model.rs b/src/node/fee_model.rs index c2790f57..a39ff0b0 100644 --- a/src/node/fee_model.rs +++ b/src/node/fee_model.rs @@ -1,5 +1,5 @@ use std::fmt::Debug; -use zksync_core::fee_model::BatchFeeModelInputProvider; +use zksync_node_fee_model::BatchFeeModelInputProvider; use zksync_types::fee_model::{FeeModelConfigV2, FeeParams, FeeParamsV2}; use zksync_types::L1_GAS_PER_PUBDATA_BYTE; diff --git a/src/node/in_memory.rs b/src/node/in_memory.rs index 7013d06c..2d6ab60f 100644 --- a/src/node/in_memory.rs +++ b/src/node/in_memory.rs @@ -48,11 +48,11 @@ use multivm::{ }; use std::convert::TryInto; use zksync_basic_types::{ - web3::signing::keccak256, AccountTreeId, Address, Bytes, L1BatchNumber, L2BlockNumber, H160, - H256, U256, U64, + web3::keccak256, web3::Bytes, AccountTreeId, Address, L1BatchNumber, L2BlockNumber, H160, H256, + U256, U64, }; use zksync_contracts::BaseSystemContracts; -use zksync_core::fee_model::BatchFeeModelInputProvider; +use zksync_node_fee_model::BatchFeeModelInputProvider; use zksync_state::{ReadStorage, StoragePtr, WriteStorage}; use zksync_types::{ api::{Block, DebugCall, Log, TransactionReceipt, TransactionVariant}, @@ -1080,7 +1080,7 @@ impl InMemoryNode { match &tx_result.result { ExecutionResult::Success { output } => { tracing::info!("Call: {}", "SUCCESS".green()); - let output_bytes = zksync_basic_types::Bytes::from(output.clone()); + let output_bytes = zksync_basic_types::web3::Bytes::from(output.clone()); tracing::info!("Output: {}", serde_json::to_string(&output_bytes).unwrap()); } ExecutionResult::Revert { output } => { diff --git a/src/testing.rs b/src/testing.rs index cb6235da..d67ee0db 100644 --- a/src/testing.rs +++ b/src/testing.rs @@ -781,7 +781,7 @@ impl ForkSource for &ExternalStorage { fn get_transaction_by_block_hash_and_index( &self, _block_hash: H256, - _index: zksync_basic_types::web3::types::Index, + _index: zksync_basic_types::web3::Index, ) -> eyre::Result> { todo!() } @@ -789,7 +789,7 @@ impl ForkSource for &ExternalStorage { fn get_transaction_by_block_number_and_index( &self, _block_number: zksync_types::api::BlockNumber, - _index: zksync_basic_types::web3::types::Index, + _index: zksync_basic_types::web3::Index, ) -> eyre::Result> { todo!() }