From 5827df4e0124e86cf366dbd5230df5cb0652f2eb Mon Sep 17 00:00:00 2001 From: Web3 Philosopher Date: Sat, 16 Nov 2024 12:27:56 +0100 Subject: [PATCH] Documentation Improvements (#342) Co-authored-by: David Salami Co-authored-by: Blake Byrnes Co-authored-by: yech --- Cargo.lock | 825 +++++++++--------- Cargo.toml | 4 +- .../developers/evm/contracts/testnet.mdx | 4 +- docs/pages/developers/evm/networks.mdx | 1 + docs/public/favicon.ico | Bin 4286 -> 15406 bytes docs/public/favicon.svg | 85 +- docs/public/logo-dark.svg | 11 - docs/public/logo-light.svg | 11 - docs/public/logo.svg | 88 +- docs/public/logotype.svg | 11 - docs/vocs.config.tsx | 5 +- evm/abi/Cargo.toml | 2 +- evm/script/DeployMnt.s.sol | 25 + evm/script/batchDeploy.sh | 1 + modules/consensus/grandpa/verifier/Cargo.toml | 2 +- .../sync-committee/primitives/Cargo.toml | 3 +- modules/hyperclient/build.sh | 4 +- modules/hyperclient/hyperclient.d.ts | 4 + modules/hyperclient/package.json | 2 +- modules/hyperclient/src/interfaces.rs | 24 +- .../hyperclient/src/internals/post_request.rs | 5 + .../hyperclient/src/providers/substrate.rs | 13 +- modules/hyperclient/src/testing.rs | 6 + modules/hyperclient/src/tests.rs | 4 + modules/hyperclient/src/types.rs | 2 + modules/ismp/clients/bsc/Cargo.toml | 2 +- modules/ismp/core/Cargo.toml | 10 +- modules/ismp/core/src/error.rs | 29 +- .../asset-gateway/src/xcm_utilities.rs | 6 +- modules/ismp/pallets/pallet/src/lib.rs | 14 +- .../token-gateway/primitives/src/lib.rs | 4 +- .../ismp/pallets/token-governor/src/impls.rs | 3 + .../ismp/pallets/token-governor/src/types.rs | 4 +- modules/utils/serde/Cargo.toml | 2 +- parachain/runtimes/gargantua/src/ismp.rs | 47 +- parachain/runtimes/gargantua/src/lib.rs | 2 +- parachain/runtimes/nexus/src/ismp.rs | 20 +- parachain/runtimes/nexus/src/lib.rs | 2 +- tesseract/evm/Cargo.toml | 4 +- tesseract/fees/Cargo.toml | 2 +- tesseract/fisherman/Cargo.toml | 2 +- tesseract/integration-test/Cargo.toml | 2 +- tesseract/messaging/Cargo.toml | 2 +- tesseract/relayer/Cargo.toml | 2 +- tesseract/substrate/Cargo.toml | 2 +- tesseract/telemetry/Cargo.toml | 2 +- 46 files changed, 760 insertions(+), 545 deletions(-) delete mode 100644 docs/public/logo-dark.svg delete mode 100644 docs/public/logo-light.svg delete mode 100644 docs/public/logotype.svg create mode 100644 evm/script/DeployMnt.s.sol diff --git a/Cargo.lock b/Cargo.lock index 3bd665c14..06a07782a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -135,7 +135,7 @@ dependencies = [ "bytes", "cfg-if", "const-hex", - "derive_more", + "derive_more 0.99.18", "hex-literal 0.4.1", "itoa", "k256", @@ -165,7 +165,7 @@ checksum = "4d0f2d905ebd295e7effec65e5f6868d153936130ae718352771de3e7d03c75c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -179,7 +179,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -195,7 +195,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", "syn-solidity", "tiny-keccak", ] @@ -211,7 +211,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", "syn-solidity", ] @@ -308,9 +308,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775" [[package]] name = "anymap2" @@ -338,7 +338,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -639,7 +639,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -655,7 +655,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -679,7 +679,7 @@ checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", "synstructure 0.13.1", ] @@ -702,7 +702,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -826,7 +826,7 @@ checksum = "d57d4cec3c647232e1094dc013546c0b33ce785d8aeb251e1f20dfaf8a9a13fe" dependencies = [ "futures-util", "native-tls", - "thiserror", + "thiserror 1.0.63", "url", ] @@ -866,7 +866,7 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -906,7 +906,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -923,7 +923,7 @@ checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -1016,7 +1016,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -1239,7 +1239,7 @@ version = "0.1.1" dependencies = [ "anyhow", "beefy-verifier-primitives", - "derive_more", + "derive_more 0.99.18", "frame-support 37.0.0", "hex", "hex-literal 0.4.1", @@ -1262,7 +1262,7 @@ dependencies = [ name = "beefy-verifier-primitives" version = "0.1.1" dependencies = [ - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "serde", "sp-consensus-beefy", @@ -1340,7 +1340,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -1573,7 +1573,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", "syn_derive", ] @@ -1607,7 +1607,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1861,7 +1861,7 @@ dependencies = [ "semver 1.0.23", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1875,7 +1875,7 @@ dependencies = [ "semver 1.0.23", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2079,7 +2079,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -2131,7 +2131,7 @@ dependencies = [ "k256", "serde", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2147,7 +2147,7 @@ dependencies = [ "pbkdf2 0.12.2", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2167,7 +2167,7 @@ dependencies = [ "serde_derive", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2889,7 +2889,7 @@ dependencies = [ "sp-inherents 34.0.0", "sp-runtime 39.0.0", "sp-state-machine 0.43.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -3089,7 +3089,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3282,7 +3282,7 @@ dependencies = [ "sp-blockchain 37.0.0", "sp-state-machine 0.43.0", "sp-version 37.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -3354,7 +3354,7 @@ dependencies = [ "sp-state-machine 0.43.0", "sp-storage 21.0.0", "sp-version 37.0.0", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-util 0.7.11", "tracing", @@ -3425,7 +3425,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3465,7 +3465,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3482,7 +3482,7 @@ checksum = "4b2c1c1776b986979be68bb2285da855f8d8a35851a769fca8740df7c3d07877" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3554,7 +3554,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3587,7 +3587,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core 0.20.10", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3726,7 +3726,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3739,7 +3739,28 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.0", - "syn 2.0.74", + "syn 2.0.87", +] + +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", + "unicode-xid", ] [[package]] @@ -3877,7 +3898,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -3943,7 +3964,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.74", + "syn 2.0.87", "termcolor", "toml 0.8.19", "walkdir", @@ -4234,7 +4255,7 @@ dependencies = [ "rand 0.8.5", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-tungstenite 0.21.0", "tower", @@ -4292,7 +4313,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -4312,7 +4333,7 @@ checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -4323,7 +4344,7 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -4424,7 +4445,7 @@ dependencies = [ "serde_json", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.63", "uuid 0.8.2", ] @@ -4441,7 +4462,7 @@ dependencies = [ "serde", "serde_json", "sha3", - "thiserror", + "thiserror 1.0.63", "uint", ] @@ -4535,7 +4556,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -4556,7 +4577,7 @@ dependencies = [ "reqwest 0.11.27", "serde", "serde_json", - "syn 2.0.74", + "syn 2.0.87", "toml 0.7.8", "walkdir", ] @@ -4573,7 +4594,7 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -4598,9 +4619,9 @@ dependencies = [ "serde", "serde_json", "strum 0.25.0", - "syn 2.0.74", + "syn 2.0.87", "tempfile", - "thiserror", + "thiserror 1.0.63", "tiny-keccak", "unicode-xid", ] @@ -4616,7 +4637,7 @@ dependencies = [ "semver 1.0.23", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -4639,7 +4660,7 @@ dependencies = [ "reqwest 0.11.27", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "tracing-futures", @@ -4673,7 +4694,7 @@ dependencies = [ "reqwest-middleware", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-tungstenite 0.19.0", "tracing", @@ -4699,7 +4720,7 @@ dependencies = [ "hex", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -4729,7 +4750,7 @@ dependencies = [ "solang-parser", "svm-rs", "svm-rs-builds", - "thiserror", + "thiserror 1.0.63", "tiny-keccak", "tokio", "tracing", @@ -4828,7 +4849,7 @@ dependencies = [ "prettyplease 0.2.20", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -4920,7 +4941,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec6f82451ff7f0568c6181287189126d492b5654e30a788add08027b6363d019" dependencies = [ "fatality-proc-macro", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -4934,7 +4955,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -4944,7 +4965,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -5140,7 +5161,7 @@ dependencies = [ "itertools 0.10.5", "semver 1.0.23", "solang-parser", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -5203,7 +5224,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" dependencies = [ "nonempty", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -5217,7 +5238,7 @@ dependencies = [ "ethers-providers", "eyre", "foundry-macros", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5245,7 +5266,7 @@ dependencies = [ "serde", "serde_json", "tempfile", - "thiserror", + "thiserror 1.0.63", "tracing", "walkdir", "yansi 0.5.1", @@ -5274,7 +5295,7 @@ dependencies = [ "serde", "serde_json", "serde_regex", - "thiserror", + "thiserror 1.0.63", "toml 0.7.8", "toml_edit 0.19.15", "tracing", @@ -5308,7 +5329,7 @@ dependencies = [ "semver 1.0.23", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "url", @@ -5334,7 +5355,7 @@ source = "git+https://github.com/polytope-labs/foundry?rev=1db7f747d7033a760c747 dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5443,7 +5464,7 @@ dependencies = [ "sp-storage 21.0.0", "sp-trie 37.0.0", "sp-wasm-interface 21.0.0", - "thiserror", + "thiserror 1.0.63", "thousands", ] @@ -5456,7 +5477,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5658,7 +5679,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5678,7 +5699,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5691,7 +5712,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5704,7 +5725,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5715,7 +5736,7 @@ checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5815,7 +5836,7 @@ checksum = "b0fa992f1656e1707946bbba340ad244f0814009ef8c0118eb7b658395f19a2e" dependencies = [ "frunk_proc_macro_helpers", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5827,7 +5848,7 @@ dependencies = [ "frunk_core", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5839,7 +5860,7 @@ dependencies = [ "frunk_core", "frunk_proc_macro_helpers", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -5988,7 +6009,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -6376,7 +6397,7 @@ dependencies = [ "serde", "serde-wasm-bindgen 0.5.0", "serde_urlencoded", - "thiserror", + "thiserror 1.0.63", "wasm-bindgen", "web-sys", ] @@ -6395,7 +6416,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -6416,7 +6437,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -6437,7 +6458,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -6463,7 +6484,7 @@ dependencies = [ "js-sys", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "wasm-bindgen", "web-sys", ] @@ -6572,7 +6593,7 @@ name = "grandpa-prover" version = "0.1.0" dependencies = [ "anyhow", - "derive_more", + "derive_more 0.99.18", "downcast-rs", "finality-grandpa", "grandpa-verifier-primitives", @@ -6597,7 +6618,7 @@ name = "grandpa-verifier" version = "0.1.1" dependencies = [ "anyhow", - "derive_more", + "derive_more 0.99.18", "env_logger 0.9.3", "finality-grandpa", "frame-support 37.0.0", @@ -6651,7 +6672,7 @@ source = "git+https://github.com/prisma/graphql-parser#6a3f58bd879065588e710cb02 dependencies = [ "combine 3.8.1", "indexmap 1.9.3", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -6714,7 +6735,7 @@ dependencies = [ "pest_derive", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -7599,7 +7620,7 @@ dependencies = [ "psl", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "user-facing-errors", ] @@ -7672,10 +7693,11 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "ismp" -version = "0.2.1" +version = "0.2.2" dependencies = [ "anyhow", - "derive_more", + "derive_more 1.0.0", + "displaydoc", "hex", "parity-scale-codec", "primitive-types", @@ -7683,6 +7705,7 @@ dependencies = [ "serde", "serde-hex-utils", "serde_json", + "thiserror 2.0.0", ] [[package]] @@ -7931,7 +7954,7 @@ dependencies = [ "combine 4.6.7", "jni-sys", "log", - "thiserror", + "thiserror 1.0.63", "walkdir", ] @@ -8068,7 +8091,7 @@ dependencies = [ "pin-project", "rustls-native-certs 0.6.3", "soketto 0.7.1", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-rustls 0.24.1", "tokio-util 0.7.11", @@ -8089,7 +8112,7 @@ dependencies = [ "rustls-native-certs 0.7.1", "rustls-pki-types", "soketto 0.7.1", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-rustls 0.25.0", "tokio-util 0.7.11", @@ -8110,7 +8133,7 @@ dependencies = [ "rustls-native-certs 0.7.1", "rustls-pki-types", "soketto 0.7.1", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-rustls 0.25.0", "tokio-util 0.7.11", @@ -8135,7 +8158,7 @@ dependencies = [ "rustls-pki-types", "rustls-platform-verifier", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-rustls 0.26.0", "tokio-util 0.7.11", @@ -8161,7 +8184,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "wasm-bindgen-futures", @@ -8184,7 +8207,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tracing", @@ -8209,7 +8232,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tracing", @@ -8237,7 +8260,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tracing", @@ -8258,7 +8281,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -8276,7 +8299,7 @@ dependencies = [ "jsonrpsee-types 0.22.5", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tower", "tracing", @@ -8293,7 +8316,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -8306,7 +8329,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -8325,7 +8348,7 @@ dependencies = [ "serde", "serde_json", "soketto 0.7.1", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util 0.7.11", @@ -8353,7 +8376,7 @@ dependencies = [ "serde", "serde_json", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util 0.7.11", @@ -8371,7 +8394,7 @@ dependencies = [ "beef", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -8385,7 +8408,7 @@ dependencies = [ "beef", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -8398,7 +8421,7 @@ dependencies = [ "beef", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -8411,7 +8434,7 @@ dependencies = [ "http 1.1.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -8575,7 +8598,7 @@ checksum = "9baa9eeb6e315942429397e617a190f4fdc696ef1ee0342939d641029cbb4ea7" dependencies = [ "enumflags2", "libc", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -8766,7 +8789,7 @@ dependencies = [ "multiaddr 0.18.1", "pin-project", "rw-stream-sink 0.4.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -8840,7 +8863,7 @@ dependencies = [ "rand 0.8.5", "rw-stream-sink 0.3.0", "smallvec", - "thiserror", + "thiserror 1.0.63", "unsigned-varint 0.7.2", "void", ] @@ -8868,7 +8891,7 @@ dependencies = [ "rand 0.8.5", "rw-stream-sink 0.4.0", "smallvec", - "thiserror", + "thiserror 1.0.63", "unsigned-varint 0.7.2", "void", ] @@ -8921,7 +8944,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec 0.1.0", "smallvec", - "thiserror", + "thiserror 1.0.63", "void", ] @@ -8944,7 +8967,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec 0.2.0", "smallvec", - "thiserror", + "thiserror 1.0.63", "void", ] @@ -8962,7 +8985,7 @@ dependencies = [ "quick-protobuf", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.63", "zeroize", ] @@ -8979,7 +9002,7 @@ dependencies = [ "quick-protobuf", "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.63", "tracing", "zeroize", ] @@ -9006,7 +9029,7 @@ dependencies = [ "rand 0.8.5", "sha2 0.10.8", "smallvec", - "thiserror", + "thiserror 1.0.63", "uint", "unsigned-varint 0.7.2", "void", @@ -9035,7 +9058,7 @@ dependencies = [ "rand 0.8.5", "sha2 0.10.8", "smallvec", - "thiserror", + "thiserror 1.0.63", "uint", "unsigned-varint 0.7.2", "void", @@ -9132,7 +9155,7 @@ dependencies = [ "sha2 0.10.8", "snow", "static_assertions", - "thiserror", + "thiserror 1.0.63", "x25519-dalek 1.1.1", "zeroize", ] @@ -9157,7 +9180,7 @@ dependencies = [ "sha2 0.10.8", "snow", "static_assertions", - "thiserror", + "thiserror 1.0.63", "x25519-dalek 2.0.1", "zeroize", ] @@ -9215,7 +9238,7 @@ dependencies = [ "quinn-proto 0.9.6", "rand 0.8.5", "rustls 0.20.9", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -9239,7 +9262,7 @@ dependencies = [ "ring 0.16.20", "rustls 0.21.12", "socket2 0.5.7", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -9342,7 +9365,7 @@ dependencies = [ "proc-macro-warning 0.4.2", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -9391,7 +9414,7 @@ dependencies = [ "rcgen", "ring 0.16.20", "rustls 0.20.9", - "thiserror", + "thiserror 1.0.63", "webpki", "x509-parser 0.14.0", "yasna", @@ -9411,7 +9434,7 @@ dependencies = [ "ring 0.16.20", "rustls 0.21.12", "rustls-webpki 0.101.7", - "thiserror", + "thiserror 1.0.63", "x509-parser 0.15.1", "yasna", ] @@ -9495,7 +9518,7 @@ dependencies = [ "pin-project-lite 0.2.14", "rw-stream-sink 0.4.0", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.63", "url", "webpki-roots 0.25.4", ] @@ -9509,7 +9532,7 @@ dependencies = [ "futures", "libp2p-core 0.39.2", "log", - "thiserror", + "thiserror 1.0.63", "yamux 0.10.2", ] @@ -9522,7 +9545,7 @@ dependencies = [ "futures", "libp2p-core 0.40.1", "log", - "thiserror", + "thiserror 1.0.63", "yamux 0.12.1", ] @@ -9723,7 +9746,7 @@ dependencies = [ "socket2 0.5.7", "static_assertions", "str0m", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-tungstenite 0.20.1", @@ -9864,7 +9887,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -9878,7 +9901,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -9889,7 +9912,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -9900,7 +9923,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -10093,7 +10116,7 @@ dependencies = [ "metrics-util 0.13.0", "parking_lot 0.11.2", "quanta 0.9.3", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -10289,7 +10312,7 @@ dependencies = [ "rand_chacha 0.3.1", "rand_distr", "subtle 2.6.1", - "thiserror", + "thiserror 1.0.63", "zeroize", ] @@ -10376,7 +10399,7 @@ dependencies = [ "futures-util", "log", "metrics 0.18.1", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "tracing-subscriber 0.3.18", @@ -10433,7 +10456,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -10448,7 +10471,7 @@ dependencies = [ "bson", "chrono", "derivative", - "derive_more", + "derive_more 0.99.18", "futures-core", "futures-executor", "futures-io", @@ -10472,7 +10495,7 @@ dependencies = [ "stringprep", "strsim 0.10.0", "take_mut", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-rustls 0.24.1", "tokio-util 0.7.11", @@ -10491,7 +10514,7 @@ dependencies = [ "mongodb", "once_cell", "percent-encoding", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -10513,7 +10536,7 @@ dependencies = [ "psl", "regex", "serde_json", - "thiserror", + "thiserror 1.0.63", "user-facing-errors", ] @@ -10560,7 +10583,7 @@ dependencies = [ "regex", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "tracing-futures", @@ -10748,7 +10771,7 @@ dependencies = [ "serde", "serde_json", "socket2 0.4.10", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-native-tls 0.3.0", "tokio-util 0.7.11", @@ -10788,7 +10811,7 @@ dependencies = [ "sha2 0.10.8", "smallvec", "subprocess", - "thiserror", + "thiserror 1.0.63", "time", "uuid 1.10.0", ] @@ -10817,7 +10840,7 @@ checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -10887,7 +10910,7 @@ dependencies = [ "anyhow", "byteorder", "paste", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -10901,7 +10924,7 @@ dependencies = [ "log", "netlink-packet-core", "netlink-sys", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -10926,7 +10949,7 @@ checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" dependencies = [ "cc", "libc", - "thiserror", + "thiserror 1.0.63", "winapi", ] @@ -11289,7 +11312,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -11429,7 +11452,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -11476,7 +11499,7 @@ dependencies = [ "percent-encoding", "pin-project", "rand 0.8.5", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -11513,7 +11536,7 @@ dependencies = [ "orchestra-proc-macro", "pin-project", "prioritized-metered-channel", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -12840,7 +12863,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -13485,7 +13508,7 @@ dependencies = [ "proc-macro2", "proc-macro2-diagnostics", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -13525,7 +13548,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.63", "ucd-trie", ] @@ -13549,7 +13572,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -13623,7 +13646,7 @@ dependencies = [ "phf_shared 0.11.2", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -13661,7 +13684,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -13753,7 +13776,7 @@ version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5473d63a5acfde3f668a2fd247fb53d5f50c601d47ec988bee1563391b8c5922" dependencies = [ - "derive_more", + "derive_more 0.99.18", "fatality", "futures", "parity-scale-codec", @@ -13768,7 +13791,7 @@ dependencies = [ "schnellru", "sp-core 34.0.0", "sp-keystore 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -13791,7 +13814,7 @@ dependencies = [ "rand 0.8.5", "sc-network 0.44.0", "schnellru", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing-gum", ] @@ -13832,7 +13855,7 @@ dependencies = [ "sp-maybe-compressed-blob", "sp-runtime 39.0.0", "substrate-build-script-utils", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -13853,7 +13876,7 @@ dependencies = [ "sp-core 34.0.0", "sp-keystore 0.40.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", "tokio-util 0.7.11", "tracing-gum", ] @@ -13876,7 +13899,7 @@ version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be28a79ad565b5b028f76a818920d31828e3685a09c21e44f5a96e504e1d8062" dependencies = [ - "derive_more", + "derive_more 0.99.18", "fatality", "futures", "futures-timer", @@ -13892,7 +13915,7 @@ dependencies = [ "schnellru", "sp-application-crypto 38.0.0", "sp-keystore 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -13908,7 +13931,7 @@ dependencies = [ "reed-solomon-novelpoly", "sp-core 34.0.0", "sp-trie 37.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -13954,7 +13977,7 @@ dependencies = [ "polkadot-primitives", "sc-network 0.44.0", "sp-consensus 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -13973,7 +13996,7 @@ dependencies = [ "polkadot-primitives", "sp-core 34.0.0", "sp-maybe-compressed-blob", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -13984,7 +14007,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "219f36432024236721979dc93fad0645dd05edc11fee723b4a63275a1e008aae" dependencies = [ "bitvec", - "derive_more", + "derive_more 0.99.18", "futures", "futures-timer", "itertools 0.11.0", @@ -14007,7 +14030,7 @@ dependencies = [ "sp-consensus 0.40.0", "sp-consensus-slots 0.40.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14030,7 +14053,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-consensus 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14051,7 +14074,7 @@ dependencies = [ "polkadot-statement-table", "schnellru", "sp-keystore 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14066,7 +14089,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", "wasm-timer", ] @@ -14122,7 +14145,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14142,7 +14165,7 @@ dependencies = [ "polkadot-primitives", "sc-keystore 33.0.0", "schnellru", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14160,7 +14183,7 @@ dependencies = [ "polkadot-primitives", "sp-blockchain 37.0.0", "sp-inherents 34.0.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14178,7 +14201,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14197,7 +14220,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "schnellru", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14226,7 +14249,7 @@ dependencies = [ "slotmap", "sp-core 34.0.0", "tempfile", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing-gum", ] @@ -14244,7 +14267,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-keystore 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14271,7 +14294,7 @@ dependencies = [ "sp-externalities 0.29.0", "sp-io 38.0.0", "sp-tracing 17.0.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14307,7 +14330,7 @@ dependencies = [ "sc-network 0.44.0", "sc-network-types", "sp-core 34.0.0", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -14340,7 +14363,7 @@ dependencies = [ "async-channel 1.9.0", "async-trait", "bitvec", - "derive_more", + "derive_more 0.99.18", "fatality", "futures", "hex", @@ -14354,7 +14377,7 @@ dependencies = [ "sc-network-types", "sp-runtime 39.0.0", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14378,7 +14401,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-maybe-compressed-blob", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", "zstd 0.12.4", ] @@ -14401,7 +14424,7 @@ checksum = "6db31c17cbb3d3383625d998d1441a9ef7cc80d4a946f6bac1597d20612e9f94" dependencies = [ "async-trait", "bitvec", - "derive_more", + "derive_more 0.99.18", "fatality", "futures", "orchestra", @@ -14421,7 +14444,7 @@ dependencies = [ "sp-consensus-babe 0.40.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -14431,7 +14454,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76dbf911bc670724405453ae787fbbf9bc7f72c5e97f012f399fd716d17b3d55" dependencies = [ "async-trait", - "derive_more", + "derive_more 0.99.18", "fatality", "futures", "futures-channel", @@ -14457,7 +14480,7 @@ dependencies = [ "sp-application-crypto 38.0.0", "sp-core 34.0.0", "sp-keystore 0.40.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14491,7 +14514,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52b5648a2e8ce1f9a0f8c41c38def670cefd91932cd793468e1a5b0b0b4e4af1" dependencies = [ "bounded-collections 0.2.0", - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "polkadot-core-primitives", "scale-info", @@ -14636,7 +14659,7 @@ checksum = "9b41b52fd494db19f775e32a2a420d381be20fd12529ec30566f5f342e5d5f0a" dependencies = [ "bitflags 1.3.2", "bitvec", - "derive_more", + "derive_more 0.99.18", "frame-benchmarking", "frame-support 37.0.0", "frame-system", @@ -14789,7 +14812,7 @@ dependencies = [ "sp-weights 31.0.0", "staging-xcm", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", "tracing-gum", "westend-runtime", "xcm-runtime-apis", @@ -14815,7 +14838,7 @@ dependencies = [ "polkadot-primitives", "sp-keystore 0.40.0", "sp-staking 34.0.0", - "thiserror", + "thiserror 1.0.63", "tracing-gum", ] @@ -14895,7 +14918,7 @@ dependencies = [ "polkavm-common 0.8.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -14907,7 +14930,7 @@ dependencies = [ "polkavm-common 0.9.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -14917,7 +14940,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66" dependencies = [ "polkavm-derive-impl 0.8.0", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -14927,7 +14950,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl 0.9.0", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -15138,7 +15161,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -15163,11 +15186,11 @@ checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", - "derive_more", + "derive_more 0.99.18", "futures", "futures-timer", "nanorand", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -15205,7 +15228,7 @@ dependencies = [ "serde-value", "serde_json", "tempdir", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "user-facing-errors", @@ -15229,7 +15252,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "syn 1.0.109", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -15261,7 +15284,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "syn 1.0.109", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -15277,7 +15300,7 @@ dependencies = [ "psl", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -15301,7 +15324,7 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "thiserror", + "thiserror 1.0.63", "toml 0.5.11", ] @@ -15346,7 +15369,7 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -15357,7 +15380,7 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -15377,7 +15400,7 @@ checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", "version_check", "yansi 1.0.1", ] @@ -15393,7 +15416,7 @@ dependencies = [ "lazy_static", "memchr", "parking_lot 0.12.3", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -15428,7 +15451,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -15510,7 +15533,7 @@ dependencies = [ "prost 0.12.6", "prost-types 0.12.6", "regex", - "syn 2.0.74", + "syn 2.0.87", "tempfile", ] @@ -15537,7 +15560,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -15648,7 +15671,7 @@ dependencies = [ "rusqlite", "serde_json", "sqlformat", - "thiserror", + "thiserror 1.0.63", "tiberius", "tokio", "tokio-postgres", @@ -15705,7 +15728,7 @@ dependencies = [ "prisma-value", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "user-facing-errors", "uuid 1.10.0", ] @@ -15745,7 +15768,7 @@ dependencies = [ "serde", "serde_json", "sql-query-connector", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "tracing-futures", @@ -15797,7 +15820,7 @@ dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", - "thiserror", + "thiserror 1.0.63", "unsigned-varint 0.7.2", ] @@ -15810,7 +15833,7 @@ dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", - "thiserror", + "thiserror 1.0.63", "unsigned-varint 0.7.2", ] @@ -15837,7 +15860,7 @@ dependencies = [ "quinn-udp 0.3.2", "rustc-hash", "rustls 0.20.9", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "webpki", @@ -15856,7 +15879,7 @@ dependencies = [ "quinn-udp 0.4.1", "rustc-hash", "rustls 0.21.12", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -15873,7 +15896,7 @@ dependencies = [ "rustc-hash", "rustls 0.20.9", "slab", - "thiserror", + "thiserror 1.0.63", "tinyvec", "tracing", "webpki", @@ -15891,7 +15914,7 @@ dependencies = [ "rustc-hash", "rustls 0.21.12", "slab", - "thiserror", + "thiserror 1.0.63", "tinyvec", "tracing", ] @@ -16150,7 +16173,7 @@ dependencies = [ "futures", "jsonrpsee 0.23.2", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "wasm-bindgen-futures", @@ -16182,7 +16205,7 @@ checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ "getrandom 0.2.15", "libredox", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -16191,10 +16214,10 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87413ebb313323d431e85d0afc5a68222aaed972843537cbfe5f061cf1b4bcab" dependencies = [ - "derive_more", + "derive_more 0.99.18", "fs-err", "static_init", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -16214,7 +16237,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -16320,7 +16343,7 @@ dependencies = [ "query-core", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tracing", "url", "user-facing-errors", @@ -16445,7 +16468,7 @@ dependencies = [ "nom", "pin-project-lite 0.2.14", "reqwest 0.11.27", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -16460,7 +16483,7 @@ dependencies = [ "reqwest 0.11.27", "serde", "task-local-extensions", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -16524,7 +16547,7 @@ name = "revm-interpreter" version = "1.1.2" source = "git+https://github.com/polytope-labs/revm/?rev=c681ca0d51b21a16595cb4c5795832d938ce2dc2#c681ca0d51b21a16595cb4c5795832d938ce2dc2" dependencies = [ - "derive_more", + "derive_more 0.99.18", "enumn", "revm-primitives", "serde", @@ -16555,7 +16578,7 @@ dependencies = [ "auto_impl", "bitvec", "bytes", - "derive_more", + "derive_more 0.99.18", "enumn", "fixed-hash", "hashbrown 0.13.2", @@ -16833,7 +16856,7 @@ dependencies = [ "netlink-packet-route", "netlink-proto", "nix 0.24.3", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -16926,7 +16949,7 @@ dependencies = [ "reqwest 0.11.27", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-tungstenite 0.20.1", "tungstenite 0.20.1", @@ -16950,7 +16973,7 @@ dependencies = [ "reqwest 0.12.5", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-tungstenite 0.21.0", "tungstenite 0.21.0", @@ -16973,7 +16996,7 @@ dependencies = [ "rust_engineio 0.4.4", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "url", ] @@ -16995,7 +17018,7 @@ dependencies = [ "rust_engineio 0.6.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "url", ] @@ -17302,7 +17325,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" dependencies = [ "byteorder", - "derive_more", + "derive_more 0.99.18", "twox-hash", ] @@ -17376,7 +17399,7 @@ dependencies = [ "log", "sp-core 31.0.0", "sp-wasm-interface 20.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17388,7 +17411,7 @@ dependencies = [ "log", "sp-core 34.0.0", "sp-wasm-interface 21.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17419,7 +17442,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17541,7 +17564,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -17553,7 +17576,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -17594,7 +17617,7 @@ dependencies = [ "sp-panic-handler 13.0.0", "sp-runtime 34.0.0", "sp-version 32.0.0", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -17636,7 +17659,7 @@ dependencies = [ "sp-panic-handler 13.0.0", "sp-runtime 39.0.0", "sp-version 37.0.0", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -17773,7 +17796,7 @@ dependencies = [ "sp-runtime 34.0.0", "sp-state-machine 0.38.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17798,7 +17821,7 @@ dependencies = [ "sp-runtime 39.0.0", "sp-state-machine 0.43.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17828,7 +17851,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17865,7 +17888,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17888,7 +17911,7 @@ dependencies = [ "sp-core 34.0.0", "sp-keystore 0.40.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -17923,7 +17946,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", "tokio", "wasm-timer", ] @@ -17946,7 +17969,7 @@ dependencies = [ "sp-consensus-beefy", "sp-core 34.0.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18005,7 +18028,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18026,7 +18049,7 @@ dependencies = [ "sp-blockchain 37.0.0", "sp-core 34.0.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18062,7 +18085,7 @@ dependencies = [ "sp-runtime 39.0.0", "sp-timestamp 34.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18147,7 +18170,7 @@ dependencies = [ "sc-allocator 26.0.0", "sp-maybe-compressed-blob", "sp-wasm-interface 20.0.0", - "thiserror", + "thiserror 1.0.63", "wasm-instrument", ] @@ -18161,7 +18184,7 @@ dependencies = [ "sc-allocator 29.0.0", "sp-maybe-compressed-blob", "sp-wasm-interface 21.0.0", - "thiserror", + "thiserror 1.0.63", "wasm-instrument", ] @@ -18275,7 +18298,7 @@ dependencies = [ "sp-application-crypto 33.0.0", "sp-core 31.0.0", "sp-keystore 0.37.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18290,7 +18313,7 @@ dependencies = [ "sp-application-crypto 38.0.0", "sp-core 34.0.0", "sp-keystore 0.40.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18320,7 +18343,7 @@ dependencies = [ "sp-keystore 0.37.0", "sp-mixnet 0.7.0", "sp-runtime 34.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18350,7 +18373,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-mixnet 0.12.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18389,7 +18412,7 @@ dependencies = [ "sp-core 31.0.0", "sp-runtime 34.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "unsigned-varint 0.7.2", @@ -18440,7 +18463,7 @@ dependencies = [ "sp-core 34.0.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "unsigned-varint 0.7.2", @@ -18466,7 +18489,7 @@ dependencies = [ "sc-network 0.37.0", "sp-blockchain 31.0.0", "sp-runtime 34.0.0", - "thiserror", + "thiserror 1.0.63", "unsigned-varint 0.7.2", ] @@ -18546,7 +18569,7 @@ dependencies = [ "sp-blockchain 31.0.0", "sp-core 31.0.0", "sp-runtime 34.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18568,7 +18591,7 @@ dependencies = [ "sp-blockchain 37.0.0", "sp-core 34.0.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18603,7 +18626,7 @@ dependencies = [ "sp-core 31.0.0", "sp-runtime 34.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", ] @@ -18641,7 +18664,7 @@ dependencies = [ "sp-core 34.0.0", "sp-runtime 39.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", ] @@ -18700,7 +18723,7 @@ dependencies = [ "multiaddr 0.18.1", "multihash 0.19.1", "rand 0.8.5", - "thiserror", + "thiserror 1.0.63", "zeroize", ] @@ -18833,7 +18856,7 @@ dependencies = [ "sp-rpc 29.0.0", "sp-runtime 34.0.0", "sp-version 32.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18854,7 +18877,7 @@ dependencies = [ "sp-rpc 32.0.0", "sp-runtime 39.0.0", "sp-version 37.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -18926,7 +18949,7 @@ dependencies = [ "sp-rpc 29.0.0", "sp-runtime 34.0.0", "sp-version 32.0.0", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", ] @@ -18959,7 +18982,7 @@ dependencies = [ "sp-rpc 32.0.0", "sp-runtime 39.0.0", "sp-version 37.0.0", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", ] @@ -19023,7 +19046,7 @@ dependencies = [ "static_init", "substrate-prometheus-endpoint", "tempfile", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "tracing-futures", @@ -19088,7 +19111,7 @@ dependencies = [ "static_init", "substrate-prometheus-endpoint", "tempfile", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "tracing-futures", @@ -19195,7 +19218,7 @@ dependencies = [ "fs4", "log", "sp-core 34.0.0", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -19216,7 +19239,7 @@ dependencies = [ "serde_json", "sp-blockchain 37.0.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -19225,7 +19248,7 @@ version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f098da1a83dc5b4e69ef66f7dfc5c0a82bc63defe8dcb0aaa1819e9b2bd6d744" dependencies = [ - "derive_more", + "derive_more 0.99.18", "futures", "libc", "log", @@ -19247,7 +19270,7 @@ version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2ce11152bd7a2b01713e71de71a5610067bd1b3509aa207e3d87f5ee53dd328" dependencies = [ - "derive_more", + "derive_more 0.99.18", "futures", "libc", "log", @@ -19279,7 +19302,7 @@ dependencies = [ "sc-utils 16.0.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "wasm-timer", ] @@ -19300,7 +19323,7 @@ dependencies = [ "sc-utils 17.0.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "wasm-timer", ] @@ -19329,7 +19352,7 @@ dependencies = [ "sp-rpc 29.0.0", "sp-runtime 34.0.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.63", "tracing", "tracing-log 0.1.4", "tracing-subscriber 0.2.25", @@ -19360,7 +19383,7 @@ dependencies = [ "sp-rpc 32.0.0", "sp-runtime 39.0.0", "sp-tracing 17.0.0", - "thiserror", + "thiserror 1.0.63", "tracing", "tracing-log 0.2.0", "tracing-subscriber 0.3.18", @@ -19375,7 +19398,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -19403,7 +19426,7 @@ dependencies = [ "sp-tracing 16.0.0", "sp-transaction-pool 29.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -19431,7 +19454,7 @@ dependencies = [ "sp-tracing 17.0.0", "sp-transaction-pool 34.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -19448,7 +19471,7 @@ dependencies = [ "sp-blockchain 31.0.0", "sp-core 31.0.0", "sp-runtime 34.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -19465,7 +19488,7 @@ dependencies = [ "sp-blockchain 37.0.0", "sp-core 34.0.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -19533,7 +19556,7 @@ dependencies = [ "scale-decode-derive", "scale-info", "smallvec", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -19542,7 +19565,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "scale-bits 0.6.0", "scale-type-resolver", @@ -19574,7 +19597,7 @@ dependencies = [ "scale-encode-derive", "scale-info", "smallvec", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -19598,7 +19621,7 @@ checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "scale-info-derive", "serde", @@ -19638,7 +19661,7 @@ dependencies = [ "scale-encode", "scale-info", "serde", - "thiserror", + "thiserror 1.0.63", "yap", ] @@ -19801,7 +19824,7 @@ dependencies = [ "log", "rand 0.8.5", "slab", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -20054,7 +20077,7 @@ checksum = "6aea2634c86b0e8ef2cfdc0c340baede54ec27b1e46febd7f80dffb2aa44a00e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -20097,7 +20120,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -20476,7 +20499,7 @@ dependencies = [ "blake2-rfc", "bs58 0.5.1", "crossbeam-queue", - "derive_more", + "derive_more 0.99.18", "ed25519-zebra 3.1.0", "either", "event-listener 2.5.3", @@ -20529,7 +20552,7 @@ dependencies = [ "bs58 0.5.1", "chacha20", "crossbeam-queue", - "derive_more", + "derive_more 0.99.18", "ed25519-zebra 4.0.3", "either", "event-listener 2.5.3", @@ -20576,7 +20599,7 @@ checksum = "4b2f7b4687b83ff244ef6137735ed5716ad37dcdf3ee16c4eb1a32fb9808fa47" dependencies = [ "async-lock 2.8.0", "blake2-rfc", - "derive_more", + "derive_more 0.99.18", "either", "event-listener 2.5.3", "fnv", @@ -20607,7 +20630,7 @@ dependencies = [ "async-lock 2.8.0", "base64 0.21.7", "blake2-rfc", - "derive_more", + "derive_more 0.99.18", "either", "event-listener 2.5.3", "fnv", @@ -20692,7 +20715,7 @@ dependencies = [ "serde", "serde_json", "state", - "thiserror", + "thiserror 1.0.63", "tokio", "tower", "tracing", @@ -20741,7 +20764,7 @@ dependencies = [ "lalrpop", "lalrpop-util", "phf", - "thiserror", + "thiserror 1.0.63", "unicode-xid", ] @@ -20765,7 +20788,7 @@ dependencies = [ "sp-std 14.0.0", "sp-trie 32.0.0", "sp-version 32.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -20788,7 +20811,7 @@ dependencies = [ "sp-state-machine 0.43.0", "sp-trie 37.0.0", "sp-version 37.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -20803,7 +20826,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -20818,7 +20841,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -20960,7 +20983,7 @@ dependencies = [ "sp-database", "sp-runtime 34.0.0", "sp-state-machine 0.38.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -20979,7 +21002,7 @@ dependencies = [ "sp-database", "sp-runtime 39.0.0", "sp-state-machine 0.43.0", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -20996,7 +21019,7 @@ dependencies = [ "sp-inherents 29.0.0", "sp-runtime 34.0.0", "sp-state-machine 0.38.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -21012,7 +21035,7 @@ dependencies = [ "sp-inherents 34.0.0", "sp-runtime 39.0.0", "sp-state-machine 0.43.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -21212,7 +21235,7 @@ dependencies = [ "sp-storage 13.0.0", "ss58-registry", "substrate-bip39 0.4.6", - "thiserror", + "thiserror 1.0.63", "tiny-bip39", "zeroize", ] @@ -21257,7 +21280,7 @@ dependencies = [ "sp-storage 19.0.0", "ss58-registry", "substrate-bip39 0.4.6", - "thiserror", + "thiserror 1.0.63", "tracing", "w3f-bls", "zeroize", @@ -21304,7 +21327,7 @@ dependencies = [ "sp-storage 20.0.0", "ss58-registry", "substrate-bip39 0.5.0", - "thiserror", + "thiserror 1.0.63", "tracing", "w3f-bls", "zeroize", @@ -21351,7 +21374,7 @@ dependencies = [ "sp-storage 21.0.0", "ss58-registry", "substrate-bip39 0.6.0", - "thiserror", + "thiserror 1.0.63", "tracing", "w3f-bls", "zeroize", @@ -21408,7 +21431,7 @@ checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -21429,7 +21452,7 @@ checksum = "c7f531814d2f16995144c74428830ccf7d94ff4a7749632b83ad8199b181140c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -21440,7 +21463,7 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -21527,7 +21550,7 @@ dependencies = [ "scale-info", "sp-runtime 34.0.0", "sp-std 14.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -21541,7 +21564,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -21658,7 +21681,7 @@ dependencies = [ "parking_lot 0.12.3", "sp-core 21.0.0", "sp-externalities 0.19.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -21691,7 +21714,7 @@ version = "11.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" dependencies = [ - "thiserror", + "thiserror 1.0.63", "zstd 0.12.4", ] @@ -21758,7 +21781,7 @@ dependencies = [ "sp-core 34.0.0", "sp-debug-derive 14.0.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -22004,7 +22027,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -22018,7 +22041,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -22032,7 +22055,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -22112,7 +22135,7 @@ dependencies = [ "sp-panic-handler 8.0.0", "sp-std 8.0.0", "sp-trie 22.0.0", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -22133,7 +22156,7 @@ dependencies = [ "sp-panic-handler 13.0.0", "sp-std 14.0.0", "sp-trie 32.0.0", - "thiserror", + "thiserror 1.0.63", "tracing", "trie-db 0.28.0", ] @@ -22154,7 +22177,7 @@ dependencies = [ "sp-externalities 0.29.0", "sp-panic-handler 13.0.0", "sp-trie 37.0.0", - "thiserror", + "thiserror 1.0.63", "tracing", "trie-db 0.29.1", ] @@ -22181,7 +22204,7 @@ dependencies = [ "sp-runtime 34.0.0", "sp-runtime-interface 26.0.0", "sp-std 14.0.0", - "thiserror", + "thiserror 1.0.63", "x25519-dalek 2.0.1", ] @@ -22206,7 +22229,7 @@ dependencies = [ "sp-externalities 0.29.0", "sp-runtime 39.0.0", "sp-runtime-interface 28.0.0", - "thiserror", + "thiserror 1.0.63", "x25519-dalek 2.0.1", ] @@ -22288,7 +22311,7 @@ dependencies = [ "sp-inherents 29.0.0", "sp-runtime 34.0.0", "sp-std 14.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -22301,7 +22324,7 @@ dependencies = [ "parity-scale-codec", "sp-inherents 34.0.0", "sp-runtime 39.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -22411,7 +22434,7 @@ dependencies = [ "schnellru", "sp-core 21.0.0", "sp-std 8.0.0", - "thiserror", + "thiserror 1.0.63", "tracing", "trie-db 0.27.1", "trie-root", @@ -22436,7 +22459,7 @@ dependencies = [ "sp-core 31.0.0", "sp-externalities 0.27.0", "sp-std 14.0.0", - "thiserror", + "thiserror 1.0.63", "tracing", "trie-db 0.28.0", "trie-root", @@ -22460,7 +22483,7 @@ dependencies = [ "schnellru", "sp-core 34.0.0", "sp-externalities 0.29.0", - "thiserror", + "thiserror 1.0.63", "tracing", "trie-db 0.29.1", "trie-root", @@ -22481,7 +22504,7 @@ dependencies = [ "sp-runtime 34.0.0", "sp-std 14.0.0", "sp-version-proc-macro 13.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -22499,7 +22522,7 @@ dependencies = [ "sp-runtime 39.0.0", "sp-std 14.0.0", "sp-version-proc-macro 14.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -22511,7 +22534,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -22523,7 +22546,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -22679,7 +22702,7 @@ dependencies = [ "serde", "serde_json", "sql-schema-describer", - "thiserror", + "thiserror 1.0.63", "tracing", "tracing-futures", "user-facing-errors", @@ -22735,7 +22758,7 @@ dependencies = [ "serde", "serde_json", "socket2 0.4.10", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "tracing-futures", @@ -22956,7 +22979,7 @@ dependencies = [ "sctp-proto", "serde", "sha-1 0.10.1", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -23046,7 +23069,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -23059,7 +23082,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -23160,7 +23183,7 @@ dependencies = [ "hyper 0.14.30", "log", "prometheus", - "thiserror", + "thiserror 1.0.63", "tokio", ] @@ -23292,7 +23315,7 @@ dependencies = [ "subxt-lightclient", "subxt-macro", "subxt-metadata", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -23311,8 +23334,8 @@ dependencies = [ "quote", "scale-info", "subxt-metadata", - "syn 2.0.74", - "thiserror", + "syn 2.0.87", + "thiserror 1.0.63", "tokio", ] @@ -23333,7 +23356,7 @@ dependencies = [ "serde_json", "smoldot 0.8.0", "smoldot-light 0.6.0", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tracing", @@ -23351,7 +23374,7 @@ dependencies = [ "darling 0.20.10", "proc-macro-error", "subxt-codegen", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -23364,7 +23387,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core-hashing 9.0.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -23384,7 +23407,7 @@ dependencies = [ "secrecy", "sha2 0.10.8", "sp-core-hashing 9.0.0", - "thiserror", + "thiserror 1.0.63", "zeroize", ] @@ -23421,7 +23444,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.63", "url", "zip", ] @@ -23452,9 +23475,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" dependencies = [ "proc-macro2", "quote", @@ -23470,7 +23493,7 @@ dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -23482,7 +23505,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -23579,7 +23602,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -23952,7 +23975,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15291287e9bff1bc6f9ff3409ed9af665bec7a5fc8ac079ea96be07bca0e2668" +dependencies = [ + "thiserror-impl 2.0.0", ] [[package]] @@ -23972,7 +24004,7 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -23983,7 +24015,18 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22efd00f33f93fa62848a7cab956c3d38c8d43095efda1decfc2b3a5dc0b8972" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", ] [[package]] @@ -24048,7 +24091,7 @@ dependencies = [ "opentls", "pin-project-lite 0.2.14", "pretty-hex", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-util 0.7.11", "tracing", @@ -24121,7 +24164,7 @@ dependencies = [ "rand 0.8.5", "rustc-hash", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.63", "unicode-normalization", "wasm-bindgen", "zeroize", @@ -24209,7 +24252,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -24577,7 +24620,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -24632,7 +24675,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -24849,7 +24892,7 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "thiserror", + "thiserror 1.0.63", "tinyvec", "tokio", "url", @@ -24874,7 +24917,7 @@ dependencies = [ "rand 0.8.5", "smallvec", "socket2 0.4.10", - "thiserror", + "thiserror 1.0.63", "tinyvec", "tokio", "tracing", @@ -24899,7 +24942,7 @@ dependencies = [ "once_cell", "rand 0.8.5", "smallvec", - "thiserror", + "thiserror 1.0.63", "tinyvec", "tokio", "tracing", @@ -24921,7 +24964,7 @@ dependencies = [ "parking_lot 0.12.3", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.63", "tokio", "trust-dns-proto 0.21.2", ] @@ -24940,7 +24983,7 @@ dependencies = [ "parking_lot 0.12.3", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "trust-dns-proto 0.22.0", @@ -24961,7 +25004,7 @@ dependencies = [ "rand 0.8.5", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", "trust-dns-proto 0.23.2", @@ -25031,7 +25074,7 @@ dependencies = [ "rand 0.8.5", "rustls 0.21.12", "sha1", - "thiserror", + "thiserror 1.0.63", "url", "utf-8", "webpki", @@ -25053,7 +25096,7 @@ dependencies = [ "rand 0.8.5", "rustls 0.21.12", "sha1", - "thiserror", + "thiserror 1.0.63", "url", "utf-8", ] @@ -25073,7 +25116,7 @@ dependencies = [ "native-tls", "rand 0.8.5", "sha1", - "thiserror", + "thiserror 1.0.63", "url", "utf-8", ] @@ -25398,7 +25441,7 @@ dependencies = [ "rand_core 0.6.4", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.63", "zeroize", ] @@ -25485,7 +25528,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", "wasm-bindgen-shared", ] @@ -25519,7 +25562,7 @@ checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -25553,7 +25596,7 @@ checksum = "4b8220be1fa9e4c889b30fd207d4906657e7e90b12e0e6b0c8b8d8709f5de021" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -25576,7 +25619,7 @@ dependencies = [ "strum 0.24.1", "strum_macros 0.24.3", "tempfile", - "thiserror", + "thiserror 1.0.63", "wasm-opt-cxx-sys", "wasm-opt-sys", ] @@ -25782,7 +25825,7 @@ dependencies = [ "log", "object 0.30.4", "target-lexicon", - "thiserror", + "thiserror 1.0.63", "wasmparser", "wasmtime-cranelift-shared", "wasmtime-environ", @@ -25817,7 +25860,7 @@ dependencies = [ "object 0.30.4", "serde", "target-lexicon", - "thiserror", + "thiserror 1.0.63", "wasmparser", "wasmtime-types", ] @@ -25900,7 +25943,7 @@ checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ "cranelift-entity", "serde", - "thiserror", + "thiserror 1.0.63", "wasmparser", ] @@ -26484,7 +26527,7 @@ dependencies = [ "pharos", "rustc_version 0.4.0", "send_wrapper 0.6.0", - "thiserror", + "thiserror 1.0.63", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -26536,7 +26579,7 @@ dependencies = [ "nom", "oid-registry 0.6.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -26553,7 +26596,7 @@ dependencies = [ "nom", "oid-registry 0.6.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -26570,7 +26613,7 @@ dependencies = [ "nom", "oid-registry 0.7.0", "rusticata-macros", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -26583,7 +26626,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -26742,7 +26785,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] @@ -26762,7 +26805,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.74", + "syn 2.0.87", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 81cb1f884..0653b8f8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -238,7 +238,9 @@ hash-db = { version = "0.16.0", default-features = false } memory-db = { version = "0.32.0", default-features = false } codec = { version = "3.1.3", package = "parity-scale-codec", default-features = false } log = { version = "0.4.21", default-features = false } -anyhow = { version = "1.0.71", default-features = false } +anyhow = { version = "1.0", default-features = false } +derive_more = { version = "1.0", default-features = false } +thiserror = { version = "2", default-features = false } alloy-rlp = { version = "0.3.7", default-features = false } alloy-rlp-derive = "0.3.7" alloy-sol-macro = "0.7.7" diff --git a/docs/pages/developers/evm/contracts/testnet.mdx b/docs/pages/developers/evm/contracts/testnet.mdx index 0a91b21dd..567f5317b 100644 --- a/docs/pages/developers/evm/contracts/testnet.mdx +++ b/docs/pages/developers/evm/contracts/testnet.mdx @@ -70,8 +70,8 @@ The current testnet environment for the Hyperbridge network. | `HandlerV1` | [`0x01b40De26Ba4C63c17A6f4Ed2cF96927C280B029`](https://gnosis-chiado.blockscout.com/address/0x01b40De26Ba4C63c17A6f4Ed2cF96927C280B029) | | `PingModule` | [`0xFE9f23F0F2fE83b8B9576d3FC94e9a7458DdDD35`](https://gnosis-chiado.blockscout.com/address/0xFE9f23F0F2fE83b8B9576d3FC94e9a7458DdDD35) | | `TokenGateway` | [`0xFcDa26cA021d5535C3059547390E6cCd8De7acA6`](https://gnosis-chiado.blockscout.com/address/0xFcDa26cA021d5535C3059547390E6cCd8De7acA6) | -| `TokenFaucet` | [`0xE2FC77763630ED77E81F3038A983075460319142`](https://gnosis-chiado.blockscout.com/address/0xE2FC77763630ED77E81F3038A983075460319142) | -| `FeeToken (USD.h)` | [`0xD3dBb48A798E7A7443EBb3A3934E18b439dDd241`](https://gnosis-chiado.blockscout.com/address/0xD3dBb48A798E7A7443EBb3A3934E18b439dDd241) | +| `TokenFaucet` | [`0x1794aB22388303ce9Cb798bE966eeEBeFe59C3a3`](https://gnosis-chiado.blockscout.com/address/0x1794aB22388303ce9Cb798bE966eeEBeFe59C3a3) | +| `FeeToken (USD.h)` | [`0xA801da100bF16D07F668F4A49E1f71fc54D05177`](https://gnosis-chiado.blockscout.com/address/0xA801da100bF16D07F668F4A49E1f71fc54D05177) | ## Gargantua V2 (Paseo) (Deprecated) diff --git a/docs/pages/developers/evm/networks.mdx b/docs/pages/developers/evm/networks.mdx index 0ca59a26d..8975fc6f9 100644 --- a/docs/pages/developers/evm/networks.mdx +++ b/docs/pages/developers/evm/networks.mdx @@ -7,5 +7,6 @@ Hyperbridge Supports the following EVM based chains * Optimism * Ethereum * Bsc +* Gnosis Support for more chains coming soon. diff --git a/docs/public/favicon.ico b/docs/public/favicon.ico index cadc5c8fe520bd2bcf6e346308e94fcbc4c9c73b..929a5473fedb398a0b7cb72b6b683b0127aa60b8 100644 GIT binary patch literal 15406 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 bNqZCH@BUNRLCm5rNcSxEUp{j?XLS4mllGoU diff --git a/docs/public/favicon.svg b/docs/public/favicon.svg index ed90e6be0..6b5af657f 100644 --- a/docs/public/favicon.svg +++ b/docs/public/favicon.svg @@ -1,11 +1,76 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/public/logo-dark.svg b/docs/public/logo-dark.svg deleted file mode 100644 index 4889ff015..000000000 --- a/docs/public/logo-dark.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/docs/public/logo-light.svg b/docs/public/logo-light.svg deleted file mode 100644 index 2097ba52f..000000000 --- a/docs/public/logo-light.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/docs/public/logo.svg b/docs/public/logo.svg index 8027e303f..78b683e5d 100644 --- a/docs/public/logo.svg +++ b/docs/public/logo.svg @@ -1,12 +1,76 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/public/logotype.svg b/docs/public/logotype.svg deleted file mode 100644 index ed90e6be0..000000000 --- a/docs/public/logotype.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/docs/vocs.config.tsx b/docs/vocs.config.tsx index 26832d295..58342f3f8 100644 --- a/docs/vocs.config.tsx +++ b/docs/vocs.config.tsx @@ -49,10 +49,7 @@ export default defineConfig({ // todo: add logo ogImageUrl: "https://vocs.dev/api/og?logo=%logo&title=%title&description=%description", - logoUrl: { - light: "/logo-dark.svg", - dark: "/logo-light.svg", - }, + logoUrl: "/logo.svg", head() { return ( <> diff --git a/evm/abi/Cargo.toml b/evm/abi/Cargo.toml index 497df5835..95c6617f1 100644 --- a/evm/abi/Cargo.toml +++ b/evm/abi/Cargo.toml @@ -14,7 +14,7 @@ forge-testsuite = { workspace = true } [dependencies] primitive-types = { workspace = true } -anyhow = { workspace = true } +anyhow = { workspace = true, default-features = true } ethers = { workspace = true } ismp = { workspace = true } diff --git a/evm/script/DeployMnt.s.sol b/evm/script/DeployMnt.s.sol new file mode 100644 index 000000000..cbf0c2c38 --- /dev/null +++ b/evm/script/DeployMnt.s.sol @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity ^0.8.17; + +import "forge-std/Script.sol"; +import "stringutils/strings.sol"; + +import {ERC6160Ext20} from "@polytope-labs/erc6160/tokens/ERC6160Ext20.sol"; + +import {PingModule} from "../examples/PingModule.sol"; +import {BaseScript} from "./BaseScript.sol"; + +// Mostly for verifying MNTs not deploying +contract DeployScript is BaseScript { + using strings for *; + + function run() external { + address tokenGateway = vm.envAddress("TOKEN_GATEWAY"); + string memory name = vm.envString("TOKEN_NAME"); + string memory symbol = vm.envString("TOKEN_SYMBOL"); + vm.startBroadcast(uint256(privateKey)); + + new ERC6160Ext20{salt: keccak256(bytes(symbol))}(tokenGateway, name, symbol); + vm.stopBroadcast(); + } +} diff --git a/evm/script/batchDeploy.sh b/evm/script/batchDeploy.sh index a41e1705d..a9d1d49b5 100755 --- a/evm/script/batchDeploy.sh +++ b/evm/script/batchDeploy.sh @@ -1,5 +1,6 @@ #!/bin/bash set -e +set -o xtrace declare -a testnet=("ethereum-sepolia" "arbitrum-sepolia" "optimism-sepolia" "base-sepolia" "bsc-testnet" "gnosis-chiado") declare -a mainnet=("ethereum" "arbitrum" "optimism" "base" "bsc" "gnosis") diff --git a/modules/consensus/grandpa/verifier/Cargo.toml b/modules/consensus/grandpa/verifier/Cargo.toml index c9bc4f994..e734f3d6f 100644 --- a/modules/consensus/grandpa/verifier/Cargo.toml +++ b/modules/consensus/grandpa/verifier/Cargo.toml @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { workspace = true, features = ["derive"]} -anyhow = { workspace = true } +anyhow = { workspace = true, default-features = false } finality-grandpa = { version = "0.16.0", features = ["derive-codec"], default-features = false } serde = { workspace = true, features = ["derive"] } derive_more = { version = "0.99.17", default-features = false, features = ["from"] } diff --git a/modules/consensus/sync-committee/primitives/Cargo.toml b/modules/consensus/sync-committee/primitives/Cargo.toml index 3c08e1c3a..efcb88d39 100644 --- a/modules/consensus/sync-committee/primitives/Cargo.toml +++ b/modules/consensus/sync-committee/primitives/Cargo.toml @@ -16,7 +16,7 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features = primitive-types = { version = "0.12.1", default-features = false, features = ["serde_no_std", "impl-codec"] } serde = { version = "1.0.185", optional = true, features = ["derive"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } -anyhow = {workspace = true, default-features = false} +anyhow = { workspace = true, default-features = false} ark-ec = { version = "0.4.2", default-features = false } ark-bls12-381 = { version = "0.4.0", default-features = false } bls_on_arkworks = { version = "0.2.2", default-features = false } @@ -37,4 +37,3 @@ std = [ "serde", "serde-hex-utils/std" ] - diff --git a/modules/hyperclient/build.sh b/modules/hyperclient/build.sh index a54f76b9d..7df93fa8b 100755 --- a/modules/hyperclient/build.sh +++ b/modules/hyperclient/build.sh @@ -7,8 +7,8 @@ pwd wasm-pack build -t bundler -d dist/bundler --release --no-default-features --features=wasm,web $1 wasm-pack build -t nodejs -d dist/node --release --no-default-features --features=wasm,nodejs $1 -rm dist/bundler/.gitignore dist/bundler/package.json dist/bundler/README.md dist/bundler/hyperclient.d.ts -rm dist/node/.gitignore dist/node/package.json dist/node/README.md dist/node/hyperclient.d.ts +rm dist/bundler/.gitignore dist/bundler/package.json dist/bundler/README.md # dist/bundler/hyperclient.d.ts +rm dist/node/.gitignore dist/node/package.json dist/node/README.md # dist/node/hyperclient.d.ts cp hyperclient.d.ts dist/bundler cp hyperclient.d.ts dist/node diff --git a/modules/hyperclient/hyperclient.d.ts b/modules/hyperclient/hyperclient.d.ts index 4d101a346..36f4fd261 100644 --- a/modules/hyperclient/hyperclient.d.ts +++ b/modules/hyperclient/hyperclient.d.ts @@ -52,11 +52,15 @@ export interface ISubstrateConfig { consensus_state_id: string; // consensus state identifier of this chain on hyperbridge hash_algo: "Keccak" | "Blake2"; + // state machine identifier as a string + state_machine: string; } export interface IHyperbridgeConfig { // websocket rpc endpoint for hyperbridge rpc_url: string; + // state machine identifier as a string + state_machine: string; } export interface IPostRequest { diff --git a/modules/hyperclient/package.json b/modules/hyperclient/package.json index 2ab22d3bd..e945ade73 100644 --- a/modules/hyperclient/package.json +++ b/modules/hyperclient/package.json @@ -1,7 +1,7 @@ { "name": "@polytope-labs/hyperclient", "description": "The hyperclient is a library for managing (in-flight) ISMP requests", - "version": "0.7.2", + "version": "1.0.1", "author": "Polytope Labs (hello@polytope.technology)", "license": "Apache-2.0", "bugs": { diff --git a/modules/hyperclient/src/interfaces.rs b/modules/hyperclient/src/interfaces.rs index ad9d5543a..61782f55f 100644 --- a/modules/hyperclient/src/interfaces.rs +++ b/modules/hyperclient/src/interfaces.rs @@ -44,10 +44,12 @@ pub struct JsSubstrateConfig { pub rpc_url: String, pub consensus_state_id: String, pub hash_algo: HashAlgorithm, + pub state_machine: String, } #[derive(Clone, Eq, PartialEq, Debug, Default, Deserialize, Serialize)] pub struct JsHyperbridgeConfig { + pub state_machine: String, pub rpc_url: String, } @@ -97,8 +99,17 @@ impl TryFrom for ClientConfig { Ok::<_, anyhow::Error>(ChainConfig::Evm(conf)) }, JsChainConfig::Substrate(val) => { + let state_machine = if val.state_machine.starts_with("0x") { + let bytes = + from_hex(&val.state_machine).map_err(|err| anyhow!("Hex: {err:?}"))?; + StateMachine::from_str(&String::from_utf8(bytes)?) + .map_err(|e| anyhow!("{e:?}"))? + } else { + StateMachine::from_str(&val.state_machine).map_err(|e| anyhow!("{e:?}"))? + }; let conf = SubstrateConfig { rpc_url: val.rpc_url.clone(), + state_machine, consensus_state_id: { if val.consensus_state_id.len() != 4 { Err(anyhow!( @@ -124,8 +135,15 @@ impl TryFrom for ClientConfig { }; let to_hyperbridge_config = |val: &JsHyperbridgeConfig| { + let state_machine = if val.state_machine.starts_with("0x") { + let bytes = from_hex(&val.state_machine).map_err(|err| anyhow!("Hex: {err:?}"))?; + StateMachine::from_str(&String::from_utf8(bytes)?).map_err(|e| anyhow!("{e:?}"))? + } else { + StateMachine::from_str(&val.state_machine).map_err(|e| anyhow!("{e:?}"))? + }; let conf = SubstrateConfig { rpc_url: val.rpc_url.clone(), + state_machine, consensus_state_id: [0u8; 4], hash_algo: HashAlgorithm::Keccak, }; @@ -330,6 +348,7 @@ mod tests { rpc_url: "ws://127.0.0.1:9990".to_string(), consensus_state_id: [0u8; 4], hash_algo: HashAlgorithm::Keccak, + state_machine: StateMachine::Kusama(4009), }; let config = ClientConfig { source: ChainConfig::Evm(source_chain.clone()), @@ -353,7 +372,10 @@ mod tests { consensus_state_id: "ETH0".to_string(), }; - let js_hyperbridge = JsHyperbridgeConfig { rpc_url: "ws://127.0.0.1:9990".to_string() }; + let js_hyperbridge = JsHyperbridgeConfig { + rpc_url: "ws://127.0.0.1:9990".to_string(), + state_machine: "KUSAMA-4009".into(), + }; let js_client_conf = JsClientConfig { source: JsChainConfig::Evm(js_source), diff --git a/modules/hyperclient/src/internals/post_request.rs b/modules/hyperclient/src/internals/post_request.rs index 81211ef08..606625237 100644 --- a/modules/hyperclient/src/internals/post_request.rs +++ b/modules/hyperclient/src/internals/post_request.rs @@ -415,6 +415,11 @@ pub async fn post_request_status_stream( hyperbridge_client.state_machine_id(), ) .await?; + + tracing::trace!( + "\n\n\nLatest hyperbridge height: {latest_hyperbridge_height}" + ); + // check if the height has already been finalized if latest_hyperbridge_height >= height { let latest_height = dest_client.query_latest_block_height().await?; diff --git a/modules/hyperclient/src/providers/substrate.rs b/modules/hyperclient/src/providers/substrate.rs index f72fae7d0..4cf2b90b9 100644 --- a/modules/hyperclient/src/providers/substrate.rs +++ b/modules/hyperclient/src/providers/substrate.rs @@ -85,19 +85,10 @@ where rpc_url: String, hashing: HashAlgorithm, consensus_state_id: [u8; 4], + state_id: StateMachine, ) -> Result { let client = subxt_utils::client::ws_client(&rpc_url, 10 * 1024 * 1024).await?; - let para_id_key = - hex!("0d715f2646c8f85767b5d2764bb2782604a74d81251e398fd8a0a4d55023bb3f").to_vec(); - let response = client - .rpc() - .storage(¶_id_key, None) - .await? - .ok_or_else(|| anyhow!("Failed to fetch timestamp"))?; - let state_id: u32 = codec::Decode::decode(&mut response.0.as_slice())?; - - let state_machine = - StateMachineId { state_id: StateMachine::Kusama(state_id), consensus_state_id }; + let state_machine = StateMachineId { state_id, consensus_state_id }; Ok(Self { rpc_url, client, state_machine, hashing }) } diff --git a/modules/hyperclient/src/testing.rs b/modules/hyperclient/src/testing.rs index 111ad38a7..fa6944c95 100644 --- a/modules/hyperclient/src/testing.rs +++ b/modules/hyperclient/src/testing.rs @@ -78,6 +78,8 @@ pub async fn subscribe_to_request_status() -> Result<(), anyhow::Error> { }; let hyperbrige_config = SubstrateConfig { + state_machine: StateMachine::Kusama(4009), + rpc_url: "wss://hyperbridge-paseo-rpc.blockops.network:443".to_string(), // rpc_url: "ws://127.0.0.1:9001".to_string(), consensus_state_id: *b"PARA", @@ -182,6 +184,8 @@ pub async fn test_timeout_request() -> Result<(), anyhow::Error> { }; let hyperbrige_config = SubstrateConfig { + state_machine: StateMachine::Kusama(4009), + rpc_url: "wss://hyperbridge-paseo-rpc.blockops.network:443".to_string(), // rpc_url: "ws://127.0.0.1:9001".to_string(), consensus_state_id: *b"PARA", @@ -361,6 +365,8 @@ pub async fn get_request_handling() -> Result<(), anyhow::Error> { }; let hyperbrige_config = SubstrateConfig { + state_machine: StateMachine::Kusama(4009), + // rpc_url: "wss://hyperbridge-paseo-rpc.blockops.network:443".to_string(), rpc_url: "ws://127.0.0.1:9001".to_string(), consensus_state_id: *b"PARA", diff --git a/modules/hyperclient/src/tests.rs b/modules/hyperclient/src/tests.rs index 1e1452541..c11bb5dd9 100644 --- a/modules/hyperclient/src/tests.rs +++ b/modules/hyperclient/src/tests.rs @@ -92,6 +92,8 @@ async fn test_query_status_from_indexer() -> Result<(), anyhow::Error> { }; let hyperbrige_config = SubstrateConfig { + state_machine: StateMachine::Kusama(4009), + rpc_url: "wss://hyperbridge-paseo-rpc.blockops.network:443".to_string(), consensus_state_id: *b"PARA", hash_algo: HashAlgorithm::Keccak, @@ -171,6 +173,8 @@ async fn test_query_response_status_from_indexer() -> Result<(), anyhow::Error> }; let hyperbrige_config = SubstrateConfig { + state_machine: StateMachine::Kusama(4009), + rpc_url: "wss://hyperbridge-paseo-rpc.blockops.network:443".to_string(), consensus_state_id: *b"PARA", hash_algo: HashAlgorithm::Keccak, diff --git a/modules/hyperclient/src/types.rs b/modules/hyperclient/src/types.rs index 12940a78f..ac620d1eb 100644 --- a/modules/hyperclient/src/types.rs +++ b/modules/hyperclient/src/types.rs @@ -63,6 +63,7 @@ pub struct SubstrateConfig { pub rpc_url: String, pub consensus_state_id: ConsensusStateId, pub hash_algo: HashAlgorithm, + pub state_machine: StateMachine, } impl SubstrateConfig { @@ -71,6 +72,7 @@ impl SubstrateConfig { self.rpc_url.clone(), self.hash_algo, self.consensus_state_id, + self.state_machine, ) .await?; Ok(client) diff --git a/modules/ismp/clients/bsc/Cargo.toml b/modules/ismp/clients/bsc/Cargo.toml index 59f8b7bab..21da1db09 100644 --- a/modules/ismp/clients/bsc/Cargo.toml +++ b/modules/ismp/clients/bsc/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] log = { version = "0.4.17", default-features = false } -anyhow = { workspace = true } +anyhow = { workspace = true, default-features = false } codec = { package = "parity-scale-codec", version = "3.1.3", default-features = false } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } diff --git a/modules/ismp/core/Cargo.toml b/modules/ismp/core/Cargo.toml index 32558df30..d3eac9561 100644 --- a/modules/ismp/core/Cargo.toml +++ b/modules/ismp/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ismp" -version = "0.2.1" +version = "0.2.2" edition = "2021" description = "Rust implementation of the interoperable state machine protocol" authors = ["Polytope Labs "] @@ -17,10 +17,12 @@ codec = { workspace = true } primitive-types = { workspace = true, features = ["codec", "scale-info", "serde_no_std"] } serde = { workspace = true, features = ["derive"] } scale-info = { workspace = true, features = ["derive"] } -derive_more = { version = "0.99.17", default-features = false, features = ["from", "into", "display"] } +derive_more = { workspace = true, default-features = false, features = ["from", "into", "display"] } +displaydoc = { version = "0.2", default-features = false } serde_json = { version = "1.0.99", default-features = false, features = ["alloc"] } hex = { version = "0.4.3", features = ["alloc"], default-features = false } -anyhow = {workspace = true, default-features = false} +anyhow = { workspace = true, default-features = false } +thiserror = { workspace = true, default-features = false } serde-hex-utils = { workspace = true, default-features = false } [features] @@ -35,5 +37,7 @@ std = [ "hex/std", "serde_json/std", "serde-hex-utils/std", + "thiserror/std", + "displaydoc/std", "anyhow/std" ] diff --git a/modules/ismp/core/src/error.rs b/modules/ismp/core/src/error.rs index eda1ebaf5..bf3d4b41e 100644 --- a/modules/ismp/core/src/error.rs +++ b/modules/ismp/core/src/error.rs @@ -25,16 +25,20 @@ use core::time::Duration; use scale_info::TypeInfo; /// Errors that may be encountered by the ISMP module -#[derive(Debug, Eq, PartialEq, Encode, Decode, TypeInfo)] +#[derive(Debug, Eq, PartialEq, Encode, Decode, TypeInfo, displaydoc::Display, thiserror::Error)] pub enum Error { - /// The unbonding period for the given consensus client has elapsed and can no longer process - /// consensus updates. + /** + * The unbonding period for the given consensus client has elapsed and can no longer + * process consensus updates. + */ UnbondingPeriodElapsed { /// The consensus client identifier consensus_state_id: ConsensusStateId, }, - /// The challange period for the given consensus client has not yet elapsed and cannot process - /// new consensus updates in the mean time. + /** + * The challange period for the given consensus client has not yet elapsed and cannot + * process new consensus updates in the mean time. + */ ChallengePeriodNotElapsed { /// The consensus client identifier state_machine_id: StateMachineId, @@ -208,18 +212,3 @@ pub enum Error { meta: Meta, }, } - -impl core::fmt::Display for Error { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - write!(f, "{self:?}") - } -} - -impl core::error::Error for Error {} - -#[cfg(not(feature = "std"))] -impl From for anyhow::Error { - fn from(value: Error) -> Self { - anyhow::Error::msg(value) - } -} diff --git a/modules/ismp/pallets/asset-gateway/src/xcm_utilities.rs b/modules/ismp/pallets/asset-gateway/src/xcm_utilities.rs index 3a12b07f7..a11043675 100644 --- a/modules/ismp/pallets/asset-gateway/src/xcm_utilities.rs +++ b/modules/ismp/pallets/asset-gateway/src/xcm_utilities.rs @@ -1,7 +1,7 @@ use crate::{AssetIds, Config, Pallet}; use alloc::vec::Vec; use codec::Encode; -use core::marker::PhantomData; +use core::{cmp::min, marker::PhantomData}; use frame_support::traits::{ fungibles::{self, Mutate}, Contains, @@ -200,7 +200,9 @@ where // messages let base_fee = if who.dest_state_machine == StateMachine::Evm(1) { 20_000_000_000u128 } else { 0 }; - let protocol_fees = protocol_percentage * u128::from(amount) + base_fee; + // Cap protocol fees at 100 DOT + let protocol_fees = + min(protocol_percentage * u128::from(amount) + base_fee, 1000_000_000_000u128); let remainder = u128::from(amount) .checked_sub(protocol_fees.into()) .ok_or_else(|| XcmError::Overflow)? diff --git a/modules/ismp/pallets/pallet/src/lib.rs b/modules/ismp/pallets/pallet/src/lib.rs index 7413245c8..0de9048b2 100644 --- a/modules/ismp/pallets/pallet/src/lib.rs +++ b/modules/ismp/pallets/pallet/src/lib.rs @@ -536,8 +536,9 @@ pub mod pallet { let metadata = match message.commitment { MessageCommitment::Request(commitment) => RequestCommitments::::get(commitment), - MessageCommitment::Response(commitment) => - ResponseCommitments::::get(commitment), + MessageCommitment::Response(commitment) => { + ResponseCommitments::::get(commitment) + }, }; let Some(mut metadata) = metadata else { @@ -687,10 +688,11 @@ pub mod pallet { // check that requests will be successfully dispatched // so we can not be spammed with failing txs .map(|result| match result { - MessageResult::Request(results) | - MessageResult::Response(results) | - MessageResult::Timeout(results) => - results.into_iter().map(|result| result.map(|_| ())).collect::>(), + MessageResult::Request(results) + | MessageResult::Response(results) + | MessageResult::Timeout(results) => { + results.into_iter().map(|result| result.map(|_| ())).collect::>() + }, MessageResult::ConsensusMessage(_) | MessageResult::FrozenClient(_) => { vec![Ok(())] }, diff --git a/modules/ismp/pallets/token-gateway/primitives/src/lib.rs b/modules/ismp/pallets/token-gateway/primitives/src/lib.rs index 5c6744094..a20d233e4 100644 --- a/modules/ismp/pallets/token-gateway/primitives/src/lib.rs +++ b/modules/ismp/pallets/token-gateway/primitives/src/lib.rs @@ -42,7 +42,7 @@ pub fn token_governor_id() -> Vec { #[derive(Debug, Clone, Encode, Decode, scale_info::TypeInfo, PartialEq, Eq, Default)] pub struct AssetMetadata { /// The asset name - pub name: BoundedVec>, + pub name: BoundedVec>, /// The asset symbol pub symbol: BoundedVec>, /// The asset decimals of the ERC6160 or ERC20 counterpart of this asset @@ -61,7 +61,7 @@ pub struct DeregisterAssets { #[derive(Debug, Clone, Encode, Decode, scale_info::TypeInfo, PartialEq, Eq)] pub struct GatewayAssetRegistration { /// The asset name - pub name: BoundedVec>, + pub name: BoundedVec>, /// The asset symbol pub symbol: BoundedVec>, /// The list of chains to create the asset on diff --git a/modules/ismp/pallets/token-governor/src/impls.rs b/modules/ismp/pallets/token-governor/src/impls.rs index 5885fd97f..70f4fc4c3 100644 --- a/modules/ismp/pallets/token-governor/src/impls.rs +++ b/modules/ismp/pallets/token-governor/src/impls.rs @@ -239,6 +239,9 @@ where FeeMetadata { payer: [0u8; 32].into(), fee: Default::default() }, ) .map_err(|_| Error::::DispatchFailed)?; + + // skip if it already was dispatched to the provided chain + SupportedChains::::remove(&update.asset_id, &chain) } for (chain, admin) in update.new_admins { diff --git a/modules/ismp/pallets/token-governor/src/types.rs b/modules/ismp/pallets/token-governor/src/types.rs index 81d85d16c..f9865bdd8 100644 --- a/modules/ismp/pallets/token-governor/src/types.rs +++ b/modules/ismp/pallets/token-governor/src/types.rs @@ -109,7 +109,7 @@ pub struct ParamsUpdate { #[derive(Debug, Clone, Encode, Decode, scale_info::TypeInfo, PartialEq, Eq)] pub struct ERC6160AssetRegistration { /// The asset name - pub name: BoundedVec>, + pub name: BoundedVec>, /// The asset symbol pub symbol: BoundedVec>, /// The list of chains to create the asset on along with their the initial supply on the @@ -134,7 +134,7 @@ pub struct UnsignedERC6160AssetRegistration { #[derive(Debug, Clone, Encode, Decode, scale_info::TypeInfo, PartialEq, Eq)] pub struct ERC20AssetRegistration { /// The asset name - pub name: BoundedVec>, + pub name: BoundedVec>, /// The asset symbol pub symbol: BoundedVec>, /// Chains to support as well as the current ERC20 address on that chain diff --git a/modules/utils/serde/Cargo.toml b/modules/utils/serde/Cargo.toml index 227c7bd16..173e39bb6 100644 --- a/modules/utils/serde/Cargo.toml +++ b/modules/utils/serde/Cargo.toml @@ -14,7 +14,7 @@ readme = "./README.md" # crates.io serde = { workspace = true, features = ["derive"] } hex = { version = "0.4.3", features = ["alloc"], default-features = false } -anyhow = {workspace = true, default-features = false } +anyhow = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/parachain/runtimes/gargantua/src/ismp.rs b/parachain/runtimes/gargantua/src/ismp.rs index 18e6d91fc..2bf189a70 100644 --- a/parachain/runtimes/gargantua/src/ismp.rs +++ b/parachain/runtimes/gargantua/src/ismp.rs @@ -226,10 +226,12 @@ impl IsmpModule for ProxyModule { let token_governor = ModuleId::Pallet(PalletId(pallet_token_governor::PALLET_ID)); match pallet_id { - pallet_ismp_demo::PALLET_ID => - pallet_ismp_demo::IsmpModuleCallback::::default().on_accept(request), - id if id == xcm_gateway => - pallet_xcm_gateway::Module::::default().on_accept(request), + pallet_ismp_demo::PALLET_ID => { + pallet_ismp_demo::IsmpModuleCallback::::default().on_accept(request) + }, + id if id == xcm_gateway => { + pallet_xcm_gateway::Module::::default().on_accept(request) + }, id if id == token_governor => TokenGovernor::default().on_accept(request), _ => Err(anyhow!("Destination module not found")), } @@ -244,41 +246,48 @@ impl IsmpModule for ProxyModule { return Ok(()); } - let request = &response.request(); - let from = match &request { - Request::Post(post) => &post.from, - Request::Get(get) => &get.from, + let dest = match &response { + Response::Post(post) => &post.destination_module(), + Response::Get(resp) => &resp.get.from, }; - let pallet_id = ModuleId::from_bytes(from).map_err(|err| Error::Custom(err.to_string()))?; + let pallet_id = ModuleId::from_bytes(dest).map_err(|err| Error::Custom(err.to_string()))?; match pallet_id { - pallet_ismp_demo::PALLET_ID => - pallet_ismp_demo::IsmpModuleCallback::::default().on_response(response), + pallet_ismp_demo::PALLET_ID => { + pallet_ismp_demo::IsmpModuleCallback::::default().on_response(response) + }, _ => Err(anyhow!("Destination module not found")), } } fn on_timeout(&self, timeout: Timeout) -> Result<(), anyhow::Error> { - let (from, _source, dest) = match &timeout { + let (from, source, dest) = match &timeout { Timeout::Request(Request::Post(post)) => { if post.source != HostStateMachine::get() { TokenGatewayInspector::handle_timeout(post)?; } (&post.from, post.source.clone(), post.dest.clone()) }, - Timeout::Request(Request::Get(get)) => - (&get.from, get.source.clone(), get.dest.clone()), - Timeout::Response(res) => (&res.post.to, res.source_chain(), res.dest_chain()), + Timeout::Request(Request::Get(get)) => { + (&get.from, get.source.clone(), get.dest.clone()) + }, + Timeout::Response(res) => (&res.source_module(), res.source_chain(), res.dest_chain()), }; + if source != HostStateMachine::get() { + return Ok(()); + } + let pallet_id = ModuleId::from_bytes(from).map_err(|err| Error::Custom(err.to_string()))?; let xcm_gateway = ModuleId::Evm(XcmGateway::token_gateway_address(&dest)); match pallet_id { - pallet_ismp_demo::PALLET_ID => - pallet_ismp_demo::IsmpModuleCallback::::default().on_timeout(timeout), - id if id == xcm_gateway => - pallet_xcm_gateway::Module::::default().on_timeout(timeout), + pallet_ismp_demo::PALLET_ID => { + pallet_ismp_demo::IsmpModuleCallback::::default().on_timeout(timeout) + }, + id if id == xcm_gateway => { + pallet_xcm_gateway::Module::::default().on_timeout(timeout) + }, // instead of returning an error, do nothing. The timeout is for a connected chain. _ => Ok(()), } diff --git a/parachain/runtimes/gargantua/src/lib.rs b/parachain/runtimes/gargantua/src/lib.rs index fc375814b..e9bd1e9f1 100644 --- a/parachain/runtimes/gargantua/src/lib.rs +++ b/parachain/runtimes/gargantua/src/lib.rs @@ -233,7 +233,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("gargantua"), impl_name: create_runtime_str!("gargantua"), authoring_version: 1, - spec_version: 1200, + spec_version: 1300, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/parachain/runtimes/nexus/src/ismp.rs b/parachain/runtimes/nexus/src/ismp.rs index 7677f8c3d..c5c590b00 100644 --- a/parachain/runtimes/nexus/src/ismp.rs +++ b/parachain/runtimes/nexus/src/ismp.rs @@ -220,8 +220,9 @@ impl IsmpModule for ProxyModule { let token_governor = ModuleId::Pallet(PalletId(pallet_token_governor::PALLET_ID)); match pallet_id { - id if id == xcm_gateway => - pallet_xcm_gateway::Module::::default().on_accept(request), + id if id == xcm_gateway => { + pallet_xcm_gateway::Module::::default().on_accept(request) + }, id if id == token_governor => TokenGovernor::default().on_accept(request), _ => Err(anyhow!("Destination module not found")), } @@ -240,7 +241,7 @@ impl IsmpModule for ProxyModule { } fn on_timeout(&self, timeout: Timeout) -> Result<(), anyhow::Error> { - let (from, _source, dest) = match &timeout { + let (from, source, dest) = match &timeout { Timeout::Request(Request::Post(post)) => { if post.source != HostStateMachine::get() { TokenGatewayInspector::handle_timeout(post)?; @@ -248,14 +249,21 @@ impl IsmpModule for ProxyModule { (&post.from, &post.source, &post.dest) }, Timeout::Request(Request::Get(get)) => (&get.from, &get.source, &get.dest), - Timeout::Response(res) => (&res.post.to, &res.post.dest, &res.post.dest), + Timeout::Response(res) => { + (&res.source_module(), &res.source_chain(), &res.dest_chain()) + }, }; + if *source != HostStateMachine::get() { + return Ok(()); + } + let pallet_id = ModuleId::from_bytes(from).map_err(|err| Error::Custom(err.to_string()))?; let xcm_gateway = ModuleId::Evm(XcmGateway::token_gateway_address(dest)); match pallet_id { - id if id == xcm_gateway => - pallet_xcm_gateway::Module::::default().on_timeout(timeout), + id if id == xcm_gateway => { + pallet_xcm_gateway::Module::::default().on_timeout(timeout) + }, // instead of returning an error, do nothing. The timeout is for a connected chain. _ => Ok(()), } diff --git a/parachain/runtimes/nexus/src/lib.rs b/parachain/runtimes/nexus/src/lib.rs index c853dae71..bfae11b68 100644 --- a/parachain/runtimes/nexus/src/lib.rs +++ b/parachain/runtimes/nexus/src/lib.rs @@ -217,7 +217,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("nexus"), impl_name: create_runtime_str!("nexus"), authoring_version: 1, - spec_version: 1600, + spec_version: 1800, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/tesseract/evm/Cargo.toml b/tesseract/evm/Cargo.toml index 56186eb40..2f901f362 100644 --- a/tesseract/evm/Cargo.toml +++ b/tesseract/evm/Cargo.toml @@ -7,14 +7,14 @@ authors = ["Polytope Labs "] publish = false [build-dependencies] -anyhow = "1.0.75" +anyhow = { workspace = true } ethers-contract-abigen = { workspace = true } [dependencies] reqwest = { version = "0.11", features = ["json"] } serde = { version = "1.0.164", features = ["derive"] } -anyhow = "1.0.75" +anyhow = { workspace = true } primitive-types = "0.12.1" futures = "0.3.28" async-trait = "0.1.71" diff --git a/tesseract/fees/Cargo.toml b/tesseract/fees/Cargo.toml index 83504ba64..8c3dc6e71 100644 --- a/tesseract/fees/Cargo.toml +++ b/tesseract/fees/Cargo.toml @@ -7,7 +7,7 @@ authors = ["Polytope Labs "] publish = false [dependencies] -anyhow = "1.0.75" +anyhow = { workspace = true } async-trait = "0.1.53" futures = "0.3.28" tokio = { workspace = true, features = ["full"] } diff --git a/tesseract/fisherman/Cargo.toml b/tesseract/fisherman/Cargo.toml index 3dad045f2..6fa66d9bc 100644 --- a/tesseract/fisherman/Cargo.toml +++ b/tesseract/fisherman/Cargo.toml @@ -6,7 +6,7 @@ description = "A process that checks for malicious consensus updates" authors = ["Polytope Labs "] [dependencies] -anyhow = "1.0.75" +anyhow = { workspace = true } log = "0.4.17" futures = "0.3.28" tracing = "0.1.40" diff --git a/tesseract/integration-test/Cargo.toml b/tesseract/integration-test/Cargo.toml index b2fc8a2cc..781f7a111 100644 --- a/tesseract/integration-test/Cargo.toml +++ b/tesseract/integration-test/Cargo.toml @@ -16,7 +16,7 @@ pallet-hyperbridge = { workspace = true } pallet-ismp-demo = {workspace = true} sc-consensus-manual-seal = { workspace = true } -anyhow = "1.0.75" +anyhow = { workspace = true } tracing = "0.1.40" percentage = "0.1.0" futures = "0.3.28" diff --git a/tesseract/messaging/Cargo.toml b/tesseract/messaging/Cargo.toml index cea78dc5d..e192b3baa 100644 --- a/tesseract/messaging/Cargo.toml +++ b/tesseract/messaging/Cargo.toml @@ -7,7 +7,7 @@ authors = ["Polytope Labs "] publish = false [dependencies] -anyhow = "1.0.75" +anyhow = { workspace = true } tracing = "0.1.40" percentage = "0.1.0" futures = "0.3.28" diff --git a/tesseract/relayer/Cargo.toml b/tesseract/relayer/Cargo.toml index 262247080..a08a4bed9 100644 --- a/tesseract/relayer/Cargo.toml +++ b/tesseract/relayer/Cargo.toml @@ -31,7 +31,7 @@ env_logger = "0.10.0" hex = "0.4.3" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } -anyhow = "1.0.71" +anyhow = { workspace = true } futures = "0.3.28" serde = { version = "1.0.164", features = ["derive"] } json = { version = "1.0.112", package = "serde_json" } diff --git a/tesseract/substrate/Cargo.toml b/tesseract/substrate/Cargo.toml index 7c486364c..c0d705af0 100644 --- a/tesseract/substrate/Cargo.toml +++ b/tesseract/substrate/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] serde = { version = "1.0.164", features = ["derive"] } -anyhow = "1.0.75" +anyhow = { workspace = true } futures = "0.3.28" async-trait = "0.1.71" parking_lot = "0.12.1" diff --git a/tesseract/telemetry/Cargo.toml b/tesseract/telemetry/Cargo.toml index cb37558de..63a06cff7 100644 --- a/tesseract/telemetry/Cargo.toml +++ b/tesseract/telemetry/Cargo.toml @@ -15,7 +15,7 @@ serde = { version = "1.0.196", features = ["derive"] } serde_json = "1.0.112" tower = "0.4.13" tower-http = { version = "0.5.1", features = ["cors"] } -anyhow = "1.0.79" +anyhow = { workspace = true } axum = "0.7.4" sp-core = { version = "28.0.0", features = ["full_crypto"] } ismp.workspace = true