From e40cfc0b1668b50dd46e8b5ea8a1a5b0b6ced00f Mon Sep 17 00:00:00 2001 From: Parker Thompson Date: Tue, 12 Sep 2023 10:14:34 -0700 Subject: [PATCH 1/7] Initial pre-18 update to test snark changes --- .gitmodules | 2 +- Cargo.lock | 3297 +++---------------------------------------- Cargo.toml | 8 +- lib/risc0 | 2 +- relay/Cargo.toml | 3 +- relay/src/lib.rs | 32 +- relay/src/main.rs | 77 +- rust-toolchain.toml | 4 +- 8 files changed, 262 insertions(+), 3163 deletions(-) diff --git a/.gitmodules b/.gitmodules index 222221f7..6ebb2c5e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,4 +13,4 @@ [submodule "lib/risc0"] path = lib/risc0 url = https://github.com/risc0/risc0 - branch = release-0.17 + branch = parker/bonsai-snark-types diff --git a/Cargo.lock b/Cargo.lock index 09dd8d6c..ab9d8be5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b2e69442aa5628ea6951fa33e24efe8313f4321a91bd729fc2f75bdfc858570" dependencies = [ - "num-bigint 0.3.3", + "num-bigint", "num-integer", "num-traits", ] @@ -35,7 +35,7 @@ dependencies = [ "memmap2", "object", "rustc-demangle", - "smallvec 1.11.0", + "smallvec", ] [[package]] @@ -55,17 +55,6 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "ahash" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", -] - [[package]] name = "aho-corasick" version = "1.0.3" @@ -75,30 +64,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "alloy-rlp" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f938f00332d63a5b0ac687bd6f46d03884638948921d9f8b50c59563d421ae25" -dependencies = [ - "arrayvec", - "bytes", - "smol_str", -] - -[[package]] -name = "ammonia" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64e6d1c7838db705c9b756557ee27c384ce695a1c51a6fe528784cb1c6840170" -dependencies = [ - "html5ever", - "maplit", - "once_cell", - "tendril", - "url", -] - [[package]] name = "android-tzdata" version = "0.1.1" @@ -116,16 +81,15 @@ dependencies = [ [[package]] name = "anstream" -version = "0.3.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] @@ -150,17 +114,17 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" dependencies = [ - "windows-sys 0.48.0", + "windows-sys", ] [[package]] name = "anstyle-wincon" -version = "1.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c677ab05e09154296dd37acecd46420c17b9713e8366facafa8fc0885167cf4c" +checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys", ] [[package]] @@ -169,149 +133,6 @@ version = "1.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" -[[package]] -name = "ariadne" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367fd0ad87307588d087544707bc5fbf4805ded96c7db922b70d368fa1cb5702" -dependencies = [ - "unicode-width", - "yansi 0.5.1", -] - -[[package]] -name = "ark-ff" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b3235cc41ee7a12aaaf2c575a2ad7b46713a8a50bda2fc3b003a04845c05dd6" -dependencies = [ - "ark-ff-asm 0.3.0", - "ark-ff-macros 0.3.0", - "ark-serialize 0.3.0", - "ark-std 0.3.0", - "derivative", - "num-bigint 0.4.3", - "num-traits", - "paste", - "rustc_version 0.3.3", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" -dependencies = [ - "ark-ff-asm 0.4.2", - "ark-ff-macros 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "derivative", - "digest 0.10.7", - "itertools", - "num-bigint 0.4.3", - "num-traits", - "paste", - "rustc_version 0.4.0", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db02d390bf6643fb404d3d22d31aee1c4bc4459600aef9113833d17e786c6e44" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-asm" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-macros" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" -dependencies = [ - "num-bigint 0.4.3", - "num-traits", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" -dependencies = [ - "num-bigint 0.4.3", - "num-traits", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-serialize" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6c2b318ee6e10f8c2853e73a83adc0ccb88995aa978d8a3408d492ab2ee671" -dependencies = [ - "ark-std 0.3.0", - "digest 0.9.0", -] - -[[package]] -name = "ark-serialize" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" -dependencies = [ - "ark-std 0.4.0", - "digest 0.10.7", - "num-bigint 0.4.3", -] - -[[package]] -name = "ark-std" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" -dependencies = [ - "num-traits", - "rand", -] - -[[package]] -name = "ark-std" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" -dependencies = [ - "num-traits", - "rand", -] - -[[package]] -name = "array-init" -version = "0.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23589ecb866b460d3a0f1278834750268c607e8e28a1b982c907219f3178cd72" -dependencies = [ - "nodrop", -] - [[package]] name = "arrayvec" version = "0.7.4" @@ -340,26 +161,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "async-priority-channel" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c21678992e1b21bebfe2bc53ab5f5f68c106eddab31b24e0bb06e9b715a86640" -dependencies = [ - "event-listener", -] - -[[package]] -name = "async-recursion" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "async-trait" version = "0.1.72" @@ -379,21 +180,9 @@ checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" dependencies = [ "futures", "pharos", - "rustc_version 0.4.0", + "rustc_version", ] -[[package]] -name = "atomic" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59bdb34bc650a32731b31bd8f0829cc15d24a708ee31559e0bb34f2bc320cba" - -[[package]] -name = "atomic-take" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8ab6b55fe97976e46f91ddbed8d147d966475dc29b2032757ba47e02376fbc3" - [[package]] name = "auto_impl" version = "1.1.0" @@ -412,6 +201,15 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "autotools" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aef8da1805e028a172334c3b680f93e71126f2327622faef2ec3d893c0a4ad77" +dependencies = [ + "cc", +] + [[package]] name = "axum" version = "0.6.20" @@ -574,7 +372,6 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium 0.7.0", - "serde", "tap", "wyz", ] @@ -609,18 +406,16 @@ dependencies = [ [[package]] name = "bonsai-ethereum-contracts" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "anyhow", - "clap", - "ethers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "foundry-cli", + "ethers", ] [[package]] name = "bonsai-ethereum-relay" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "anyhow", "async-trait", @@ -631,8 +426,8 @@ dependencies = [ "bonsai-sdk", "clap", "displaydoc", - "ethers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-signers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers", + "ethers-signers", "futures", "hex", "hyper", @@ -641,7 +436,7 @@ dependencies = [ "risc0-zkvm", "rusoto_core", "rusoto_kms", - "semver 1.0.18", + "semver", "serde", "serde_json", "snafu", @@ -668,8 +463,8 @@ dependencies = [ "bonsai-starter-methods", "bytemuck", "clap", - "ethers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-signers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers", + "ethers-signers", "hex", "risc0-build", "risc0-zkvm", @@ -679,7 +474,7 @@ dependencies = [ [[package]] name = "bonsai-rest-api-mock" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "anyhow", "axum", @@ -703,7 +498,7 @@ dependencies = [ [[package]] name = "bonsai-sdk" version = "0.3.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "reqwest", "serde", @@ -728,32 +523,6 @@ dependencies = [ "sha2 0.9.9", ] -[[package]] -name = "bstr" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" -dependencies = [ - "memchr", - "regex-automata 0.3.6", - "serde", -] - -[[package]] -name = "btoi" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd6407f73a9b8b6162d8a2ef999fe6afd7cc15902ebf42c5cd296addf17e0ad" -dependencies = [ - "num-traits", -] - -[[package]] -name = "build_const" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ae4235e6dac0694637c763029ecea1a2ec9e4e06ec2729bd21ba4d9c863eb7" - [[package]] name = "bumpalo" version = "3.13.0" @@ -848,7 +617,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.18", + "semver", "serde", "serde_json", "thiserror", @@ -862,46 +631,12 @@ checksum = "e7daec1a2a2129eeba1644b220b4647ec537b0b5d4bfd6876fcc5a540056b592" dependencies = [ "camino", "cargo-platform", - "semver 1.0.18", + "semver", "serde", "serde_json", "thiserror", ] -[[package]] -name = "cassowary" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" - -[[package]] -name = "cast" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "chrono", - "ethers-contract 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-etherscan 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-providers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-signers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "evm-disassembler", - "eyre", - "foundry-common", - "foundry-config", - "foundry-evm", - "foundry-utils", - "futures", - "hex", - "num_cpus", - "rayon", - "rusoto_core", - "rusoto_kms", - "rustc-hex", - "serde", - "serde_json", -] - [[package]] name = "cc" version = "1.0.82" @@ -926,11 +661,8 @@ checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", "serde", - "time 0.1.45", - "wasm-bindgen", "winapi", ] @@ -946,55 +678,31 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.21" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c27cdf28c0f604ba3f512b0c9a409f8de8513e4816705deb0498b627e7c3a3fd" +checksum = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.21" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a9f1ab5e9f01a9b81f202e8562eb9a10de70abf9eaeac1be465c28b75aa4aa" +checksum = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" dependencies = [ "anstream", "anstyle", "clap_lex", - "once_cell", "strsim", - "terminal_size", - "unicase", - "unicode-width", -] - -[[package]] -name = "clap_complete" -version = "4.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc443334c81a804575546c5a8a79b4913b50e28d69232903604cada1de817ce" -dependencies = [ - "clap", -] - -[[package]] -name = "clap_complete_fig" -version = "4.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fee1d30a51305a6c2ed3fc5709be3c8af626c9c958e04dd9ae94e27bcbce9f" -dependencies = [ - "clap", - "clap_complete", ] [[package]] name = "clap_derive" -version = "4.3.12" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" +checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" dependencies = [ "heck", "proc-macro2", @@ -1008,19 +716,6 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" -[[package]] -name = "clearscreen" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f3f22f1a586604e62efd23f78218f3ccdecf7a33c4500db2d37d85a24fe994" -dependencies = [ - "nix", - "terminfo", - "thiserror", - "which", - "winapi", -] - [[package]] name = "coins-bip32" version = "0.8.3" @@ -1078,131 +773,23 @@ dependencies = [ ] [[package]] -name = "coins-ledger" -version = "0.8.3" +name = "colorchoice" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863cc93703bfc6f02f4401b42663b767783179f4080d89a0c4876766c7c0fb78" -dependencies = [ - "async-trait", - "byteorder", - "cfg-if", - "futures", - "hex", - "hidapi-rusb", - "js-sys", - "lazy_static", - "libc", - "log", - "matches", - "nix", - "serde", - "tap", - "thiserror", - "tracing", - "wasm-bindgen", - "wasm-bindgen-futures", -] +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] -name = "color-eyre" -version = "0.6.2" +name = "const-oid" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a667583cca8c4f8436db8de46ea8233c42a7d9ae424a82d338f2e4675229204" -dependencies = [ - "backtrace", - "color-spantrace", - "eyre", - "indenter", - "once_cell", - "owo-colors", - "tracing-error", -] +checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" [[package]] -name = "color-spantrace" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba75b3d9449ecdccb27ecbc479fdc0b87fa2dd43d2f8298f9bf0e59aacc8dce" -dependencies = [ - "once_cell", - "owo-colors", - "tracing-core", - "tracing-error", -] - -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "comfy-table" -version = "6.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e959d788268e3bf9d35ace83e81b124190378e4c91c9067524675e33394b8ba" -dependencies = [ - "crossterm 0.26.1", - "strum 0.24.1", - "strum_macros 0.24.3", - "unicode-width", -] - -[[package]] -name = "command-group" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5080df6b0f0ecb76cab30808f00d937ba725cebe266a3da8cd89dff92f2a9916" -dependencies = [ - "async-trait", - "nix", - "tokio", - "winapi", -] - -[[package]] -name = "console" -version = "0.15.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "unicode-width", - "windows-sys 0.45.0", -] - -[[package]] -name = "const-hex" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "268f52aae268980d03dd9544c1ea591965b2735b038d6998d6e4ab37c8c24445" -dependencies = [ - "cfg-if", - "cpufeatures", - "hex", - "serde", -] - -[[package]] -name = "const-oid" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" - -[[package]] -name = "constant_time_eq" -version = "0.1.5" +name = "constant_time_eq" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" -[[package]] -name = "convert_case" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" - [[package]] name = "core-foundation" version = "0.9.3" @@ -1276,7 +863,7 @@ dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", - "memoffset 0.9.0", + "memoffset", "scopeguard", ] @@ -1289,47 +876,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crossterm" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67" -dependencies = [ - "bitflags 1.3.2", - "crossterm_winapi", - "libc", - "mio", - "parking_lot", - "signal-hook", - "signal-hook-mio", - "winapi", -] - -[[package]] -name = "crossterm" -version = "0.26.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84cda67535339806297f1b331d6dd6320470d2a0fe65381e79ee9e156dd3d13" -dependencies = [ - "bitflags 1.3.2", - "crossterm_winapi", - "libc", - "mio", - "parking_lot", - "signal-hook", - "signal-hook-mio", - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" -dependencies = [ - "winapi", -] - [[package]] name = "crunchy" version = "0.2.2" @@ -1399,40 +945,17 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929" -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "derive_more" version = "0.99.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ - "convert_case", "proc-macro2", "quote", - "rustc_version 0.4.0", "syn 1.0.109", ] -[[package]] -name = "dialoguer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59c6f2989294b9a498d3ad5491a79c6deb604617378e1cdc4bfc1c1361fe2f87" -dependencies = [ - "console", - "shell-words", -] - [[package]] name = "diff" version = "0.1.13" @@ -1478,15 +1001,6 @@ dependencies = [ "dirs-sys 0.3.7", ] -[[package]] -name = "dirs" -version = "5.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" -dependencies = [ - "dirs-sys 0.4.1", -] - [[package]] name = "dirs-next" version = "2.0.0" @@ -1517,7 +1031,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys", ] [[package]] @@ -1548,12 +1062,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" -[[package]] -name = "dotenvy" -version = "0.15.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" - [[package]] name = "downcast-rs" version = "1.2.0" @@ -1586,18 +1094,6 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" -[[package]] -name = "elasticlunr-rs" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41e83863a500656dfa214fee6682de9c5b9f03de6860fec531235ed2ae9f6571" -dependencies = [ - "regex", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "elf" version = "0.7.2" @@ -1632,12 +1128,6 @@ dependencies = [ "log", ] -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - [[package]] name = "encoding_rs" version = "0.8.32" @@ -1647,12 +1137,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "endian-type" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" - [[package]] name = "enr" version = "0.8.1" @@ -1671,49 +1155,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "enr" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0be7b2ac146c1f99fe245c02d16af0696450d8e06c135db75e10eeb9e642c20d" -dependencies = [ - "base64 0.21.2", - "bytes", - "hex", - "k256", - "log", - "rand", - "rlp", - "serde", - "serde-hex", - "sha3", - "zeroize", -] - -[[package]] -name = "enumn" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b893c4eb2dc092c811165f84dc7447fae16fb66521717968c34c509b39b1a5c5" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] - -[[package]] -name = "env_logger" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1737,7 +1178,7 @@ checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" dependencies = [ "errno-dragonfly", "libc", - "windows-sys 0.48.0", + "windows-sys", ] [[package]] @@ -1826,29 +1267,14 @@ version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96b4026b97da8281276744741fac7eb385da905f6093c583331fa2953fdd4253" dependencies = [ - "ethers-addressbook 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-contract 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-etherscan 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-middleware 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-providers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-signers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-solc 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "ethers" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "ethers-addressbook 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-contract 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-etherscan 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-middleware 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-providers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-signers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-solc 2.0.8 (git+https://github.com/gakonst/ethers-rs)", + "ethers-addressbook", + "ethers-contract", + "ethers-core", + "ethers-etherscan", + "ethers-middleware", + "ethers-providers", + "ethers-signers", + "ethers-solc", ] [[package]] @@ -1857,18 +1283,7 @@ version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edcb6ffefc230d8c42874c51b28dc11dbb8de50b27a8fdf92648439d6baa68dc" dependencies = [ - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "once_cell", - "serde", - "serde_json", -] - -[[package]] -name = "ethers-addressbook" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", + "ethers-core", "once_cell", "serde", "serde_json", @@ -1880,11 +1295,11 @@ version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d4719a44c3d37ab07c6dea99ab174068d8c35e441b60b6c20ce4e48357273e8" dependencies = [ - "ethers-contract-abigen 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-contract-derive 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-providers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-signers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers-contract-abigen", + "ethers-contract-derive", + "ethers-core", + "ethers-providers", + "ethers-signers", "futures-util", "hex", "once_cell", @@ -1894,25 +1309,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "ethers-contract" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "const-hex", - "ethers-contract-abigen 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-contract-derive 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-providers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-signers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "futures-util", - "once_cell", - "pin-project", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "ethers-contract-abigen" version = "2.0.8" @@ -1921,8 +1317,8 @@ checksum = "155ea1b84d169d231317ed86e307af6f2bed6b40dd17e5e94bc84da21cadb21c" dependencies = [ "Inflector", "dunce", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-etherscan 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers-core", + "ethers-etherscan", "eyre", "hex", "prettyplease", @@ -1933,30 +1329,7 @@ dependencies = [ "serde", "serde_json", "syn 2.0.28", - "toml 0.7.6", - "walkdir", -] - -[[package]] -name = "ethers-contract-abigen" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "Inflector", - "const-hex", - "dunce", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-etherscan 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "prettyplease", - "proc-macro2", - "quote", - "regex", - "reqwest", - "serde", - "serde_json", - "syn 2.0.28", - "toml 0.7.6", + "toml", "walkdir", ] @@ -1967,8 +1340,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8567ff196c4a37c1a8c90ec73bda0ad2062e191e4f0a6dc4d943e2ec4830fc88" dependencies = [ "Inflector", - "ethers-contract-abigen 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers-contract-abigen", + "ethers-core", "hex", "proc-macro2", "quote", @@ -1976,21 +1349,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "ethers-contract-derive" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "Inflector", - "const-hex", - "ethers-contract-abigen 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "proc-macro2", - "quote", - "serde_json", - "syn 2.0.28", -] - [[package]] name = "ethers-core" version = "2.0.8" @@ -2013,36 +1371,7 @@ dependencies = [ "rlp", "serde", "serde_json", - "strum 0.25.0", - "syn 2.0.28", - "tempfile", - "thiserror", - "tiny-keccak", - "unicode-xid", -] - -[[package]] -name = "ethers-core" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "arrayvec", - "bytes", - "cargo_metadata 0.17.0", - "chrono", - "const-hex", - "elliptic-curve", - "ethabi", - "generic-array", - "k256", - "num_enum", - "once_cell", - "open-fastrlp", - "rand", - "rlp", - "serde", - "serde_json", - "strum 0.25.0", + "strum", "syn 2.0.28", "tempfile", "thiserror", @@ -2056,25 +1385,10 @@ version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22b3a8269d3df0ed6364bc05b4735b95f4bf830ce3aef87d5e760fb0e93e5b91" dependencies = [ - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-solc 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers-core", + "ethers-solc", "reqwest", - "semver 1.0.18", - "serde", - "serde_json", - "thiserror", - "tracing", -] - -[[package]] -name = "ethers-etherscan" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-solc 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "reqwest", - "semver 1.0.18", + "semver", "serde", "serde_json", "thiserror", @@ -2089,11 +1403,11 @@ checksum = "e0c339aad74ae5c451d27e0e49c7a3c7d22620b119b4f9291d7aa21f72d7f366" dependencies = [ "async-trait", "auto_impl", - "ethers-contract 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-etherscan 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-providers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ethers-signers 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers-contract", + "ethers-core", + "ethers-etherscan", + "ethers-providers", + "ethers-signers", "futures-channel", "futures-locks", "futures-util", @@ -2109,43 +1423,17 @@ dependencies = [ ] [[package]] -name = "ethers-middleware" +name = "ethers-providers" version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "async-trait", - "auto_impl", - "ethers-contract 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-etherscan 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-providers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-signers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "futures-channel", - "futures-locks", - "futures-util", - "instant", - "reqwest", - "serde", - "serde_json", - "thiserror", - "tokio", - "tracing", - "tracing-futures", - "url", -] - -[[package]] -name = "ethers-providers" -version = "2.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b411b119f1cf0efb69e2190883dee731251882bb21270f893ee9513b3a697c48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b411b119f1cf0efb69e2190883dee731251882bb21270f893ee9513b3a697c48" dependencies = [ "async-trait", "auto_impl", "base64 0.21.2", "bytes", - "enr 0.8.1", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "enr", + "ethers-core", "futures-channel", "futures-core", "futures-timer", @@ -2161,43 +1449,7 @@ dependencies = [ "serde_json", "thiserror", "tokio", - "tokio-tungstenite 0.19.0", - "tracing", - "tracing-futures", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "ws_stream_wasm", -] - -[[package]] -name = "ethers-providers" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "async-trait", - "auto_impl", - "base64 0.21.2", - "bytes", - "const-hex", - "enr 0.9.0", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "futures-core", - "futures-timer", - "futures-util", - "hashers", - "http", - "instant", - "jsonwebtoken", - "once_cell", - "pin-project", - "reqwest", - "serde", - "serde_json", - "thiserror", - "tokio", - "tokio-tungstenite 0.19.0", + "tokio-tungstenite", "tracing", "tracing-futures", "url", @@ -2218,7 +1470,7 @@ dependencies = [ "coins-bip39", "elliptic-curve", "eth-keystore", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers-core", "hex", "rand", "rusoto_core", @@ -2229,33 +1481,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "ethers-signers" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "async-trait", - "coins-bip32", - "coins-bip39", - "coins-ledger", - "const-hex", - "elliptic-curve", - "eth-keystore", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "futures-executor", - "futures-util", - "home", - "rand", - "rusoto_core", - "rusoto_kms", - "semver 1.0.18", - "sha2 0.10.7", - "spki", - "thiserror", - "tracing", - "trezor-client", -] - [[package]] name = "ethers-solc" version = "2.0.8" @@ -2264,7 +1489,7 @@ checksum = "7a6c2b9625a2c639d46625f88acc2092a3cb35786c37f7c2128b3ca20f639b3c" dependencies = [ "cfg-if", "dunce", - "ethers-core 2.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "ethers-core", "glob", "hex", "home", @@ -2274,67 +1499,17 @@ dependencies = [ "path-slash", "rayon", "regex", - "semver 1.0.18", - "serde", - "serde_json", - "solang-parser", - "svm-rs 0.2.23", - "thiserror", - "tiny-keccak", - "tokio", - "tracing", - "walkdir", - "yansi 0.5.1", -] - -[[package]] -name = "ethers-solc" -version = "2.0.8" -source = "git+https://github.com/gakonst/ethers-rs#5b2fdadb8f12b96893fe984f4ac9bc1855924177" -dependencies = [ - "cfg-if", - "const-hex", - "dirs 5.0.1", - "dunce", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "futures-util", - "glob", - "home", - "md-5 0.10.5", - "num_cpus", - "once_cell", - "path-slash", - "rayon", - "regex", - "semver 1.0.18", + "semver", "serde", "serde_json", - "sha2 0.10.7", "solang-parser", - "svm-rs 0.3.0", - "svm-rs-builds", + "svm-rs", "thiserror", "tiny-keccak", "tokio", "tracing", "walkdir", - "yansi 0.5.1", -] - -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "evm-disassembler" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "584e7334177d2dc76c4d618967e5ef102be68c35f454ac363d88b72b854db4a9" -dependencies = [ - "eyre", - "hex", + "yansi", ] [[package]] @@ -2359,17 +1534,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" -[[package]] -name = "fastrlp" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" -dependencies = [ - "arrayvec", - "auto_impl", - "bytes", -] - [[package]] name = "ff" version = "0.13.0" @@ -2391,7 +1555,7 @@ checksum = "e9f54704be45ed286151c5e11531316eaef5b8f5af7d597b806fdb8af108d84a" dependencies = [ "addchain", "cfg-if", - "num-bigint 0.3.3", + "num-bigint", "num-integer", "num-traits", "proc-macro2", @@ -2399,32 +1563,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "figment" -version = "0.10.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4547e226f4c9ab860571e070a9034192b3175580ecea38da34fcdb53a018c9a5" -dependencies = [ - "atomic", - "pear", - "serde", - "toml 0.7.6", - "uncased", - "version_check", -] - -[[package]] -name = "filetime" -version = "0.2.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.3.5", - "windows-sys 0.48.0", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -2472,309 +1610,15 @@ dependencies = [ name = "foreign-types-shared" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "forge" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "comfy-table", - "ethers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "foundry-common", - "foundry-config", - "foundry-evm", - "foundry-utils", - "glob", - "hex", - "once_cell", - "parking_lot", - "proptest", - "rayon", - "regex", - "rlp", - "semver 1.0.18", - "serde", - "serde_json", - "tokio", - "tracing", - "tracing-subscriber", - "yansi 0.5.1", -] - -[[package]] -name = "forge-doc" -version = "0.1.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "auto_impl", - "clap", - "derive_more", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-solc 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "forge-fmt", - "foundry-common", - "foundry-config", - "foundry-utils", - "futures-util", - "itertools", - "mdbook", - "once_cell", - "rayon", - "serde", - "serde_json", - "solang-parser", - "thiserror", - "tokio", - "toml 0.7.6", - "tracing", - "warp", -] - -[[package]] -name = "forge-fmt" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "ariadne", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "foundry-config", - "itertools", - "semver 1.0.18", - "solang-parser", - "thiserror", - "tracing", -] - -[[package]] -name = "form_urlencoded" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "foundry-abi" -version = "0.1.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "ethers-contract 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-contract-abigen 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-providers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "foundry-macros", - "syn 2.0.28", -] - -[[package]] -name = "foundry-cli" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "async-trait", - "bytes", - "cast", - "clap", - "clap_complete", - "clap_complete_fig", - "color-eyre", - "comfy-table", - "console", - "dialoguer", - "dotenvy", - "dunce", - "ethers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "forge", - "forge-doc", - "forge-fmt", - "foundry-common", - "foundry-config", - "foundry-evm", - "foundry-utils", - "futures", - "hex", - "indicatif", - "is-terminal", - "itertools", - "once_cell", - "parking_lot", - "path-slash", - "proptest", - "rayon", - "regex", - "reqwest", - "rpassword", - "rustc-hex", - "semver 1.0.18", - "serde", - "serde_json", - "similar", - "solang-parser", - "strsim", - "strum 0.25.0", - "tempfile", - "thiserror", - "tokio", - "tracing", - "tracing-error", - "tracing-subscriber", - "ui", - "vergen", - "walkdir", - "watchexec", - "yansi 0.5.1", -] - -[[package]] -name = "foundry-common" -version = "0.1.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "auto_impl", - "clap", - "comfy-table", - "dunce", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-etherscan 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-middleware 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-providers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-solc 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "foundry-config", - "foundry-macros", - "globset", - "is-terminal", - "once_cell", - "regex", - "reqwest", - "semver 1.0.18", - "serde", - "serde_json", - "tempfile", - "thiserror", - "tracing", - "walkdir", - "yansi 0.5.1", -] - -[[package]] -name = "foundry-config" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "Inflector", - "dirs-next", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-etherscan 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-solc 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "figment", - "globset", - "number_prefix", - "once_cell", - "open-fastrlp", - "path-slash", - "regex", - "reqwest", - "semver 1.0.18", - "serde", - "serde_json", - "serde_regex", - "thiserror", - "toml 0.7.6", - "toml_edit", - "tracing", - "walkdir", -] - -[[package]] -name = "foundry-evm" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "auto_impl", - "bytes", - "ethers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "foundry-abi", - "foundry-common", - "foundry-config", - "foundry-macros", - "foundry-utils", - "futures", - "hashbrown 0.13.2", - "hex", - "itertools", - "jsonpath_lib", - "once_cell", - "ordered-float", - "parking_lot", - "proptest", - "revm", - "semver 1.0.18", - "serde", - "serde_json", - "thiserror", - "tokio", - "tracing", - "url", - "walkdir", - "yansi 0.5.1", -] - -[[package]] -name = "foundry-macros" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "foundry-macros-impl", - "serde", - "serde_json", -] - -[[package]] -name = "foundry-macros-impl" -version = "0.0.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] -name = "foundry-utils" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" +name = "form_urlencoded" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" dependencies = [ - "dunce", - "ethers-addressbook 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-contract 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-core 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-etherscan 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-providers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "ethers-solc 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "forge-fmt", - "futures", - "glob", - "hex", - "once_cell", - "rand", - "reqwest", - "rlp", - "rustc-hex", - "serde", - "serde_json", - "tokio", - "tracing", + "percent-encoding", ] [[package]] @@ -2787,31 +1631,12 @@ dependencies = [ "winapi", ] -[[package]] -name = "fsevent-sys" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2" -dependencies = [ - "libc", -] - [[package]] name = "funty" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" -[[package]] -name = "futf" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" -dependencies = [ - "mac", - "new_debug_unreachable", -] - [[package]] name = "futures" version = "0.3.28" @@ -2950,7 +1775,7 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "wasm-bindgen", ] @@ -2964,255 +1789,12 @@ dependencies = [ "stable_deref_trait", ] -[[package]] -name = "git2" -version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b989d6a7ca95a362cf2cfc5ad688b3a467be1f87e480b8dad07fee8c79b0044" -dependencies = [ - "bitflags 1.3.2", - "libc", - "libgit2-sys", - "log", - "url", -] - -[[package]] -name = "gix-actor" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "848efa0f1210cea8638f95691c82a46f98a74b9e3524f01d4955ebc25a8f84f3" -dependencies = [ - "bstr", - "btoi", - "gix-date", - "itoa", - "nom", - "thiserror", -] - -[[package]] -name = "gix-config" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d252a0eddb6df74600d3d8872dc9fe98835a7da43110411d705b682f49d4ac1" -dependencies = [ - "bstr", - "gix-config-value", - "gix-features", - "gix-glob", - "gix-path", - "gix-ref", - "gix-sec", - "log", - "memchr", - "nom", - "once_cell", - "smallvec 1.11.0", - "thiserror", - "unicode-bom", -] - -[[package]] -name = "gix-config-value" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e874f41437441c02991dcea76990b9058fadfc54b02ab4dd06ab2218af43897" -dependencies = [ - "bitflags 2.4.0", - "bstr", - "gix-path", - "libc", - "thiserror", -] - -[[package]] -name = "gix-date" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc164145670e9130a60a21670d9b6f0f4f8de04e5dd256c51fa5a0340c625902" -dependencies = [ - "bstr", - "itoa", - "thiserror", - "time 0.3.25", -] - -[[package]] -name = "gix-features" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf69b0f5c701cc3ae22d3204b671907668f6437ca88862d355eaf9bc47a4f897" -dependencies = [ - "gix-hash", - "libc", - "sha1_smol", - "walkdir", -] - -[[package]] -name = "gix-fs" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b37a1832f691fdc09910bd267f9a2e413737c1f9ec68c6e31f9e802616278a9" -dependencies = [ - "gix-features", -] - -[[package]] -name = "gix-glob" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c07c98204529ac3f24b34754540a852593d2a4c7349008df389240266627a72a" -dependencies = [ - "bitflags 2.4.0", - "bstr", - "gix-features", - "gix-path", -] - -[[package]] -name = "gix-hash" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b422ff2ad9a0628baaad6da468cf05385bf3f5ab495ad5a33cce99b9f41092f" -dependencies = [ - "hex", - "thiserror", -] - -[[package]] -name = "gix-lock" -version = "5.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c693d7f05730fa74a7c467150adc7cea393518410c65f0672f80226b8111555" -dependencies = [ - "gix-tempfile", - "gix-utils", - "thiserror", -] - -[[package]] -name = "gix-object" -version = "0.29.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d96bd620fd08accdd37f70b2183cfa0b001b4f1c6ade8b7f6e15cb3d9e261ce" -dependencies = [ - "bstr", - "btoi", - "gix-actor", - "gix-features", - "gix-hash", - "gix-validate", - "hex", - "itoa", - "nom", - "smallvec 1.11.0", - "thiserror", -] - -[[package]] -name = "gix-path" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18609c8cbec8508ea97c64938c33cd305b75dfc04a78d0c3b78b8b3fd618a77c" -dependencies = [ - "bstr", - "gix-trace", - "home", - "once_cell", - "thiserror", -] - -[[package]] -name = "gix-ref" -version = "0.29.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e03989e9d49954368e1b526578230fc7189d1634acdfbe79e9ba1de717e15d5" -dependencies = [ - "gix-actor", - "gix-features", - "gix-fs", - "gix-hash", - "gix-lock", - "gix-object", - "gix-path", - "gix-tempfile", - "gix-validate", - "memmap2", - "nom", - "thiserror", -] - -[[package]] -name = "gix-sec" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9615cbd6b456898aeb942cd75e5810c382fbfc48dbbff2fa23ebd2d33dcbe9c7" -dependencies = [ - "bitflags 2.4.0", - "gix-path", - "libc", - "windows", -] - -[[package]] -name = "gix-tempfile" -version = "5.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71a0d32f34e71e86586124225caefd78dabc605d0486de580d717653addf182" -dependencies = [ - "gix-fs", - "libc", - "once_cell", - "parking_lot", - "tempfile", -] - -[[package]] -name = "gix-trace" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b6d623a1152c3facb79067d6e2ecdae48130030cf27d6eb21109f13bd7b836" - -[[package]] -name = "gix-utils" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b85d89dc728613e26e0ed952a19583744e7f5240fcd4aa30d6c824ffd8b52f0f" -dependencies = [ - "fastrand", -] - -[[package]] -name = "gix-validate" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba9b3737b2cef3dcd014633485f0034b0f1a931ee54aeb7d8f87f177f3c89040" -dependencies = [ - "bstr", - "thiserror", -] - [[package]] name = "glob" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" -[[package]] -name = "globset" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - [[package]] name = "gloo-timers" version = "0.2.6" @@ -3255,36 +1837,12 @@ dependencies = [ "tracing", ] -[[package]] -name = "handlebars" -version = "4.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" -dependencies = [ - "log", - "pest", - "pest_derive", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash", - "serde", -] - [[package]] name = "hashbrown" version = "0.14.0" @@ -3342,27 +1900,6 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] - -[[package]] -name = "hex-literal" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" - -[[package]] -name = "hidapi-rusb" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee9fc48be9eab25c28b413742b38b57b85c10b5efd2d47ef013f82335cbecc8e" -dependencies = [ - "cc", - "libc", - "pkg-config", - "rusb", -] [[package]] name = "hmac" @@ -3389,21 +1926,7 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "html5ever" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7" -dependencies = [ - "log", - "mac", - "markup5ever", - "proc-macro2", - "quote", - "syn 1.0.109", + "windows-sys", ] [[package]] @@ -3446,12 +1969,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" version = "0.14.27" @@ -3538,60 +2055,25 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" dependencies = [ - "cc", -] - -[[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 = "if_chain" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" - -[[package]] -name = "ignore" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492" -dependencies = [ - "globset", - "lazy_static", - "log", - "memchr", - "regex", - "same-file", - "thread_local", - "walkdir", - "winapi-util", + "cc", ] [[package]] -name = "ignore-files" -version = "1.3.1" +name = "idna" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a4d73056a8d335492938cabeef794f38968ef43e6db9bc946638cfd6281003b" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" dependencies = [ - "dunce", - "futures", - "gix-config", - "ignore", - "miette", - "project-origins", - "radix_trie", - "thiserror", - "tokio", - "tracing", + "unicode-bidi", + "unicode-normalization", ] +[[package]] +name = "if_chain" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" + [[package]] name = "impl-codec" version = "0.6.0" @@ -3657,45 +2139,6 @@ dependencies = [ "serde", ] -[[package]] -name = "indicatif" -version = "0.17.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b297dc40733f23a0e52728a58fa9489a5b7638a324932de16b41adc3ef80730" -dependencies = [ - "console", - "instant", - "number_prefix", - "portable-atomic", - "unicode-width", -] - -[[package]] -name = "inlinable_string" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8fae54786f62fb2918dcfae3d568594e50eb9b5c25bf04371af6fe7516452fb" - -[[package]] -name = "inotify" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" -dependencies = [ - "bitflags 1.3.2", - "inotify-sys", - "libc", -] - -[[package]] -name = "inotify-sys" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb" -dependencies = [ - "libc", -] - [[package]] name = "inout" version = "0.1.3" @@ -3720,17 +2163,6 @@ version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a53088c87cf71c9d4f3372a2cb9eea1e7b8a0b1bf8b7f7d23fe5b76dbb07e63b" -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.48.0", -] - [[package]] name = "ipnet" version = "2.8.0" @@ -3744,8 +2176,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi", - "rustix 0.38.8", - "windows-sys 0.48.0", + "rustix", + "windows-sys", ] [[package]] @@ -3781,31 +2213,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "jsonpath_lib" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaa63191d68230cccb81c5aa23abd53ed64d83337cacbb25a7b8c7979523774f" -dependencies = [ - "log", - "serde", - "serde_json", -] - -[[package]] -name = "jsonwebtoken" -version = "8.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" -dependencies = [ - "base64 0.21.2", - "pem", - "ring", - "serde", - "serde_json", - "simple_asn1", -] - [[package]] name = "k256" version = "0.13.1" @@ -3829,26 +2236,6 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "kqueue" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c" -dependencies = [ - "kqueue-sys", - "libc", -] - -[[package]] -name = "kqueue-sys" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed9625ffda8729b85e45cf04090035ac368927b8cebc34898e7c120f52e4838b" -dependencies = [ - "bitflags 1.3.2", - "libc", -] - [[package]] name = "lalrpop" version = "0.20.0" @@ -3905,9 +2292,6 @@ name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -dependencies = [ - "spin", -] [[package]] name = "libc" @@ -3915,54 +2299,12 @@ version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" -[[package]] -name = "libgit2-sys" -version = "0.15.2+1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a80df2e11fb4a61f4ba2ab42dbe7f74468da143f1a75c74e11dee7c813f694fa" -dependencies = [ - "cc", - "libc", - "libz-sys", - "pkg-config", -] - [[package]] name = "libm" version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" -[[package]] -name = "libusb1-sys" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d0e2afce4245f2c9a418511e5af8718bcaf2fa408aefb259504d1a9cb25f27" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "libz-sys" -version = "1.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - [[package]] name = "linux-raw-sys" version = "0.4.5" @@ -3985,32 +2327,6 @@ version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" -[[package]] -name = "mac" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" - -[[package]] -name = "maplit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" - -[[package]] -name = "markup5ever" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016" -dependencies = [ - "log", - "phf 0.10.1", - "phf_codegen 0.10.0", - "string_cache", - "string_cache_codegen", - "tendril", -] - [[package]] name = "matchers" version = "0.1.0" @@ -4020,12 +2336,6 @@ dependencies = [ "regex-automata 0.1.10", ] -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - [[package]] name = "matchit" version = "0.7.2" @@ -4042,12 +2352,6 @@ dependencies = [ "rawpointer", ] -[[package]] -name = "maybe-uninit" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" - [[package]] name = "md-5" version = "0.9.1" @@ -4068,34 +2372,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "mdbook" -version = "0.4.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55eb7c4dad20cc5bc15181c2aaf43d5689d5c3e0b80b50cc4cf0b7fe72a26d9" -dependencies = [ - "ammonia", - "anyhow", - "chrono", - "clap", - "clap_complete", - "elasticlunr-rs", - "env_logger", - "handlebars", - "log", - "memchr", - "once_cell", - "opener", - "pulldown-cmark", - "regex", - "serde", - "serde_json", - "shlex", - "tempfile", - "toml 0.5.11", - "topological-sort", -] - [[package]] name = "memchr" version = "2.5.0" @@ -4111,15 +2387,6 @@ dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.9.0" @@ -4129,29 +2396,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "miette" -version = "5.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59bb584eaeeab6bd0226ccf3509a69d7936d148cf3d036ad350abe35e8c6856e" -dependencies = [ - "miette-derive", - "once_cell", - "thiserror", - "unicode-width", -] - -[[package]] -name = "miette-derive" -version = "5.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "mime" version = "0.3.17" @@ -4168,12 +2412,6 @@ dependencies = [ "unicase", ] -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - [[package]] name = "miniz_oxide" version = "0.7.1" @@ -4190,11 +2428,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" dependencies = [ "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "wasi", + "windows-sys", ] +[[package]] +name = "multimap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" + [[package]] name = "native-tls" version = "0.2.11" @@ -4228,123 +2471,26 @@ dependencies = [ ] [[package]] -name = "new_debug_unreachable" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" - -[[package]] -name = "nibble_vec" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a5d83df9f36fe23f0c3648c6bbb8b0298bb5f1939c8f2704431371f4b84d43" -dependencies = [ - "smallvec 1.11.0", -] - -[[package]] -name = "nix" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" -dependencies = [ - "bitflags 1.3.2", - "cfg-if", - "libc", - "memoffset 0.7.1", - "pin-utils", - "static_assertions", -] - -[[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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "normalize-path" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5438dd2b2ff4c6df6e1ce22d825ed2fa93ee2922235cc45186991717f0a892d" - -[[package]] -name = "normpath" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec60c60a693226186f5d6edf073232bfb6464ed97eb22cf3b01c1e8198fd97f5" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "notify" -version = "5.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "729f63e1ca555a43fe3efa4f3efdf4801c479da85b432242a7b726f353c88486" -dependencies = [ - "bitflags 1.3.2", - "crossbeam-channel", - "filetime", - "fsevent-sys", - "inotify", - "kqueue", - "libc", - "mio", - "walkdir", - "windows-sys 0.45.0", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - -[[package]] -name = "num" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" -dependencies = [ - "num-bigint 0.4.3", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", -] +name = "new_debug_unreachable" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" [[package]] -name = "num-bigint" -version = "0.3.3" +name = "nu-ansi-term" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6f7833f2cbf2360a6cfd58cd41a53aa7a90bd4c202f5b1c7dd2ed73c57b2c3" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" dependencies = [ - "autocfg", - "num-integer", - "num-traits", + "overload", + "winapi", ] [[package]] name = "num-bigint" -version = "0.4.3" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" +checksum = "5f6f7833f2cbf2360a6cfd58cd41a53aa7a90bd4c202f5b1c7dd2ed73c57b2c3" dependencies = [ "autocfg", "num-integer", @@ -4381,29 +2527,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" -dependencies = [ - "autocfg", - "num-bigint 0.4.3", - "num-integer", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.16" @@ -4411,7 +2534,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", - "libm", ] [[package]] @@ -4445,21 +2567,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "num_threads" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" -dependencies = [ - "libc", -] - -[[package]] -name = "number_prefix" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" - [[package]] name = "object" version = "0.31.1" @@ -4508,17 +2615,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "opener" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c62dcb6174f9cb326eac248f07e955d5d559c272730b6c03e396b443b562788" -dependencies = [ - "bstr", - "normpath", - "winapi", -] - [[package]] name = "openssl" version = "0.10.56" @@ -4569,27 +2665,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" -[[package]] -name = "ordered-float" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fc2dbde8f8a79f2102cc474ceb0ad68e3b80b85289ea62389b60e66777e4213" -dependencies = [ - "num-traits", -] - [[package]] name = "overload" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" -[[package]] -name = "owo-colors" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" - [[package]] name = "parity-scale-codec" version = "3.6.4" @@ -4635,8 +2716,8 @@ dependencies = [ "cfg-if", "libc", "redox_syscall 0.3.5", - "smallvec 1.11.0", - "windows-targets 0.48.1", + "smallvec", + "windows-targets", ] [[package]] @@ -4684,88 +2765,12 @@ dependencies = [ "hmac 0.12.1", ] -[[package]] -name = "pear" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a386cd715229d399604b50d1361683fe687066f42d56f54be995bc6868f71c" -dependencies = [ - "inlinable_string", - "pear_codegen", - "yansi 1.0.0-rc", -] - -[[package]] -name = "pear_codegen" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da9f0f13dac8069c139e8300a6510e3f4143ecf5259c60b116a9b271b4ca0d54" -dependencies = [ - "proc-macro2", - "proc-macro2-diagnostics", - "quote", - "syn 2.0.28", -] - -[[package]] -name = "pem" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" -dependencies = [ - "base64 0.13.1", -] - [[package]] name = "percent-encoding" version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" -[[package]] -name = "pest" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" -dependencies = [ - "thiserror", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666d00490d4ac815001da55838c500eafb0320019bbaa44444137c48b443a853" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68ca01446f50dbda87c1786af8770d535423fa8a53aec03b8f4e3d7eb10e0929" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn 2.0.28", -] - -[[package]] -name = "pest_meta" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56af0a30af74d0445c0bf6d9d051c979b516a1a5af790d251daee76005420a48" -dependencies = [ - "once_cell", - "pest", - "sha2 0.10.7", -] - [[package]] name = "petgraph" version = "0.6.3" @@ -4783,16 +2788,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" dependencies = [ "futures", - "rustc_version 0.4.0", -] - -[[package]] -name = "phf" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" -dependencies = [ - "phf_shared 0.10.0", + "rustc_version", ] [[package]] @@ -4805,36 +2801,6 @@ dependencies = [ "phf_shared 0.11.2", ] -[[package]] -name = "phf_codegen" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd" -dependencies = [ - "phf_generator 0.10.0", - "phf_shared 0.10.0", -] - -[[package]] -name = "phf_codegen" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" -dependencies = [ - "phf_generator 0.11.2", - "phf_shared 0.11.2", -] - -[[package]] -name = "phf_generator" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" -dependencies = [ - "phf_shared 0.10.0", - "rand", -] - [[package]] name = "phf_generator" version = "0.11.2" @@ -4851,7 +2817,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" dependencies = [ - "phf_generator 0.11.2", + "phf_generator", "phf_shared 0.11.2", "proc-macro2", "quote", @@ -4924,12 +2890,6 @@ version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" -[[package]] -name = "portable-atomic" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f32154ba0af3a075eefa1eda8bb414ee928f62303a54ea85b8d6638ff1a6ee9e" - [[package]] name = "ppv-lite86" version = "0.2.17" @@ -5010,86 +2970,68 @@ dependencies = [ ] [[package]] -name = "proc-macro2-diagnostics" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", - "version_check", - "yansi 1.0.0-rc", -] - -[[package]] -name = "project-origins" -version = "1.2.0" +name = "prost" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "629e0d57f265ca8238345cb616eea8847b8ecb86b5d97d155be2c8963a314379" +checksum = "aa8473a65b88506c106c28ae905ca4a2b83a2993640467a41bb3080627ddfd2c" dependencies = [ - "futures", - "tokio", - "tokio-stream", + "bytes", + "prost-derive", ] [[package]] -name = "proptest" -version = "1.2.0" +name = "prost-build" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e35c06b98bf36aba164cc17cb25f7e232f5c4aeea73baa14b8a9f0d92dbfa65" +checksum = "30d3e647e9eb04ddfef78dfee2d5b3fefdf94821c84b710a3d8ebc89ede8b164" dependencies = [ - "bit-set", - "bitflags 1.3.2", - "byteorder", - "lazy_static", - "num-traits", - "rand", - "rand_chacha", - "rand_xorshift", - "regex-syntax 0.6.29", - "rusty-fork", + "bytes", + "heck", + "itertools", + "log", + "multimap", + "once_cell", + "petgraph", + "prettyplease", + "prost", + "prost-types", + "regex", + "syn 2.0.28", "tempfile", - "unarray", + "which", ] [[package]] -name = "protobuf" -version = "3.2.0" +name = "prost-derive" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55bad9126f378a853655831eb7363b7b01b81d19f8cb1218861086ca4a1a61e" +checksum = "56075c27b20ae524d00f247b8a4dc333e5784f889fe63099f8e626bc8d73486c" dependencies = [ - "once_cell", - "protobuf-support", - "thiserror", + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn 2.0.28", ] [[package]] -name = "protobuf-support" -version = "3.2.0" +name = "prost-types" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5d4d7b8601c814cfb36bcebb79f0e61e45e1e93640cf778837833bbed05c372" +checksum = "cebe0a918c97f86c217b0f76fd754e966f8b9f41595095cf7d74cb4e59d730f6" dependencies = [ - "thiserror", + "prost", ] [[package]] -name = "pulldown-cmark" -version = "0.9.3" +name = "protobuf-src" +version = "1.1.0+21.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a1a2f1f0a7ecff9c31abbe177637be0e97a0aef46cf8738ece09327985d998" +checksum = "c7ac8852baeb3cc6fb83b93646fb93c0ffe5d14bf138c945ceb4b9948ee0e3c1" dependencies = [ - "bitflags 1.3.2", - "memchr", - "unicase", + "autotools", ] -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - [[package]] name = "quote" version = "1.0.32" @@ -5111,16 +3053,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "radix_trie" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c069c179fcdc6a2fe24d8d18305cf085fdbd4f922c041943e203685d6a1c58fd" -dependencies = [ - "endian-type", - "nibble_vec", -] - [[package]] name = "rand" version = "0.8.5" @@ -5151,15 +3083,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core", -] - [[package]] name = "rawpointer" version = "0.2.1" @@ -5288,7 +3211,6 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustls 0.21.6", - "rustls-native-certs", "rustls-pemfile", "serde", "serde_json", @@ -5301,75 +3223,10 @@ dependencies = [ "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams", - "web-sys", - "webpki-roots 0.22.6", - "winreg", -] - -[[package]] -name = "revm" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f293f351c4c203d321744e54ed7eed3d2b6eef4c140228910dde3ac9a5ea8031" -dependencies = [ - "auto_impl", - "revm-interpreter", - "revm-precompile", - "serde", - "serde_json", -] - -[[package]] -name = "revm-interpreter" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a53980a26f9b5a66d13511c35074d4b53631e157850a1d7cf1af4efc2c2b72c9" -dependencies = [ - "derive_more", - "enumn", - "revm-primitives", - "serde", - "sha3", -] - -[[package]] -name = "revm-precompile" -version = "2.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41320af3bd6a65153d38eb1d3638ba89104cc9513c7feedb2d8510e8307dab29" -dependencies = [ - "k256", - "num", - "once_cell", - "revm-primitives", - "ripemd", - "secp256k1", - "sha2 0.10.7", - "sha3", - "substrate-bn", -] - -[[package]] -name = "revm-primitives" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "304d998f466ffef72d76c7f20b05bf08a96801736a6fb1fdef47d49a292618df" -dependencies = [ - "auto_impl", - "bitvec 1.0.1", - "bytes", - "derive_more", - "enumn", - "fixed-hash", - "hashbrown 0.13.2", - "hex", - "hex-literal", - "primitive-types", - "rlp", - "ruint", - "serde", - "sha3", + "wasm-streams", + "web-sys", + "webpki-roots 0.22.6", + "winreg", ] [[package]] @@ -5409,7 +3266,7 @@ dependencies = [ [[package]] name = "risc0-binfmt" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "anyhow", "elf", @@ -5422,7 +3279,7 @@ dependencies = [ [[package]] name = "risc0-build" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "cargo_metadata 0.17.0", "risc0-binfmt", @@ -5435,7 +3292,7 @@ dependencies = [ [[package]] name = "risc0-build-kernel" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "cc", "directories", @@ -5448,7 +3305,7 @@ dependencies = [ [[package]] name = "risc0-circuit-rv32im" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "anyhow", "log", @@ -5465,7 +3322,7 @@ dependencies = [ [[package]] name = "risc0-circuit-rv32im-sys" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "glob", "risc0-build-kernel", @@ -5476,7 +3333,7 @@ dependencies = [ [[package]] name = "risc0-core" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "bytemuck", "rand_core", @@ -5485,7 +3342,7 @@ dependencies = [ [[package]] name = "risc0-sys" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "cc", "glob", @@ -5496,7 +3353,7 @@ dependencies = [ [[package]] name = "risc0-zkp" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "anyhow", "blake2", @@ -5522,13 +3379,14 @@ dependencies = [ [[package]] name = "risc0-zkvm" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" dependencies = [ "addr2line", "anyhow", "bincode", "bonsai-sdk", "bytemuck", + "bytes", "cfg-if", "crypto-bigint", "generic-array", @@ -5539,6 +3397,9 @@ dependencies = [ "log", "num-derive", "num-traits", + "prost", + "prost-build", + "protobuf-src", "rand", "rayon", "risc0-binfmt", @@ -5549,6 +3410,7 @@ dependencies = [ "rrs-lib", "serde", "sha2 0.10.7", + "tempfile", "thiserror", "tracing", "typetag", @@ -5557,7 +3419,7 @@ dependencies = [ [[package]] name = "risc0-zkvm-platform" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=release-0.17#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" [[package]] name = "rlp" @@ -5581,17 +3443,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "rpassword" -version = "7.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" -dependencies = [ - "libc", - "rtoolbox", - "winapi", -] - [[package]] name = "rrs-lib" version = "0.1.0" @@ -5602,55 +3453,6 @@ dependencies = [ "paste", ] -[[package]] -name = "rtoolbox" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "ruint" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95294d6e3a6192f3aabf91c38f56505a625aa495533442744185a36d75a790c4" -dependencies = [ - "alloy-rlp", - "ark-ff 0.3.0", - "ark-ff 0.4.2", - "bytes", - "fastrlp", - "num-bigint 0.4.3", - "parity-scale-codec", - "primitive-types", - "proptest", - "rand", - "rlp", - "ruint-macro", - "serde", - "valuable", - "zeroize", -] - -[[package]] -name = "ruint-macro" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e666a5496a0b2186dbcd0ff6106e29e093c15591bde62c20d3842007c6978a09" - -[[package]] -name = "rusb" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44a8c36914f9b1a3be712c1dfa48c9b397131f9a75707e570a391735f785c5d1" -dependencies = [ - "libc", - "libusb1-sys", -] - [[package]] name = "rusoto_core" version = "0.48.0" @@ -5669,7 +3471,7 @@ dependencies = [ "log", "rusoto_credential", "rusoto_signature", - "rustc_version 0.4.0", + "rustc_version", "serde", "serde_json", "tokio", @@ -5728,7 +3530,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rusoto_credential", - "rustc_version 0.4.0", + "rustc_version", "serde", "sha2 0.9.9", "tokio", @@ -5781,36 +3583,13 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" -[[package]] -name = "rustc_version" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" -dependencies = [ - "semver 0.11.0", -] - [[package]] name = "rustc_version" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.18", -] - -[[package]] -name = "rustix" -version = "0.37.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", + "semver", ] [[package]] @@ -5822,8 +3601,8 @@ dependencies = [ "bitflags 2.4.0", "errno", "libc", - "linux-raw-sys 0.4.5", - "windows-sys 0.48.0", + "linux-raw-sys", + "windows-sys", ] [[package]] @@ -5897,18 +3676,6 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error", - "tempfile", - "wait-timeout", -] - [[package]] name = "ruzstd" version = "0.3.1" @@ -5974,15 +3741,9 @@ version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "windows-sys 0.48.0", + "windows-sys", ] -[[package]] -name = "scoped-tls" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" - [[package]] name = "scopeguard" version = "1.2.0" @@ -6025,24 +3786,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "secp256k1" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f" -dependencies = [ - "secp256k1-sys", -] - -[[package]] -name = "secp256k1-sys" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a129b9e9efbfb223753b9163c4ab3b13cff7fd9c7f010fbac25ab4099fa07e" -dependencies = [ - "cc", -] - [[package]] name = "security-framework" version = "2.9.2" @@ -6066,15 +3809,6 @@ dependencies = [ "libc", ] -[[package]] -name = "semver" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" -dependencies = [ - "semver-parser", -] - [[package]] name = "semver" version = "1.0.18" @@ -6084,15 +3818,6 @@ dependencies = [ "serde", ] -[[package]] -name = "semver-parser" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" -dependencies = [ - "pest", -] - [[package]] name = "send_wrapper" version = "0.4.0" @@ -6114,17 +3839,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde-hex" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca37e3e4d1b39afd7ff11ee4e947efae85adfddf4841787bfa47c470e96dc26d" -dependencies = [ - "array-init", - "serde", - "smallvec 0.6.14", -] - [[package]] name = "serde_derive" version = "1.0.183" @@ -6142,7 +3856,6 @@ version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c" dependencies = [ - "indexmap 2.0.0", "itoa", "ryu", "serde", @@ -6158,16 +3871,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_regex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8136f1a4ea815d7eac4101cfd0b16dc0cb5e1fe1b8609dfd728058656b7badf" -dependencies = [ - "regex", - "serde", -] - [[package]] name = "serde_spanned" version = "0.6.3" @@ -6200,12 +3903,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "sha1_smol" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" - [[package]] name = "sha2" version = "0.9.9" @@ -6249,19 +3946,13 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "shell-words" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" - [[package]] name = "shellexpand" version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ccc8076840c4da029af4f87e4e8daeb0fca6b87bbb02e10cb60b791450e11e4" dependencies = [ - "dirs 4.0.0", + "dirs", ] [[package]] @@ -6270,27 +3961,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" -[[package]] -name = "signal-hook" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" -dependencies = [ - "libc", - "signal-hook-registry", -] - -[[package]] -name = "signal-hook-mio" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" -dependencies = [ - "libc", - "mio", - "signal-hook", -] - [[package]] name = "signal-hook-registry" version = "1.4.1" @@ -6310,24 +3980,6 @@ dependencies = [ "rand_core", ] -[[package]] -name = "similar" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf" - -[[package]] -name = "simple_asn1" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" -dependencies = [ - "num-bigint 0.4.3", - "num-traits", - "thiserror", - "time 0.3.25", -] - [[package]] name = "siphasher" version = "0.3.10" @@ -6343,30 +3995,12 @@ dependencies = [ "autocfg", ] -[[package]] -name = "smallvec" -version = "0.6.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" -dependencies = [ - "maybe-uninit", -] - [[package]] name = "smallvec" version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" -[[package]] -name = "smol_str" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74212e6bbe9a4352329b2f68ba3130c15a3f26fe88ff22dbdc6cdd58fa85e99c" -dependencies = [ - "serde", -] - [[package]] name = "snafu" version = "0.7.5" @@ -6406,7 +4040,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys", ] [[package]] @@ -6418,7 +4052,7 @@ dependencies = [ "itertools", "lalrpop", "lalrpop-util", - "phf 0.11.2", + "phf", "thiserror", "unicode-xid", ] @@ -6462,19 +4096,6 @@ dependencies = [ "parking_lot", "phf_shared 0.10.0", "precomputed-hash", - "serde", -] - -[[package]] -name = "string_cache_codegen" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988" -dependencies = [ - "phf_generator 0.10.0", - "phf_shared 0.10.0", - "proc-macro2", - "quote", ] [[package]] @@ -6483,32 +4104,13 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" -[[package]] -name = "strum" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" - [[package]] name = "strum" version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" dependencies = [ - "strum_macros 0.25.2", -] - -[[package]] -name = "strum_macros" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", + "strum_macros", ] [[package]] @@ -6524,19 +4126,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "substrate-bn" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b5bbfa79abbae15dd642ea8176a21a635ff3c00059961d1ea27ad04e5b441c" -dependencies = [ - "byteorder", - "crunchy", - "lazy_static", - "rand", - "rustc-hex", -] - [[package]] name = "subtle" version = "2.4.1" @@ -6554,27 +4143,7 @@ dependencies = [ "home", "once_cell", "reqwest", - "semver 1.0.18", - "serde", - "serde_json", - "sha2 0.10.7", - "thiserror", - "url", - "zip", -] - -[[package]] -name = "svm-rs" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597e3a746727984cb7ea2487b6a40726cad0dbe86628e7d429aa6b8c4c153db4" -dependencies = [ - "dirs 5.0.1", - "fs2", - "hex", - "once_cell", - "reqwest", - "semver 1.0.18", + "semver", "serde", "serde_json", "sha2 0.10.7", @@ -6583,19 +4152,6 @@ dependencies = [ "zip", ] -[[package]] -name = "svm-rs-builds" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2271abd7d01895a3e5bfa4b578e32f09155002ce1ec239532e297f82aafad06b" -dependencies = [ - "build_const", - "hex", - "semver 1.0.18", - "serde_json", - "svm-rs 0.3.0", -] - [[package]] name = "syn" version = "1.0.109" @@ -6628,73 +4184,30 @@ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" name = "tap" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "tempfile" -version = "3.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc02fddf48964c42031a0b3fe0428320ecf3a73c401040fc0096f97794310651" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall 0.3.5", - "rustix 0.38.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "tendril" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" -dependencies = [ - "futf", - "mac", - "utf-8", -] - -[[package]] -name = "term" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" -dependencies = [ - "dirs-next", - "rustversion", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] -name = "terminal_size" -version = "0.2.6" +name = "tempfile" +version = "3.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" +checksum = "dc02fddf48964c42031a0b3fe0428320ecf3a73c401040fc0096f97794310651" dependencies = [ - "rustix 0.37.23", - "windows-sys 0.48.0", + "cfg-if", + "fastrand", + "redox_syscall 0.3.5", + "rustix", + "windows-sys", ] [[package]] -name = "terminfo" -version = "0.8.0" +name = "term" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666cd3a6681775d22b200409aad3b089c5b99fb11ecdd8a204d9d62f8148498f" +checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" dependencies = [ - "dirs 4.0.0", - "fnv", - "nom", - "phf 0.11.2", - "phf_codegen 0.11.2", + "dirs-next", + "rustversion", + "winapi", ] [[package]] @@ -6727,17 +4240,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - [[package]] name = "time" version = "0.3.25" @@ -6745,12 +4247,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea" dependencies = [ "deranged", - "itoa", - "libc", - "num_threads", "serde", "time-core", - "time-macros", ] [[package]] @@ -6759,15 +4257,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" -[[package]] -name = "time-macros" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd" -dependencies = [ - "time-core", -] - [[package]] name = "tiny-keccak" version = "2.0.2" @@ -6808,7 +4297,7 @@ dependencies = [ "signal-hook-registry", "socket2 0.5.3", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys", ] [[package]] @@ -6864,18 +4353,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "tokio-tungstenite" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" -dependencies = [ - "futures-util", - "log", - "tokio", - "tungstenite 0.18.0", -] - [[package]] name = "tokio-tungstenite" version = "0.19.0" @@ -6887,7 +4364,7 @@ dependencies = [ "rustls 0.21.6", "tokio", "tokio-rustls 0.24.1", - "tungstenite 0.19.0", + "tungstenite", "webpki-roots 0.23.1", ] @@ -6905,22 +4382,12 @@ dependencies = [ "tracing", ] -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" dependencies = [ - "indexmap 2.0.0", "serde", "serde_spanned", "toml_datetime", @@ -6949,12 +4416,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "topological-sort" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea68304e134ecd095ac6c3574494fc62b909f416c4fca77e440530221e549d3d" - [[package]] name = "tower" version = "0.4.13" @@ -7036,16 +4497,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-error" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" -dependencies = [ - "tracing", - "tracing-subscriber", -] - [[package]] name = "tracing-futures" version = "0.2.5" @@ -7090,7 +4541,7 @@ dependencies = [ "serde", "serde_json", "sharded-slab", - "smallvec 1.11.0", + "smallvec", "thread_local", "tracing", "tracing-core", @@ -7098,59 +4549,12 @@ dependencies = [ "tracing-serde", ] -[[package]] -name = "trezor-client" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cddb76a030b141d9639470eca2a236f3057a651bba78227cfa77830037a8286" -dependencies = [ - "byteorder", - "hex", - "primitive-types", - "protobuf", - "rusb", - "thiserror", - "tracing", -] - [[package]] name = "try-lock" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" -[[package]] -name = "tui" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1" -dependencies = [ - "bitflags 1.3.2", - "cassowary", - "crossterm 0.25.0", - "unicode-segmentation", - "unicode-width", -] - -[[package]] -name = "tungstenite" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" -dependencies = [ - "base64 0.13.1", - "byteorder", - "bytes", - "http", - "httparse", - "log", - "rand", - "sha1", - "thiserror", - "url", - "utf-8", -] - [[package]] name = "tungstenite" version = "0.19.0" @@ -7223,27 +4627,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "ucd-trie" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" - -[[package]] -name = "ui" -version = "0.2.0" -source = "git+https://github.com/foundry-rs/foundry.git?rev=8e365beee278975720ecd3eb529b5dd6d17cac3b#8e365beee278975720ecd3eb529b5dd6d17cac3b" -dependencies = [ - "crossterm 0.26.1", - "ethers 2.0.8 (git+https://github.com/gakonst/ethers-rs)", - "eyre", - "forge", - "foundry-common", - "hex", - "revm", - "tui", -] - [[package]] name = "uint" version = "0.9.5" @@ -7256,21 +4639,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "uncased" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b9bc53168a4be7402ab86c3aad243a84dd7381d09be0eddc81280c1da95ca68" -dependencies = [ - "version_check", -] - [[package]] name = "unicase" version = "2.6.0" @@ -7286,12 +4654,6 @@ version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" -[[package]] -name = "unicode-bom" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98e90c70c9f0d4d1ee6d0a7d04aa06cb9bbd53d8cfbdd62a0269a7c2eb640552" - [[package]] name = "unicode-ident" version = "1.0.11" @@ -7307,18 +4669,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-segmentation" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - [[package]] name = "unicode-xid" version = "0.2.4" @@ -7470,33 +4820,12 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" -[[package]] -name = "vergen" -version = "8.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbc5ad0d9d26b2c49a5ab7da76c3e79d3ee37e7821799f8223fcb8f2f391a2e7" -dependencies = [ - "anyhow", - "git2", - "rustversion", - "time 0.3.25", -] - [[package]] name = "version_check" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - [[package]] name = "walkdir" version = "2.3.3" @@ -7516,42 +4845,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "warp" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba431ef570df1287f7f8b07e376491ad54f84d26ac473489427231e1718e1f69" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "headers", - "http", - "hyper", - "log", - "mime", - "mime_guess", - "percent-encoding", - "pin-project", - "rustls-pemfile", - "scoped-tls", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-stream", - "tokio-tungstenite 0.18.0", - "tokio-util", - "tower-service", - "tracing", -] - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -7637,54 +4930,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "watchexec" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b97d05a9305a9aa6a7bedef64cd012ebc9b6f1f5ed0368fb48f0fe58f96988" -dependencies = [ - "async-priority-channel", - "async-recursion", - "atomic-take", - "clearscreen", - "command-group", - "futures", - "ignore-files", - "miette", - "nix", - "normalize-path", - "notify", - "once_cell", - "project-origins", - "thiserror", - "tokio", - "tracing", - "watchexec-events", - "watchexec-signals", -] - -[[package]] -name = "watchexec-events" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01603bbe02fd75918f010dadad456d47eda14fb8fdcab276b0b4b8362f142ae3" -dependencies = [ - "nix", - "notify", - "watchexec-signals", -] - -[[package]] -name = "watchexec-signals" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2a5df96c388901c94ca04055fcd51d4196ca3e971c5e805bd4a4b61dd6a7e5" -dependencies = [ - "miette", - "nix", - "thiserror", -] - [[package]] name = "web-sys" version = "0.3.64" @@ -7771,16 +5016,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets 0.48.1", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", + "windows-targets", ] [[package]] @@ -7789,22 +5025,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.1", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", + "windows-targets", ] [[package]] @@ -7813,93 +5034,51 @@ version = "0.48.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - [[package]] name = "windows_aarch64_msvc" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - [[package]] name = "windows_i686_gnu" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - [[package]] name = "windows_i686_msvc" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - [[package]] name = "windows_x86_64_gnu" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - [[package]] name = "windows_x86_64_gnullvm" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - [[package]] name = "windows_x86_64_msvc" version = "0.48.0" @@ -7935,7 +5114,7 @@ dependencies = [ "js-sys", "log", "pharos", - "rustc_version 0.4.0", + "rustc_version", "send_wrapper 0.6.0", "thiserror", "wasm-bindgen", @@ -7964,31 +5143,11 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" -[[package]] -name = "yansi" -version = "1.0.0-rc" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ee746ad3851dd3bc40e4a028ab3b00b99278d929e48957bcb2d111874a7e43e" - [[package]] name = "zeroize" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] [[package]] name = "zip" @@ -8006,7 +5165,7 @@ dependencies = [ "hmac 0.12.1", "pbkdf2 0.11.0", "sha1", - "time 0.3.25", + "time", "zstd", ] diff --git a/Cargo.toml b/Cargo.toml index b2f261cc..689ca980 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,10 +2,10 @@ members = ["methods", "relay"] [workspace.dependencies] -risc0-build = { git = "https://github.com/risc0/risc0", branch = "release-0.17" } -risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "release-0.17", default-features = false } -bonsai-sdk = { git = "https://github.com/risc0/risc0", branch = "release-0.17" } -bonsai-ethereum-relay = { git = "https://github.com/risc0/risc0", branch = "release-0.17" } +risc0-build = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types" } +risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types", default-features = false } +bonsai-sdk = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types" } +bonsai-ethereum-relay = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types" } methods = { path = "./methods", package = "bonsai-starter-methods" } # Always optimize; building and running the guest takes much longer without optimization. diff --git a/lib/risc0 b/lib/risc0 index 7e58b97c..b924c7d8 160000 --- a/lib/risc0 +++ b/lib/risc0 @@ -1 +1 @@ -Subproject commit 7e58b97cb1c531fe55e09da7a5a53dcb2ea9470f +Subproject commit b924c7d811346e303d80d4d19c2fb3078e98d5d5 diff --git a/relay/Cargo.toml b/relay/Cargo.toml index 50ac2a33..d081a5c9 100644 --- a/relay/Cargo.toml +++ b/relay/Cargo.toml @@ -2,7 +2,6 @@ name = "bonsai-ethereum-relay-cli" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -11,7 +10,7 @@ bincode = "1.3" bonsai-ethereum-relay = { workspace = true } bonsai-sdk = { workspace = true, features = ["async"] } bytemuck = "1.13.1" -clap = { version = "4.3", features = ["derive", "env"] } +clap = { version = "4.4", features = ["derive", "env"] } ethers = { version = "2.0", features = ["rustls", "ws"] } ethers-signers = { version = "2.0", features = ["aws"] } hex = "0.4.3" diff --git a/relay/src/lib.rs b/relay/src/lib.rs index 58579405..c880d794 100644 --- a/relay/src/lib.rs +++ b/relay/src/lib.rs @@ -15,22 +15,14 @@ use std::time::Duration; use anyhow::{anyhow, bail, Context, Result}; -use bonsai_sdk::alpha::{responses::SnarkProof, Client, SdkErr}; +use bonsai_sdk::alpha::{responses::SnarkProof, Client}; use risc0_build::GuestListEntry; -use risc0_zkvm::{ - Executor, ExecutorEnv, MemoryImage, Program, Receipt, ReceiptMetadata, MEM_SIZE, PAGE_SIZE, -}; +use risc0_zkvm::{Executor, ExecutorEnv, MemoryImage, Program, Receipt, MEM_SIZE, PAGE_SIZE}; /// Result of executing a guest image, possibly containing a proof. pub enum Output { - Execution { - journal: Vec, - }, - Bonsai { - journal: Vec, - receipt_metadata: ReceiptMetadata, - snark_proof: SnarkProof, - }, + Execution { journal: Vec }, + Bonsai { snark_proof: SnarkProof }, } /// Execute and prove the guest locally, on this machine, as opposed to sending @@ -64,12 +56,7 @@ pub fn prove_alpha(elf: &[u8], input: Vec) -> Result { let client = Client::from_env().context("Failed to create client from env var")?; let img_id = get_digest(elf).context("Failed to generate elf memory image")?; - - match client.upload_img(&img_id, elf.to_vec()) { - Ok(()) => (), - Err(SdkErr::ImageIdExists) => (), - Err(err) => return Err(err.into()), - } + client.upload_img(&img_id, elf.to_vec())?; let input_id = client .upload_input(input) @@ -80,7 +67,7 @@ pub fn prove_alpha(elf: &[u8], input: Vec) -> Result { .context("Failed to create remote proving session")?; // Poll and await the result of the STARK rollup proving session. - let receipt: Receipt = (|| { + let _receipt: Receipt = (|| { loop { let res = match session.status(&client) { Ok(res) => res, @@ -115,7 +102,6 @@ pub fn prove_alpha(elf: &[u8], input: Vec) -> Result { } } })()?; - let metadata = receipt.get_metadata()?; let snark_session = client.create_snark(session.uuid)?; let snark_proof: SnarkProof = (|| loop { @@ -139,11 +125,7 @@ pub fn prove_alpha(elf: &[u8], input: Vec) -> Result { } })()?; - Ok(Output::Bonsai { - journal: receipt.journal, - receipt_metadata: metadata, - snark_proof, - }) + Ok(Output::Bonsai { snark_proof }) } pub fn resolve_guest_entry<'a>( diff --git a/relay/src/main.rs b/relay/src/main.rs index 670d99ab..f33e1c0d 100644 --- a/relay/src/main.rs +++ b/relay/src/main.rs @@ -15,16 +15,13 @@ use std::io::Write; use anyhow::Context; -use bonsai_ethereum_relay::{EthersClientConfig, Relayer}; +use bonsai_ethereum_relay::{tokenize_snark_proof, EthersClientConfig, Relayer}; use bonsai_ethereum_relay_cli::{resolve_guest_entry, resolve_image_output, Output}; -use bonsai_sdk::{ - alpha::{responses::SnarkProof, SdkErr}, - alpha_async::{get_client_from_parts, put_image}, -}; +use bonsai_sdk::alpha_async::{get_client_from_parts, upload_img}; use clap::{Args, Parser, Subcommand}; use ethers::{ abi::{Hash, Token, Tokenizable}, - types::{Address, U256}, + types::Address, }; use methods::GUEST_LIST; use risc0_zkvm::sha::Digest; @@ -103,35 +100,6 @@ pub struct App { command: Command, } -/// Parse a slice of strings as a fixed array of uint256 tokens. -fn parse_to_tokens(slice: &[String]) -> anyhow::Result { - Ok(Token::FixedArray( - slice - .iter() - .map(|s| -> anyhow::Result<_> { Ok(U256::from_str_radix(s, 16)?.into_token()) }) - .collect::, _>>()?, - )) -} - -fn tokenize_snark_proof(proof: &SnarkProof) -> anyhow::Result { - if proof.b.len() != 2 { - anyhow::bail!("hex-strings encoded proof is not well formed"); - } - for pair in [&proof.a, &proof.c].into_iter().chain(proof.b.iter()) { - if pair.len() != 2 { - anyhow::bail!("hex-strings encoded proof is not well formed"); - } - } - Ok(Token::FixedArray(vec![ - parse_to_tokens(&proof.a)?, - Token::FixedArray(vec![ - parse_to_tokens(&proof.b[0])?, - parse_to_tokens(&proof.b[1])?, - ]), - parse_to_tokens(&proof.c)?, - ])) -} - #[tokio::main] async fn main() -> anyhow::Result<()> { let args = App::parse(); @@ -157,20 +125,12 @@ async fn main() -> anyhow::Result<()> { (true, Output::Execution { journal }) => { vec![Token::Bytes(journal)] } - ( - false, - Output::Bonsai { - journal, - receipt_metadata, - snark_proof, - }, - ) => { + (false, Output::Bonsai { snark_proof }) => { vec![ - Token::Bytes(journal), - Hash::from(<[u8; 32]>::from(receipt_metadata.post.digest())) - .into_token(), + Token::Bytes(snark_proof.journal), + Token::Bytes(snark_proof.post_state_digest), Token::Bytes(ethers::abi::encode(&[tokenize_snark_proof( - &snark_proof, + &snark_proof.snark, )?])), ] } @@ -220,14 +180,19 @@ async fn main() -> anyhow::Result<()> { } => { let relayer = Relayer { rest_api: true, - dev_mode: dev_mode, + dev_mode, rest_api_port: "8080".to_string(), bonsai_api_url: args.global_opts.bonsai_api_url.clone(), bonsai_api_key: args.global_opts.bonsai_api_key.clone(), relay_contract_address: relay_address, }; - let client_config = - EthersClientConfig::new(eth_node, eth_chain_id, private_key.try_into()?); + let client_config = EthersClientConfig::new( + eth_node, + eth_chain_id, + private_key.try_into()?, + 1, + std::time::Duration::from_secs(10), + ); let server_handle = tokio::spawn(relayer.run(client_config)); // HACK: Wait 1 second to give local Bonsai a chance to start. @@ -257,8 +222,8 @@ async fn upload_images( ) -> anyhow::Result> { // Create a list of either the single binary name to upload or all guests. let guest_entries = guest_binary.map_or_else( - || Ok::<_, anyhow::Error>(GUEST_LIST.iter().cloned().collect::>()), - |name| Ok(vec![resolve_guest_entry(&GUEST_LIST, &name)?]), + || Ok::<_, anyhow::Error>(GUEST_LIST.to_vec()), + |name| Ok(vec![resolve_guest_entry(GUEST_LIST, &name)?]), )?; // Upload each guest binary. @@ -274,16 +239,12 @@ async fn upload_images( get_client_from_parts(bonsai_api_url.to_string(), bonsai_api_key.to_string()).await?; let img_id = image_id.clone(); - match put_image( + upload_img( bonsai_client.clone(), img_id.clone(), guest_entry.elf.to_vec(), ) - .await - { - Ok(()) | Err(SdkErr::ImageIdExists) => Ok::<_, anyhow::Error>(()), - Err(err) => Err(err.into()), - }?; + .await?; image_ids.push(guest_entry.image_id.into()); } diff --git a/rust-toolchain.toml b/rust-toolchain.toml index bcfc7fa3..c97c79fe 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,2 @@ [toolchain] -channel = "nightly-2023-03-06" -components = [ "rustfmt", "rust-src" ] -profile = "minimal" +channel = "1.72" \ No newline at end of file From 3c57c9b631134adcd0b6e128dcd38af132a1d413 Mon Sep 17 00:00:00 2001 From: Parker Thompson Date: Tue, 12 Sep 2023 13:11:56 -0700 Subject: [PATCH 2/7] Fixed post_state_digest bytes --- relay/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/src/main.rs b/relay/src/main.rs index f33e1c0d..02d8f197 100644 --- a/relay/src/main.rs +++ b/relay/src/main.rs @@ -128,7 +128,7 @@ async fn main() -> anyhow::Result<()> { (false, Output::Bonsai { snark_proof }) => { vec![ Token::Bytes(snark_proof.journal), - Token::Bytes(snark_proof.post_state_digest), + Token::FixedBytes(snark_proof.post_state_digest), Token::Bytes(ethers::abi::encode(&[tokenize_snark_proof( &snark_proof.snark, )?])), From b559e8fb232033db1b031781a8c185db6d8f41ac Mon Sep 17 00:00:00 2001 From: Parker Thompson Date: Tue, 12 Sep 2023 13:43:13 -0700 Subject: [PATCH 3/7] Updated to risc0 head - working e2e --- Cargo.lock | 28 ++++++++++++++-------------- lib/risc0 | 2 +- relay/src/lib.rs | 6 +++--- relay/src/main.rs | 4 ++-- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ab9d8be5..69c52731 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -406,7 +406,7 @@ dependencies = [ [[package]] name = "bonsai-ethereum-contracts" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "anyhow", "ethers", @@ -415,7 +415,7 @@ dependencies = [ [[package]] name = "bonsai-ethereum-relay" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "anyhow", "async-trait", @@ -474,7 +474,7 @@ dependencies = [ [[package]] name = "bonsai-rest-api-mock" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "anyhow", "axum", @@ -498,7 +498,7 @@ dependencies = [ [[package]] name = "bonsai-sdk" version = "0.3.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "reqwest", "serde", @@ -3266,7 +3266,7 @@ dependencies = [ [[package]] name = "risc0-binfmt" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "anyhow", "elf", @@ -3279,7 +3279,7 @@ dependencies = [ [[package]] name = "risc0-build" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "cargo_metadata 0.17.0", "risc0-binfmt", @@ -3292,7 +3292,7 @@ dependencies = [ [[package]] name = "risc0-build-kernel" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "cc", "directories", @@ -3305,7 +3305,7 @@ dependencies = [ [[package]] name = "risc0-circuit-rv32im" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "anyhow", "log", @@ -3322,7 +3322,7 @@ dependencies = [ [[package]] name = "risc0-circuit-rv32im-sys" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "glob", "risc0-build-kernel", @@ -3333,7 +3333,7 @@ dependencies = [ [[package]] name = "risc0-core" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "bytemuck", "rand_core", @@ -3342,7 +3342,7 @@ dependencies = [ [[package]] name = "risc0-sys" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "cc", "glob", @@ -3353,7 +3353,7 @@ dependencies = [ [[package]] name = "risc0-zkp" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "anyhow", "blake2", @@ -3379,7 +3379,7 @@ dependencies = [ [[package]] name = "risc0-zkvm" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" dependencies = [ "addr2line", "anyhow", @@ -3419,7 +3419,7 @@ dependencies = [ [[package]] name = "risc0-zkvm-platform" version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#c290279341fb11e15fd714d8e00812d101719b93" +source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" [[package]] name = "rlp" diff --git a/lib/risc0 b/lib/risc0 index b924c7d8..7b507d0b 160000 --- a/lib/risc0 +++ b/lib/risc0 @@ -1 +1 @@ -Subproject commit b924c7d811346e303d80d4d19c2fb3078e98d5d5 +Subproject commit 7b507d0b3c27ae718908de1465300b5aa8177d4b diff --git a/relay/src/lib.rs b/relay/src/lib.rs index c880d794..4104e140 100644 --- a/relay/src/lib.rs +++ b/relay/src/lib.rs @@ -15,14 +15,14 @@ use std::time::Duration; use anyhow::{anyhow, bail, Context, Result}; -use bonsai_sdk::alpha::{responses::SnarkProof, Client}; +use bonsai_sdk::alpha::{responses::SnarkReceipt, Client}; use risc0_build::GuestListEntry; use risc0_zkvm::{Executor, ExecutorEnv, MemoryImage, Program, Receipt, MEM_SIZE, PAGE_SIZE}; /// Result of executing a guest image, possibly containing a proof. pub enum Output { Execution { journal: Vec }, - Bonsai { snark_proof: SnarkProof }, + Bonsai { snark_proof: SnarkReceipt }, } /// Execute and prove the guest locally, on this machine, as opposed to sending @@ -104,7 +104,7 @@ pub fn prove_alpha(elf: &[u8], input: Vec) -> Result { })()?; let snark_session = client.create_snark(session.uuid)?; - let snark_proof: SnarkProof = (|| loop { + let snark_proof: SnarkReceipt = (|| loop { let res = snark_session.status(&client)?; match res.status.as_str() { "RUNNING" => { diff --git a/relay/src/main.rs b/relay/src/main.rs index 02d8f197..bcd4c5e7 100644 --- a/relay/src/main.rs +++ b/relay/src/main.rs @@ -15,7 +15,7 @@ use std::io::Write; use anyhow::Context; -use bonsai_ethereum_relay::{tokenize_snark_proof, EthersClientConfig, Relayer}; +use bonsai_ethereum_relay::{tokenize_snark_receipt, EthersClientConfig, Relayer}; use bonsai_ethereum_relay_cli::{resolve_guest_entry, resolve_image_output, Output}; use bonsai_sdk::alpha_async::{get_client_from_parts, upload_img}; use clap::{Args, Parser, Subcommand}; @@ -129,7 +129,7 @@ async fn main() -> anyhow::Result<()> { vec![ Token::Bytes(snark_proof.journal), Token::FixedBytes(snark_proof.post_state_digest), - Token::Bytes(ethers::abi::encode(&[tokenize_snark_proof( + Token::Bytes(ethers::abi::encode(&[tokenize_snark_receipt( &snark_proof.snark, )?])), ] From f759b6f774e57b618a53dcfc8c9fcdb5de30cb77 Mon Sep 17 00:00:00 2001 From: Parker Thompson Date: Wed, 13 Sep 2023 15:27:45 -0700 Subject: [PATCH 4/7] added rustfmt to toolchain spec --- rust-toolchain.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index c97c79fe..07e01793 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] -channel = "1.72" \ No newline at end of file +channel = "1.72" +components = [ "rustfmt" ] \ No newline at end of file From 7ba6cb4ab87ab9ef8f758a5eee457508859e191f Mon Sep 17 00:00:00 2001 From: Parker Thompson Date: Wed, 13 Sep 2023 15:29:26 -0700 Subject: [PATCH 5/7] Fixed clippy warning and snark_proof var name --- relay/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/relay/src/main.rs b/relay/src/main.rs index bcd4c5e7..94f7e47b 100644 --- a/relay/src/main.rs +++ b/relay/src/main.rs @@ -27,8 +27,7 @@ use methods::GUEST_LIST; use risc0_zkvm::sha::Digest; /// Index 0 private key generated by default in Anvil. -const ANVIL_DEFAULT_KEY: &'static str = - "ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"; +const ANVIL_DEFAULT_KEY: &str = "ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"; #[derive(Subcommand)] enum Command { From ce7ce12348455a8d3a0512d60432c06eebb39a11 Mon Sep 17 00:00:00 2001 From: Parker Thompson Date: Wed, 13 Sep 2023 15:50:57 -0700 Subject: [PATCH 6/7] Fixed snark_proof -> snark_receipt --- relay/src/lib.rs | 6 +++--- relay/src/main.rs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/relay/src/lib.rs b/relay/src/lib.rs index 4104e140..333011da 100644 --- a/relay/src/lib.rs +++ b/relay/src/lib.rs @@ -22,7 +22,7 @@ use risc0_zkvm::{Executor, ExecutorEnv, MemoryImage, Program, Receipt, MEM_SIZE, /// Result of executing a guest image, possibly containing a proof. pub enum Output { Execution { journal: Vec }, - Bonsai { snark_proof: SnarkReceipt }, + Bonsai { snark_receipt: SnarkReceipt }, } /// Execute and prove the guest locally, on this machine, as opposed to sending @@ -104,7 +104,7 @@ pub fn prove_alpha(elf: &[u8], input: Vec) -> Result { })()?; let snark_session = client.create_snark(session.uuid)?; - let snark_proof: SnarkReceipt = (|| loop { + let snark_receipt: SnarkReceipt = (|| loop { let res = snark_session.status(&client)?; match res.status.as_str() { "RUNNING" => { @@ -125,7 +125,7 @@ pub fn prove_alpha(elf: &[u8], input: Vec) -> Result { } })()?; - Ok(Output::Bonsai { snark_proof }) + Ok(Output::Bonsai { snark_receipt }) } pub fn resolve_guest_entry<'a>( diff --git a/relay/src/main.rs b/relay/src/main.rs index 94f7e47b..56597316 100644 --- a/relay/src/main.rs +++ b/relay/src/main.rs @@ -124,12 +124,12 @@ async fn main() -> anyhow::Result<()> { (true, Output::Execution { journal }) => { vec![Token::Bytes(journal)] } - (false, Output::Bonsai { snark_proof }) => { + (false, Output::Bonsai { snark_receipt }) => { vec![ - Token::Bytes(snark_proof.journal), - Token::FixedBytes(snark_proof.post_state_digest), + Token::Bytes(snark_receipt.journal), + Token::FixedBytes(snark_receipt.post_state_digest), Token::Bytes(ethers::abi::encode(&[tokenize_snark_receipt( - &snark_proof.snark, + &snark_receipt.snark, )?])), ] } From 335861a5d667aa7d56184cde99eb0b303114dd07 Mon Sep 17 00:00:00 2001 From: Parker Thompson Date: Wed, 13 Sep 2023 19:01:21 -0700 Subject: [PATCH 7/7] Update to 'release-0.18' branch --- Cargo.lock | 50 +++++------ Cargo.toml | 9 +- methods/guest/Cargo.lock | 180 ++++++++++++++++++++++++++++++++++++--- methods/guest/Cargo.toml | 2 +- 4 files changed, 199 insertions(+), 42 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 69c52731..06b4d94c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -406,7 +406,7 @@ dependencies = [ [[package]] name = "bonsai-ethereum-contracts" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "ethers", @@ -415,7 +415,7 @@ dependencies = [ [[package]] name = "bonsai-ethereum-relay" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "async-trait", @@ -474,7 +474,7 @@ dependencies = [ [[package]] name = "bonsai-rest-api-mock" version = "0.1.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "axum", @@ -497,8 +497,8 @@ dependencies = [ [[package]] name = "bonsai-sdk" -version = "0.3.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.4.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "reqwest", "serde", @@ -3265,8 +3265,8 @@ dependencies = [ [[package]] name = "risc0-binfmt" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "elf", @@ -3278,8 +3278,8 @@ dependencies = [ [[package]] name = "risc0-build" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "cargo_metadata 0.17.0", "risc0-binfmt", @@ -3291,8 +3291,8 @@ dependencies = [ [[package]] name = "risc0-build-kernel" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "cc", "directories", @@ -3304,8 +3304,8 @@ dependencies = [ [[package]] name = "risc0-circuit-rv32im" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "log", @@ -3321,8 +3321,8 @@ dependencies = [ [[package]] name = "risc0-circuit-rv32im-sys" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "glob", "risc0-build-kernel", @@ -3332,8 +3332,8 @@ dependencies = [ [[package]] name = "risc0-core" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "bytemuck", "rand_core", @@ -3341,8 +3341,8 @@ dependencies = [ [[package]] name = "risc0-sys" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "cc", "glob", @@ -3352,8 +3352,8 @@ dependencies = [ [[package]] name = "risc0-zkp" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "blake2", @@ -3378,8 +3378,8 @@ dependencies = [ [[package]] name = "risc0-zkvm" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "addr2line", "anyhow", @@ -3418,8 +3418,8 @@ dependencies = [ [[package]] name = "risc0-zkvm-platform" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?branch=parker/bonsai-snark-types#9b6c5ab24a91d1a3f492250799e71717cff4f8b4" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" [[package]] name = "rlp" diff --git a/Cargo.toml b/Cargo.toml index 689ca980..4a10035d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,12 @@ [workspace] members = ["methods", "relay"] +resolver = "2" [workspace.dependencies] -risc0-build = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types" } -risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types", default-features = false } -bonsai-sdk = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types" } -bonsai-ethereum-relay = { git = "https://github.com/risc0/risc0", branch = "parker/bonsai-snark-types" } +risc0-build = { git = "https://github.com/risc0/risc0", branch = "release-0.18" } +risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "release-0.18", default-features = false } +bonsai-sdk = { git = "https://github.com/risc0/risc0", branch = "release-0.18" } +bonsai-ethereum-relay = { git = "https://github.com/risc0/risc0", branch = "release-0.18" } methods = { path = "./methods", package = "bonsai-starter-methods" } # Always optimize; building and running the guest takes much longer without optimization. diff --git a/methods/guest/Cargo.lock b/methods/guest/Cargo.lock index 8d6d9b4f..2f5fb533 100644 --- a/methods/guest/Cargo.lock +++ b/methods/guest/Cargo.lock @@ -14,6 +14,18 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" + [[package]] name = "blake2" version = "0.10.6" @@ -67,6 +79,15 @@ version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +[[package]] +name = "cc" +version = "1.0.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +dependencies = [ + "libc", +] + [[package]] name = "cfg-if" version = "1.0.0" @@ -122,6 +143,27 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2b183d6ce6ca4cf30e3db37abf5b52568b5f9015c97d9fbdd7026aa5dcdd758" +[[package]] +name = "errno" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" +dependencies = [ + "errno-dragonfly", + "libc", + "windows-sys", +] + +[[package]] +name = "errno-dragonfly" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "ethabi" version = "18.0.0" @@ -144,6 +186,12 @@ dependencies = [ "uint", ] +[[package]] +name = "fastrand" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" + [[package]] name = "fixed-hash" version = "0.8.0" @@ -203,6 +251,12 @@ version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +[[package]] +name = "linux-raw-sys" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128" + [[package]] name = "log" version = "0.4.20" @@ -280,10 +334,19 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +[[package]] +name = "redox_syscall" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +dependencies = [ + "bitflags 1.3.2", +] + [[package]] name = "risc0-binfmt" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?rev=da5bc39089c6dba8b03510837f1c7363ed3cc8b7#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "elf", @@ -295,8 +358,8 @@ dependencies = [ [[package]] name = "risc0-circuit-rv32im" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?rev=da5bc39089c6dba8b03510837f1c7363ed3cc8b7#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "log", @@ -308,8 +371,8 @@ dependencies = [ [[package]] name = "risc0-core" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?rev=da5bc39089c6dba8b03510837f1c7363ed3cc8b7#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "bytemuck", "rand_core", @@ -317,8 +380,8 @@ dependencies = [ [[package]] name = "risc0-zkp" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?rev=da5bc39089c6dba8b03510837f1c7363ed3cc8b7#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "blake2", @@ -337,8 +400,8 @@ dependencies = [ [[package]] name = "risc0-zkvm" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?rev=da5bc39089c6dba8b03510837f1c7363ed3cc8b7#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" dependencies = [ "anyhow", "bytemuck", @@ -355,13 +418,14 @@ dependencies = [ "risc0-zkp", "risc0-zkvm-platform", "serde", + "tempfile", "tracing", ] [[package]] name = "risc0-zkvm-platform" -version = "0.17.0" -source = "git+https://github.com/risc0/risc0?rev=da5bc39089c6dba8b03510837f1c7363ed3cc8b7#da5bc39089c6dba8b03510837f1c7363ed3cc8b7" +version = "0.18.0" +source = "git+https://github.com/risc0/risc0?branch=release-0.18#29cc16f84e1f5f2af34120528b1f18a33e00ce71" [[package]] name = "rustc-hex" @@ -369,6 +433,19 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" +[[package]] +name = "rustix" +version = "0.38.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7db8590df6dfcd144d22afd1b83b36c21a18d7cbc1dc4bb5295a8712e9eb662" +dependencies = [ + "bitflags 2.4.0", + "errno", + "libc", + "linux-raw-sys", + "windows-sys", +] + [[package]] name = "serde" version = "1.0.183" @@ -433,6 +510,19 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "tempfile" +version = "3.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" +dependencies = [ + "cfg-if", + "fastrand", + "redox_syscall", + "rustix", + "windows-sys", +] + [[package]] name = "tracing" version = "0.1.37" @@ -497,3 +587,69 @@ name = "wasi" version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" diff --git a/methods/guest/Cargo.toml b/methods/guest/Cargo.toml index f82c462c..1e39e38c 100644 --- a/methods/guest/Cargo.toml +++ b/methods/guest/Cargo.toml @@ -11,7 +11,7 @@ path = "src/bin/fibonacci.rs" ethabi = { version = "18.0", default-features = false } # Directly import radium to silence warning about unused patch. See https://github.com/risc0/risc0/issues/549 radium = "=0.7.1" -risc0-zkvm = { git = "https://github.com/risc0/risc0", rev = "da5bc39089c6dba8b03510837f1c7363ed3cc8b7", default-features = false, features = ["std"] } +risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "release-0.18", default-features = false, features = ["std"] } [patch.crates-io] radium = { git = "https://github.com/bitvecto-rs/radium", rev = "723bed5abd75994ee4b7221b8b12c9f4e77ce408" }