diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46c480ba7..d8a11c3e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -208,11 +208,9 @@ jobs: compose_extrinsic, custom_nonce, check_extrinsic_events, - get_account_identity, get_blocks, get_storage, print_metadata, - staking_batch_payout, subscribe_events, sudo, new_json_rpc_api_calls, @@ -225,7 +223,6 @@ jobs: jsonrpsee_tests, keystore_tests, pallet_balances_tests, - pallet_contract_tests, pallet_transaction_payment_tests, runtime_api_tests, tungstenite_client_test, @@ -240,7 +237,7 @@ jobs: - name: Run latest node run: | - docker run -p 9944:9944 -p 9933:9933 -p 30333:30333 paritypr/substrate:master-178e699c --dev --rpc-external & + docker run -p 9944:9944 -p 9933:9933 -p 30333:30333 parity/polkadot:latest --dev --rpc-external & - name: Wait until node has started run: sleep 20s diff --git a/Cargo.lock b/Cargo.lock index d837d7c06..12271b37b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,15 +28,16 @@ dependencies = [ name = "ac-examples-async" version = "0.18.0" dependencies = [ - "env_logger 0.11.5", + "env_logger", "frame-support", "frame-system", - "kitchensink-runtime", "log", "pallet-balances", "pallet-identity", + "pallet-recovery", "pallet-staking", "parity-scale-codec", + "rococo-runtime", "serde_json", "sp-core", "sp-keyring", @@ -52,7 +53,7 @@ dependencies = [ name = "ac-examples-sync" version = "0.18.0" dependencies = [ - "env_logger 0.11.5", + "env_logger", "log", "sp-core", "sp-keyring", @@ -149,10 +150,10 @@ version = "0.18.0" dependencies = [ "frame-support", "jsonrpsee", - "kitchensink-runtime", "pallet-balances", - "pallet-staking", + "pallet-society", "parity-scale-codec", + "rococo-runtime", "sp-core", "sp-crypto-hashing", "sp-keyring", @@ -173,15 +174,6 @@ dependencies = [ "substrate-api-client", ] -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli 0.27.3", -] - [[package]] name = "addr2line" version = "0.22.0" @@ -207,42 +199,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "aes" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" -dependencies = [ - "cfg-if 1.0.0", - "cipher", - "cpufeatures", -] - -[[package]] -name = "aes-gcm" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" -dependencies = [ - "aead", - "aes", - "cipher", - "ctr", - "ghash", - "subtle", -] - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom 0.2.15", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.11" @@ -271,65 +227,6 @@ version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" -[[package]] -name = "alloy-primitives" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0628ec0ba5b98b3370bb6be17b12f23bfce8ee4ad83823325a20546d9b03b78" -dependencies = [ - "alloy-rlp", - "bytes 1.7.1", - "cfg-if 1.0.0", - "const-hex", - "derive_more", - "hex-literal", - "itoa", - "proptest", - "rand 0.8.5", - "ruint", - "serde", - "tiny-keccak", -] - -[[package]] -name = "alloy-rlp" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26154390b1d205a4a7ac7352aa2eb4f81f391399d4e2f546fb81a2f8bb383f62" -dependencies = [ - "arrayvec", - "bytes 1.7.1", -] - -[[package]] -name = "alloy-sol-macro" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a98ad1696a2e17f010ae8e43e9f2a1e930ed176a8e3ff77acfeff6dfb07b42c" -dependencies = [ - "const-hex", - "dunce", - "heck 0.4.1", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 2.0.76", - "syn-solidity", - "tiny-keccak", -] - -[[package]] -name = "alloy-sol-types" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98d7107bed88e8f09f0ddcc3335622d87bfb6821f3e0c7473329fb1cfad5e015" -dependencies = [ - "alloy-primitives", - "alloy-sol-macro", - "const-hex", - "serde", -] - [[package]] name = "anstream" version = "0.6.15" @@ -415,8 +312,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ "ark-ec", - "ark-ff 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-std", ] [[package]] @@ -428,7 +325,7 @@ dependencies = [ "ark-bls12-377", "ark-ec", "ark-models-ext", - "ark-std 0.4.0", + "ark-std", ] [[package]] @@ -438,9 +335,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-serialize", + "ark-std", ] [[package]] @@ -451,10 +348,10 @@ checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" dependencies = [ "ark-bls12-381", "ark-ec", - "ark-ff 0.4.2", + "ark-ff", "ark-models-ext", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-serialize", + "ark-std", ] [[package]] @@ -465,8 +362,8 @@ checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" dependencies = [ "ark-bls12-377", "ark-ec", - "ark-ff 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-std", ] [[package]] @@ -477,9 +374,9 @@ checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" dependencies = [ "ark-bw6-761", "ark-ec", - "ark-ff 0.4.2", + "ark-ff", "ark-models-ext", - "ark-std 0.4.0", + "ark-std", ] [[package]] @@ -488,10 +385,10 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ - "ark-ff 0.4.2", + "ark-ff", "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-serialize", + "ark-std", "derivative", "hashbrown 0.13.2", "itertools 0.10.5", @@ -508,8 +405,8 @@ checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" dependencies = [ "ark-bls12-377", "ark-ec", - "ark-ff 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-std", ] [[package]] @@ -520,9 +417,9 @@ checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" dependencies = [ "ark-ec", "ark-ed-on-bls12-377", - "ark-ff 0.4.2", + "ark-ff", "ark-models-ext", - "ark-std 0.4.0", + "ark-std", ] [[package]] @@ -533,8 +430,8 @@ checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" dependencies = [ "ark-bls12-381", "ark-ec", - "ark-ff 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-std", ] [[package]] @@ -545,27 +442,9 @@ checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" dependencies = [ "ark-ec", "ark-ed-on-bls12-381-bandersnatch", - "ark-ff 0.4.2", + "ark-ff", "ark-models-ext", - "ark-std 0.4.0", -] - -[[package]] -name = "ark-ff" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b3235cc41ee7a12aaaf2c575a2ad7b46713a8a50bda2fc3b003a04845c05dd6" -dependencies = [ - "ark-ff-asm 0.3.0", - "ark-ff-macros 0.3.0", - "ark-serialize 0.3.0", - "ark-std 0.3.0", - "derivative", - "num-bigint", - "num-traits", - "paste", - "rustc_version 0.3.3", - "zeroize", + "ark-std", ] [[package]] @@ -574,30 +453,20 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" dependencies = [ - "ark-ff-asm 0.4.2", - "ark-ff-macros 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", "derivative", "digest 0.10.7", "itertools 0.10.5", "num-bigint", "num-traits", "paste", - "rustc_version 0.4.0", + "rustc_version", "zeroize", ] -[[package]] -name = "ark-ff-asm" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db02d390bf6643fb404d3d22d31aee1c4bc4459600aef9113833d17e786c6e44" -dependencies = [ - "quote", - "syn 1.0.109", -] - [[package]] name = "ark-ff-asm" version = "0.4.2" @@ -608,18 +477,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ark-ff-macros" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" -dependencies = [ - "num-bigint", - "num-traits", - "quote", - "syn 1.0.109", -] - [[package]] name = "ark-ff-macros" version = "0.4.2" @@ -640,9 +497,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" dependencies = [ "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-serialize", + "ark-std", "derivative", ] @@ -652,9 +509,9 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" dependencies = [ - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-serialize", + "ark-std", "derivative", "hashbrown 0.13.2", ] @@ -666,9 +523,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" dependencies = [ "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-serialize", + "ark-std", "parity-scale-codec", "scale-info", ] @@ -679,25 +536,15 @@ version = "0.0.2" source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" dependencies = [ "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-serialize", + "ark-std", "ark-transcript", "digest 0.10.7", "getrandom_or_panic", "zeroize", ] -[[package]] -name = "ark-serialize" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6c2b318ee6e10f8c2853e73a83adc0ccb88995aa978d8a3408d492ab2ee671" -dependencies = [ - "ark-std 0.3.0", - "digest 0.9.0", -] - [[package]] name = "ark-serialize" version = "0.4.2" @@ -705,7 +552,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ "ark-serialize-derive", - "ark-std 0.4.0", + "ark-std", "digest 0.10.7", "num-bigint", ] @@ -721,16 +568,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ark-std" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - [[package]] name = "ark-std" version = "0.4.0" @@ -747,9 +584,9 @@ name = "ark-transcript" version = "0.0.2" source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" dependencies = [ - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-serialize", + "ark-std", "digest 0.10.7", "rand_core 0.6.4", "sha3", @@ -779,57 +616,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" -[[package]] -name = "asset-test-utils" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-pallet-parachain-system", - "cumulus-pallet-xcmp-queue", - "cumulus-primitives-core", - "frame-support", - "frame-system", - "pallet-assets", - "pallet-balances", - "pallet-collator-selection", - "pallet-session", - "pallet-timestamp", - "pallet-xcm", - "pallet-xcm-bridge-hub-router", - "parachains-common", - "parachains-runtimes-test-utils", - "parity-scale-codec", - "sp-io", - "sp-runtime", - "staging-parachain-info", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "substrate-wasm-builder", -] - -[[package]] -name = "assets-common" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "impl-trait-for-tuples", - "log", - "pallet-asset-conversion", - "pallet-xcm", - "parachains-common", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-runtime", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "substrate-wasm-builder", -] - [[package]] name = "async-trait" version = "0.1.81" @@ -847,17 +633,6 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" -[[package]] -name = "auto_impl" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.76", -] - [[package]] name = "autocfg" version = "1.3.0" @@ -870,7 +645,7 @@ version = "0.3.73" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" dependencies = [ - "addr2line 0.22.0", + "addr2line", "cc", "cfg-if 1.0.0", "libc", @@ -887,9 +662,9 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ed-on-bls12-381-bandersnatch", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-ff", + "ark-serialize", + "ark-std", "dleq_vrf", "rand_chacha 0.3.1", "rand_core 0.6.4", @@ -912,12 +687,6 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64" version = "0.22.1" @@ -933,36 +702,12 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "hash-db", "log", ] -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bit-set" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - [[package]] name = "bitcoin-internals" version = "0.2.0" @@ -1076,290 +821,40 @@ dependencies = [ ] [[package]] -name = "bp-header-chain" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ - "bp-runtime", - "finality-grandpa", - "frame-support", - "parity-scale-codec", - "scale-info", - "serde", - "sp-consensus-grandpa", - "sp-core", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "tinyvec", ] [[package]] -name = "bp-messages" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "build-helper" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdce191bf3fa4995ce948c8c83b4640a1745457a149e73c6db75b4ffe36aad5f" dependencies = [ - "bp-header-chain", - "bp-runtime", - "frame-support", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "semver 0.6.0", ] [[package]] -name = "bp-parachains" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-header-chain", - "bp-polkadot-core", - "bp-runtime", - "frame-support", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] +name = "byte-slice-cast" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" [[package]] -name = "bp-polkadot" -version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-header-chain", - "bp-polkadot-core", - "bp-runtime", - "frame-support", - "sp-api", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] +name = "byte-tools" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] -name = "bp-polkadot-core" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-messages", - "bp-runtime", - "frame-support", - "frame-system", - "parity-scale-codec", - "parity-util-mem", - "scale-info", - "serde", - "sp-core", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "bp-relayers" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-messages", - "bp-runtime", - "frame-support", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "bp-runtime" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "hash-db", - "impl-trait-for-tuples", - "log", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-trie", - "trie-db", -] - -[[package]] -name = "bp-test-utils" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-header-chain", - "bp-parachains", - "bp-polkadot-core", - "bp-runtime", - "ed25519-dalek", - "finality-grandpa", - "parity-scale-codec", - "sp-application-crypto", - "sp-consensus-grandpa", - "sp-core", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-trie", -] - -[[package]] -name = "bp-xcm-bridge-hub" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "bp-xcm-bridge-hub-router" -version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", -] - -[[package]] -name = "bridge-hub-common" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "pallet-message-queue", - "parity-scale-codec", - "scale-info", - "snowbridge-core", - "sp-core", - "sp-runtime", - "staging-xcm", -] - -[[package]] -name = "bridge-hub-test-utils" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "asset-test-utils", - "bp-header-chain", - "bp-messages", - "bp-polkadot-core", - "bp-relayers", - "bp-runtime", - "bp-test-utils", - "bridge-runtime-common", - "cumulus-pallet-parachain-system", - "cumulus-pallet-xcmp-queue", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-balances", - "pallet-bridge-grandpa", - "pallet-bridge-messages", - "pallet-bridge-parachains", - "pallet-bridge-relayers", - "pallet-timestamp", - "pallet-utility", - "parachains-common", - "parachains-runtimes-test-utils", - "parity-scale-codec", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", -] - -[[package]] -name = "bridge-runtime-common" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-header-chain", - "bp-messages", - "bp-parachains", - "bp-polkadot-core", - "bp-relayers", - "bp-runtime", - "bp-xcm-bridge-hub", - "bp-xcm-bridge-hub-router", - "frame-support", - "frame-system", - "log", - "pallet-bridge-grandpa", - "pallet-bridge-messages", - "pallet-bridge-parachains", - "pallet-bridge-relayers", - "pallet-transaction-payment", - "pallet-utility", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-trie", - "staging-xcm", - "staging-xcm-builder", - "tuplex", -] - -[[package]] -name = "bs58" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "build-helper" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdce191bf3fa4995ce948c8c83b4640a1745457a149e73c6db75b4ffe36aad5f" -dependencies = [ - "semver 0.6.0", -] - -[[package]] -name = "bumpalo" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" - -[[package]] -name = "byte-slice-cast" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" - -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - -[[package]] -name = "bytemuck" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd4c6dcc3b0aea2f5c0b4b82c2b15fe39ddbc76041a310848f4706edf76bb31" +name = "bytemuck" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fd4c6dcc3b0aea2f5c0b4b82c2b15fe39ddbc76041a310848f4706edf76bb31" [[package]] name = "byteorder" @@ -1453,16 +948,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - [[package]] name = "cmake" version = "0.1.51" @@ -1504,10 +989,10 @@ version = "0.1.0" source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" dependencies = [ "ark-ec", - "ark-ff 0.4.2", + "ark-ff", "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-serialize", + "ark-std", "fflonk", "getrandom_or_panic", "merlin", @@ -1533,19 +1018,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "const-hex" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94fb8a24a26d37e1ffd45343323dc9fe6654ceea44c12f2fcb3d7ac29e610bc6" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "hex", - "proptest", - "serde", -] - [[package]] name = "const-oid" version = "0.9.6" @@ -1606,15 +1078,6 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" -[[package]] -name = "cpp_demangle" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" -dependencies = [ - "cfg-if 1.0.0", -] - [[package]] name = "cpufeatures" version = "0.2.13" @@ -1624,113 +1087,6 @@ dependencies = [ "libc", ] -[[package]] -name = "cranelift-bforest" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" -dependencies = [ - "cranelift-entity", -] - -[[package]] -name = "cranelift-codegen" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" -dependencies = [ - "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-entity", - "cranelift-isle", - "gimli 0.27.3", - "hashbrown 0.13.2", - "log", - "regalloc2 0.6.1", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-codegen-meta" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" -dependencies = [ - "cranelift-codegen-shared", -] - -[[package]] -name = "cranelift-codegen-shared" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" - -[[package]] -name = "cranelift-entity" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" -dependencies = [ - "serde", -] - -[[package]] -name = "cranelift-frontend" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" -dependencies = [ - "cranelift-codegen", - "log", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-isle" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" - -[[package]] -name = "cranelift-native" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" -dependencies = [ - "cranelift-codegen", - "libc", - "target-lexicon", -] - -[[package]] -name = "cranelift-wasm" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" -dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools 0.10.5", - "log", - "smallvec", - "wasmparser", - "wasmtime-types", -] - -[[package]] -name = "crc32fast" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" -dependencies = [ - "cfg-if 1.0.0", -] - [[package]] name = "crossbeam-deque" version = "0.8.5" @@ -1796,308 +1152,30 @@ dependencies = [ ] [[package]] -name = "ctr" -version = "0.9.2" +name = "curve25519-dalek" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ - "cipher", + "cfg-if 1.0.0", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", ] [[package]] -name = "cumulus-pallet-aura-ext" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ - "cumulus-pallet-parachain-system", - "frame-support", - "frame-system", - "pallet-aura", - "pallet-timestamp", - "parity-scale-codec", - "scale-info", - "sp-application-crypto", - "sp-consensus-aura", - "sp-runtime", -] - -[[package]] -name = "cumulus-pallet-dmp-queue" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "staging-xcm", -] - -[[package]] -name = "cumulus-pallet-parachain-system" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bytes 1.7.1", - "cumulus-pallet-parachain-system-proc-macro", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "cumulus-primitives-proof-size-hostfunction", - "environmental", - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-message-queue", - "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "scale-info", - "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-trie", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "trie-db", -] - -[[package]] -name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.76", -] - -[[package]] -name = "cumulus-pallet-session-benchmarking" -version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-session", - "parity-scale-codec", - "sp-runtime", -] - -[[package]] -name = "cumulus-pallet-solo-to-para" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-pallet-parachain-system", - "frame-support", - "frame-system", - "pallet-sudo", - "parity-scale-codec", - "polkadot-primitives", - "scale-info", - "sp-runtime", -] - -[[package]] -name = "cumulus-pallet-xcm" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "staging-xcm", -] - -[[package]] -name = "cumulus-pallet-xcmp-queue" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bounded-collections", - "bp-xcm-bridge-hub-router", - "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-message-queue", - "parity-scale-codec", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", -] - -[[package]] -name = "cumulus-ping" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-pallet-xcm", - "cumulus-primitives-core", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "staging-xcm", -] - -[[package]] -name = "cumulus-primitives-aura" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "sp-api", - "sp-consensus-aura", -] - -[[package]] -name = "cumulus-primitives-core" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "polkadot-primitives", - "scale-info", - "sp-api", - "sp-runtime", - "sp-trie", - "staging-xcm", -] - -[[package]] -name = "cumulus-primitives-parachain-inherent" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "async-trait", - "cumulus-primitives-core", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-inherents", - "sp-trie", -] - -[[package]] -name = "cumulus-primitives-proof-size-hostfunction" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-trie", -] - -[[package]] -name = "cumulus-primitives-storage-weight-reclaim" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "cumulus-primitives-proof-size-hostfunction", - "docify", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime", -] - -[[package]] -name = "cumulus-primitives-timestamp" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "sp-inherents", - "sp-timestamp", -] - -[[package]] -name = "cumulus-primitives-utility" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "log", - "pallet-asset-conversion", - "parity-scale-codec", - "polkadot-runtime-common", - "sp-runtime", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", -] - -[[package]] -name = "cumulus-test-relay-sproof-builder" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "parity-scale-codec", - "polkadot-primitives", - "sp-runtime", - "sp-state-machine", - "sp-trie", -] - -[[package]] -name = "curve25519-dalek" -version = "4.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "curve25519-dalek-derive", - "digest 0.10.7", - "fiat-crypto", - "rustc_version 0.4.0", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek-derive" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.76", + "proc-macro2", + "quote", + "syn 2.0.76", ] [[package]] @@ -2235,7 +1313,7 @@ dependencies = [ "convert_case", "proc-macro2", "quote", - "rustc_version 0.4.0", + "rustc_version", "syn 2.0.76", ] @@ -2269,38 +1347,17 @@ dependencies = [ "subtle", ] -[[package]] -name = "directories-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" -dependencies = [ - "cfg-if 1.0.0", - "dirs-sys-next", -] - -[[package]] -name = "dirs-sys-next" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" -dependencies = [ - "libc", - "redox_users", - "winapi 0.3.9", -] - [[package]] name = "dleq_vrf" version = "0.0.2" source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" dependencies = [ "ark-ec", - "ark-ff 0.4.2", + "ark-ff", "ark-scale", "ark-secret-scalar", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-serialize", + "ark-std", "ark-transcript", "arrayvec", "zeroize", @@ -2329,7 +1386,7 @@ dependencies = [ "regex", "syn 2.0.76", "termcolor", - "toml 0.8.19", + "toml", "walkdir", ] @@ -2339,12 +1396,6 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" -[[package]] -name = "dunce" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" - [[package]] name = "dyn-clonable" version = "0.9.0" @@ -2499,19 +1550,6 @@ dependencies = [ "regex", ] -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "env_logger" version = "0.11.5" @@ -2547,47 +1585,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "ethabi-decode" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d398648d65820a727d6a81e58b962f874473396a047e4c30bafe3240953417" -dependencies = [ - "ethereum-types", - "tiny-keccak", -] - -[[package]] -name = "ethbloom" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" -dependencies = [ - "crunchy", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "tiny-keccak", -] - -[[package]] -name = "ethereum-types" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" -dependencies = [ - "ethbloom", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "primitive-types", - "scale-info", - "uint", -] - [[package]] name = "expander" version = "2.2.1" @@ -2609,12 +1606,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - [[package]] name = "fallible-iterator" version = "0.3.0" @@ -2627,17 +1618,6 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" -[[package]] -name = "fastrlp" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" -dependencies = [ - "arrayvec", - "auto_impl", - "bytes 1.7.1", -] - [[package]] name = "ff" version = "0.13.0" @@ -2654,10 +1634,10 @@ version = "0.1.0" source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" dependencies = [ "ark-ec", - "ark-ff 0.4.2", + "ark-ff", "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-serialize", + "ark-std", "merlin", ] @@ -2677,16 +1657,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger 0.10.2", - "log", -] - [[package]] name = "filetime" version = "0.2.24" @@ -2760,7 +1730,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "frame-support-procedural", @@ -2781,24 +1751,10 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "frame-benchmarking-pallet-pov" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", -] - [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -2809,7 +1765,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2825,7 +1781,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "aquamarine", "frame-support", @@ -2866,7 +1822,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "array-bytes", "docify", @@ -2881,7 +1837,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "aquamarine", "array-bytes", @@ -2922,7 +1878,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "Inflector", "cfg-expr", @@ -2942,7 +1898,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -2954,7 +1910,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "proc-macro2", "quote", @@ -2964,7 +1920,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "cfg-if 1.0.0", "docify", @@ -2984,7 +1940,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -2998,7 +1954,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "docify", "parity-scale-codec", @@ -3008,7 +1964,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "parity-scale-codec", @@ -3143,15 +2099,6 @@ dependencies = [ "slab", ] -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - [[package]] name = "generic-array" version = "0.12.4" @@ -3204,34 +2151,13 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "ghash" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" -dependencies = [ - "opaque-debug 0.3.1", - "polyval", -] - -[[package]] -name = "gimli" -version = "0.27.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" -dependencies = [ - "fallible-iterator 0.2.0", - "indexmap 1.9.3", - "stable_deref_trait", -] - [[package]] name = "gimli" version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" dependencies = [ - "fallible-iterator 0.3.0", + "fallible-iterator", "stable_deref_trait", ] @@ -3270,7 +2196,7 @@ dependencies = [ "futures-core", "futures-sink", "http", - "indexmap 2.4.0", + "indexmap", "slab", "tokio", "tokio-util", @@ -3292,22 +2218,13 @@ dependencies = [ "crunchy", ] -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.8", -] - [[package]] name = "hashbrown" version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash", ] [[package]] @@ -3316,7 +2233,7 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.11", + "ahash", "allocator-api2", ] @@ -3338,12 +2255,6 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" -[[package]] -name = "hermit-abi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" - [[package]] name = "hex" version = "0.4.3" @@ -3362,15 +2273,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" -[[package]] -name = "hkdf" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" -dependencies = [ - "hmac 0.12.1", -] - [[package]] name = "hmac" version = "0.8.1" @@ -3515,26 +2417,6 @@ dependencies = [ "parity-scale-codec", ] -[[package]] -name = "impl-num-traits" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" -dependencies = [ - "integer-sqrt", - "num-traits", - "uint", -] - -[[package]] -name = "impl-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp", -] - [[package]] name = "impl-serde" version = "0.4.0" @@ -3574,17 +2456,6 @@ dependencies = [ "quote", ] -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", - "serde", -] - [[package]] name = "indexmap" version = "2.4.0" @@ -3601,15 +2472,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array 0.14.7", -] - [[package]] name = "integer-sqrt" version = "0.1.5" @@ -3619,17 +2481,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi 0.3.9", - "libc", - "windows-sys 0.48.0", -] - [[package]] name = "iovec" version = "0.1.4" @@ -3639,17 +2490,6 @@ dependencies = [ "libc", ] -[[package]] -name = "is-terminal" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" -dependencies = [ - "hermit-abi 0.4.0", - "libc", - "windows-sys 0.52.0", -] - [[package]] name = "is_terminal_polyfill" version = "1.70.1" @@ -3843,24 +2683,6 @@ dependencies = [ "winapi-build", ] -[[package]] -name = "kitchensink-runtime" -version = "3.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "log", - "node-primitives", - "pallet-example-mbm", - "pallet-example-tasks", - "parity-scale-codec", - "polkadot-sdk", - "primitive-types", - "scale-info", - "serde_json", - "static_assertions", - "substrate-wasm-builder", -] - [[package]] name = "lazy_static" version = "1.5.0" @@ -3962,12 +2784,6 @@ dependencies = [ "nalgebra", ] -[[package]] -name = "linux-raw-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -3990,24 +2806,6 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" -[[package]] -name = "lru" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" -dependencies = [ - "hashbrown 0.12.3", -] - -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - [[package]] name = "macro_magic" version = "0.5.1" @@ -4092,24 +2890,6 @@ version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" -[[package]] -name = "memfd" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" -dependencies = [ - "rustix 0.38.34", -] - -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", -] - [[package]] name = "memory-db" version = "0.32.0" @@ -4165,7 +2945,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi", "libc", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", @@ -4256,15 +3036,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "node-primitives" -version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "sp-core", - "sp-runtime", -] - [[package]] name = "nohash-hasher" version = "0.2.0" @@ -4353,7 +3124,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", - "libm", ] [[package]] @@ -4362,22 +3132,10 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi", "libc", ] -[[package]] -name = "object" -version = "0.30.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" -dependencies = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", - "memchr", -] - [[package]] name = "object" version = "0.32.2" @@ -4465,189 +3223,92 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] -name = "pallet-alliance" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-asset-conversion" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-collective", - "pallet-identity", "parity-scale-codec", "scale-info", + "sp-api", + "sp-arithmetic", "sp-core", - "sp-crypto-hashing", "sp-io", "sp-runtime", ] [[package]] -name = "pallet-asset-conversion" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-asset-rate" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", - "sp-api", - "sp-arithmetic", "sp-core", - "sp-io", "sp-runtime", ] [[package]] -name = "pallet-asset-conversion-ops" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-assets" +version = "29.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", - "pallet-asset-conversion", "parity-scale-codec", "scale-info", - "sp-arithmetic", "sp-core", - "sp-io", "sp-runtime", ] [[package]] -name = "pallet-asset-conversion-tx-payment" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-aura" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "frame-system", - "pallet-asset-conversion", - "pallet-transaction-payment", + "log", + "pallet-timestamp", "parity-scale-codec", "scale-info", + "sp-application-crypto", + "sp-consensus-aura", "sp-runtime", ] [[package]] -name = "pallet-asset-rate" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-authority-discovery" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "frame-benchmarking", "frame-support", "frame-system", + "pallet-session", "parity-scale-codec", "scale-info", - "sp-core", + "sp-application-crypto", + "sp-authority-discovery", "sp-runtime", ] [[package]] -name = "pallet-asset-tx-payment" +name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "frame-benchmarking", "frame-support", "frame-system", - "pallet-transaction-payment", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-assets" -version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", -] - -[[package]] -name = "pallet-assets-freezer" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-assets", - "parity-scale-codec", - "scale-info", - "sp-runtime", -] - -[[package]] -name = "pallet-atomic-swap" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-aura" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "log", - "pallet-timestamp", - "parity-scale-codec", - "scale-info", - "sp-application-crypto", - "sp-consensus-aura", - "sp-runtime", -] - -[[package]] -name = "pallet-authority-discovery" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "pallet-session", - "parity-scale-codec", - "scale-info", - "sp-application-crypto", - "sp-authority-discovery", - "sp-runtime", -] - -[[package]] -name = "pallet-authorship" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", + "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", @@ -4656,7 +3317,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4676,31 +3337,10 @@ dependencies = [ "sp-staking", ] -[[package]] -name = "pallet-bags-list" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "aquamarine", - "docify", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "docify", "frame-benchmarking", @@ -4715,7 +3355,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "frame-system", @@ -4734,7 +3374,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -4759,7 +3399,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4773,88 +3413,10 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "pallet-bridge-grandpa" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-header-chain", - "bp-runtime", - "bp-test-utils", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-consensus-grandpa", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "pallet-bridge-messages" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-header-chain", - "bp-messages", - "bp-runtime", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-trie", -] - -[[package]] -name = "pallet-bridge-parachains" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-header-chain", - "bp-parachains", - "bp-polkadot-core", - "bp-runtime", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-bridge-grandpa", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "pallet-bridge-relayers" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-messages", - "bp-relayers", - "bp-runtime", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-bridge-messages", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bitvec", "frame-benchmarking", @@ -4872,7 +3434,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4887,30 +3449,12 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "pallet-collator-selection" -version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-authorship", - "pallet-balances", - "pallet-session", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "sp-runtime", - "sp-staking", -] - [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -4922,24 +3466,10 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "pallet-collective-content" -version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", -] - [[package]] name = "pallet-contracts" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bitflags 1.3.2", "environmental", @@ -4968,45 +3498,10 @@ dependencies = [ "wasmi", ] -[[package]] -name = "pallet-contracts-mock-network" -version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "pallet-assets", - "pallet-balances", - "pallet-contracts", - "pallet-contracts-proc-macro", - "pallet-contracts-uapi", - "pallet-insecure-randomness-collective-flip", - "pallet-message-queue", - "pallet-proxy", - "pallet-timestamp", - "pallet-utility", - "pallet-xcm", - "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-parachains", - "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "xcm-simulator", -] - [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "proc-macro2", "quote", @@ -5016,19 +3511,18 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "paste", - "polkavm-derive 0.9.1", "scale-info", ] [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5041,43 +3535,10 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "pallet-core-fellowship" -version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-ranked-collective", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-delegated-staking" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-staking", -] - [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5091,25 +3552,10 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "pallet-dev-mode" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "log", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", -] - [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5131,7 +3577,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5144,7 +3590,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5160,44 +3606,52 @@ dependencies = [ ] [[package]] -name = "pallet-example-mbm" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-fast-unstake" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "docify", "frame-benchmarking", + "frame-election-provider-support", "frame-support", "frame-system", "log", - "pallet-migrations", "parity-scale-codec", "scale-info", "sp-io", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-example-tasks" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-grandpa" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-authorship", + "pallet-session", "parity-scale-codec", "scale-info", + "sp-application-crypto", + "sp-consensus-grandpa", "sp-core", "sp-io", "sp-runtime", + "sp-session", + "sp-staking", ] [[package]] -name = "pallet-fast-unstake" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-identity" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "docify", + "enumflags2", "frame-benchmarking", - "frame-election-provider-support", "frame-support", "frame-system", "log", @@ -5205,223 +3659,195 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-staking", ] [[package]] -name = "pallet-glutton" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-indices" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "blake2", "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-core", - "sp-inherents", "sp-io", + "sp-keyring", "sp-runtime", ] [[package]] -name = "pallet-grandpa" +name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-authorship", - "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-grandpa", "sp-core", "sp-io", "sp-runtime", - "sp-session", - "sp-staking", ] [[package]] -name = "pallet-identity" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-message-queue" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "enumflags2", + "environmental", "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", + "sp-arithmetic", + "sp-core", "sp-io", "sp-runtime", + "sp-weights", ] [[package]] -name = "pallet-im-online" +name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", "sp-core", "sp-io", + "sp-mmr-primitives", "sp-runtime", - "sp-staking", ] [[package]] -name = "pallet-indices" +name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-core", "sp-io", - "sp-keyring", - "sp-runtime", -] - -[[package]] -name = "pallet-insecure-randomness-collective-flip" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "safe-mix", - "scale-info", "sp-runtime", ] [[package]] -name = "pallet-lottery" +name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", + "sp-arithmetic", + "sp-core", "sp-runtime", ] [[package]] -name = "pallet-membership" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-offences" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "serde", "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-message-queue" -version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-parameters" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "environmental", + "docify", "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", + "paste", "scale-info", - "sp-arithmetic", + "serde", "sp-core", - "sp-io", "sp-runtime", - "sp-weights", ] [[package]] -name = "pallet-migrations" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-preimage" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "docify", "frame-benchmarking", "frame-support", "frame-system", - "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", "sp-core", + "sp-io", "sp-runtime", ] [[package]] -name = "pallet-mixnet" -version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-proxy" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", - "serde", - "sp-application-crypto", - "sp-arithmetic", "sp-io", - "sp-mixnet", "sp-runtime", ] [[package]] -name = "pallet-mmr" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-ranked-collective" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", + "sp-arithmetic", "sp-core", "sp-io", - "sp-mmr-primitives", "sp-runtime", ] [[package]] -name = "pallet-multisig" +name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-io", @@ -5429,31 +3855,29 @@ dependencies = [ ] [[package]] -name = "pallet-nft-fractionalization" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-referenda" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-assets", - "pallet-nfts", "parity-scale-codec", "scale-info", + "serde", + "sp-arithmetic", + "sp-io", "sp-runtime", ] [[package]] -name = "pallet-nfts" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-root-testing" +version = "4.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "enumflags2", - "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-core", @@ -5462,784 +3886,234 @@ dependencies = [ ] [[package]] -name = "pallet-nfts-runtime-api" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "pallet-nfts", - "parity-scale-codec", - "sp-api", -] - -[[package]] -name = "pallet-nis" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-scheduler" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-io", "sp-runtime", + "sp-weights", ] [[package]] -name = "pallet-node-authorization" +name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "frame-system", + "impl-trait-for-tuples", "log", + "pallet-timestamp", "parity-scale-codec", "scale-info", "sp-core", "sp-io", "sp-runtime", + "sp-session", + "sp-staking", + "sp-state-machine", + "sp-trie", ] [[package]] -name = "pallet-nomination-pools" -version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-society" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-balances", "parity-scale-codec", + "rand_chacha 0.3.1", "scale-info", - "sp-core", + "sp-arithmetic", "sp-io", "sp-runtime", - "sp-staking", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", ] [[package]] -name = "pallet-nomination-pools-benchmarking" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-staking" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", - "pallet-bags-list", - "pallet-delegated-staking", - "pallet-nomination-pools", - "pallet-staking", + "log", + "pallet-authorship", + "pallet-session", "parity-scale-codec", "scale-info", + "serde", + "sp-application-crypto", + "sp-io", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-staking", ] [[package]] -name = "pallet-nomination-pools-runtime-api" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-staking-reward-fn" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "pallet-nomination-pools", - "parity-scale-codec", - "sp-api", + "log", + "sp-arithmetic", ] [[package]] -name = "pallet-offences" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-state-trie-migration" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-balances", "parity-scale-codec", "scale-info", - "serde", + "sp-core", + "sp-io", "sp-runtime", - "sp-staking", ] [[package]] -name = "pallet-offences-benchmarking" +name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "docify", "frame-benchmarking", - "frame-election-provider-support", "frame-support", "frame-system", - "log", - "pallet-babe", - "pallet-balances", - "pallet-grandpa", - "pallet-im-online", - "pallet-offences", - "pallet-session", - "pallet-staking", "parity-scale-codec", "scale-info", + "sp-io", "sp-runtime", - "sp-staking", ] [[package]] -name = "pallet-paged-list" -version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-template" +version = "0.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "docify", "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-metadata-ir", - "sp-runtime", ] [[package]] -name = "pallet-parameters" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-timestamp" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "docify", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", - "paste", "scale-info", - "serde", - "sp-core", + "sp-inherents", + "sp-io", "sp-runtime", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-timestamp", ] [[package]] -name = "pallet-preimage" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "pallet-tips" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-treasury", "parity-scale-codec", "scale-info", + "serde", "sp-core", "sp-io", "sp-runtime", ] [[package]] -name = "pallet-proxy" +name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", + "serde", + "sp-core", "sp-io", "sp-runtime", ] [[package]] -name = "pallet-ranked-collective" +name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" +dependencies = [ + "pallet-transaction-payment", + "parity-scale-codec", + "sp-api", + "sp-runtime", + "sp-weights", +] + +[[package]] +name = "pallet-treasury" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", - "log", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-arithmetic", + "serde", "sp-core", - "sp-io", "sp-runtime", ] [[package]] -name = "pallet-recovery" +name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", + "sp-core", "sp-io", "sp-runtime", ] [[package]] -name = "pallet-referenda" +name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-remark" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-revive" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bitflags 1.3.2", - "environmental", - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-balances", - "pallet-revive-fixtures", - "pallet-revive-proc-macro", - "pallet-revive-uapi", - "parity-scale-codec", - "paste", - "polkavm 0.10.0", - "scale-info", - "serde", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", -] - -[[package]] -name = "pallet-revive-fixtures" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "anyhow", - "frame-system", - "parity-wasm", - "polkavm-linker 0.10.0", - "sp-runtime", - "tempfile", - "toml 0.8.19", -] - -[[package]] -name = "pallet-revive-mock-network" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "pallet-assets", - "pallet-balances", - "pallet-message-queue", - "pallet-proxy", - "pallet-revive", - "pallet-revive-proc-macro", - "pallet-revive-uapi", - "pallet-timestamp", - "pallet-utility", - "pallet-xcm", - "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-parachains", - "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "xcm-simulator", -] - -[[package]] -name = "pallet-revive-proc-macro" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.76", -] - -[[package]] -name = "pallet-revive-uapi" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bitflags 1.3.2", - "parity-scale-codec", - "paste", - "polkavm-derive 0.10.0", - "scale-info", -] - -[[package]] -name = "pallet-root-offences" -version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "pallet-session", - "pallet-staking", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-staking", -] - -[[package]] -name = "pallet-root-testing" -version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-safe-mode" -version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", - "pallet-proxy", - "pallet-utility", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-runtime", -] - -[[package]] -name = "pallet-salary" -version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-ranked-collective", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-scheduler" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-weights", -] - -[[package]] -name = "pallet-scored-pool" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-session" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-timestamp", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-state-machine", - "sp-trie", -] - -[[package]] -name = "pallet-session-benchmarking" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-session", - "pallet-staking", - "parity-scale-codec", - "rand 0.8.5", - "sp-runtime", - "sp-session", -] - -[[package]] -name = "pallet-skip-feeless-payment" -version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-runtime", -] - -[[package]] -name = "pallet-society" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "rand_chacha 0.3.1", - "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-staking" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", -] - -[[package]] -name = "pallet-staking-reward-curve" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.76", -] - -[[package]] -name = "pallet-staking-reward-fn" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "log", - "sp-arithmetic", -] - -[[package]] -name = "pallet-staking-runtime-api" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "sp-api", - "sp-staking", -] - -[[package]] -name = "pallet-state-trie-migration" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-statement" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-statement-store", -] - -[[package]] -name = "pallet-sudo" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-template" -version = "0.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "pallet-timestamp" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-timestamp", -] - -[[package]] -name = "pallet-tips" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-treasury", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-transaction-payment" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "pallet-transaction-payment", - "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", -] - -[[package]] -name = "pallet-transaction-storage" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "serde", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-transaction-storage-proof", -] - -[[package]] -name = "pallet-treasury" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-runtime", -] - -[[package]] -name = "pallet-tx-pause" -version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", - "pallet-proxy", - "pallet-utility", - "parity-scale-codec", - "scale-info", - "sp-runtime", -] - -[[package]] -name = "pallet-uniques" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime", -] - -[[package]] -name = "pallet-utility" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", -] - -[[package]] -name = "pallet-vesting" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6253,7 +4127,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6267,7 +4141,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -6290,7 +4164,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6305,108 +4179,6 @@ dependencies = [ "staging-xcm-executor", ] -[[package]] -name = "pallet-xcm-bridge-hub" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-messages", - "bp-runtime", - "bp-xcm-bridge-hub", - "bridge-runtime-common", - "frame-support", - "frame-system", - "log", - "pallet-bridge-messages", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", -] - -[[package]] -name = "pallet-xcm-bridge-hub-router" -version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bp-xcm-bridge-hub-router", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", -] - -[[package]] -name = "parachains-common" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "cumulus-primitives-utility", - "frame-support", - "frame-system", - "log", - "pallet-asset-tx-payment", - "pallet-assets", - "pallet-authorship", - "pallet-balances", - "pallet-collator-selection", - "pallet-message-queue", - "pallet-xcm", - "parity-scale-codec", - "polkadot-primitives", - "scale-info", - "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "staging-parachain-info", - "staging-xcm", - "staging-xcm-executor", - "substrate-wasm-builder", -] - -[[package]] -name = "parachains-runtimes-test-utils" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-pallet-parachain-system", - "cumulus-pallet-xcmp-queue", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "cumulus-test-relay-sproof-builder", - "frame-support", - "frame-system", - "pallet-balances", - "pallet-collator-selection", - "pallet-session", - "pallet-timestamp", - "pallet-xcm", - "parity-scale-codec", - "polkadot-parachain-primitives", - "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-parachain-info", - "staging-xcm", - "staging-xcm-executor", - "substrate-wasm-builder", -] - [[package]] name = "parity-bip39" version = "2.0.1" @@ -6414,18 +4186,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes", - "rand 0.8.5", - "rand_core 0.6.4", + "rand 0.7.3", + "rand_core 0.5.1", "serde", "unicode-normalization", ] -[[package]] -name = "parity-bytes" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" - [[package]] name = "parity-scale-codec" version = "3.6.12" @@ -6453,35 +4219,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if 1.0.0", - "ethereum-types", - "hashbrown 0.12.3", - "impl-trait-for-tuples", - "lru", - "parity-util-mem-derive", - "parking_lot", - "primitive-types", - "smallvec", - "winapi 0.3.9", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" -dependencies = [ - "proc-macro2", - "syn 1.0.109", - "synstructure", -] - [[package]] name = "parity-wasm" version = "0.45.0" @@ -6508,7 +4245,7 @@ dependencies = [ "libc", "redox_syscall", "smallvec", - "windows-targets 0.52.6", + "windows-targets", ] [[package]] @@ -6544,17 +4281,6 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" -[[package]] -name = "pest" -version = "2.7.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" -dependencies = [ - "memchr", - "thiserror", - "ucd-trie", -] - [[package]] name = "pin-project" version = "1.1.5" @@ -6616,7 +4342,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "scale-info", @@ -6627,7 +4353,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bounded-collections", "derive_more", @@ -6643,7 +4369,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bitvec", "hex-literal", @@ -6664,12 +4390,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", ] [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bitvec", "frame-benchmarking", @@ -6693,407 +4420,86 @@ dependencies = [ "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "slot-range-helper", - "sp-api", - "sp-core", - "sp-inherents", - "sp-io", - "sp-npos-elections", - "sp-runtime", - "sp-session", - "sp-staking", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "static_assertions", -] - -[[package]] -name = "polkadot-runtime-metrics" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bs58", - "frame-benchmarking", - "parity-scale-codec", - "polkadot-primitives", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "polkadot-runtime-parachains" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bitflags 1.3.2", - "bitvec", - "derive_more", - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-balances", - "pallet-broker", - "pallet-message-queue", - "pallet-mmr", - "pallet-session", - "pallet-staking", - "pallet-timestamp", - "pallet-vesting", - "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-metrics", - "rand 0.8.5", - "rand_chacha 0.3.1", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-executor", -] - -[[package]] -name = "polkadot-sdk" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "asset-test-utils", - "assets-common", - "binary-merkle-tree", - "bp-header-chain", - "bp-messages", - "bp-parachains", - "bp-polkadot", - "bp-polkadot-core", - "bp-relayers", - "bp-runtime", - "bp-test-utils", - "bp-xcm-bridge-hub", - "bp-xcm-bridge-hub-router", - "bridge-hub-common", - "bridge-hub-test-utils", - "bridge-runtime-common", - "cumulus-pallet-aura-ext", - "cumulus-pallet-dmp-queue", - "cumulus-pallet-parachain-system", - "cumulus-pallet-parachain-system-proc-macro", - "cumulus-pallet-session-benchmarking", - "cumulus-pallet-solo-to-para", - "cumulus-pallet-xcm", - "cumulus-pallet-xcmp-queue", - "cumulus-ping", - "cumulus-primitives-aura", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "cumulus-primitives-proof-size-hostfunction", - "cumulus-primitives-storage-weight-reclaim", - "cumulus-primitives-timestamp", - "cumulus-primitives-utility", - "cumulus-test-relay-sproof-builder", - "frame-benchmarking", - "frame-benchmarking-pallet-pov", - "frame-election-provider-solution-type", - "frame-election-provider-support", - "frame-executive", - "frame-metadata-hash-extension", - "frame-support", - "frame-support-procedural", - "frame-support-procedural-tools-derive", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "pallet-alliance", - "pallet-asset-conversion", - "pallet-asset-conversion-ops", - "pallet-asset-conversion-tx-payment", - "pallet-asset-rate", - "pallet-asset-tx-payment", - "pallet-assets", - "pallet-assets-freezer", - "pallet-atomic-swap", - "pallet-aura", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-beefy", - "pallet-beefy-mmr", - "pallet-bounties", - "pallet-bridge-grandpa", - "pallet-bridge-messages", - "pallet-bridge-parachains", - "pallet-bridge-relayers", - "pallet-broker", - "pallet-child-bounties", - "pallet-collator-selection", - "pallet-collective", - "pallet-collective-content", - "pallet-contracts", - "pallet-contracts-mock-network", - "pallet-contracts-proc-macro", - "pallet-contracts-uapi", - "pallet-conviction-voting", - "pallet-core-fellowship", - "pallet-delegated-staking", - "pallet-democracy", - "pallet-dev-mode", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-glutton", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-insecure-randomness-collective-flip", - "pallet-lottery", - "pallet-membership", - "pallet-message-queue", - "pallet-migrations", - "pallet-mixnet", - "pallet-mmr", - "pallet-multisig", - "pallet-nft-fractionalization", - "pallet-nfts", - "pallet-nfts-runtime-api", - "pallet-nis", - "pallet-node-authorization", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-paged-list", - "pallet-parameters", - "pallet-preimage", - "pallet-proxy", - "pallet-ranked-collective", - "pallet-recovery", - "pallet-referenda", - "pallet-remark", - "pallet-revive", - "pallet-revive-fixtures", - "pallet-revive-mock-network", - "pallet-revive-proc-macro", - "pallet-revive-uapi", - "pallet-root-offences", - "pallet-root-testing", - "pallet-safe-mode", - "pallet-salary", - "pallet-scheduler", - "pallet-scored-pool", - "pallet-session", - "pallet-session-benchmarking", - "pallet-skip-feeless-payment", - "pallet-society", - "pallet-staking", - "pallet-staking-reward-curve", - "pallet-staking-reward-fn", - "pallet-staking-runtime-api", - "pallet-state-trie-migration", - "pallet-statement", - "pallet-sudo", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-transaction-storage", - "pallet-treasury", - "pallet-tx-pause", - "pallet-uniques", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "pallet-xcm-bridge-hub", - "pallet-xcm-bridge-hub-router", - "parachains-common", - "parachains-runtimes-test-utils", - "polkadot-core-primitives", - "polkadot-parachain-primitives", + "parity-scale-codec", "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-metrics", "polkadot-runtime-parachains", - "polkadot-sdk-frame", - "sc-chain-spec-derive", - "sc-executor", - "sc-tracing-proc-macro", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", "slot-range-helper", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-ethereum", - "snowbridge-outbound-queue-merkle-tree", - "snowbridge-outbound-queue-runtime-api", - "snowbridge-pallet-ethereum-client", - "snowbridge-pallet-ethereum-client-fixtures", - "snowbridge-pallet-inbound-queue", - "snowbridge-pallet-inbound-queue-fixtures", - "snowbridge-pallet-outbound-queue", - "snowbridge-pallet-system", - "snowbridge-router-primitives", - "snowbridge-runtime-common", - "snowbridge-runtime-test-common", - "snowbridge-system-runtime-api", "sp-api", - "sp-api-proc-macro", - "sp-application-crypto", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-consensus-grandpa", - "sp-consensus-pow", - "sp-consensus-slots", "sp-core", - "sp-core-hashing", - "sp-crypto-ec-utils 0.10.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-crypto-hashing", - "sp-crypto-hashing-proc-macro", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-genesis-builder", "sp-inherents", "sp-io", - "sp-keyring", - "sp-keystore", - "sp-metadata-ir", - "sp-mixnet", - "sp-mmr-primitives", "sp-npos-elections", - "sp-offchain", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-session", "sp-staking", - "sp-state-machine", - "sp-statement-store", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-timestamp", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-transaction-pool", - "sp-transaction-storage-proof", - "sp-trie", - "sp-version", - "sp-version-proc-macro", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-weights", - "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", - "substrate-bip39", - "testnet-parachains-constants", - "tracing-gum-proc-macro", - "xcm-procedural", - "xcm-runtime-apis", + "static_assertions", ] [[package]] -name = "polkadot-sdk-frame" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "polkadot-runtime-metrics" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "docify", + "bs58", + "frame-benchmarking", + "parity-scale-codec", + "polkadot-primitives", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", +] + +[[package]] +name = "polkadot-runtime-parachains" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" +dependencies = [ + "bitflags 1.3.2", + "bitvec", + "derive_more", "frame-benchmarking", - "frame-executive", "frame-support", "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", + "impl-trait-for-tuples", "log", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-broker", + "pallet-message-queue", + "pallet-mmr", + "pallet-session", + "pallet-staking", + "pallet-timestamp", + "pallet-vesting", "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-metrics", + "rand 0.8.5", + "rand_chacha 0.3.1", "scale-info", + "serde", "sp-api", + "sp-application-crypto", "sp-arithmetic", - "sp-block-builder", - "sp-consensus-aura", - "sp-consensus-grandpa", "sp-core", "sp-inherents", "sp-io", - "sp-offchain", + "sp-keystore", "sp-runtime", "sp-session", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-transaction-pool", - "sp-version", -] - -[[package]] -name = "polkavm" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" -dependencies = [ - "libc", - "log", - "polkavm-assembler 0.9.0", - "polkavm-common 0.9.0", - "polkavm-linux-raw 0.9.0", -] - -[[package]] -name = "polkavm" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7ec0c5935f2eff23cfc4653002f4f8d12b37f87a720e0631282d188c32089d6" -dependencies = [ - "libc", - "log", - "polkavm-assembler 0.10.0", - "polkavm-common 0.10.0", - "polkavm-linux-raw 0.10.0", -] - -[[package]] -name = "polkavm-assembler" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" -dependencies = [ - "log", -] - -[[package]] -name = "polkavm-assembler" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e4fd5a43100bf1afe9727b8130d01f966f5cfc9144d5604b21e795c2bcd80e" -dependencies = [ - "log", + "sp-staking", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "staging-xcm", + "staging-xcm-executor", ] [[package]] @@ -7101,19 +4507,6 @@ name = "polkavm-common" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" -dependencies = [ - "log", -] - -[[package]] -name = "polkavm-common" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0097b48bc0bedf9f3f537ce8f37e8f1202d8d83f9b621bdb21ff2c59b9097c50" -dependencies = [ - "log", - "polkavm-assembler 0.10.0", -] [[package]] name = "polkavm-derive" @@ -7121,16 +4514,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" dependencies = [ - "polkavm-derive-impl-macro 0.9.0", -] - -[[package]] -name = "polkavm-derive" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dcc701385c08c31bdb0569f0c51a290c580d892fa77f1dd88a7352a62679ecf" -dependencies = [ - "polkavm-derive-impl-macro 0.10.0", + "polkavm-derive-impl-macro", ] [[package]] @@ -7139,19 +4523,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" dependencies = [ - "polkavm-common 0.9.0", - "proc-macro2", - "quote", - "syn 2.0.76", -] - -[[package]] -name = "polkavm-derive-impl" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7855353a5a783dd5d09e3b915474bddf66575f5a3cf45dec8d1c5e051ba320dc" -dependencies = [ - "polkavm-common 0.10.0", + "polkavm-common", "proc-macro2", "quote", "syn 2.0.76", @@ -7163,17 +4535,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ - "polkavm-derive-impl 0.9.0", - "syn 2.0.76", -] - -[[package]] -name = "polkavm-derive-impl-macro" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9324fe036de37c17829af233b46ef6b5562d4a0c09bb7fdb9f8378856dee30cf" -dependencies = [ - "polkavm-derive-impl 0.10.0", + "polkavm-derive-impl", "syn 2.0.76", ] @@ -7187,50 +4549,11 @@ dependencies = [ "hashbrown 0.14.5", "log", "object 0.32.2", - "polkavm-common 0.9.0", - "regalloc2 0.9.3", - "rustc-demangle", -] - -[[package]] -name = "polkavm-linker" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d704edfe7bdcc876784f19436d53d515b65eb07bc9a0fae77085d552c2dbbb5" -dependencies = [ - "gimli 0.28.1", - "hashbrown 0.14.5", - "log", - "object 0.36.3", - "polkavm-common 0.10.0", - "regalloc2 0.9.3", + "polkavm-common", + "regalloc2", "rustc-demangle", ] -[[package]] -name = "polkavm-linux-raw" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" - -[[package]] -name = "polkavm-linux-raw" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e45fa59c7e1bb12ef5289080601e9ec9b31435f6e32800a5c90c132453d126" - -[[package]] -name = "polyval" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "opaque-debug 0.3.1", - "universal-hash", -] - [[package]] name = "powerfmt" version = "0.2.0" @@ -7264,8 +4587,6 @@ checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec", - "impl-num-traits", - "impl-rlp", "impl-serde", "scale-info", "uint", @@ -7331,43 +4652,8 @@ version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ - "unicode-ident", -] - -[[package]] -name = "proptest" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" -dependencies = [ - "bit-set", - "bit-vec", - "bitflags 2.6.0", - "lazy_static", - "num-traits", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_xorshift", - "regex-syntax 0.8.4", - "rusty-fork", - "tempfile", - "unarray", -] - -[[package]] -name = "psm" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" -dependencies = [ - "cc", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + "unicode-ident", +] [[package]] name = "quote" @@ -7455,15 +4741,6 @@ dependencies = [ "rand_core 0.5.1", ] -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core 0.6.4", -] - [[package]] name = "rawpointer" version = "0.2.1" @@ -7499,17 +4776,6 @@ dependencies = [ "bitflags 2.6.0", ] -[[package]] -name = "redox_users" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" -dependencies = [ - "getrandom 0.2.15", - "libredox", - "thiserror", -] - [[package]] name = "ref-cast" version = "1.0.23" @@ -7530,18 +4796,6 @@ dependencies = [ "syn 2.0.76", ] -[[package]] -name = "regalloc2" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" -dependencies = [ - "fxhash", - "log", - "slice-group-by", - "smallvec", -] - [[package]] name = "regalloc2" version = "0.9.3" @@ -7615,10 +4869,10 @@ version = "0.1.0" source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" dependencies = [ "ark-ec", - "ark-ff 0.4.2", + "ark-ff", "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", + "ark-serialize", + "ark-std", "arrayvec", "blake2", "common", @@ -7642,19 +4896,109 @@ dependencies = [ ] [[package]] -name = "rlp" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +name = "rococo-runtime" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "bytes 1.7.1", - "rustc-hex", + "binary-merkle-tree", + "bitvec", + "frame-benchmarking", + "frame-executive", + "frame-metadata-hash-extension", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "hex-literal", + "log", + "pallet-asset-rate", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", + "pallet-bounties", + "pallet-child-bounties", + "pallet-collective", + "pallet-conviction-voting", + "pallet-democracy", + "pallet-elections-phragmen", + "pallet-grandpa", + "pallet-identity", + "pallet-indices", + "pallet-membership", + "pallet-message-queue", + "pallet-mmr", + "pallet-multisig", + "pallet-nis", + "pallet-offences", + "pallet-parameters", + "pallet-preimage", + "pallet-proxy", + "pallet-ranked-collective", + "pallet-recovery", + "pallet-referenda", + "pallet-root-testing", + "pallet-scheduler", + "pallet-session", + "pallet-society", + "pallet-staking", + "pallet-state-trie-migration", + "pallet-sudo", + "pallet-timestamp", + "pallet-tips", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-treasury", + "pallet-utility", + "pallet-vesting", + "pallet-whitelist", + "pallet-xcm", + "pallet-xcm-benchmarks", + "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "rococo-runtime-constants", + "scale-info", + "serde", + "serde_derive", + "serde_json", + "smallvec", + "sp-api", + "sp-arithmetic", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-mmr-primitives", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-transaction-pool", + "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "static_assertions", + "substrate-wasm-builder", + "xcm-runtime-apis", ] [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "polkadot-primitives", @@ -7673,36 +5017,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" -[[package]] -name = "ruint" -version = "1.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c3cc4c2511671f327125da14133d0c5c5d137f006a1017a16f557bc85b16286" -dependencies = [ - "alloy-rlp", - "ark-ff 0.3.0", - "ark-ff 0.4.2", - "bytes 1.7.1", - "fastrlp", - "num-bigint", - "num-traits", - "parity-scale-codec", - "primitive-types", - "proptest", - "rand 0.8.5", - "rlp", - "ruint-macro", - "serde", - "valuable", - "zeroize", -] - -[[package]] -name = "ruint-macro" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" - [[package]] name = "rustc-demangle" version = "0.1.24" @@ -7727,24 +5041,6 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - -[[package]] -name = "rustc_version" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" -dependencies = [ - "semver 0.11.0", -] - [[package]] name = "rustc_version" version = "0.4.0" @@ -7754,20 +5050,6 @@ dependencies = [ "semver 1.0.23", ] -[[package]] -name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", -] - [[package]] name = "rustix" version = "0.38.34" @@ -7777,7 +5059,7 @@ dependencies = [ "bitflags 2.6.0", "errno", "libc", - "linux-raw-sys 0.4.14", + "linux-raw-sys", "windows-sys 0.52.0", ] @@ -7869,33 +5151,12 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error", - "tempfile", - "wait-timeout", -] - [[package]] name = "ryu" version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" -[[package]] -name = "safe-mix" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" -dependencies = [ - "rustc_version 0.2.3", -] - [[package]] name = "safe_arch" version = "0.7.2" @@ -7914,116 +5175,18 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "sc-allocator" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "log", - "sp-core", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "thiserror", -] - -[[package]] -name = "sc-chain-spec-derive" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.76", -] - -[[package]] -name = "sc-executor" -version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "parking_lot", - "sc-executor-common", - "sc-executor-polkavm", - "sc-executor-wasmtime", - "schnellru", - "sp-api", - "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-trie", - "sp-version", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "tracing", -] - -[[package]] -name = "sc-executor-common" -version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "polkavm 0.9.3", - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "thiserror", - "wasm-instrument", -] - -[[package]] -name = "sc-executor-polkavm" -version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "log", - "polkavm 0.9.3", - "sc-executor-common", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "anyhow", - "cfg-if 1.0.0", - "libc", - "log", - "parking_lot", - "rustix 0.36.17", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "wasmtime", -] - [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "array-bytes", "parking_lot", "serde_json", "sp-application-crypto", - "sp-core", - "sp-keystore", - "thiserror", -] - -[[package]] -name = "sc-tracing-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.76", + "sp-core", + "sp-keystore", + "thiserror", ] [[package]] @@ -8150,7 +5313,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.11", + "ahash", "cfg-if 1.0.0", "hashbrown 0.13.2", ] @@ -8258,25 +5421,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" dependencies = [ - "semver-parser 0.7.0", -] - -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser 0.7.0", -] - -[[package]] -name = "semver" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" -dependencies = [ - "semver-parser 0.10.2", + "semver-parser", ] [[package]] @@ -8294,33 +5439,15 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -[[package]] -name = "semver-parser" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" -dependencies = [ - "pest", -] - [[package]] name = "serde" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] -[[package]] -name = "serde-big-array" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd31f59f6fe2b0c055371bb2f16d7f0aa7d8881676c04a55b1596d1a17cd10a4" -dependencies = [ - "serde", -] - [[package]] name = "serde_bytes" version = "0.11.15" @@ -8332,9 +5459,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -8343,9 +5470,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.127" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ "itoa", "memchr", @@ -8446,373 +5573,64 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signature" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - -[[package]] -name = "simba" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" -dependencies = [ - "approx", - "num-complex", - "num-traits", - "paste", - "wide", -] - -[[package]] -name = "simple-mermaid" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "slice-group-by" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" - -[[package]] -name = "slot-range-helper" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "enumn", - "parity-scale-codec", - "paste", - "sp-runtime", -] - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "snowbridge-amcl" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460a9ed63cdf03c1b9847e8a12a5f5ba19c4efd5869e4a737e05be25d7c427e5" -dependencies = [ - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "snowbridge-beacon-primitives" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "byte-slice-cast", - "frame-support", - "hex", - "parity-scale-codec", - "rlp", - "scale-info", - "serde", - "snowbridge-ethereum", - "snowbridge-milagro-bls", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "ssz_rs", - "ssz_rs_derive", -] - -[[package]] -name = "snowbridge-core" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "ethabi-decode", - "frame-support", - "frame-system", - "hex-literal", - "parity-scale-codec", - "polkadot-parachain-primitives", - "scale-info", - "serde", - "snowbridge-beacon-primitives", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", -] - -[[package]] -name = "snowbridge-ethereum" -version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "ethabi-decode", - "ethbloom", - "ethereum-types", - "hex-literal", - "parity-bytes", - "parity-scale-codec", - "rlp", - "scale-info", - "serde", - "serde-big-array", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "snowbridge-milagro-bls" -version = "1.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "026aa8638f690a53e3f7676024b9e913b1cab0111d1b7b92669d40a188f9d7e6" -dependencies = [ - "hex", - "lazy_static", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "snowbridge-amcl", - "zeroize", -] - -[[package]] -name = "snowbridge-outbound-queue-merkle-tree" -version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", -] - -[[package]] -name = "snowbridge-outbound-queue-runtime-api" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "parity-scale-codec", - "snowbridge-core", - "snowbridge-outbound-queue-merkle-tree", - "sp-api", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "snowbridge-pallet-ethereum-client" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-timestamp", - "parity-scale-codec", - "scale-info", - "serde", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-ethereum", - "snowbridge-pallet-ethereum-client-fixtures", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "static_assertions", -] - -[[package]] -name = "snowbridge-pallet-ethereum-client-fixtures" -version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "hex-literal", - "snowbridge-beacon-primitives", - "snowbridge-core", - "sp-core", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "snowbridge-pallet-inbound-queue" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "alloy-primitives", - "alloy-sol-types", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "serde", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-pallet-inbound-queue-fixtures", - "snowbridge-router-primitives", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-executor", -] - -[[package]] -name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "hex-literal", - "snowbridge-beacon-primitives", - "snowbridge-core", - "sp-core", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "snowbridge-pallet-outbound-queue" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "bridge-hub-common", - "ethabi-decode", - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "serde", - "snowbridge-core", - "snowbridge-outbound-queue-merkle-tree", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - -[[package]] -name = "snowbridge-pallet-system" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "snowbridge-core", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-executor", +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", ] [[package]] -name = "snowbridge-router-primitives" -version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "simba" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ - "frame-support", - "hex-literal", - "log", - "parity-scale-codec", - "scale-info", - "snowbridge-core", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-executor", + "approx", + "num-complex", + "num-traits", + "paste", + "wide", ] [[package]] -name = "snowbridge-runtime-common" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "simple-mermaid" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" + +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ - "frame-support", - "log", - "parity-scale-codec", - "snowbridge-core", - "sp-arithmetic", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", + "autocfg", ] [[package]] -name = "snowbridge-runtime-test-common" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +name = "slice-group-by" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" + +[[package]] +name = "slot-range-helper" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "cumulus-pallet-parachain-system", - "frame-support", - "frame-system", - "pallet-balances", - "pallet-collator-selection", - "pallet-message-queue", - "pallet-session", - "pallet-timestamp", - "pallet-utility", - "pallet-xcm", - "parachains-runtimes-test-utils", + "enumn", "parity-scale-codec", - "snowbridge-core", - "snowbridge-pallet-ethereum-client", - "snowbridge-pallet-ethereum-client-fixtures", - "snowbridge-pallet-outbound-queue", - "snowbridge-pallet-system", - "sp-core", - "sp-io", - "sp-keyring", + "paste", "sp-runtime", - "staging-parachain-info", - "staging-xcm", - "staging-xcm-executor", ] [[package]] -name = "snowbridge-system-runtime-api" -version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "snowbridge-core", - "sp-api", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", -] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "socket2" @@ -8843,7 +5661,7 @@ dependencies = [ [[package]] name = "solochain-template-runtime" version = "0.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-benchmarking", "frame-executive", @@ -8882,7 +5700,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "docify", "hash-db", @@ -8904,7 +5722,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "Inflector", "blake2", @@ -8918,7 +5736,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "scale-info", @@ -8930,7 +5748,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "docify", "integer-sqrt", @@ -8947,7 +5765,7 @@ version = "0.4.2" source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" dependencies = [ "ark-bls12-381-ext", - "sp-crypto-ec-utils 0.10.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-crypto-ec-utils", ] [[package]] @@ -8956,13 +5774,13 @@ version = "0.4.2" source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" dependencies = [ "ark-ed-on-bls12-381-bandersnatch-ext", - "sp-crypto-ec-utils 0.10.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-crypto-ec-utils", ] [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "scale-info", @@ -8974,7 +5792,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "sp-api", "sp-inherents", @@ -8984,7 +5802,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "async-trait", "parity-scale-codec", @@ -9000,7 +5818,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "async-trait", "parity-scale-codec", @@ -9018,7 +5836,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "lazy_static", "parity-scale-codec", @@ -9039,7 +5857,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "finality-grandpa", "log", @@ -9053,21 +5871,10 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "sp-consensus-pow" -version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "sp-api", - "sp-core", - "sp-runtime", -] - [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9078,7 +5885,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "array-bytes", "bandersnatch_vrfs", @@ -9122,38 +5929,10 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "sp-crypto-hashing", -] - -[[package]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "ark-bls12-377", - "ark-bls12-377-ext", - "ark-bls12-381", - "ark-bls12-381-ext", - "ark-bw6-761", - "ark-bw6-761-ext", - "ark-ec", - "ark-ed-on-bls12-377", - "ark-ed-on-bls12-377-ext", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", -] - [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -9173,7 +5952,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "blake2b_simd", "byteorder", @@ -9186,7 +5965,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "quote", "sp-crypto-hashing", @@ -9196,7 +5975,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "proc-macro2", "quote", @@ -9206,7 +5985,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "proc-macro2", "quote", @@ -9216,7 +5995,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "environmental", "parity-scale-codec", @@ -9226,7 +6005,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "environmental", "parity-scale-codec", @@ -9236,7 +6015,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9248,7 +6027,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9261,7 +6040,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bytes 1.7.1", "docify", @@ -9269,7 +6048,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive 0.9.1", + "polkavm-derive", "rustversion", "secp256k1", "sp-core", @@ -9287,7 +6066,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "sp-core", "sp-runtime", @@ -9297,7 +6076,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "parking_lot", @@ -9308,37 +6087,26 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "thiserror", - "zstd 0.12.4", + "zstd", ] [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", ] -[[package]] -name = "sp-mixnet" -version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-application-crypto", -] - [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "log", "parity-scale-codec", @@ -9355,7 +6123,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9368,7 +6136,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "sp-api", "sp-core", @@ -9378,7 +6146,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "backtrace", "lazy_static", @@ -9388,7 +6156,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "docify", "either", @@ -9407,6 +6175,7 @@ dependencies = [ "sp-core", "sp-io", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-trie", "sp-weights", "tracing", ] @@ -9414,12 +6183,12 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bytes 1.7.1", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.9.1", + "polkavm-derive", "primitive-types", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", @@ -9433,12 +6202,12 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bytes 1.7.1", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.9.1", + "polkavm-derive", "primitive-types", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", @@ -9452,7 +6221,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "Inflector", "expander", @@ -9465,7 +6234,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "Inflector", "expander", @@ -9478,7 +6247,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9492,7 +6261,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9505,7 +6274,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "hash-db", "log", @@ -9522,44 +6291,20 @@ dependencies = [ "trie-db", ] -[[package]] -name = "sp-statement-store" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "aes-gcm", - "curve25519-dalek", - "ed25519-dalek", - "hkdf", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-crypto-hashing", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "thiserror", - "x25519-dalek", -] - [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9571,7 +6316,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9583,7 +6328,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "async-trait", "parity-scale-codec", @@ -9595,7 +6340,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "tracing", @@ -9606,7 +6351,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", "tracing", @@ -9617,32 +6362,18 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "sp-api", "sp-runtime", ] -[[package]] -name = "sp-transaction-storage-proof" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-trie", -] - [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ - "ahash 0.8.11", + "ahash", "hash-db", "lazy_static", "memory-db", @@ -9663,7 +6394,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9680,9 +6411,10 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "parity-scale-codec", + "proc-macro-warning", "proc-macro2", "quote", "syn 2.0.76", @@ -9691,20 +6423,20 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "wasmtime", ] [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ + "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -9713,7 +6445,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -9755,52 +6487,16 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "ssz_rs" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057291e5631f280978fa9c8009390663ca4613359fc1318e36a8c24c392f6d1f" -dependencies = [ - "bitvec", - "num-bigint", - "sha2 0.9.9", - "ssz_rs_derive", -] - -[[package]] -name = "ssz_rs_derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f07d54c4d01a1713eb363b55ba51595da15f6f1211435b71466460da022aa140" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "stable_deref_trait" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" -[[package]] -name = "staging-parachain-info" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-runtime", -] - [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "array-bytes", "bounded-collections", @@ -9819,7 +6515,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "frame-system", @@ -9841,7 +6537,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "environmental", "frame-benchmarking", @@ -9936,10 +6632,10 @@ dependencies = [ "futures-util", "hex", "jsonrpsee", - "kitchensink-runtime", "log", "maybe-async", "parity-scale-codec", + "rococo-runtime", "scale-info", "serde", "serde_json", @@ -9959,7 +6655,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -9971,7 +6667,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "build-helper", "cargo_metadata", @@ -9979,11 +6675,11 @@ dependencies = [ "filetime", "jobserver", "parity-wasm", - "polkavm-linker 0.9.2", + "polkavm-linker", "sp-maybe-compressed-blob", "strum 0.26.3", "tempfile", - "toml 0.8.19", + "toml", "walkdir", "wasm-opt", ] @@ -10016,42 +6712,12 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "syn-solidity" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b837ef12ab88835251726eb12237655e61ec8dc8a280085d1961cdc3dfd047" -dependencies = [ - "paste", - "proc-macro2", - "quote", - "syn 2.0.76", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "unicode-xid", -] - [[package]] name = "tap" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" -[[package]] -name = "target-lexicon" -version = "0.12.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" - [[package]] name = "tempfile" version = "3.12.0" @@ -10061,7 +6727,7 @@ dependencies = [ "cfg-if 1.0.0", "fastrand", "once_cell", - "rustix 0.38.34", + "rustix", "windows-sys 0.59.0", ] @@ -10119,21 +6785,6 @@ dependencies = [ "substrate-api-client", ] -[[package]] -name = "testnet-parachains-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "polkadot-core-primitives", - "rococo-runtime-constants", - "smallvec", - "sp-runtime", - "staging-xcm", - "westend-runtime-constants", -] - [[package]] name = "thiserror" version = "1.0.63" @@ -10283,15 +6934,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml" version = "0.8.19" @@ -10319,7 +6961,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.4.0", + "indexmap", "toml_datetime", "winnow 0.5.40", ] @@ -10330,7 +6972,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.4.0", + "indexmap", "toml_datetime", "winnow 0.5.40", ] @@ -10341,7 +6983,7 @@ version = "0.22.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" dependencies = [ - "indexmap 2.4.0", + "indexmap", "serde", "serde_spanned", "toml_datetime", @@ -10409,18 +7051,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-gum-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "expander", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.76", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -10498,21 +7128,15 @@ dependencies = [ "utf-8", ] -[[package]] -name = "tuplex" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "676ac81d5454c4dcf37955d34fa8626ede3490f744b86ca14a7b90168d2a08aa" - [[package]] name = "twox-hash" version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "digest 0.10.7", - "rand 0.8.5", + "rand 0.7.3", "static_assertions", ] @@ -10522,12 +7146,6 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" -[[package]] -name = "ucd-trie" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" - [[package]] name = "uint" version = "0.9.5" @@ -10536,15 +7154,9 @@ checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" dependencies = [ "byteorder", "crunchy", - "hex", - "static_assertions", -] - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + "hex", + "static_assertions", +] [[package]] name = "unicode-bidi" @@ -10579,16 +7191,6 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a" -[[package]] -name = "universal-hash" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" -dependencies = [ - "crypto-common", - "subtle", -] - [[package]] name = "untrusted" version = "0.9.0" @@ -10645,8 +7247,8 @@ dependencies = [ "ark-bls12-377", "ark-bls12-381", "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", + "ark-ff", + "ark-serialize", "ark-serialize-derive", "arrayref", "constcat", @@ -10683,15 +7285,6 @@ dependencies = [ "glob", ] -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - [[package]] name = "walkdir" version = "2.5.0" @@ -10786,7 +7379,7 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" dependencies = [ - "ahash 0.8.11", + "ahash", "hashbrown 0.14.5", "string-interner", ] @@ -10803,16 +7396,6 @@ dependencies = [ "paste", ] -[[package]] -name = "wasmparser" -version = "0.102.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" -dependencies = [ - "indexmap 1.9.3", - "url", -] - [[package]] name = "wasmparser-nostd" version = "0.100.2" @@ -10822,201 +7405,6 @@ dependencies = [ "indexmap-nostd", ] -[[package]] -name = "wasmtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" -dependencies = [ - "anyhow", - "bincode", - "cfg-if 1.0.0", - "indexmap 1.9.3", - "libc", - "log", - "object 0.30.4", - "once_cell", - "paste", - "psm", - "rayon", - "serde", - "target-lexicon", - "wasmparser", - "wasmtime-cache", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "wasmtime-cache" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" -dependencies = [ - "anyhow", - "base64 0.21.7", - "bincode", - "directories-next", - "file-per-thread-logger", - "log", - "rustix 0.36.17", - "serde", - "sha2 0.10.8", - "toml 0.5.11", - "windows-sys 0.45.0", - "zstd 0.11.2+zstd.1.5.2", -] - -[[package]] -name = "wasmtime-cranelift" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" -dependencies = [ - "anyhow", - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", - "gimli 0.27.3", - "log", - "object 0.30.4", - "target-lexicon", - "thiserror", - "wasmparser", - "wasmtime-cranelift-shared", - "wasmtime-environ", -] - -[[package]] -name = "wasmtime-cranelift-shared" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" -dependencies = [ - "anyhow", - "cranelift-codegen", - "cranelift-native", - "gimli 0.27.3", - "object 0.30.4", - "target-lexicon", - "wasmtime-environ", -] - -[[package]] -name = "wasmtime-environ" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" -dependencies = [ - "anyhow", - "cranelift-entity", - "gimli 0.27.3", - "indexmap 1.9.3", - "log", - "object 0.30.4", - "serde", - "target-lexicon", - "thiserror", - "wasmparser", - "wasmtime-types", -] - -[[package]] -name = "wasmtime-jit" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" -dependencies = [ - "addr2line 0.19.0", - "anyhow", - "bincode", - "cfg-if 1.0.0", - "cpp_demangle", - "gimli 0.27.3", - "log", - "object 0.30.4", - "rustc-demangle", - "serde", - "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-jit-debug" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" -dependencies = [ - "object 0.30.4", - "once_cell", - "rustix 0.36.17", -] - -[[package]] -name = "wasmtime-jit-icache-coherence" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-runtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" -dependencies = [ - "anyhow", - "cc", - "cfg-if 1.0.0", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memfd", - "memoffset", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-types" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" -dependencies = [ - "cranelift-entity", - "serde", - "thiserror", - "wasmparser", -] - [[package]] name = "webpki-roots" version = "0.26.3" @@ -11026,22 +7414,6 @@ dependencies = [ "rustls-pki-types", ] -[[package]] -name = "westend-runtime-constants" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", - "staging-xcm", - "staging-xcm-builder", -] - [[package]] name = "wide" version = "0.7.28" @@ -11095,31 +7467,13 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows-sys" version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.6", + "windows-targets", ] [[package]] @@ -11128,37 +7482,7 @@ version = "0.59.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-targets", ] [[package]] @@ -11167,64 +7491,28 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -11237,72 +7525,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" @@ -11365,22 +7605,10 @@ dependencies = [ "tap", ] -[[package]] -name = "x25519-dalek" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" -dependencies = [ - "curve25519-dalek", - "rand_core 0.6.4", - "serde", - "zeroize", -] - [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "Inflector", "proc-macro2", @@ -11391,7 +7619,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#a34cc8dff09dc3840a304befc2415343244b5fd0" dependencies = [ "frame-support", "parity-scale-codec", @@ -11402,28 +7630,6 @@ dependencies = [ "staging-xcm-executor", ] -[[package]] -name = "xcm-simulator" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#178e699c7d9a9f399040e290943dd13873772c68" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "paste", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-parachains", - "scale-info", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", -] - [[package]] name = "zerocopy" version = "0.7.35" @@ -11465,32 +7671,13 @@ dependencies = [ "syn 2.0.76", ] -[[package]] -name = "zstd" -version = "0.11.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" -dependencies = [ - "zstd-safe 5.0.2+zstd.1.5.2", -] - [[package]] name = "zstd" version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" dependencies = [ - "zstd-safe 6.0.6", -] - -[[package]] -name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" -dependencies = [ - "libc", - "zstd-sys", + "zstd-safe", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 31949dd1b..b97a55b96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ ac-primitives = { path = "primitives", version = "0.18", default-features = fals [dev-dependencies] ac-node-api = { path = "node-api", version = "0.18", features = ["mocks"] } -kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } scale-info = { version = "2.1.1", features = ["derive"] } test-case = "3.1.0" diff --git a/README.md b/README.md index af2fe9914..be96c47e2 100644 --- a/README.md +++ b/README.md @@ -60,13 +60,12 @@ The following async examples can be found in the [async examples](/examples/asyn * [benchmark_bulk_xt](/examples/async/examples/benchmark_bulk_xt.rs): Float the node with a series of transactions. * [check_extrinsic_events](/examples/async/examples/check_extrinsic_events.rs): Check and react according to events associated to an extrinsic. * [compose_extrinsic](/examples/async/examples/compose_extrinsic.rs): Compose an extrinsic without interacting with the node or in no_std mode. -* [contract_instantiate_with_code](/examples/async/examples/contract_instantiate_with_code.rs): Instantiate a contract on the chain. * [custom_nonce](/examples/async/examples/custom_nonce.rs): Compose an with a custom nonce. -* [get_account_identity](/examples/async/examples/get_account_identity.rs): Create an custom Unchecked Extrinsic to set an account identity and retrieve it afterwards with a getter. * [get_blocks](/examples/async/examples/get_blocks.rs): Read header, block and signed block from storage. * [get_storage](/examples/async/examples/get_storage.rs): Read storage values. +* [new_json_rpc_api_calls](examples/async/examples/new_json_rpc_api_calls.rs): Call the unstable rpc api with self defined functions. * [print_metadata](/examples/async/examples/print_metadata.rs): Print the metadata of the node in a readable way. -* [query_runtime_api](/src/examples/async/examples/query_runtime_api.rs): How to query the runtime api. +* [query_runtime_api](/examples/async/examples/query_runtime_api.rs): How to query the runtime api. * [runtime_update_async](/examples/async/examples/runtime_update_async.rs): How to do an runtime upgrade asynchronously. * [staking_batch_payout](/examples/async/examples/staking_batch_payout.rs): Batch reward payout for validator. * [subscribe_events](/examples/async/examples/subscribe_events.rs): Subscribe and react on events. @@ -77,6 +76,7 @@ The following sync examples can be found in the [sync examples](/examples/sync/e * [transfer_with_tungstenite_client](/examples/sync/examples/transfer_with_tungstenite_client.rs): Transfer tokens by using a wrapper of compose_extrinsic with an account generated with a seed. * [transfer_with_ws_client](/examples/sync/examples/transfer_with_ws_client.rs): Transfer tokens by using a wrapper of compose_extrinsic with an account generated with a seed. +More, less well documented calls can be found in the testing crate. ## `no_std` build Almost everything in the api-client, except for the [rpc-clients](https://github.com/scs/substrate-api-client/tree/master/src/rpc) and a few additional features, is `no_std` compatible. diff --git a/docs/README.md b/docs/README.md index a4abfc885..bc3b4e11c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -59,6 +59,33 @@ git push --tags ``` CI should now automatically create a draft release. This draft release needs to be released manually. +## Runtime wasm generation +A new runtime wasm file for CI testing currently needs to be built locally. To do this the following steps need to be done: +1. Download a Polkadot / Substrate node. This can be any up to date node. The following is recommended because it's small and builds fast: https://github.com/paritytech/polkadot-sdk-minimal-template. But it does not include many pallets. + +2. Update the runtime names and spec version. The `spec_name` and `impl_name` need to match the original runtime name of the running node. The `spec_version` needs to be higher than the original one. +This needs to be adapted in the source code and looks like the code posted below. Often, it can be found in the `runtime/src/lib.rs` file (Example path minimal runtime: https://github.com/paritytech/polkadot-sdk-minimal-template/blob/master/runtime/src/lib.rs) +```rust +/// The runtime version. +#[runtime_version] +pub const VERSION: RuntimeVersion = RuntimeVersion { + spec_name: create_runtime_str!(""), + impl_name: create_runtime_str!(""), + authoring_version: 1, + spec_version: "", + impl_version: 1, + apis: RUNTIME_API_VERSIONS, + transaction_version: 1, + state_version: 1, +}; +``` + +3. Build the runtime with cargo build. For the minimal runtime it is: `cargo build -p minimal-template-node --release` + + +4. Get the wasm file from the `target/release/wbuild/` folder. Example for the minimal runtime: `~/polkadot-sdk-minimal-template/target/release/wbuild/minimal-template-runtime/minimal_template_runtime.compact.compressed.wasm` + + ## Code overview

diff --git a/examples/async/Cargo.toml b/examples/async/Cargo.toml index 38d7db68d..88823ab19 100644 --- a/examples/async/Cargo.toml +++ b/examples/async/Cargo.toml @@ -16,9 +16,10 @@ wabt = "0.10.0" # Substrate dependencies frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } -kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } +pallet-recovery = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } diff --git a/examples/async/examples/benchmark_bulk_xt.rs b/examples/async/examples/benchmark_bulk_xt.rs index ff4eb1e18..6fbab3739 100644 --- a/examples/async/examples/benchmark_bulk_xt.rs +++ b/examples/async/examples/benchmark_bulk_xt.rs @@ -15,29 +15,29 @@ //! This example floods the node with a series of transactions. -use kitchensink_runtime::{AccountId, BalancesCall, RuntimeCall}; +use rococo_runtime::{BalancesCall, RuntimeCall}; use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_primitives::{AssetRuntimeConfig, ExtrinsicSigner as GenericExtrinsicSigner, SignExtrinsic}, + ac_primitives::{ + Config, ExtrinsicSigner as GenericExtrinsicSigner, RococoRuntimeConfig, SignExtrinsic, + }, rpc::JsonrpseeClient, Api, SubmitExtrinsic, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. - // Define an extrinsic signer type which sets the generic types of the `GenericExtrinsicSigner`. // This way, the types don't have to be reassigned with every usage of this type and makes // the code better readable. -type ExtrinsicSigner = GenericExtrinsicSigner; +type ExtrinsicSigner = GenericExtrinsicSigner; // To access the ExtrinsicAddress type of the Signer, we need to do this via the trait `SignExtrinsic`. // For better code readability, we define a simple type here and, at the same time, assign the // AccountId type of the `SignExtrinsic` trait. type ExtrinsicAddressOf = >::ExtrinsicAddress; +// AccountId type of rococo runtime. +type AccountId = ::AccountId; + #[tokio::main] async fn main() { env_logger::init(); @@ -45,7 +45,7 @@ async fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let signer = AccountKeyring::Alice.pair(); let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(signer.into()); let recipient: ExtrinsicAddressOf = AccountKeyring::Bob.to_account_id().into(); diff --git a/examples/async/examples/check_extrinsic_events.rs b/examples/async/examples/check_extrinsic_events.rs index aa3db17b1..3be86d1dc 100644 --- a/examples/async/examples/check_extrinsic_events.rs +++ b/examples/async/examples/check_extrinsic_events.rs @@ -16,18 +16,16 @@ use sp_keyring::AccountKeyring; use substrate_api_client::{ ac_node_api::RawEventDetails, - ac_primitives::{AssetRuntimeConfig, Config}, + ac_primitives::{Config, RococoRuntimeConfig}, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, GetAccountInformation, SubmitAndWatch, TransactionStatus, XtStatus, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. -type Hash = ::Hash; +type Hash = ::Hash; #[tokio::main] async fn main() { @@ -36,7 +34,7 @@ async fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let alice_signer = AccountKeyring::Alice.pair(); let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(alice_signer.into()); let alice = AccountKeyring::Alice.to_account_id(); @@ -137,15 +135,12 @@ fn assert_associated_events_match_expected(events: Vec>) { assert_eq!(events[2].pallet_name(), "Balances"); assert_eq!(events[2].variant_name(), "Deposit"); - assert_eq!(events[3].pallet_name(), "Treasury"); + assert_eq!(events[3].pallet_name(), "Balances"); assert_eq!(events[3].variant_name(), "Deposit"); - assert_eq!(events[4].pallet_name(), "Balances"); - assert_eq!(events[4].variant_name(), "Deposit"); + assert_eq!(events[4].pallet_name(), "TransactionPayment"); + assert_eq!(events[4].variant_name(), "TransactionFeePaid"); - assert_eq!(events[5].pallet_name(), "TransactionPayment"); - assert_eq!(events[5].variant_name(), "TransactionFeePaid"); - - assert_eq!(events[6].pallet_name(), "System"); - assert_eq!(events[6].variant_name(), "ExtrinsicSuccess"); + assert_eq!(events[5].pallet_name(), "System"); + assert_eq!(events[5].variant_name(), "ExtrinsicSuccess"); } diff --git a/examples/async/examples/compose_extrinsic.rs b/examples/async/examples/compose_extrinsic.rs index 5b6b814ea..37554ed4e 100644 --- a/examples/async/examples/compose_extrinsic.rs +++ b/examples/async/examples/compose_extrinsic.rs @@ -18,35 +18,30 @@ //! - Compose an extrinsic without asking the node for nonce and without knowing the metadata use codec::Compact; -use kitchensink_runtime::{BalancesCall, RuntimeCall}; +use rococo_runtime::{Address, BalancesCall, RuntimeCall}; use sp_keyring::AccountKeyring; use sp_runtime::{generic::Era, MultiAddress}; use substrate_api_client::{ ac_compose_macros::{compose_call, compose_extrinsic_offline}, ac_primitives::{ - config::Config, AssetRuntimeConfig, AssetTip, ExtrinsicParams, ExtrinsicSigner, - GenericAdditionalParams, SignExtrinsic, + config::Config, ExtrinsicParams, ExtrinsicSigner, GenericAdditionalParams, PlainTip, + RococoRuntimeConfig, SignExtrinsic, }, rpc::JsonrpseeClient, Api, GetChainInfo, SubmitAndWatch, XtStatus, }; -type AssetExtrinsicSigner = ::ExtrinsicSigner; -type AccountId = ::AccountId; +type DefaultExtrinsicSigner = ::ExtrinsicSigner; +type AccountId = ::AccountId; type ExtrinsicAddressOf = >::ExtrinsicAddress; -type Hash = ::Hash; +type Hash = ::Hash; /// Get the balance type from your node runtime and adapt it if necessary. -type Balance = ::Balance; -/// We need AssetTip here, because the kitchensink runtime uses the asset pallet. Change to PlainTip if your node uses the balance pallet only. -type AdditionalParams = GenericAdditionalParams, Hash>; +type Balance = ::Balance; +type AdditionalParams = GenericAdditionalParams, Hash>; -type Address = ::Address; - -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. #[tokio::main] async fn main() { @@ -56,8 +51,8 @@ async fn main() { let signer = AccountKeyring::Alice.pair(); let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); - let extrinsic_signer = ExtrinsicSigner::::new(signer); + let mut api = Api::::new(client).await.unwrap(); + let extrinsic_signer = ExtrinsicSigner::::new(signer); // Signer is needed to set the nonce and sign the extrinsic. api.set_signer(extrinsic_signer.clone()); @@ -84,12 +79,12 @@ async fn main() { let signer_nonce = api.get_nonce().await.unwrap(); println!("[+] Alice's Account Nonce is {}", signer_nonce); - let recipients_extrinsic_address: ExtrinsicAddressOf = - recipient.clone().into(); + let recipients_extrinsic_address: ExtrinsicAddressOf = + recipient.clone(); // Construct an extrinsic using only functionality available in no_std let xt = { - let extrinsic_params = ::ExtrinsicParams::new( + let extrinsic_params = ::ExtrinsicParams::new( spec_version, transaction_version, signer_nonce, diff --git a/examples/async/examples/custom_nonce.rs b/examples/async/examples/custom_nonce.rs index 5198ef1d7..0323df39c 100644 --- a/examples/async/examples/custom_nonce.rs +++ b/examples/async/examples/custom_nonce.rs @@ -16,19 +16,17 @@ //! This example shows how to use the compose_extrinsic_offline macro which generates an extrinsic //! without asking the node for nonce and does not need to know the metadata -use kitchensink_runtime::{BalancesCall, RuntimeCall}; +use rococo_runtime::{BalancesCall, RuntimeCall}; use sp_keyring::AccountKeyring; use sp_runtime::{generic::Era, MultiAddress}; use substrate_api_client::{ - ac_primitives::{AssetRuntimeConfig, GenericAdditionalParams}, + ac_primitives::{GenericAdditionalParams, RococoRuntimeConfig}, rpc::JsonrpseeClient, Api, Error, GetChainInfo, SubmitAndWatch, UnexpectedTxStatus, XtStatus, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. #[tokio::main] async fn main() { @@ -37,7 +35,7 @@ async fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let signer = AccountKeyring::Alice.pair(); let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(signer.into()); // Information for Era for mortal transactions. diff --git a/examples/async/examples/get_account_identity.rs b/examples/async/examples/get_account_identity.rs deleted file mode 100644 index 185ea53f5..000000000 --- a/examples/async/examples/get_account_identity.rs +++ /dev/null @@ -1,91 +0,0 @@ -/* - Copyright 2019 Supercomputing Systems AG - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -//! Example to show how to get the account identity display name from the identity pallet. - -use frame_support::traits::Currency; -use kitchensink_runtime::{MaxAdditionalFields, Runtime as KitchensinkRuntime}; -use pallet_identity::{legacy::IdentityInfo, Data, Registration}; -use sp_core::{crypto::Pair, H256}; -use sp_keyring::AccountKeyring; -use substrate_api_client::{ - ac_compose_macros::compose_extrinsic, - ac_primitives::{AssetRuntimeConfig, UncheckedExtrinsicV4}, - rpc::JsonrpseeClient, - Api, GetStorage, SubmitAndWatch, XtStatus, -}; - -type BalanceOf = <::Currency as Currency< - ::AccountId, ->>::Balance; -type MaxRegistrarsOf = ::MaxRegistrars; -type IdentityInformation = ::IdentityInformation; - -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. - -#[tokio::main] -async fn main() { - env_logger::init(); - - // Create the node-api client and set the signer. - let client = JsonrpseeClient::with_default_url().await.unwrap(); - let signer = AccountKeyring::Alice.pair(); - let mut api = Api::::new(client).await.unwrap(); - api.set_signer(signer.clone().into()); - - // Fill Identity storage. - let info = IdentityInfo:: { - additional: Default::default(), - display: Data::Keccak256(H256::random().into()), - legal: Data::None, - web: Data::None, - riot: Data::None, - email: Data::None, - pgp_fingerprint: None, - image: Data::None, - twitter: Data::None, - }; - - let xt: UncheckedExtrinsicV4<_, _, _, _> = - compose_extrinsic!(&api, "Identity", "set_identity", Box::new(info.clone())).unwrap(); - println!("[+] Composed Extrinsic:\n {:?}\n", xt); - - // Send and watch extrinsic until InBlock. - let _block_hash = api - .submit_and_watch_extrinsic_until(xt, XtStatus::InBlock) - .await - .unwrap() - .block_hash - .unwrap(); - - // Get the storage value from the pallet. Check out the pallet itself to know it's type: - // see https://github.com/paritytech/polkadot-sdk/blob/91851951856b8effe627fb1d151fe336a51eef2d/substrate/frame/identity/src/lib.rs#L170 - type RegistrationType = Registration< - BalanceOf, - MaxRegistrarsOf, - IdentityInformation, - >; - - let registration: RegistrationType = api - .get_storage_map("Identity", "IdentityOf", signer.public(), None) - .await - .unwrap() - .unwrap(); - println!("[+] Retrieved {:?}", registration); - assert_eq!(registration.info, info); -} diff --git a/examples/async/examples/get_blocks.rs b/examples/async/examples/get_blocks.rs index 64319ba46..312ba3edc 100644 --- a/examples/async/examples/get_blocks.rs +++ b/examples/async/examples/get_blocks.rs @@ -17,15 +17,13 @@ //! To compile this example for async you need to set the `--no-default-features` flag use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, + ac_primitives::RococoRuntimeConfig, rpc::{HandleSubscription, JsonrpseeClient}, Api, GetChainInfo, SubscribeChain, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. #[tokio::main] async fn main() { @@ -33,7 +31,7 @@ async fn main() { // Initialize the api. let client = JsonrpseeClient::with_default_url().await.unwrap(); - let api = Api::::new(client).await.unwrap(); + let api = Api::::new(client).await.unwrap(); let (genesis_block, header_hash, signed_block) = tokio::try_join!( api.get_genesis_block(), diff --git a/examples/async/examples/get_storage.rs b/examples/async/examples/get_storage.rs index 3f9a13ea0..431e4370b 100644 --- a/examples/async/examples/get_storage.rs +++ b/examples/async/examples/get_storage.rs @@ -15,27 +15,30 @@ //! Very simple example that shows how to get some simple storage values. +use codec::Encode; use frame_system::AccountInfo as GenericAccountInfo; -use kitchensink_runtime::AccountId; -use pallet_staking::Exposure; +use pallet_recovery::ActiveRecovery; use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_primitives::{AssetRuntimeConfig, Config}, + ac_compose_macros::compose_extrinsic, + ac_primitives::{Config, RococoRuntimeConfig}, rpc::JsonrpseeClient, - Api, GetAccountInformation, GetStorage, + Api, GetAccountInformation, GetStorage, SubmitAndWatch, XtStatus, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. type AccountInfo = GenericAccountInfo< - ::Index, - ::AccountData, + ::Index, + ::AccountData, >; -type Balance = ::Balance; +type Balance = ::Balance; +type AccountId = ::AccountId; +type BlockNumber = ::BlockNumber; +type Friends = Vec; +type Address = ::Address; #[tokio::main] async fn main() { @@ -43,21 +46,21 @@ async fn main() { // Initialize the api. let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); // Get some plain storage values. - let (maybe_balance, proof) = tokio::try_join!( - api.get_storage::>("Balances", "TotalIssuance", None), + let (balance, proof) = tokio::try_join!( + api.get_storage::("Balances", "TotalIssuance", None), api.get_storage_value_proof("Balances", "TotalIssuance", None) ) .unwrap(); - println!("[+] TotalIssuance is {:?}", maybe_balance.unwrap()); + println!("[+] TotalIssuance is {:?}", balance.unwrap()); println!("[+] StorageValueProof: {:?}", proof); // Get the AccountInfo of Alice and the associated StoragePrefix. let account: sp_core::sr25519::Public = AccountKeyring::Alice.public(); let (maybe_account_info, key_prefix) = tokio::try_join!( - api.get_storage_map::<_, Option>("System", "Account", account, None), + api.get_storage_map::<_, AccountInfo>("System", "Account", account, None), api.get_storage_map_key_prefix("System", "Account") ) .unwrap(); @@ -93,8 +96,35 @@ async fn main() { println!("Retrieved data {:?}", storage_data); } + // Create a recovery, so we can fetch an actual ActiveRecovery state from the chain. + let alice = AccountKeyring::Alice.to_account_id(); + let alice_multiaddress: Address = alice.clone().into(); + let charlie = AccountKeyring::Charlie.to_account_id(); + let threshold: u16 = 2; + let delay_period: u32 = 1000; + + let xt = compose_extrinsic!( + &api, + "Recovery", + "create_recovery", + vec![bob, charlie], + threshold, + delay_period + ) + .unwrap(); + + let _report = api.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock).await.unwrap(); + + // Set Bob as signer, so we can send the recevory extrinsic as Bob. + let signer2 = AccountKeyring::Bob.pair(); + api.set_signer(signer2.into()); + let xt = compose_extrinsic!(&api, "Recovery", "initiate_recovery", alice_multiaddress).unwrap(); + + println!("{:?}", xt.encode()); + let _report = api.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock).await.unwrap(); + let storage_double_map_key_prefix = api - .get_storage_double_map_key_prefix("Staking", "ErasStakers", 0) + .get_storage_double_map_key_prefix("Recovery", "ActiveRecoveries", &alice) .await .unwrap(); let double_map_storage_keys = api @@ -106,7 +136,7 @@ async fn main() { for storage_key in double_map_storage_keys.iter() { println!("Retrieving value for key {:?}", storage_key); // We're expecting Exposure as return value because we fetch a storage value with prefix combination of "Staking" + "EraStakers" + 0. - let storage_data: Exposure = + let storage_data: ActiveRecovery = api.get_storage_by_key(storage_key.clone(), None).await.unwrap().unwrap(); println!("Retrieved data {:?}", storage_data); } diff --git a/examples/async/examples/kitchensink_runtime.compact.compressed.wasm b/examples/async/examples/kitchensink_runtime.compact.compressed.wasm deleted file mode 100644 index 514449ec0..000000000 Binary files a/examples/async/examples/kitchensink_runtime.compact.compressed.wasm and /dev/null differ diff --git a/examples/async/examples/minimal_template_runtime.compact.compressed.wasm b/examples/async/examples/minimal_template_runtime.compact.compressed.wasm new file mode 100644 index 000000000..5b5bf18d5 Binary files /dev/null and b/examples/async/examples/minimal_template_runtime.compact.compressed.wasm differ diff --git a/examples/async/examples/new_json_rpc_api_calls.rs b/examples/async/examples/new_json_rpc_api_calls.rs index e60df757d..f23d60348 100644 --- a/examples/async/examples/new_json_rpc_api_calls.rs +++ b/examples/async/examples/new_json_rpc_api_calls.rs @@ -22,16 +22,14 @@ use sp_core::Bytes; use sp_keyring::AccountKeyring; use substrate_api_client::{ ac_compose_macros::rpc_params, - ac_primitives::AssetRuntimeConfig, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::{HandleSubscription, JsonrpseeClient, Request, Subscribe}, Api, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. #[tokio::main] async fn main() { @@ -40,7 +38,7 @@ async fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let signer = AccountKeyring::Alice.pair(); let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(signer.into()); // Retrieve all available rpc methods: diff --git a/examples/async/examples/print_metadata.rs b/examples/async/examples/print_metadata.rs index 6634b1f26..233e40bbf 100644 --- a/examples/async/examples/print_metadata.rs +++ b/examples/async/examples/print_metadata.rs @@ -17,13 +17,11 @@ //! debugging tool. use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, api_client::UpdateRuntime, rpc::JsonrpseeClient, Api, + ac_primitives::RococoRuntimeConfig, api_client::UpdateRuntime, rpc::JsonrpseeClient, Api, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. #[tokio::main] async fn main() { @@ -31,7 +29,7 @@ async fn main() { // Initialize the api, which retrieves the metadata from the node upon initialization. let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); let meta = api.metadata().clone(); diff --git a/examples/async/examples/query_runtime_api.rs b/examples/async/examples/query_runtime_api.rs index e92ef0c7e..6570da0f3 100644 --- a/examples/async/examples/query_runtime_api.rs +++ b/examples/async/examples/query_runtime_api.rs @@ -19,17 +19,15 @@ use codec::Encode; use sp_core::sr25519; use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, runtime_api::{AuthorityDiscoveryApi, CoreApi, MetadataApi, RuntimeApi, TransactionPaymentApi}, Api, GetChainInfo, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. #[tokio::main] async fn main() { @@ -37,7 +35,7 @@ async fn main() { // Initialize the api, which retrieves the metadata from the node upon initialization. let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); let alice_pair = AccountKeyring::Alice.pair(); api.set_signer(alice_pair.into()); let runtime_api = api.runtime_api(); diff --git a/examples/async/examples/runtime_update_async.rs b/examples/async/examples/runtime_update_async.rs index 821777d1c..37e0ce15e 100644 --- a/examples/async/examples/runtime_update_async.rs +++ b/examples/async/examples/runtime_update_async.rs @@ -12,11 +12,15 @@ */ //! Example that shows how to detect a runtime update and afterwards update the metadata. + +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. + use sp_keyring::AccountKeyring; use sp_weights::Weight; use substrate_api_client::{ ac_compose_macros::{compose_call, compose_extrinsic}, - ac_primitives::{AssetRuntimeConfig, Config}, + ac_primitives::{Config, RococoRuntimeConfig}, api_client::UpdateRuntime, rpc::JsonrpseeClient, rpc_api::RuntimeUpdateDetector, @@ -25,7 +29,7 @@ use substrate_api_client::{ use tokio::select; use tokio_util::sync::CancellationToken; -type Hash = ::Hash; +type Hash = ::Hash; #[tokio::main] async fn main() { @@ -33,7 +37,7 @@ async fn main() { // Initialize the api. let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); let sudoer = AccountKeyring::Alice.pair(); api.set_signer(sudoer.into()); @@ -70,14 +74,14 @@ async fn main() { }; println!("Detected runtime update: {runtime_update_detected}"); println!("New spec_version: {}", api.spec_version()); - assert!(api.spec_version() == 1268); + assert!(api.spec_version() == 111111111); assert!(runtime_update_detected); } pub async fn send_code_update_extrinsic( - api: &substrate_api_client::Api, + api: &substrate_api_client::Api, ) { - let new_wasm: &[u8] = include_bytes!("kitchensink_runtime.compact.compressed.wasm"); + let new_wasm: &[u8] = include_bytes!("minimal_template_runtime.compact.compressed.wasm"); // this call can only be called by sudo let call = compose_call!(api.metadata(), "System", "set_code", new_wasm.to_vec()).unwrap(); diff --git a/examples/async/examples/staking_batch_payout.rs b/examples/async/examples/staking_batch_payout_untested.rs similarity index 86% rename from examples/async/examples/staking_batch_payout.rs rename to examples/async/examples/staking_batch_payout_untested.rs index 7610b2369..a0b2c8684 100644 --- a/examples/async/examples/staking_batch_payout.rs +++ b/examples/async/examples/staking_batch_payout_untested.rs @@ -16,7 +16,7 @@ use pallet_staking::{ActiveEraInfo, Exposure}; use sp_keyring::AccountKeyring; use sp_runtime::{app_crypto::Ss58Codec, AccountId32}; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, + ac_primitives::RococoRuntimeConfig, extrinsic::{StakingExtrinsics, UtilityExtrinsics}, rpc::JsonrpseeClient, Api, GetStorage, SubmitAndWatch, XtStatus, @@ -24,10 +24,8 @@ use substrate_api_client::{ const MAX_BATCHED_TRANSACTION: u32 = 9; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// This example is currently not tested because the polkadot chain (rococo runtime) we run our example against +// does not include the staking pallet. But it still provides a good example for possible stake payouts. pub type EraIndex = u32; @@ -54,7 +52,7 @@ async fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let alice = AccountKeyring::Alice.pair(); let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(alice.into()); // Give a valid validator account address. In the kitchinsink runtime, this is Alice. @@ -68,17 +66,14 @@ async fn main() { println!("{:?}", active_era); let current_era_index = active_era.index; - // Test if payout staker extrinsic works. Careful: In CI, this extrinsic will fail to be executed, because + // Test if payout staker extrinsic works. Careful: If tested with CI, this extrinsic will fail to be executed, because // one can not payout the current era (= 0 on the freshly started node). But this is okay, because we know if this // error is returned from the node, the extrinsic has been created correctly. // Sidenote: We could theoretically force a new era with sudo, but this takes at least 10 minutes ( = 1 epoch) in the // kitchensink rutime. We don't want to wait that long. let payout_staker_xt = api.payout_stakers(0, validator_stash).await.unwrap(); - let result = api.submit_and_watch_extrinsic_until(payout_staker_xt, XtStatus::InBlock).await; - assert!(result.is_err()); - assert!(format!("{result:?}").contains("InvalidEraToReward")); + let _result = api.submit_and_watch_extrinsic_until(payout_staker_xt, XtStatus::InBlock).await; - // From here on, this is not CI tested, but it serves as a nice example nonetheless. if let Some(mut last_reward_received_at_era) = get_last_reward_received_for(&validator_account, current_era_index, &api).await { @@ -148,7 +143,7 @@ async fn main() { pub async fn get_last_reward_received_for( account: &AccountId32, current_era: EraIndex, - api: &substrate_api_client::Api, + api: &substrate_api_client::Api, ) -> Option { let ledger_storage_key = api.metadata().storage_map_key("Staking", "Ledger", account).unwrap(); diff --git a/examples/async/examples/subscribe_events.rs b/examples/async/examples/subscribe_events.rs index 84520ec5c..14c25f7d8 100644 --- a/examples/async/examples/subscribe_events.rs +++ b/examples/async/examples/subscribe_events.rs @@ -19,17 +19,15 @@ use log::debug; use sp_core::H256 as Hash; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, rpc::JsonrpseeClient, Api, SubscribeEvents, + ac_primitives::RococoRuntimeConfig, rpc::JsonrpseeClient, Api, SubscribeEvents, }; // This module depends on the specific node runtime. // Replace this crate by your own if you run a custom substrate node to get your custom events. -use kitchensink_runtime::RuntimeEvent; +use rococo_runtime::RuntimeEvent; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. #[tokio::main] async fn main() { @@ -37,7 +35,7 @@ async fn main() { // Initialize the api. let client = JsonrpseeClient::with_default_url().await.unwrap(); - let api = Api::::new(client).await.unwrap(); + let api = Api::::new(client).await.unwrap(); println!("Subscribe to events"); let mut subscription = api.subscribe_events().await.unwrap(); diff --git a/examples/async/examples/sudo.rs b/examples/async/examples/sudo.rs index 70c2db3a8..700963328 100644 --- a/examples/async/examples/sudo.rs +++ b/examples/async/examples/sudo.rs @@ -17,33 +17,34 @@ //! module, whereas the desired module and call are supplied as a string. use codec::Compact; -use kitchensink_runtime::AccountId; use sp_keyring::AccountKeyring; use substrate_api_client::{ ac_compose_macros::{compose_call, compose_extrinsic}, ac_primitives::{ - AssetRuntimeConfig, ExtrinsicSigner as GenericExtrinsicSigner, SignExtrinsic, + Config, ExtrinsicSigner as GenericExtrinsicSigner, RococoRuntimeConfig, SignExtrinsic, UncheckedExtrinsicV4, }, rpc::JsonrpseeClient, Api, GetAccountInformation, SubmitAndWatch, XtStatus, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. // Define an extrinsic signer type which sets the generic types of the `GenericExtrinsicSigner`. // This way, the types don't have to be reassigned with every usage of this type and makes // the code better readable. -type ExtrinsicSigner = GenericExtrinsicSigner; +type ExtrinsicSigner = GenericExtrinsicSigner; // To access the ExtrinsicAddress type of the Signer, we need to do this via the trait `SignExtrinsic`. // For better code readability, we define a simple type here and, at the same time, assign the // AccountId type of the `SignExtrinsic` trait. type ExtrinsicAddressOf = >::ExtrinsicAddress; +// AccountId type of rococo runtime. +type AccountId = ::AccountId; +type Address = ::Address; + #[tokio::main] async fn main() { env_logger::init(); @@ -51,7 +52,7 @@ async fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let sudoer = AccountKeyring::Alice.pair(); let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(sudoer.into()); // Set the recipient of newly issued funds. @@ -65,15 +66,14 @@ async fn main() { let recipients_extrinsic_address: ExtrinsicAddressOf = recipient.clone().into(); let new_balance = recipient_balance + 100; - let call: ([u8; 2], sp_runtime::MultiAddress, Compact<_>) = - compose_call!( - api.metadata(), - "Balances", - "force_set_balance", - recipients_extrinsic_address, - Compact(new_balance) - ) - .unwrap(); + let call: ([u8; 2], Address, Compact<_>) = compose_call!( + api.metadata(), + "Balances", + "force_set_balance", + recipients_extrinsic_address, + Compact(new_balance) + ) + .unwrap(); let xt: UncheckedExtrinsicV4<_, _, _, _> = compose_extrinsic!(&api, "Sudo", "sudo", call).unwrap(); diff --git a/examples/sync/examples/kitchensink_runtime.compact.compressed.wasm b/examples/sync/examples/kitchensink_runtime.compact.compressed.wasm deleted file mode 100644 index 514449ec0..000000000 Binary files a/examples/sync/examples/kitchensink_runtime.compact.compressed.wasm and /dev/null differ diff --git a/examples/sync/examples/minimal_template_runtime.compact.compressed.wasm b/examples/sync/examples/minimal_template_runtime.compact.compressed.wasm new file mode 100644 index 000000000..5b5bf18d5 Binary files /dev/null and b/examples/sync/examples/minimal_template_runtime.compact.compressed.wasm differ diff --git a/examples/sync/examples/runtime_update_sync.rs b/examples/sync/examples/runtime_update_sync.rs index 77d74b55f..b265e84bc 100644 --- a/examples/sync/examples/runtime_update_sync.rs +++ b/examples/sync/examples/runtime_update_sync.rs @@ -13,6 +13,9 @@ //! Example that shows how to detect a runtime update and afterwards update the metadata. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several rre-compiled runtimes are available in the ac-primitives crate. + use core::{ sync::atomic::{AtomicBool, Ordering}, time::Duration, @@ -22,21 +25,21 @@ use sp_weights::Weight; use std::{sync::Arc, thread}; use substrate_api_client::{ ac_compose_macros::{compose_call, compose_extrinsic}, - ac_primitives::{AssetRuntimeConfig, Config}, + ac_primitives::{Config, RococoRuntimeConfig}, api_client::UpdateRuntime, rpc::TungsteniteRpcClient, rpc_api::RuntimeUpdateDetector, Api, SubmitAndWatch, SubscribeEvents, XtStatus, }; -type Hash = ::Hash; +type Hash = ::Hash; fn main() { env_logger::init(); // Initialize the api. let client = TungsteniteRpcClient::with_default_url(1); - let mut api = Api::::new(client).unwrap(); + let mut api = Api::::new(client).unwrap(); let sudoer = AccountKeyring::Alice.pair(); api.set_signer(sudoer.into()); @@ -69,13 +72,13 @@ fn main() { handler.join().unwrap(); api.update_runtime().unwrap(); println!("New spec_version: {}", api.spec_version()); - assert!(api.spec_version() == 1268); + assert!(api.spec_version() == 111111111); } pub fn send_code_update_extrinsic( - api: &substrate_api_client::Api, + api: &substrate_api_client::Api, ) { - let new_wasm: &[u8] = include_bytes!("kitchensink_runtime.compact.compressed.wasm"); + let new_wasm: &[u8] = include_bytes!("minimal_template_runtime.compact.compressed.wasm"); // Create a sudo `set_code` call. let call = compose_call!(api.metadata(), "System", "set_code", new_wasm.to_vec()).unwrap(); diff --git a/examples/sync/examples/transfer_with_tungstenite_client.rs b/examples/sync/examples/transfer_with_tungstenite_client.rs index 26f24b506..8d053acfa 100755 --- a/examples/sync/examples/transfer_with_tungstenite_client.rs +++ b/examples/sync/examples/transfer_with_tungstenite_client.rs @@ -21,14 +21,12 @@ use sp_core::{ }; use sp_runtime::MultiAddress; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::TungsteniteRpcClient, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::TungsteniteRpcClient, Api, GetAccountInformation, SubmitAndWatch, XtStatus, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. fn main() { env_logger::init(); @@ -43,7 +41,7 @@ fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let client = TungsteniteRpcClient::with_default_url(100); - let mut api = Api::::new(client).unwrap(); + let mut api = Api::::new(client).unwrap(); api.set_signer(alice.clone().into()); // Retrieve bobs current balance. diff --git a/examples/sync/examples/transfer_with_ws_client.rs b/examples/sync/examples/transfer_with_ws_client.rs index 4489f30af..b52ccad6e 100755 --- a/examples/sync/examples/transfer_with_ws_client.rs +++ b/examples/sync/examples/transfer_with_ws_client.rs @@ -21,14 +21,12 @@ use sp_core::{ }; use sp_runtime::MultiAddress; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::WsRpcClient, Api, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::WsRpcClient, Api, GetAccountInformation, SubmitAndWatch, XtStatus, }; -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. +// To test this example with CI we run it against the Polkadot Rococo node. Remember to switch the Config to match your +// own runtime if it uses different parameter configurations. Several pre-compiled runtimes are available in the ac-primitives crate. fn main() { env_logger::init(); @@ -43,7 +41,7 @@ fn main() { // Initialize api and set the signer (sender) that is used to sign the extrinsics. let client = WsRpcClient::with_default_url(); - let mut api = Api::::new(client).unwrap(); + let mut api = Api::::new(client).unwrap(); api.set_signer(alice.clone().into()); // Retrieve bobs current balance. diff --git a/examples/wasm/examples/wasm_example.rs b/examples/wasm/examples/wasm_example.rs index d25262393..0f2e5ecf2 100644 --- a/examples/wasm/examples/wasm_example.rs +++ b/examples/wasm/examples/wasm_example.rs @@ -21,7 +21,7 @@ use sp_core::{ use sp_runtime::MultiAddress; pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic; use std::process::ExitCode; -use substrate_api_client::ac_primitives::{AssetRuntimeConfig, ExtrinsicSigner}; +use substrate_api_client::ac_primitives::{ExtrinsicSigner, RococoRuntimeConfig}; fn main() -> Result { // This test is not yet very sophisticated and not exhaustive. @@ -37,8 +37,8 @@ fn main() -> Result { .unwrap() .into(); let _bob: MultiAddress = MultiAddress::Id(bob_account); - let es_converted: ExtrinsicSigner = alice.clone().into(); - let es_new = ExtrinsicSigner::::new(alice.clone()); + let es_converted: ExtrinsicSigner = alice.clone().into(); + let es_new = ExtrinsicSigner::::new(alice.clone()); assert_eq!(es_converted.signer().public(), es_new.signer().public()); let extrinsic = UncheckedExtrinsic::from_bytes(&[]); diff --git a/primitives/src/config/asset_runtime_config.rs b/primitives/src/config/asset_runtime_config.rs index 04f7e2337..6d8b87eee 100644 --- a/primitives/src/config/asset_runtime_config.rs +++ b/primitives/src/config/asset_runtime_config.rs @@ -8,35 +8,11 @@ //! https://github.com/paritytech/subxt/blob/ce0a82e3227efb0eae131f025da5f839d9623e15/subxt/src/config/substrate.rs use crate::{ - config::Config, sr25519, types::AccountData, AccountId32, AssetTip, BlakeTwo256, Block, - ExtrinsicSigner, GenericExtrinsicParams, Header, MultiAddress, MultiSignature, OpaqueExtrinsic, - H256, + config::WithExtrinsicParams, AssetTip, Config, DefaultRuntimeConfig, GenericExtrinsicParams, }; -use codec::{Decode, Encode}; -use core::fmt::Debug; - /// Standard runtime config for Substrate and Polkadot nodes that use the asset pallet. -#[derive(Decode, Encode, Clone, Eq, PartialEq, Debug)] -pub struct AssetRuntimeConfig {} - -impl Config for AssetRuntimeConfig { - type Index = u32; - type BlockNumber = u32; - type Hash = H256; - type AccountId = AccountId32; - type Address = MultiAddress; - type Signature = MultiSignature; - type Hasher = BlakeTwo256; - type Header = Header; - type AccountData = AccountData; - type ExtrinsicParams = AssetTipExtrinsicParams; - type CryptoKey = sr25519::Pair; - type ExtrinsicSigner = ExtrinsicSigner; - type Block = Block; - type Balance = u128; - type ContractCurrency = u128; - type StakingBalance = u128; -} +pub type AssetRuntimeConfig = + WithExtrinsicParams>; /// A struct representing the signed extra and additional parameters required /// to construct a transaction and pay in asset fees. diff --git a/primitives/src/config/default_runtime_config.rs b/primitives/src/config/default_runtime_config.rs index c310df5eb..7aa7d54bc 100644 --- a/primitives/src/config/default_runtime_config.rs +++ b/primitives/src/config/default_runtime_config.rs @@ -8,12 +8,34 @@ //! https://github.com/paritytech/subxt/blob/ce0a82e3227efb0eae131f025da5f839d9623e15/subxt/src/config/polkadot.rs use crate::{ - config::WithExtrinsicParams, AssetRuntimeConfig, Config, GenericExtrinsicParams, PlainTip, + config::Config, sr25519, types::AccountData, AccountId32, BlakeTwo256, Block, ExtrinsicSigner, + GenericExtrinsicParams, Header, MultiAddress, MultiSignature, OpaqueExtrinsic, PlainTip, H256, }; +use codec::{Decode, Encode}; +use core::fmt::Debug; /// Standard runtime config for Substrate and Polkadot nodes. -pub type DefaultRuntimeConfig = - WithExtrinsicParams>; +#[derive(Decode, Encode, Clone, Eq, PartialEq, Debug)] +pub struct DefaultRuntimeConfig {} + +impl Config for DefaultRuntimeConfig { + type Index = u32; + type BlockNumber = u32; + type Hash = H256; + type AccountId = AccountId32; + type Address = MultiAddress; + type Signature = MultiSignature; + type Hasher = BlakeTwo256; + type Header = Header; + type AccountData = AccountData; + type ExtrinsicParams = PlainTipExtrinsicParams; + type CryptoKey = sr25519::Pair; + type ExtrinsicSigner = ExtrinsicSigner; + type Block = Block; + type Balance = u128; + type ContractCurrency = u128; + type StakingBalance = u128; +} /// A struct representing the signed extra and additional parameters required /// to construct a transaction and pay in token fees. diff --git a/primitives/src/config/mod.rs b/primitives/src/config/mod.rs index 6de5c64a1..09d3514ff 100644 --- a/primitives/src/config/mod.rs +++ b/primitives/src/config/mod.rs @@ -24,9 +24,11 @@ use crate::{extrinsic_params, ExtrinsicSigner, SignExtrinsic}; pub use asset_runtime_config::*; pub use default_runtime_config::*; +pub use rococo_runtime_config::*; pub mod asset_runtime_config; pub mod default_runtime_config; +pub mod rococo_runtime_config; /// Runtime types. pub trait Config { @@ -168,3 +170,45 @@ impl> Config type ContractCurrency = T::ContractCurrency; type StakingBalance = T::StakingBalance; } + +/// Changes the Address type of the underlying Runtime Config. This allows to change the type of the Config without +/// having to define all the other types as well. +/// +/// # Example +/// +/// ``` +/// use ac_primitives::{ DefaultRuntimeConfig, WithAddress, MultiAddress, AccountId32 }; +/// +/// type RococoRuntimeConfig = WithAddress>; +/// ``` +#[derive(Decode, Encode, Clone, Eq, PartialEq, Debug)] +pub struct WithAddress +where + T: Config, + A: Debug + Clone + Encode + From, +{ + _marker: PhantomData<(T, A)>, +} + +impl Config for WithAddress +where + T: Config, + A: Debug + Clone + Encode + From, +{ + type Index = T::Index; + type BlockNumber = T::BlockNumber; + type Hash = T::Hash; + type AccountId = T::AccountId; + type Address = A; + type Signature = T::Signature; + type Hasher = T::Hasher; + type Header = T::Header; + type AccountData = T::AccountData; + type ExtrinsicParams = T::ExtrinsicParams; + type CryptoKey = T::CryptoKey; + type ExtrinsicSigner = ExtrinsicSigner; + type Block = T::Block; + type Balance = T::Balance; + type ContractCurrency = T::ContractCurrency; + type StakingBalance = T::StakingBalance; +} diff --git a/primitives/src/config/rococo_runtime_config.rs b/primitives/src/config/rococo_runtime_config.rs new file mode 100644 index 000000000..c08245df7 --- /dev/null +++ b/primitives/src/config/rococo_runtime_config.rs @@ -0,0 +1,20 @@ +/* + Copyright 2019 Supercomputing Systems AG + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + +use crate::{config::WithAddress, AccountId32, DefaultRuntimeConfig, MultiAddress}; + +pub type RococoRuntimeConfig = WithAddress>; diff --git a/src/api/api_client.rs b/src/api/api_client.rs index a5541d413..017076cc6 100644 --- a/src/api/api_client.rs +++ b/src/api/api_client.rs @@ -306,7 +306,7 @@ mod tests { let nonce = 6; let retrieved_params = api.extrinsic_params(nonce); - let expected_params = GenericExtrinsicParams::>::new( + let expected_params = GenericExtrinsicParams::>::new( runtime_version.spec_version, runtime_version.transaction_version, nonce, diff --git a/src/api/rpc_api/events.rs b/src/api/rpc_api/events.rs index 9bc8d17b5..07d31f786 100644 --- a/src/api/rpc_api/events.rs +++ b/src/api/rpc_api/events.rs @@ -233,10 +233,10 @@ mod tests { use super::*; use crate::rpc::mocks::RpcClientMock; use ac_node_api::{metadata::Metadata, test_utils::*}; - use ac_primitives::DefaultRuntimeConfig; + use ac_primitives::RococoRuntimeConfig; use codec::{Decode, Encode}; use frame_metadata::RuntimeMetadataPrefixed; - use kitchensink_runtime::{BalancesCall, RuntimeCall, UncheckedExtrinsic}; + use rococo_runtime::{BalancesCall, RuntimeCall, UncheckedExtrinsic}; use scale_info::TypeInfo; use sp_core::{crypto::Ss58Codec, sr25519, Bytes, H256}; use sp_runtime::{ @@ -257,7 +257,7 @@ mod tests { fn create_mock_api( metadata: Metadata, data: HashMap, - ) -> Api { + ) -> Api { // Create new api. let genesis_hash = H256::random(); let runtime_version = RuntimeVersion::default(); @@ -265,8 +265,8 @@ mod tests { Api::new_offline(genesis_hash, metadata, runtime_version, client) } - fn default_header() -> kitchensink_runtime::Header { - kitchensink_runtime::Header { + fn default_header() -> rococo_runtime::Header { + rococo_runtime::Header { number: Default::default(), parent_hash: Default::default(), state_root: Default::default(), @@ -381,9 +381,9 @@ mod tests { let xt2: Bytes = UncheckedExtrinsic::new_unsigned(call2).encode().into(); let xt3: Bytes = UncheckedExtrinsic::new_unsigned(call3).encode().into(); - let xt_hash1 = ::Hasher::hash(&xt1); - let xt_hash2 = ::Hasher::hash(&xt2); - let xt_hash3 = ::Hasher::hash(&xt3); + let xt_hash1 = ::Hasher::hash(&xt1); + let xt_hash2 = ::Hasher::hash(&xt2); + let xt_hash3 = ::Hasher::hash(&xt3); let block = Block { header: default_header(), extrinsics: vec![xt1, xt2, xt3] }; let signed_block = SignedBlock { block, justifications: None }; diff --git a/testing/async/Cargo.toml b/testing/async/Cargo.toml index c6b76023c..08f05ab7c 100644 --- a/testing/async/Cargo.toml +++ b/testing/async/Cargo.toml @@ -13,14 +13,14 @@ jsonrpsee = { version = "0.24", features = ["async-client", "client-ws-transport # Substrate dependencies frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } -kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-crypto-hashing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } +pallet-society = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } # local deps substrate-api-client = { path = "../..", version = "0.18", features = ["staking-xt", "contracts-xt", "disable-metadata-hash-check"] } diff --git a/testing/async/examples/author_tests.rs b/testing/async/examples/author_tests.rs index d2b3c85ef..585495af5 100644 --- a/testing/async/examples/author_tests.rs +++ b/testing/async/examples/author_tests.rs @@ -15,23 +15,24 @@ //! Tests for the author rpc interface functions. -use kitchensink_runtime::{AccountId, BalancesCall, RuntimeCall}; +use rococo_runtime::{BalancesCall, RuntimeCall}; use sp_core::{Encode, H256}; use sp_keyring::AccountKeyring; use substrate_api_client::{ ac_node_api::RawEventDetails, ac_primitives::{ - AssetRuntimeConfig, Config, ExtrinsicSigner as GenericExtrinsicSigner, SignExtrinsic, + Config, ExtrinsicSigner as GenericExtrinsicSigner, RococoRuntimeConfig, SignExtrinsic, }, rpc::{HandleSubscription, JsonrpseeClient}, Api, SubmitAndWatch, SubmitExtrinsic, TransactionStatus, XtStatus, }; -type ExtrinsicSigner = GenericExtrinsicSigner; +type ExtrinsicSigner = GenericExtrinsicSigner; type ExtrinsicAddressOf = >::ExtrinsicAddress; -type Hash = ::Hash; -type MyApi = Api; -type Index = ::Index; +type Hash = ::Hash; +type MyApi = Api; +type Index = ::Index; +type AccountId = ::AccountId; #[tokio::main] async fn main() { @@ -186,15 +187,12 @@ fn assert_associated_events_match_expected(events: Vec>) { assert_eq!(events[2].pallet_name(), "Balances"); assert_eq!(events[2].variant_name(), "Deposit"); - assert_eq!(events[3].pallet_name(), "Treasury"); + assert_eq!(events[3].pallet_name(), "Balances"); assert_eq!(events[3].variant_name(), "Deposit"); - assert_eq!(events[4].pallet_name(), "Balances"); - assert_eq!(events[4].variant_name(), "Deposit"); + assert_eq!(events[4].pallet_name(), "TransactionPayment"); + assert_eq!(events[4].variant_name(), "TransactionFeePaid"); - assert_eq!(events[5].pallet_name(), "TransactionPayment"); - assert_eq!(events[5].variant_name(), "TransactionFeePaid"); - - assert_eq!(events[6].pallet_name(), "System"); - assert_eq!(events[6].variant_name(), "ExtrinsicSuccess"); + assert_eq!(events[5].pallet_name(), "System"); + assert_eq!(events[5].variant_name(), "ExtrinsicSuccess"); } diff --git a/testing/async/examples/chain_tests.rs b/testing/async/examples/chain_tests.rs index 49f47beb7..e63e6afe0 100644 --- a/testing/async/examples/chain_tests.rs +++ b/testing/async/examples/chain_tests.rs @@ -13,12 +13,12 @@ limitations under the License. */ -//! Tests for the chain rpc interface functions, including testing the DefaultRuntimeConfig -//! and Signer generation for the DefaultRuntimeConfig. +//! Tests for the chain rpc interface functions, including testing the RococoRuntimeConfig +//! and Signer generation for the RococoRuntimeConfig. use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_primitives::DefaultRuntimeConfig, + ac_primitives::RococoRuntimeConfig, rpc::{HandleSubscription, JsonrpseeClient}, Api, GetChainInfo, SubscribeChain, }; @@ -27,7 +27,7 @@ use substrate_api_client::{ async fn main() { // Setup let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); let signer = AccountKeyring::Alice.pair(); api.set_signer(signer.into()); diff --git a/testing/async/examples/dispatch_errors_tests.rs b/testing/async/examples/dispatch_errors_tests.rs index aa740d924..855b300cf 100644 --- a/testing/async/examples/dispatch_errors_tests.rs +++ b/testing/async/examples/dispatch_errors_tests.rs @@ -19,7 +19,7 @@ use sp_core::H256; use sp_keyring::AccountKeyring; use sp_runtime::MultiAddress; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, Error, GetAccountInformation, GetBalance, SubmitAndWatch, XtStatus, }; @@ -29,7 +29,7 @@ async fn main() { let client = JsonrpseeClient::with_default_url().await.unwrap(); let alice_signer = AccountKeyring::Alice.pair(); let bob_signer = AccountKeyring::Bob.pair(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); let alice = AccountKeyring::Alice.to_account_id(); let balance_of_alice = api.get_account_data(&alice).await.unwrap().unwrap().free; diff --git a/testing/async/examples/events_tests.rs b/testing/async/examples/events_tests.rs index 368f8bae2..03f9c1f8f 100644 --- a/testing/async/examples/events_tests.rs +++ b/testing/async/examples/events_tests.rs @@ -17,17 +17,17 @@ use codec::Decode; use frame_support::dispatch::DispatchInfo; -use kitchensink_runtime::RuntimeEvent; +use rococo_runtime::RuntimeEvent; use sp_keyring::AccountKeyring; use substrate_api_client::{ ac_node_api::{EventDetails, StaticEvent}, - ac_primitives::{AssetRuntimeConfig, Config}, + ac_primitives::{Config, RococoRuntimeConfig}, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, FetchEvents, GetChainInfo, SubmitAndWatch, SubscribeEvents, XtStatus, }; -type Hash = ::Hash; +type Hash = ::Hash; /// Check out frame_system::Event::ExtrinsicSuccess: #[derive(Decode, Debug)] @@ -45,7 +45,7 @@ async fn main() { // Setup let client = JsonrpseeClient::with_default_url().await.unwrap(); let alice_pair = AccountKeyring::Alice.pair(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(alice_pair.into()); let bob = AccountKeyring::Bob.to_account_id(); @@ -76,7 +76,7 @@ async fn main() { // Wait for event callbacks from the node, which are received via subscription. for _ in 0..5 { let event_records = event_subscription - .next_events::::Hash>() + .next_events::::Hash>() .await .unwrap() .unwrap(); diff --git a/testing/async/examples/flipper.wasm b/testing/async/examples/flipper.wasm deleted file mode 100644 index afd39d793..000000000 Binary files a/testing/async/examples/flipper.wasm and /dev/null differ diff --git a/testing/async/examples/frame_system_tests.rs b/testing/async/examples/frame_system_tests.rs index 2ecd187ba..38da2bd6e 100644 --- a/testing/async/examples/frame_system_tests.rs +++ b/testing/async/examples/frame_system_tests.rs @@ -19,7 +19,7 @@ use codec::Decode; use frame_support::dispatch::DispatchInfo; use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_node_api::StaticEvent, ac_primitives::AssetRuntimeConfig, rpc::JsonrpseeClient, Api, + ac_node_api::StaticEvent, ac_primitives::RococoRuntimeConfig, rpc::JsonrpseeClient, Api, GetAccountInformation, SystemApi, }; @@ -39,7 +39,7 @@ async fn main() { // Setup let client = JsonrpseeClient::with_default_url().await.unwrap(); let alice_pair = AccountKeyring::Alice.pair(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(alice_pair.into()); let alice = AccountKeyring::Alice.to_account_id(); diff --git a/testing/async/examples/pallet_balances_tests.rs b/testing/async/examples/pallet_balances_tests.rs index f379a9e78..e7731ca14 100644 --- a/testing/async/examples/pallet_balances_tests.rs +++ b/testing/async/examples/pallet_balances_tests.rs @@ -15,17 +15,18 @@ //! Tests for the pallet balances interface functions. +use codec::Encode; use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, - GetAccountInformation, GetBalance, SubmitAndWatch, XtStatus, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, + GetAccountInformation, GetBalance, GetTransactionPayment, SubmitAndWatch, XtStatus, }; #[tokio::main] async fn main() { // Setup let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); let ed = api.get_existential_deposit().await.unwrap(); println!("[+] Existential deposit is {}\n", ed); @@ -41,29 +42,56 @@ async fn main() { println!("[+] Bob's Free Balance is {}\n", balance_of_bob); // Rough estimate of fees for three transactions - let fee_estimate = 3 * 2000000000000; + let dummy_xt = api + .balance_transfer_keep_alive(bob.clone().into(), balance_of_alice) + .await + .unwrap() + .encode(); + let transaction_fee = + api.get_fee_details(&dummy_xt.into(), None).await.unwrap().unwrap().final_fee(); + println!("[+] Transaction Fee is {}\n", transaction_fee); let xt = api - .balance_transfer_keep_alive(bob.clone().into(), balance_of_alice / 2 - fee_estimate) + .balance_transfer_keep_alive( + bob.clone().into(), + balance_of_alice / 2 - (3 * transaction_fee), + ) .await .unwrap(); let report = api.submit_and_watch_extrinsic_until(xt, XtStatus::Finalized).await; // This call should succeed as alice has enough money assert!(report.is_ok()); + // Alice now has half of her balance plus two transaction fees left + // (one has been deducted by the transaction above). + let estimated_balance_of_alice = balance_of_alice / 2 + 2 * transaction_fee; + let balance_of_alice = api.get_account_data(&alice).await.unwrap().unwrap().free; println!("[+] Alice's Free Balance is {}\n", balance_of_alice); + assert_eq!(balance_of_alice, estimated_balance_of_alice); let xt = api - .balance_transfer_keep_alive(bob.clone().into(), balance_of_alice - fee_estimate) + .balance_transfer_keep_alive(bob.clone().into(), balance_of_alice - transaction_fee - 1) .await .unwrap(); + let report = api.submit_and_watch_extrinsic_until(xt, XtStatus::Finalized).await; // This call should fail as alice would fall below the existential deposit assert!(report.is_err()); + let balance_of_alice = api.get_account_data(&alice).await.unwrap().unwrap().free; + println!("[+] Alice's Free Balance is {}\n", balance_of_alice); + + let dummy_xt = api + .balance_transfer_allow_death(bob.clone().into(), balance_of_alice) + .await + .unwrap() + .encode(); + let transaction_fee = + api.get_fee_details(&dummy_xt.into(), None).await.unwrap().unwrap().final_fee(); + let xt = api - .balance_transfer_allow_death(bob.clone().into(), balance_of_alice - fee_estimate) + .balance_transfer_allow_death(bob.clone().into(), balance_of_alice - transaction_fee - 1) .await .unwrap(); let result = api.submit_and_watch_extrinsic_until(xt, XtStatus::Finalized).await; diff --git a/testing/async/examples/pallet_contract_tests.rs b/testing/async/examples/pallet_contract_tests.rs deleted file mode 100644 index 46ff4c9c4..000000000 --- a/testing/async/examples/pallet_contract_tests.rs +++ /dev/null @@ -1,79 +0,0 @@ -/* - Copyright 2019 Supercomputing Systems AG - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -//! This example is community maintained and not CI tested, therefore it may not work as is. - -use codec::Decode; -use kitchensink_runtime::AccountId; -use sp_keyring::AccountKeyring; -use substrate_api_client::{ - ac_compose_macros::primitives::AssetRuntimeConfig, ac_node_api::StaticEvent, - ac_primitives::Determinism, extrinsic::ContractsExtrinsics, rpc::JsonrpseeClient, Api, - SubmitAndWatch, XtStatus, -}; - -// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. -// Therefore, we need to use the `AssetRuntimeConfig` in this example. -// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node -// you most likely should use `DefaultRuntimeConfig` instead. - -#[allow(unused)] -#[derive(Decode)] -struct ContractInstantiatedEventArgs { - deployer: AccountId, - contract: AccountId, -} - -impl StaticEvent for ContractInstantiatedEventArgs { - const PALLET: &'static str = "Contracts"; - const EVENT: &'static str = "Instantiated"; -} - -#[tokio::main] -async fn main() { - // Initialize api and set the signer (sender) that is used to sign the extrinsics. - let signer = AccountKeyring::Alice.pair(); - let client = JsonrpseeClient::with_default_url().await.unwrap(); - let mut api = Api::::new(client).await.unwrap(); - api.set_signer(signer.into()); - - println!("[+] Alice's Account Nonce is {}", api.get_nonce().await.unwrap()); - - let wasm = include_bytes!("flipper.wasm").to_vec(); - - let xt = api - .contract_instantiate_with_code( - 0, - 500_000_000.into(), - None, - wasm.clone().into(), - vec![0].into(), - vec![0].into(), - ) - .await - .unwrap(); - - println!("[+] Creating a contract instance \n"); - let result = api.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock).await; - // Ensure the contract is valid - just doesnt make any changes. - assert!(format!("{:?}", result).contains("ContractReverted")); - - let xt = api - .contract_upload_code(wasm.into(), None, Determinism::Enforced) - .await - .unwrap(); - - let _report = api.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock).await.unwrap(); -} diff --git a/testing/async/examples/pallet_transaction_payment_tests.rs b/testing/async/examples/pallet_transaction_payment_tests.rs index d2bbb7bb0..71bfab75d 100644 --- a/testing/async/examples/pallet_transaction_payment_tests.rs +++ b/testing/async/examples/pallet_transaction_payment_tests.rs @@ -18,7 +18,7 @@ use codec::Encode; use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, Api, GetChainInfo, GetTransactionPayment, }; @@ -27,7 +27,7 @@ async fn main() { // Setup let client = JsonrpseeClient::with_default_url().await.unwrap(); let alice_pair = AccountKeyring::Alice.pair(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(alice_pair.into()); let bob = AccountKeyring::Bob.to_account_id(); diff --git a/testing/async/examples/runtime_api_tests.rs b/testing/async/examples/runtime_api_tests.rs index cc9f501ed..18b06b3fe 100644 --- a/testing/async/examples/runtime_api_tests.rs +++ b/testing/async/examples/runtime_api_tests.rs @@ -18,7 +18,7 @@ use sp_core::{sr25519, Decode}; use sp_keyring::AccountKeyring; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::JsonrpseeClient, runtime_api::{ @@ -33,7 +33,7 @@ async fn main() { // Setup let client = JsonrpseeClient::with_default_url().await.unwrap(); let alice_pair = AccountKeyring::Alice.pair(); - let mut api = Api::::new(client).await.unwrap(); + let mut api = Api::::new(client).await.unwrap(); api.set_signer(alice_pair.into()); let runtime_api = api.runtime_api(); @@ -95,8 +95,8 @@ async fn main() { // let _session_keys = // runtime_api.decode_session_keys(encoded_session_keys, None).unwrap().unwrap(); - // Staking - let _quota = runtime_api.nominations_quota(100000000, None).await.unwrap(); + // Staking not available + // let _quota = runtime_api.nominations_quota(100000000, None).await.unwrap(); // Transaction Payment let extrinsic = api.balance_transfer_allow_death(bob.clone().into(), 1000).await.unwrap(); @@ -106,15 +106,15 @@ async fn main() { let _fee = runtime_api.query_length_to_fee(1000, None).await.unwrap(); let _fee = runtime_api.query_weight_to_fee(1000.into(), None).await.unwrap(); - // Transaction Payment Call - let call = api - .balance_transfer_allow_death(bob.clone().into(), 1000) - .await - .unwrap() - .function; - let _tx_fee_details = - runtime_api.query_call_fee_details(call.clone(), 1000, None).await.unwrap(); - let _tx_info = runtime_api.query_call_info(call, 1000, None).await.unwrap(); - let _fee = runtime_api.query_length_to_fee_call(1000, None).await.unwrap(); - let _fee = runtime_api.query_weight_to_fee_call(1000.into(), None).await.unwrap(); + // Transaction Payment Call not available on rococo runtime. + // let call = api + // .balance_transfer_allow_death(bob.clone().into(), 1000) + // .await + // .unwrap() + // .function; + // let _tx_fee_details = + // runtime_api.query_call_fee_details(call.clone(), 1000, None).await.unwrap(); + // let _tx_info = runtime_api.query_call_info(call, 1000, None).await.unwrap(); + // let _fee = runtime_api.query_length_to_fee_call(1000, None).await.unwrap(); + // let _fee = runtime_api.query_weight_to_fee_call(1000.into(), None).await.unwrap(); } diff --git a/testing/async/examples/state_tests.rs b/testing/async/examples/state_tests.rs index ef5fa8de0..6882fd6b9 100644 --- a/testing/async/examples/state_tests.rs +++ b/testing/async/examples/state_tests.rs @@ -17,23 +17,18 @@ use codec::Decode; use pallet_balances::AccountData as GenericAccountData; -use pallet_staking::Exposure; +use pallet_society::Vote; use sp_core::{crypto::Ss58Codec, sr25519}; use sp_keyring::AccountKeyring; -use sp_staking::EraIndex; use substrate_api_client::{ - ac_primitives::{AssetRuntimeConfig, Config}, + ac_primitives::{Config, RococoRuntimeConfig}, rpc::JsonrpseeClient, Api, GetChainInfo, GetStorage, }; -type KitchensinkConfig = AssetRuntimeConfig; +type KitchensinkConfig = RococoRuntimeConfig; type Balance = ::Balance; type AccountData = GenericAccountData; -type ErasStakers = Exposure< - ::AccountId, - ::StakingBalance, ->; #[tokio::main] async fn main() { @@ -58,17 +53,11 @@ async fn main() { let _account_info: AccountData = api.get_storage_map("System", "Account", &alice, None).await.unwrap().unwrap(); - let era_stakers: ErasStakers = api - .get_storage_double_map( - "Staking", - "ErasStakersOverview", - EraIndex::default(), - alice_stash, - None, - ) + let votes: Option = api + .get_storage_double_map("Society", "DefenderVotes", 0, alice_stash, None) .await - .unwrap() .unwrap(); + assert!(votes.is_none()); // Ensure the prefix matches the actual storage key: let storage_key_prefix = api.get_storage_map_key_prefix("System", "Account").await.unwrap(); @@ -93,13 +82,7 @@ async fn main() { .unwrap() .unwrap(); let _double_map_proof = api - .get_storage_double_map_proof( - "Staking", - "ErasStakers", - EraIndex::default(), - alice_stash, - None, - ) + .get_storage_double_map_proof("Society", "DefenderVotes", 0, &alice, None) .await .unwrap() .unwrap(); @@ -113,12 +96,7 @@ async fn main() { let max_keys = 2003; let result = api - .get_storage_keys_paged_limited( - Some(storage_key_prefix.clone()), - max_keys.clone(), - None, - None, - ) + .get_storage_keys_paged_limited(Some(storage_key_prefix.clone()), max_keys, None, None) .await; assert!(result.is_err()); assert!(format!("{result:?}").contains("count exceeds maximum value")); @@ -127,13 +105,11 @@ async fn main() { .get_storage_keys_paged(Some(storage_key_prefix), max_keys, None, None) .await .unwrap(); - assert_eq!(storage_keys.len() as u32, 14); + assert_eq!(storage_keys.len() as u32, 13); let max_keys = 20; - let storage_keys = api - .get_storage_keys_paged_limited(None, max_keys.clone(), None, None) - .await - .unwrap(); + let storage_keys = + api.get_storage_keys_paged_limited(None, max_keys, None, None).await.unwrap(); assert_eq!(storage_keys.len() as u32, max_keys); let storage_keys = api.get_storage_keys_paged(None, max_keys, None, None).await.unwrap(); diff --git a/testing/sync/examples/tungstenite_client_test.rs b/testing/sync/examples/tungstenite_client_test.rs index 6c2d4ac36..64fb24eed 100755 --- a/testing/sync/examples/tungstenite_client_test.rs +++ b/testing/sync/examples/tungstenite_client_test.rs @@ -19,7 +19,7 @@ use sp_core::{ }; use sp_runtime::MultiAddress; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::TungsteniteRpcClient, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::TungsteniteRpcClient, Api, GetAccountInformation, SubmitAndWatch, XtStatus, }; @@ -31,7 +31,7 @@ fn main() { ) .unwrap(); let client = TungsteniteRpcClient::with_default_url(100); - let mut api = Api::::new(client).unwrap(); + let mut api = Api::::new(client).unwrap(); api.set_signer(alice.clone().into()); let bob = sr25519::Public::from_ss58check("5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty") diff --git a/testing/sync/examples/ws_client_test.rs b/testing/sync/examples/ws_client_test.rs index 676024c7c..13e4a7939 100755 --- a/testing/sync/examples/ws_client_test.rs +++ b/testing/sync/examples/ws_client_test.rs @@ -19,7 +19,7 @@ use sp_core::{ }; use sp_runtime::MultiAddress; use substrate_api_client::{ - ac_primitives::AssetRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::WsRpcClient, Api, + ac_primitives::RococoRuntimeConfig, extrinsic::BalancesExtrinsics, rpc::WsRpcClient, Api, GetAccountInformation, SubmitAndWatch, XtStatus, }; @@ -31,7 +31,7 @@ fn main() { ) .unwrap(); let client = WsRpcClient::with_default_url(); - let mut api = Api::::new(client).unwrap(); + let mut api = Api::::new(client).unwrap(); api.set_signer(alice.clone().into()); let bob = sr25519::Public::from_ss58check("5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty")