diff --git a/Cargo.lock b/Cargo.lock index 728fd6b2c6..beb14dd697 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -107,28 +107,27 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "alloy-core" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d8bcce99ad10fe02640cfaec1c6bc809b837c783c1d52906aa5af66e2a196f6" +checksum = "bfe6c56d58fbfa9f0f6299376e8ce33091fc6494239466814c3f54b55743cb09" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", - "alloy-primitives 0.8.25", + "alloy-primitives 1.3.1", "alloy-rlp", - "alloy-sol-types 0.8.25", + "alloy-sol-types 1.3.1", ] [[package]] name = "alloy-dyn-abi" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb8e762aefd39a397ff485bc86df673465c4ad3ec8819cc60833a8a3ba5cdc87" +checksum = "a3f56873f3cac7a2c63d8e98a4314b8311aa96adb1a0f82ae923eb2119809d2c" dependencies = [ "alloy-json-abi", - "alloy-primitives 0.8.25", + "alloy-primitives 1.3.1", "alloy-sol-type-parser", - "alloy-sol-types 0.8.25", - "const-hex", + "alloy-sol-types 1.3.1", "itoa", "serde", "serde_json", @@ -137,11 +136,11 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe6beff64ad0aa6ad1019a3db26fef565aefeb011736150ab73ed3366c3cfd1b" +checksum = "125a1c373261b252e53e04d6e92c37d881833afc1315fceab53fd46045695640" dependencies = [ - "alloy-primitives 0.8.25", + "alloy-primitives 1.3.1", "alloy-sol-type-parser", "serde", "serde_json", @@ -158,7 +157,7 @@ dependencies = [ "cfg-if", "const-hex", "derive_more 0.99.20", - "hex-literal 0.4.1", + "hex-literal", "itoa", "proptest", "rand 0.8.5", @@ -169,9 +168,9 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c77490fe91a0ce933a1f219029521f20fc28c2c0ca95d53fa4da9c00b8d9d4e" +checksum = "bc9485c56de23438127a731a6b4c87803d49faf1a7068dcd1d8768aca3a9edb9" dependencies = [ "alloy-rlp", "bytes", @@ -186,7 +185,7 @@ dependencies = [ "keccak-asm", "paste", "proptest", - "rand 0.8.5", + "rand 0.9.1", "ruint", "rustc-hash 2.1.1", "serde", @@ -223,9 +222,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e10ae8e9a91d328ae954c22542415303919aabe976fe7a92eb06db1b68fd59f2" +checksum = "d20d867dcf42019d4779519a1ceb55eba8d7f3d0e4f0a89bcba82b8f9eb01e48" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", @@ -237,9 +236,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro-expander" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83ad5da86c127751bc607c174d6c9fe9b85ef0889a9ca0c641735d77d4f98f26" +checksum = "b74e91b0b553c115d14bd0ed41898309356dc85d0e3d4b9014c4e7715e48c8ad" dependencies = [ "alloy-sol-macro-input", "const-hex", @@ -249,15 +248,15 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.104", - "syn-solidity 0.8.25", + "syn-solidity 1.3.1", "tiny-keccak", ] [[package]] name = "alloy-sol-macro-input" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3d30f0d3f9ba3b7686f3ff1de9ee312647aac705604417a2f40c604f409a9e" +checksum = "84194d31220803f5f62d0a00f583fd3a062b36382e2bea446f1af96727754565" dependencies = [ "const-hex", "dunce", @@ -266,14 +265,14 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.104", - "syn-solidity 0.8.25", + "syn-solidity 1.3.1", ] [[package]] name = "alloy-sol-type-parser" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d162f8524adfdfb0e4bd0505c734c985f3e2474eb022af32eef0d52a4f3935c" +checksum = "fe8c27b3cf6b2bb8361904732f955bc7c05e00be5f469cec7e2280b6167f3ff0" dependencies = [ "serde", "winnow", @@ -293,14 +292,13 @@ dependencies = [ [[package]] name = "alloy-sol-types" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43d5e60466a440230c07761aa67671d4719d46f43be8ea6e7ed334d8db4a9ab" +checksum = "f5383d34ea00079e6dd89c652bcbdb764db160cef84e6250926961a0b2295d04" dependencies = [ "alloy-json-abi", - "alloy-primitives 0.8.25", - "alloy-sol-macro 0.8.25", - "const-hex", + "alloy-primitives 1.3.1", + "alloy-sol-macro 1.3.1", "serde", ] @@ -599,6 +597,16 @@ version = "6.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" +[[package]] +name = "array-bytes" +version = "9.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d55334c98d756b32dcceb60248647ab34f027690f87f9a362fd292676ee927" +dependencies = [ + "smallvec", + "thiserror 2.0.12", +] + [[package]] name = "arrayref" version = "0.3.9" @@ -749,7 +757,7 @@ dependencies = [ "fp-account", "frame-support", "frontier-template-emulated-chain", - "hex-literal 0.3.4", + "hex-literal", "pallet-message-queue", "pallet-xcm", "polkadot-primitives", @@ -790,8 +798,8 @@ dependencies = [ [[package]] name = "asset-test-utils" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -821,7 +829,7 @@ dependencies = [ [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "sp-api", "sp-consensus-slots", @@ -1174,7 +1182,7 @@ checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" [[package]] name = "binary-merkle-tree" version = "16.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "hash-db", "log", @@ -1432,8 +1440,8 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.20.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1449,8 +1457,8 @@ dependencies = [ [[package]] name = "bp-messages" -version = "0.20.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1465,8 +1473,8 @@ dependencies = [ [[package]] name = "bp-parachains" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1482,8 +1490,8 @@ dependencies = [ [[package]] name = "bp-polkadot-core" -version = "0.20.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-messages", "bp-runtime", @@ -1499,8 +1507,8 @@ dependencies = [ [[package]] name = "bp-relayers" -version = "0.20.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-header-chain", "bp-messages", @@ -1517,8 +1525,8 @@ dependencies = [ [[package]] name = "bp-runtime" -version = "0.20.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -1540,8 +1548,8 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" -version = "0.6.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-messages", "bp-runtime", @@ -1557,8 +1565,8 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.17.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -1591,8 +1599,8 @@ dependencies = [ [[package]] name = "bridge-hub-common" -version = "0.13.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1771,7 +1779,7 @@ dependencies = [ [[package]] name = "ccp-authorities-noting-inherent" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1798,7 +1806,7 @@ dependencies = [ [[package]] name = "ccp-xcm" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "frame-support", "frame-system", @@ -1896,6 +1904,7 @@ dependencies = [ "iana-time-zone", "js-sys", "num-traits", + "serde", "wasm-bindgen", "windows-link", ] @@ -2193,7 +2202,7 @@ dependencies = [ "frame-support", "frame-system-rpc-runtime-api", "futures 0.3.31", - "hex-literal 0.3.4", + "hex-literal", "jsonrpsee", "log", "manual-xcm-rpc", @@ -2280,7 +2289,7 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "futures 0.3.31", - "hex-literal 0.3.4", + "hex-literal", "jsonrpsee", "log", "manual-xcm-rpc", @@ -2355,6 +2364,7 @@ dependencies = [ "dp-consensus", "dp-impl-tanssi-pallets-config", "dp-slot-duration-runtime-api", + "ethereum", "fp-account", "fp-evm", "fp-rpc", @@ -2366,7 +2376,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal", "log", "nimbus-primitives", "num_enum", @@ -2394,7 +2404,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-multisig", "pallet-parameters", "pallet-proxy", @@ -2464,7 +2474,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal", "log", "nimbus-primitives", "pallet-asset-rate", @@ -2477,7 +2487,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-multisig", "pallet-ocw-testing", "pallet-parameters", @@ -2854,10 +2864,36 @@ dependencies = [ "cipher 0.4.4", ] +[[package]] +name = "cumulus-client-bootnodes" +version = "0.2.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "array-bytes 6.2.3", + "async-channel 1.9.0", + "cumulus-client-network", + "cumulus-primitives-core", + "cumulus-relay-chain-interface", + "futures 0.3.31", + "hex", + "ip_network", + "log", + "num-traits", + "parachains-common", + "parity-scale-codec", + "prost 0.12.6", + "prost-build 0.13.5", + "sc-network", + "sc-service", + "sp-consensus-babe", + "sp-runtime", + "tokio", +] + [[package]] name = "cumulus-client-cli" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "clap", "parity-scale-codec", @@ -2873,8 +2909,8 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2896,8 +2932,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2943,13 +2979,14 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-client-pov-recovery", "cumulus-primitives-core", "cumulus-relay-chain-interface", + "cumulus-relay-chain-streams", "dyn-clone", "futures 0.3.31", "log", @@ -2958,6 +2995,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-consensus-babe", + "sc-network", "schnellru", "sp-blockchain", "sp-consensus", @@ -2973,8 +3011,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.20.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "anyhow", "async-trait", @@ -2988,8 +3026,8 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -3002,6 +3040,7 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "sc-client-api", + "sc-network", "sp-api", "sp-blockchain", "sp-consensus", @@ -3014,8 +3053,8 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" -version = "0.16.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3024,7 +3063,8 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "parity-scale-codec", "sc-client-api", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sc-consensus-babe", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -3034,12 +3074,13 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", + "cumulus-relay-chain-streams", "futures 0.3.31", "futures-timer", "parity-scale-codec", @@ -3050,6 +3091,7 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-consensus", + "sc-network", "sp-api", "sp-consensus", "sp-maybe-compressed-blob", @@ -3060,9 +3102,10 @@ dependencies = [ [[package]] name = "cumulus-client-service" -version = "0.23.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.25.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ + "async-channel 1.9.0", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", @@ -3073,8 +3116,10 @@ dependencies = [ "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", + "cumulus-relay-chain-streams", "futures 0.3.31", "polkadot-primitives", + "prometheus", "sc-client-api", "sc-consensus", "sc-network", @@ -3097,8 +3142,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -3109,6 +3154,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "hashbrown 0.15.4", "impl-trait-for-tuples", "log", "pallet-message-queue", @@ -3116,6 +3162,7 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-runtime-parachains", "scale-info", + "sp-consensus-babe", "sp-core", "sp-externalities", "sp-inherents", @@ -3133,7 +3180,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -3143,8 +3190,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "22.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -3156,8 +3203,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -3175,8 +3222,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" -version = "0.19.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.20.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3190,9 +3237,10 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ + "approx", "bounded-collections", "bp-xcm-bridge-hub-router", "cumulus-primitives-core", @@ -3215,8 +3263,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" -version = "0.17.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "sp-api", "sp-consensus-aura", @@ -3224,8 +3272,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.18.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.19.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -3236,12 +3284,13 @@ dependencies = [ "sp-runtime", "sp-trie", "staging-xcm", + "tracing", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.18.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.19.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3254,8 +3303,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.12.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.13.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -3264,8 +3313,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "11.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "12.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -3281,8 +3330,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" -version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.20.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -3291,8 +3340,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3308,18 +3357,22 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.23.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ + "async-channel 1.9.0", "async-trait", + "cumulus-client-bootnodes", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.31", "futures-timer", "polkadot-cli", + "polkadot-primitives", "polkadot-service", "sc-cli", "sc-client-api", + "sc-network", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -3332,8 +3385,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3342,6 +3395,7 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", + "sc-network", "sp-api", "sp-blockchain", "sp-state-machine", @@ -3351,11 +3405,13 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.23.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", + "async-channel 1.9.0", "async-trait", + "cumulus-client-bootnodes", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", @@ -3385,8 +3441,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3401,6 +3457,7 @@ dependencies = [ "prometheus", "rand 0.8.5", "sc-client-api", + "sc-network", "sc-rpc-api", "sc-service", "schnellru", @@ -3423,10 +3480,24 @@ dependencies = [ "url", ] +[[package]] +name = "cumulus-relay-chain-streams" +version = "0.2.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "cumulus-relay-chain-interface", + "futures 0.3.31", + "polkadot-node-subsystem", + "polkadot-primitives", + "sp-api", + "sp-consensus", + "tracing", +] + [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.20.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3588,7 +3659,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal", "log", "nimbus-primitives", "pallet-asset-rate", @@ -3614,7 +3685,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-multisig", "pallet-pooled-staking", "pallet-proxy", @@ -3746,7 +3817,7 @@ dependencies = [ "dp-core", "frame-support", "frame-system", - "hex-literal 0.3.4", + "hex-literal", "nimbus-primitives", "pallet-asset-rate", "pallet-assets", @@ -3781,6 +3852,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-tracing", "staging-parachain-info", "staging-xcm", "tanssi-runtime-common", @@ -3829,7 +3901,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal", "log", "nimbus-primitives", "pallet-alt-benchmarks", @@ -3866,7 +3938,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-mmr", "pallet-multisig", "pallet-offences", @@ -3971,7 +4043,7 @@ name = "dancelight-runtime-constants" version = "0.1.0" dependencies = [ "frame-support", - "hex-literal 0.3.4", + "hex-literal", "polkadot-primitives", "polkadot-runtime-common", "smallvec", @@ -4005,8 +4077,18 @@ version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.20.11", + "darling_macro 0.20.11", +] + +[[package]] +name = "darling" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" +dependencies = [ + "darling_core 0.21.3", + "darling_macro 0.21.3", ] [[package]] @@ -4023,13 +4105,38 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "darling_core" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.104", +] + [[package]] name = "darling_macro" version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ - "darling_core", + "darling_core 0.20.11", + "quote", + "syn 2.0.104", +] + +[[package]] +name = "darling_macro" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" +dependencies = [ + "darling_core 0.21.3", "quote", "syn 2.0.104", ] @@ -4076,7 +4183,7 @@ dependencies = [ [[package]] name = "dc-orchestrator-chain-interface" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4224,7 +4331,6 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.104", - "unicode-xid", ] [[package]] @@ -4379,7 +4485,7 @@ checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dp-chain-state-snapshot" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -4391,11 +4497,11 @@ dependencies = [ [[package]] name = "dp-collator-assignment" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "cumulus-primitives-core", "frame-support", - "hex-literal 0.3.4", + "hex-literal", "log", "parity-scale-codec", "polkadot-primitives", @@ -4410,7 +4516,7 @@ dependencies = [ [[package]] name = "dp-consensus" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4426,12 +4532,12 @@ dependencies = [ [[package]] name = "dp-container-chain-genesis-data" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "cumulus-primitives-core", "frame-support", "hex", - "hex-literal 0.3.4", + "hex-literal", "log", "parity-scale-codec", "polkadot-primitives", @@ -4447,11 +4553,11 @@ dependencies = [ [[package]] name = "dp-core" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "cumulus-primitives-core", "frame-support", - "hex-literal 0.3.4", + "hex-literal", "parity-scale-codec", "sp-core", "sp-io", @@ -4461,7 +4567,7 @@ dependencies = [ [[package]] name = "dp-impl-tanssi-pallets-config" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "dp-consensus", "frame-support", @@ -4476,7 +4582,7 @@ dependencies = [ [[package]] name = "dp-slot-duration-runtime-api" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4612,8 +4718,8 @@ dependencies = [ [[package]] name = "emulated-integration-tests-common" -version = "20.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "22.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "asset-test-utils", "bp-messages", @@ -4622,11 +4728,14 @@ dependencies = [ "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "frame-support", - "hex-literal 0.4.1", + "frame-system", + "hex-literal", + "pallet-asset-conversion", "pallet-assets", "pallet-balances", "pallet-bridge-messages", "pallet-message-queue", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-bridge-hub", "parachains-common", @@ -4643,7 +4752,10 @@ dependencies = [ "sp-keyring", "sp-runtime", "staging-xcm", + "staging-xcm-executor", "xcm-emulator", + "xcm-runtime-apis", + "xcm-simulator", ] [[package]] @@ -4695,6 +4807,16 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "env_filter" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0" +dependencies = [ + "log", + "regex", +] + [[package]] name = "env_logger" version = "0.10.2" @@ -4757,13 +4879,15 @@ dependencies = [ [[package]] name = "ethereum" -version = "0.15.0" -source = "git+https://github.com/rust-ethereum/ethereum?rev=bbb544622208ef6e9890a2dbc224248f6dd13318#bbb544622208ef6e9890a2dbc224248f6dd13318" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ee371ebb7479ed3258617557ab0b3247e741075cb6b02b820d188f68da44441" dependencies = [ "bytes", "ethereum-types", "hash-db", "hash256-std-hasher", + "k256", "parity-scale-codec", "rlp 0.6.1", "scale-info", @@ -4772,6 +4896,14 @@ dependencies = [ "trie-root", ] +[[package]] +name = "ethereum-standards" +version = "0.1.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "alloy-core", +] + [[package]] name = "ethereum-types" version = "0.15.1" @@ -4828,8 +4960,8 @@ dependencies = [ [[package]] name = "evm" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5" +version = "0.43.4" +source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" dependencies = [ "auto_impl", "environmental", @@ -4848,8 +4980,8 @@ dependencies = [ [[package]] name = "evm-core" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5" +version = "0.43.0" +source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" dependencies = [ "parity-scale-codec", "primitive-types 0.13.1", @@ -4859,8 +4991,8 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5" +version = "0.43.0" +source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" dependencies = [ "environmental", "evm-core", @@ -4870,8 +5002,8 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5" +version = "0.43.0" +source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" dependencies = [ "auto_impl", "environmental", @@ -4996,7 +5128,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "async-trait", "fp-storage", @@ -5008,7 +5140,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "async-trait", "fp-consensus", @@ -5024,7 +5156,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "async-trait", "ethereum", @@ -5054,7 +5186,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "fc-db", "fc-storage", @@ -5077,7 +5209,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "ethereum", "ethereum-types", @@ -5131,7 +5263,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "ethereum", "ethereum-types", @@ -5140,13 +5272,13 @@ dependencies = [ "rustc-hex", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", ] [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "ethereum", "ethereum-types", @@ -5264,12 +5396,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" -[[package]] -name = "fixedbitset" -version = "0.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" - [[package]] name = "flashbox-runtime" version = "0.1.0" @@ -5293,7 +5419,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal", "log", "nimbus-primitives", "pallet-async-backing", @@ -5314,7 +5440,7 @@ dependencies = [ "pallet-invulnerables", "pallet-maintenance-mode", "pallet-migrations 0.1.0", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-multisig", "pallet-proxy", "pallet-registrar", @@ -5422,7 +5548,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", ] @@ -5449,7 +5575,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "hex", "impl-serde", @@ -5461,14 +5587,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface", "staging-xcm", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "ethereum", "parity-scale-codec", @@ -5479,7 +5604,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "ethereum", "ethereum-types", @@ -5491,7 +5616,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "environmental", "evm", @@ -5507,7 +5632,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "ethereum", "ethereum-types", @@ -5523,7 +5648,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "frame-support", "parity-scale-codec", @@ -5535,7 +5660,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "parity-scale-codec", "serde", @@ -5549,8 +5674,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-support-procedural", @@ -5573,17 +5698,19 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "47.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "49.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "Inflector", - "array-bytes", + "array-bytes 6.2.3", "chrono", "clap", "comfy-table", "cumulus-client-parachain-inherent", "cumulus-primitives-proof-size-hostfunction", + "env_filter", "frame-benchmarking", + "frame-storage-access-test-runtime", "frame-support", "frame-system", "gethostname", @@ -5602,6 +5729,8 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", "sc-runtime-utilities", "sc-service", "sc-sysinfo", @@ -5618,6 +5747,7 @@ dependencies = [ "sp-io", "sp-keystore", "sp-runtime", + "sp-runtime-interface", "sp-state-machine", "sp-storage", "sp-timestamp", @@ -5633,13 +5763,13 @@ dependencies = [ [[package]] name = "frame-decode" -version = "0.5.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6027a409bac4fe95b4d107f965fcdbc252fc89d884a360d076b3070b6128c094" +checksum = "a7cb8796f93fa038f979a014234d632e9688a120e745f936e2635123c77537f7" dependencies = [ - "frame-metadata 17.0.0", + "frame-metadata 20.0.0", "parity-scale-codec", - "scale-decode 0.14.0", + "scale-decode", "scale-info", "scale-type-resolver", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5647,8 +5777,8 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" -version = "16.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "16.1.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -5658,8 +5788,8 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -5670,12 +5800,13 @@ dependencies = [ "sp-core", "sp-npos-elections", "sp-runtime", + "sp-std", ] [[package]] name = "frame-executive" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "aquamarine", "frame-support", @@ -5692,9 +5823,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "17.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" +checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" dependencies = [ "cfg-if", "parity-scale-codec", @@ -5704,9 +5835,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "20.0.0" +version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" +checksum = "d8c26fcb0454397c522c05fdad5380c4e622f8a875638af33bff5a320d1fc965" dependencies = [ "cfg-if", "parity-scale-codec", @@ -5716,10 +5847,10 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.8.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.9.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "const-hex", "docify", "frame-support", @@ -5732,8 +5863,8 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.52.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "indicatif", @@ -5742,7 +5873,7 @@ dependencies = [ "parity-scale-codec", "serde", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-io", "sp-runtime", "sp-state-machine", @@ -5752,18 +5883,32 @@ dependencies = [ "tokio-retry", ] +[[package]] +name = "frame-storage-access-test-runtime" +version = "0.2.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "cumulus-pallet-parachain-system", + "parity-scale-codec", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", + "substrate-wasm-builder", +] + [[package]] name = "frame-support" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "aquamarine", - "array-bytes", + "array-bytes 6.2.3", "binary-merkle-tree", "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 20.0.0", + "frame-metadata 23.0.0", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -5795,8 +5940,8 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "33.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "34.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "Inflector", "cfg-expr", @@ -5809,14 +5954,14 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "syn 2.0.104", ] [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -5828,7 +5973,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "proc-macro2", "quote", @@ -5837,8 +5982,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cfg-if", "docify", @@ -5856,8 +6001,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5870,8 +6015,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "parity-scale-codec", @@ -5880,8 +6025,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.46.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.47.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "parity-scale-codec", @@ -5898,7 +6043,7 @@ dependencies = [ "emulated-integration-tests-common", "frame-support", "frame-system", - "hex-literal 0.3.4", + "hex-literal", "nimbus-primitives", "pallet-author-inherent", "pallet-cc-authorities-noting", @@ -6431,12 +6576,6 @@ dependencies = [ "arrayvec 0.7.6", ] -[[package]] -name = "hex-literal" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - [[package]] name = "hex-literal" version = "0.4.1" @@ -6648,6 +6787,16 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" +[[package]] +name = "humantime-serde" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" +dependencies = [ + "humantime", + "serde", +] + [[package]] name = "hyper" version = "0.14.32" @@ -6665,7 +6814,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.10", "tokio", "tower-service", "tracing", @@ -7519,6 +7668,9 @@ name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +dependencies = [ + "spin 0.9.8", +] [[package]] name = "lazycell" @@ -7989,7 +8141,7 @@ dependencies = [ "thiserror 1.0.69", "tracing", "yamux 0.12.1", - "yamux 0.13.5", + "yamux 0.13.8", ] [[package]] @@ -8165,9 +8317,9 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" [[package]] name = "litep2p" -version = "0.9.5" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14fb10e63363204b89d91e1292df83322fd9de5d7fa76c3d5c78ddc2f8f3efa9" +checksum = "fb01eefca5df3c7166b18e97a87d9869fdfb105b8b3c6d894183489c8d6ce257" dependencies = [ "async-trait", "bs58", @@ -8186,8 +8338,9 @@ dependencies = [ "parking_lot 0.12.4", "pin-project", "prost 0.13.5", - "prost-build", + "prost-build 0.14.1", "rand 0.8.5", + "ring 0.17.14", "serde", "sha2 0.10.9", "simple-dns", @@ -8205,7 +8358,7 @@ dependencies = [ "url", "x25519-dalek", "x509-parser 0.17.0", - "yamux 0.13.5", + "yamux 0.13.8", "yasna", "zeroize", ] @@ -8397,7 +8550,7 @@ version = "0.1.0" dependencies = [ "cumulus-primitives-core", "flume 0.10.14", - "hex-literal 0.3.4", + "hex-literal", "jsonrpsee", "parity-scale-codec", "staging-xcm", @@ -8472,24 +8625,26 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +checksum = "7e300c54e3239a86f9c61cc63ab0f03862eb40b1c6e065dc6fd6ceaeff6da93d" dependencies = [ + "foldhash", "hash-db", + "hashbrown 0.15.4", ] [[package]] name = "merkleized-metadata" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc9b7ac0ce054412d9a85ff39bac27aec27483b06cef8756b57d9c29d448d081" +checksum = "b3e3e3f549d27d2dc054372f320ddf68045a833fab490563ff70d4cf1b9d91ea" dependencies = [ - "array-bytes", + "array-bytes 9.3.0", "blake3", - "frame-metadata 20.0.0", + "frame-metadata 23.0.0", "parity-scale-codec", - "scale-decode 0.13.1", + "scale-decode", "scale-info", ] @@ -8558,8 +8713,8 @@ dependencies = [ [[package]] name = "mmr-gadget" -version = "44.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "log", @@ -8577,8 +8732,8 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8880,7 +9035,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "async-backing-primitives", "async-trait", @@ -8920,7 +9075,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "async-trait", "frame-benchmarking", @@ -8930,6 +9085,7 @@ dependencies = [ "scale-info", "sp-api", "sp-application-crypto", + "sp-core", "sp-inherents", "sp-runtime", "sp-std", @@ -8985,10 +9141,12 @@ checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" name = "node-common" version = "0.16.0" dependencies = [ + "async-channel 1.9.0", "async-io 1.13.0", "async-trait", "clap", "core_extensions", + "cumulus-client-bootnodes", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", @@ -9088,6 +9246,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" +[[package]] +name = "ntapi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" +dependencies = [ + "winapi", +] + [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -9380,7 +9547,7 @@ dependencies = [ "expander", "indexmap 2.9.0", "itertools 0.11.0", - "petgraph 0.6.5", + "petgraph", "proc-macro-crate 3.3.0", "proc-macro2", "quote", @@ -9424,8 +9591,8 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9442,8 +9609,8 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9456,8 +9623,8 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9466,21 +9633,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", "sp-io", "sp-runtime", ] [[package]] name = "pallet-assets" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ + "ethereum-standards", "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-revive", "parity-scale-codec", "scale-info", "sp-core", @@ -9490,7 +9658,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9510,7 +9678,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "frame-benchmarking", "frame-support", @@ -9537,7 +9705,7 @@ dependencies = [ "frame-support", "frame-system", "hex", - "hex-literal 0.3.4", + "hex-literal", "log", "nimbus-primitives", "parity-scale-codec", @@ -9585,8 +9753,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -9613,8 +9781,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -9626,8 +9794,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9649,8 +9817,8 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "39.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "aquamarine", "docify", @@ -9670,8 +9838,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "41.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -9687,7 +9855,7 @@ dependencies = [ [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "fp-evm", "frame-support", @@ -9700,8 +9868,8 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "41.1.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -9719,10 +9887,10 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "binary-merkle-tree", "frame-benchmarking", "frame-support", @@ -9744,8 +9912,8 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9761,8 +9929,8 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" -version = "0.20.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-header-chain", "bp-messages", @@ -9780,8 +9948,8 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.19.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.20.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", "frame-benchmarking", @@ -9799,7 +9967,7 @@ dependencies = [ [[package]] name = "pallet-cc-authorities-noting" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "ccp-authorities-noting-inherent", "cumulus-pallet-parachain-system", @@ -9826,8 +9994,8 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9875,8 +10043,8 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "22.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9894,8 +10062,8 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -9928,8 +10096,8 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9975,8 +10143,8 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" -version = "7.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "8.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -9990,8 +10158,8 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -10007,15 +10175,14 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "39.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "log", - "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", @@ -10029,8 +10196,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10042,8 +10209,8 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "41.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -10061,7 +10228,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "ethereum", "ethereum-types", @@ -10110,10 +10277,11 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "environmental", + "ethereum", "evm", "fp-account", "fp-evm", @@ -10121,7 +10289,7 @@ dependencies = [ "frame-support", "frame-system", "hash-db", - "hex-literal 0.4.1", + "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -10134,7 +10302,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "frame-support", "frame-system", @@ -10145,7 +10313,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-balances-erc20" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "fp-evm", "frame-support", @@ -10168,7 +10336,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-batch" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "evm", "fp-evm", @@ -10189,7 +10357,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-call-permit" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "evm", "fp-evm", @@ -10212,7 +10380,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "fp-evm", "num", @@ -10221,7 +10389,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-proxy" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "evm", "fp-evm", @@ -10242,16 +10410,18 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "fp-evm", + "frame-support", + "pallet-evm", "tiny-keccak", ] [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "fp-evm", "ripemd", @@ -10261,7 +10431,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-xcm" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "cumulus-primitives-core", "evm", @@ -10287,7 +10457,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-xcm-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "fp-evm", "frame-support", @@ -10309,7 +10479,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompileset-assets-erc20" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "fp-evm", "frame-support", @@ -10413,8 +10583,8 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -10432,7 +10602,7 @@ dependencies = [ [[package]] name = "pallet-foreign-asset-creator" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "frame-benchmarking", "frame-support", @@ -10450,8 +10620,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -10472,8 +10642,8 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "enumflags2", "frame-benchmarking", @@ -10488,8 +10658,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "39.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -10526,8 +10696,8 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -10597,7 +10767,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -10610,26 +10780,10 @@ dependencies = [ "xcm-primitives", ] -[[package]] -name = "pallet-membership" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", -] - [[package]] name = "pallet-message-queue" -version = "43.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "environmental", "frame-benchmarking", @@ -10647,8 +10801,8 @@ dependencies = [ [[package]] name = "pallet-meta-tx" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -10666,8 +10820,9 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ + "cumulus-primitives-core", "frame-benchmarking", "frame-support", "frame-system", @@ -10684,8 +10839,8 @@ dependencies = [ [[package]] name = "pallet-migrations" -version = "10.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "11.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -10703,8 +10858,8 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "parity-scale-codec", @@ -10715,8 +10870,8 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "parity-scale-codec", @@ -10726,8 +10881,8 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -10736,8 +10891,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "38.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "39.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -10754,8 +10909,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "38.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "39.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10774,8 +10929,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -10798,8 +10953,8 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -10813,8 +10968,8 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10848,8 +11003,8 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.11.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.12.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -10886,8 +11041,8 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -10902,8 +11057,8 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -10912,8 +11067,8 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -10930,22 +11085,18 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-io", - "sp-runtime", ] [[package]] name = "pallet-referenda" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "assert_matches", "frame-benchmarking", @@ -10999,7 +11150,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -11020,23 +11171,104 @@ dependencies = [ ] [[package]] -name = "pallet-root-testing" -version = "16.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +name = "pallet-revive" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ + "alloy-core", + "derive_more 0.99.20", + "environmental", + "ethereum-standards", + "ethereum-types", + "frame-benchmarking", "frame-support", "frame-system", + "hex-literal", + "humantime-serde", + "impl-trait-for-tuples", + "log", + "num-bigint", + "num-integer", + "num-traits", + "pallet-revive-fixtures", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "pallet-transaction-payment", "parity-scale-codec", + "paste", + "polkavm 0.21.0", + "polkavm-common 0.21.0", + "rand 0.8.5", + "rand_pcg", + "ripemd", + "rlp 0.6.1", "scale-info", + "serde", + "sp-api", + "sp-arithmetic", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-slots", "sp-core", "sp-io", "sp-runtime", + "substrate-bn", + "subxt-signer", +] + +[[package]] +name = "pallet-revive-fixtures" +version = "0.4.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "anyhow", + "cargo_metadata", + "pallet-revive-uapi", + "polkavm-linker 0.21.0", + "sp-core", + "sp-io", + "toml 0.8.23", +] + +[[package]] +name = "pallet-revive-proc-macro" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.104", +] + +[[package]] +name = "pallet-revive-uapi" +version = "0.5.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "bitflags 1.3.2", + "pallet-revive-proc-macro", + "parity-scale-codec", + "polkavm-derive 0.21.0", + "scale-info", +] + +[[package]] +name = "pallet-root-testing" +version = "17.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-scheduler" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -11079,8 +11311,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "40.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "frame-system", @@ -11100,8 +11332,8 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11116,8 +11348,8 @@ dependencies = [ [[package]] name = "pallet-society" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11133,8 +11365,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11153,10 +11385,46 @@ dependencies = [ "sp-staking", ] +[[package]] +name = "pallet-staking-async-ah-client" +version = "0.2.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "pallet-staking-async-rc-client", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-staking", +] + +[[package]] +name = "pallet-staking-async-rc-client" +version = "0.2.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-staking", + "staging-xcm", +] + [[package]] name = "pallet-staking-reward-fn" -version = "22.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "sp-arithmetic", @@ -11164,8 +11432,8 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "26.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "sp-api", @@ -11174,8 +11442,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "44.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11221,8 +11489,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -11236,8 +11504,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -11247,7 +11515,6 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io", "sp-runtime", "sp-storage", "sp-timestamp", @@ -11255,8 +11522,8 @@ dependencies = [ [[package]] name = "pallet-tips" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11273,8 +11540,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11282,15 +11549,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", "sp-io", "sp-runtime", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "43.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -11305,8 +11571,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -11317,8 +11583,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -11336,13 +11602,10 @@ dependencies = [ [[package]] name = "pallet-tx-pause" -version = "21.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "22.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", - "pallet-balances", - "pallet-proxy", - "pallet-utility", "parity-scale-codec", "polkadot-sdk-frame", "scale-info", @@ -11350,8 +11613,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11365,15 +11628,14 @@ dependencies = [ [[package]] name = "pallet-verify-signature" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.4.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", "sp-io", "sp-runtime", "sp-weights", @@ -11381,8 +11643,8 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11395,8 +11657,8 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11405,14 +11667,17 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "19.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.1.3" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", + "hex-literal", "pallet-balances", + "pallet-revive", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", @@ -11428,8 +11693,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -11445,8 +11710,8 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" -version = "0.16.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.17.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-messages", "bp-runtime", @@ -11467,8 +11732,8 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" -version = "0.18.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.19.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -11476,6 +11741,7 @@ dependencies = [ "frame-system", "log", "parity-scale-codec", + "polkadot-runtime-parachains", "scale-info", "sp-core", "sp-runtime", @@ -11529,7 +11795,7 @@ dependencies = [ [[package]] name = "pallet-xcm-executor-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "frame-benchmarking", "frame-support", @@ -11547,8 +11813,8 @@ dependencies = [ [[package]] name = "parachains-common" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "22.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -11576,8 +11842,8 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -11840,17 +12106,7 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset 0.4.2", - "indexmap 2.9.0", -] - -[[package]] -name = "petgraph" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" -dependencies = [ - "fixedbitset 0.5.7", + "fixedbitset", "indexmap 2.9.0", ] @@ -11915,8 +12171,8 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-approval-distribution" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "futures-timer", @@ -11933,8 +12189,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "futures-timer", @@ -11948,8 +12204,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "fatality", "futures 0.3.31", @@ -11971,8 +12227,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "fatality", @@ -12004,8 +12260,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "clap", "frame-benchmarking-cli", @@ -12028,8 +12284,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", "fatality", @@ -12051,8 +12307,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "17.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "18.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -12062,8 +12318,8 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "22.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "fatality", "futures 0.3.31", @@ -12084,8 +12340,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -12098,8 +12354,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "futures-timer", @@ -12112,15 +12368,15 @@ dependencies = [ "sc-network", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "always-assert", "async-trait", @@ -12142,8 +12398,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "parity-scale-codec", @@ -12160,8 +12416,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "bitvec", @@ -12192,8 +12448,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting-parallel" -version = "0.5.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -12216,8 +12472,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", "futures 0.3.31", @@ -12235,8 +12491,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", "fatality", @@ -12256,8 +12512,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "polkadot-node-subsystem", @@ -12271,8 +12527,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -12293,8 +12549,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "polkadot-node-metrics", @@ -12307,8 +12563,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "futures-timer", @@ -12323,8 +12579,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "22.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "fatality", "futures 0.3.31", @@ -12341,8 +12597,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -12358,8 +12614,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "fatality", "futures 0.3.31", @@ -12372,8 +12628,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", "fatality", @@ -12389,11 +12645,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "always-assert", - "array-bytes", + "array-bytes 6.2.3", "futures 0.3.31", "futures-timer", "parity-scale-codec", @@ -12417,8 +12673,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "polkadot-node-subsystem", @@ -12430,8 +12686,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cpu-time", "futures 0.3.31", @@ -12446,7 +12702,7 @@ dependencies = [ "sc-executor-wasmtime", "seccompiler", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-externalities", "sp-io", "sp-tracing", @@ -12456,8 +12712,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-execute-worker" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cfg-if", "cpu-time", @@ -12474,10 +12730,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "blake3", "cfg-if", "libc", "nix 0.29.0", @@ -12493,8 +12748,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "polkadot-node-metrics", @@ -12508,8 +12763,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bs58", "futures 0.3.31", @@ -12525,8 +12780,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -12550,8 +12805,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", "bounded-vec", @@ -12574,8 +12829,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "polkadot-node-subsystem-types", "polkadot-overseer", @@ -12583,8 +12838,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "derive_more 0.99.20", @@ -12611,8 +12866,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "fatality", "futures 0.3.31", @@ -12631,7 +12886,7 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sc-client-api", + "sc-keystore", "schnellru", "sp-application-crypto", "sp-core", @@ -12642,8 +12897,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -12662,8 +12917,8 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "16.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "17.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bounded-collections", "derive_more 0.99.20", @@ -12678,11 +12933,12 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "18.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "19.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", - "hex-literal 0.4.1", + "bounded-collections", + "hex-literal", "log", "parity-scale-codec", "polkadot-core-primitives", @@ -12706,8 +12962,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -12739,8 +12995,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "19.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitvec", "frame-benchmarking", @@ -12789,8 +13045,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bs58", "frame-benchmarking", @@ -12801,12 +13057,13 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "19.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.2" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitflags 1.3.2", "bitvec", "frame-benchmarking", + "frame-election-provider-support", "frame-support", "frame-system", "impl-trait-for-tuples", @@ -12847,19 +13104,10 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "polkadot-sdk" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775" -dependencies = [ - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "polkadot-sdk-frame" -version = "0.9.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.10.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-benchmarking", @@ -12893,8 +13141,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "frame-benchmarking", @@ -13001,15 +13249,13 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "22.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "arrayvec 0.7.6", "bitvec", "fatality", "futures 0.3.31", "futures-timer", - "indexmap 2.9.0", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -13017,15 +13263,14 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore", - "sp-staking", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-statement-table" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -13034,52 +13279,106 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.18.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd34e2f74206fff33482ae1718e275f11365ef8c4de7f0e69217f8845303867" +dependencies = [ + "libc", + "log", + "polkavm-assembler 0.21.0", + "polkavm-common 0.21.0", + "polkavm-linux-raw 0.21.0", +] + +[[package]] +name = "polkavm" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd044ab1d3b11567ab6b98ca71259a992b4034220d5972988a0e96518e5d343d" +checksum = "f2a01db119bb3a86572c0641ba6e7c9786fbd2ac89c25b43b688c4e353787526" dependencies = [ "libc", "log", - "polkavm-assembler", - "polkavm-common", - "polkavm-linux-raw", + "polkavm-assembler 0.24.0", + "polkavm-common 0.24.0", + "polkavm-linux-raw 0.24.0", ] [[package]] name = "polkavm-assembler" -version = "0.18.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f512bc80cb10439391a7c13a9eb2d37cf66b7305e7df0a06d662eff4f5b07625" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-assembler" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaad38dc420bfed79e6f731471c973ce5ff5e47ab403e63cf40358fef8a6368f" +checksum = "eea6105f3f344abe0bf0151d67b3de6f5d24353f2393355ecf3f5f6e06d7fd0b" dependencies = [ "log", ] [[package]] name = "polkavm-common" -version = "0.18.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c16b809cfd398f861261c045a8745e6c78b71ea7e0d3ef6f7cc553eb27bc17e" +dependencies = [ + "blake3", + "log", + "polkavm-assembler 0.21.0", +] + +[[package]] +name = "polkavm-common" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31ff33982a807d8567645d4784b9b5d7ab87bcb494f534a57cadd9012688e102" +checksum = "d91ed9e5af472f729fcf3b3c1cf17508ddbb3505259dd6e2ee0fb5a29e105d22" dependencies = [ "log", - "polkavm-assembler", + "polkavm-assembler 0.24.0", ] [[package]] name = "polkavm-derive" -version = "0.18.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47239245f87329541932c0d7fec750a66a75b13aa87dfe4fbfd637bab86ad387" +dependencies = [ + "polkavm-derive-impl-macro 0.21.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "176144f8661117ea95fa7cf868c9a62d6b143e8a2ebcb7582464c3faade8669a" +dependencies = [ + "polkavm-derive-impl-macro 0.24.0", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2eb703f3b6404c13228402e98a5eae063fd16b8f58afe334073ec105ee4117e" +checksum = "24fd6c6215450c3e57511df5c38a82eb4bde208de15ee15046ac33852f3c3eaa" dependencies = [ - "polkavm-derive-impl-macro", + "polkavm-common 0.21.0", + "proc-macro2", + "quote", + "syn 2.0.104", ] [[package]] name = "polkavm-derive-impl" -version = "0.18.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f2116a92e6e96220a398930f4c8a6cda1264206f3e2034fc9982bfd93f261f7" +checksum = "c5a21844afdfcc10c92b9ef288ccb926211af27478d1730fcd55e4aec710179d" dependencies = [ - "polkavm-common", + "polkavm-common 0.24.0", "proc-macro2", "quote", "syn 2.0.104", @@ -13087,35 +13386,67 @@ dependencies = [ [[package]] name = "polkavm-derive-impl-macro" -version = "0.18.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36837f6b7edfd6f4498f8d25d81da16cf03bd6992c3e56f3d477dfc90f4fefca" +dependencies = [ + "polkavm-derive-impl 0.21.0", + "syn 2.0.104", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c16669ddc7433e34c1007d31080b80901e3e8e523cb9d4b441c3910cf9294b" +checksum = "ba0ef0f17ad81413ea1ca5b1b67553aedf5650c88269b673d3ba015c83bc2651" dependencies = [ - "polkavm-derive-impl", + "polkavm-derive-impl 0.24.0", "syn 2.0.104", ] [[package]] name = "polkavm-linker" -version = "0.18.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23bc764986c4a63f9ab9890c3f4eb9b4c13b6ff80d79685bd48ade147234aab4" +dependencies = [ + "dirs", + "gimli 0.31.1", + "hashbrown 0.14.5", + "log", + "object 0.36.7", + "polkavm-common 0.21.0", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linker" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9bfe793b094d9ea5c99b7c43ba46e277b0f8f48f4bbfdbabf8d3ebf701a4bd3" +checksum = "06c95a521a1331024ebe5823ffdfba9ea6df40b934b0804049d5171887579806" dependencies = [ "dirs", "gimli 0.31.1", "hashbrown 0.14.5", "log", "object 0.36.7", - "polkavm-common", + "polkavm-common 0.24.0", "regalloc2 0.9.3", "rustc-demangle", ] [[package]] name = "polkavm-linux-raw" -version = "0.18.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be6cd1d48c5e7814d287a3e12a339386a5dfa2f3ac72f932335f4cf56467f1b3" + +[[package]] +name = "polkavm-linux-raw" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde" +checksum = "4ec0b13e26ec7234dba213ca17118c70c562809bdce0eefe84f92613d5c8da26" [[package]] name = "polling" @@ -13224,7 +13555,7 @@ dependencies = [ [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "environmental", "evm", @@ -13248,14 +13579,14 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2503#e17260ad0e384e1c95698f3e7649d4d6889c6bfb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" dependencies = [ "case", "num_enum", "prettyplease", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "syn 2.0.104", ] @@ -13509,21 +13840,51 @@ dependencies = [ "prost-derive 0.13.5", ] +[[package]] +name = "prost" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" +dependencies = [ + "bytes", + "prost-derive 0.14.1", +] + [[package]] name = "prost-build" version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be769465445e8c1474e9c5dac2018218498557af32d9ed057325ec9a41ae81bf" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "itertools 0.13.0", "log", "multimap", "once_cell", - "petgraph 0.7.1", + "petgraph", "prettyplease", "prost 0.13.5", - "prost-types", + "prost-types 0.13.5", + "regex", + "syn 2.0.104", + "tempfile", +] + +[[package]] +name = "prost-build" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" +dependencies = [ + "heck 0.5.0", + "itertools 0.13.0", + "log", + "multimap", + "once_cell", + "petgraph", + "prettyplease", + "prost 0.14.1", + "prost-types 0.14.1", "regex", "syn 2.0.104", "tempfile", @@ -13568,6 +13929,19 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "prost-derive" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" +dependencies = [ + "anyhow", + "itertools 0.13.0", + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "prost-types" version = "0.13.5" @@ -13577,6 +13951,15 @@ dependencies = [ "prost 0.13.5", ] +[[package]] +name = "prost-types" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72" +dependencies = [ + "prost 0.14.1", +] + [[package]] name = "psm" version = "0.1.26" @@ -13744,7 +14127,6 @@ dependencies = [ "libc", "rand_chacha 0.3.1", "rand_core 0.6.4", - "serde", ] [[package]] @@ -13755,6 +14137,7 @@ checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.3", + "serde", ] [[package]] @@ -13793,6 +14176,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" dependencies = [ "getrandom 0.3.3", + "serde", ] [[package]] @@ -14162,8 +14546,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "22.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14175,7 +14559,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.4.1", + "hex-literal", "log", "pallet-asset-rate", "pallet-authority-discovery", @@ -14193,7 +14577,7 @@ dependencies = [ "pallet-identity", "pallet-indices", "pallet-message-queue", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-mmr", "pallet-multisig", "pallet-nis", @@ -14260,8 +14644,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "polkadot-primitives", @@ -14642,8 +15026,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "31.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "32.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "sp-core", @@ -14653,8 +15037,8 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -14664,11 +15048,13 @@ dependencies = [ "log", "parity-scale-codec", "prost 0.12.6", - "prost-build", + "prost-build 0.13.5", "rand 0.8.5", "sc-client-api", "sc-network", "sc-network-types", + "serde", + "serde_json", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -14677,12 +15063,13 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", + "tokio", ] [[package]] name = "sc-basic-authorship" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "log", @@ -14702,8 +15089,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.44.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.45.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "sp-api", @@ -14717,10 +15104,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "docify", "memmap2 0.9.5", "parity-scale-codec", @@ -14733,7 +15120,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -14744,7 +15131,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -14754,10 +15141,10 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.53.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "chrono", "clap", "fdlimit", @@ -14799,8 +15186,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "fnv", "futures 0.3.31", @@ -14825,8 +15212,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.46.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.47.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "hash-db", "kvdb", @@ -14847,12 +15234,14 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-trie", + "substrate-prometheus-endpoint", + "sysinfo", ] [[package]] name = "sc-consensus" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -14874,8 +15263,8 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -14903,8 +15292,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "fork-tree", @@ -14929,7 +15318,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -14939,8 +15328,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "jsonrpsee", @@ -14961,10 +15350,10 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "28.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "30.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "futures 0.3.31", @@ -14995,8 +15384,8 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "28.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "30.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "jsonrpsee", @@ -15015,8 +15404,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "fork-tree", "parity-scale-codec", @@ -15028,11 +15417,11 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.34.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.36.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "ahash", - "array-bytes", + "array-bytes 6.2.3", "async-trait", "dyn-clone", "finality-grandpa", @@ -15063,7 +15452,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -15072,8 +15461,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.34.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.36.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "finality-grandpa", "futures 0.3.31", @@ -15092,8 +15481,8 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.52.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "assert_matches", "async-trait", @@ -15127,8 +15516,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -15150,8 +15539,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.42.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "parity-scale-codec", @@ -15174,11 +15563,11 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.38.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.39.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", - "polkavm", + "polkavm 0.24.0", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -15188,19 +15577,19 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.35.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.36.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", - "polkavm", + "polkavm 0.24.0", "sc-executor-common", "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" -version = "0.38.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.39.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "anyhow", "cfg-if", @@ -15218,8 +15607,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "console", "futures 0.3.31", @@ -15234,10 +15623,10 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "35.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "36.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "parking_lot 0.12.4", "serde_json", "sp-application-crypto", @@ -15248,10 +15637,10 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "arrayvec 0.7.6", "blake2 0.10.6", "bytes", @@ -15276,10 +15665,10 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.49.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "asynchronous-codec 0.6.2", @@ -15300,7 +15689,7 @@ dependencies = [ "partial_sort", "pin-project", "prost 0.12.6", - "prost-build", + "prost-build 0.13.5", "rand 0.8.5", "sc-client-api", "sc-network-common", @@ -15326,8 +15715,8 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.49.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -15336,8 +15725,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "ahash", "futures 0.3.31", @@ -15355,16 +15744,16 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "futures 0.3.31", "log", "parity-scale-codec", "prost 0.12.6", - "prost-build", + "prost-build 0.13.5", "sc-client-api", "sc-network", "sc-network-types", @@ -15376,10 +15765,10 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "fork-tree", @@ -15388,7 +15777,7 @@ dependencies = [ "mockall", "parity-scale-codec", "prost 0.12.6", - "prost-build", + "prost-build 0.13.5", "sc-client-api", "sc-consensus", "sc-network", @@ -15412,7 +15801,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -15444,10 +15833,10 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "futures 0.3.31", "log", "parity-scale-codec", @@ -15463,8 +15852,8 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.15.3" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.17.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bs58", "bytes", @@ -15476,14 +15865,16 @@ dependencies = [ "multiaddr 0.18.2", "multihash 0.19.3", "rand 0.8.5", + "serde", + "serde_with", "thiserror 1.0.69", "zeroize", ] [[package]] name = "sc-offchain" -version = "44.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bytes", "fnv", @@ -15517,7 +15908,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -15525,8 +15916,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "44.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "jsonrpsee", @@ -15557,8 +15948,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15577,8 +15968,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -15601,10 +15992,10 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.49.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "futures 0.3.31", "futures-util", "hex", @@ -15626,6 +16017,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-version", + "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", "tokio-stream", @@ -15633,14 +16025,14 @@ dependencies = [ [[package]] name = "sc-runtime-utilities" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "sc-executor", "sc-executor-common", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-state-machine", "sp-wasm-interface", "thiserror 1.0.69", @@ -15648,8 +16040,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.52.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "directories", @@ -15712,8 +16104,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.38.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.39.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "parity-scale-codec", @@ -15723,8 +16115,8 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "clap", "fs4", @@ -15736,8 +16128,8 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15755,8 +16147,8 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "derive_more 0.99.20", "futures 0.3.31", @@ -15769,14 +16161,14 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-io", ] [[package]] name = "sc-telemetry" -version = "28.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "29.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "chrono", "futures 0.3.31", @@ -15794,8 +16186,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "chrono", "console", @@ -15823,7 +16215,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -15833,8 +16225,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -15842,7 +16234,6 @@ dependencies = [ "indexmap 2.9.0", "itertools 0.11.0", "linked-hash-map", - "log", "parity-scale-codec", "parking_lot 0.12.4", "sc-client-api", @@ -15852,7 +16243,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -15865,8 +16256,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -15882,8 +16273,8 @@ dependencies = [ [[package]] name = "sc-utils" -version = "18.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "19.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-channel 1.9.0", "futures 0.3.31", @@ -15891,56 +16282,43 @@ dependencies = [ "log", "parking_lot 0.12.4", "prometheus", - "sp-arithmetic", -] - -[[package]] -name = "scale-bits" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" -dependencies = [ - "parity-scale-codec", - "scale-info", - "scale-type-resolver", - "serde", + "sp-arithmetic", ] [[package]] -name = "scale-decode" -version = "0.13.1" +name = "scale-bits" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +checksum = "27243ab0d2d6235072b017839c5f0cd1a3b1ce45c0f7a715363b0c7d36c76c94" dependencies = [ - "derive_more 0.99.20", "parity-scale-codec", - "scale-bits", + "scale-info", "scale-type-resolver", - "smallvec", + "serde", ] [[package]] name = "scale-decode" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ae9cc099ae85ff28820210732b00f019546f36f33225f509fe25d5816864a0" +checksum = "4d78196772d25b90a98046794ce0fe2588b39ebdfbdc1e45b4c6c85dd43bebad" dependencies = [ - "derive_more 1.0.0", "parity-scale-codec", "primitive-types 0.13.1", "scale-bits", "scale-decode-derive", "scale-type-resolver", "smallvec", + "thiserror 2.0.12", ] [[package]] name = "scale-decode-derive" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ed9401effa946b493f9f84dc03714cca98119b230497df6f3df6b84a2b03648" +checksum = "2f4b54a1211260718b92832b661025d1f1a4b6930fbadd6908e00edd265fa5f7" dependencies = [ - "darling", + "darling 0.20.11", "proc-macro2", "quote", "syn 2.0.104", @@ -15948,26 +16326,26 @@ dependencies = [ [[package]] name = "scale-encode" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9271284d05d0749c40771c46180ce89905fd95aa72a2a2fddb4b7c0aa424db" +checksum = "64901733157f9d25ef86843bd783eda439fac7efb0ad5a615d12d2cf3a29464b" dependencies = [ - "derive_more 1.0.0", "parity-scale-codec", "primitive-types 0.13.1", "scale-bits", "scale-encode-derive", "scale-type-resolver", "smallvec", + "thiserror 2.0.12", ] [[package]] name = "scale-encode-derive" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "102fbc6236de6c53906c0b262f12c7aa69c2bdc604862c12728f5f4d370bc137" +checksum = "78a3993a13b4eafa89350604672c8757b7ea84c7c5947d4b3691e3169c96379b" dependencies = [ - "darling", + "darling 0.20.11", "proc-macro-crate 3.3.0", "proc-macro2", "quote", @@ -16012,34 +16390,33 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.9.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc4c70c7fea2eef1740f0081d3fe385d8bee1eef11e9272d3bec7dc8e5438e0" +checksum = "05c61b6b706a3eaad63b506ab50a1d2319f817ae01cf753adcc3f055f9f0fcd6" dependencies = [ "proc-macro2", "quote", "scale-info", "syn 2.0.104", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] name = "scale-value" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5e0ef2a0ee1e02a69ada37feb87ea1616ce9808aca072befe2d3131bf28576e" +checksum = "8ca8b26b451ecb7fd7b62b259fa28add63d12ec49bbcac0e01fcb4b5ae0c09aa" dependencies = [ "base58", "blake2 0.10.6", - "derive_more 1.0.0", "either", "parity-scale-codec", "scale-bits", - "scale-decode 0.14.0", + "scale-decode", "scale-encode", - "scale-info", "scale-type-resolver", "serde", + "thiserror 2.0.12", "yap", ] @@ -16375,6 +16752,34 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_with" +version = "3.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c522100790450cf78eeac1507263d0a350d4d5b30df0c8e1fe051a10c22b376e" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "serde", + "serde_derive", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "327ada00f7d64abaac1e55a6911e90cf665aa051b9a561c7006c157f4633135e" +dependencies = [ + "darling 0.21.3", + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "serdect" version = "0.2.0" @@ -16606,8 +17011,8 @@ dependencies = [ [[package]] name = "slot-range-helper" -version = "17.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "18.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "enumn", "parity-scale-codec", @@ -16879,8 +17284,8 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.13.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "byte-slice-cast", "frame-support", @@ -16901,14 +17306,13 @@ dependencies = [ [[package]] name = "snowbridge-core" -version = "0.13.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bp-relayers", - "ethabi-decode", "frame-support", "frame-system", - "hex-literal 0.4.1", + "hex-literal", "log", "parity-scale-codec", "polkadot-parachain-primitives", @@ -16926,13 +17330,13 @@ dependencies = [ [[package]] name = "snowbridge-ethereum" -version = "0.12.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.13.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "ethabi-decode", "ethbloom", "ethereum-types", - "hex-literal 0.4.1", + "hex-literal", "parity-bytes", "parity-scale-codec", "rlp 0.6.1", @@ -16946,15 +17350,15 @@ dependencies = [ [[package]] name = "snowbridge-inbound-queue-primitives" -version = "0.2.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "alloy-core", "alloy-primitives 0.4.2", "alloy-sol-types 0.4.2", "frame-support", "frame-system", - "hex-literal 0.4.1", + "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -16973,8 +17377,8 @@ dependencies = [ [[package]] name = "snowbridge-merkle-tree" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -16999,14 +17403,14 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-primitives" -version = "0.2.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "alloy-core", "ethabi-decode", "frame-support", "frame-system", - "hex-literal 0.4.1", + "hex-literal", "log", "parity-scale-codec", "polkadot-parachain-primitives", @@ -17025,8 +17429,8 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-runtime-api" -version = "0.13.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "parity-scale-codec", @@ -17039,13 +17443,13 @@ dependencies = [ [[package]] name = "snowbridge-pallet-ethereum-client" -version = "0.13.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hex-literal 0.4.1", + "hex-literal", "log", "pallet-timestamp", "parity-scale-codec", @@ -17066,12 +17470,11 @@ dependencies = [ [[package]] name = "snowbridge-pallet-ethereum-client-fixtures" -version = "0.21.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.22.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "hex-literal 0.4.1", + "hex-literal", "snowbridge-beacon-primitives", - "snowbridge-core", "snowbridge-verification-primitives", "sp-core", "sp-std", @@ -17079,14 +17482,13 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue" -version = "0.13.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "alloy-core", "frame-benchmarking", "frame-support", "frame-system", - "hex-literal 0.4.1", "log", "pallet-balances", "parity-scale-codec", @@ -17106,10 +17508,10 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.22.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "hex-literal 0.4.1", + "hex-literal", "snowbridge-beacon-primitives", "snowbridge-core", "snowbridge-inbound-queue-primitives", @@ -17119,8 +17521,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-outbound-queue" -version = "0.13.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bridge-hub-common", "ethabi-decode", @@ -17142,8 +17544,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-system" -version = "0.13.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-benchmarking", "frame-support", @@ -17163,8 +17565,8 @@ dependencies = [ [[package]] name = "snowbridge-verification-primitives" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.3.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "parity-scale-codec", @@ -17227,8 +17629,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "36.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "hash-db", @@ -17249,8 +17651,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "Inflector", "blake2 0.10.6", @@ -17263,8 +17665,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17275,8 +17677,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "26.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "integer-sqrt", @@ -17289,8 +17691,8 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17301,8 +17703,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "sp-api", "sp-inherents", @@ -17311,8 +17713,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "parity-scale-codec", @@ -17330,8 +17732,8 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.42.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "futures 0.3.31", @@ -17344,8 +17746,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.42.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "parity-scale-codec", @@ -17360,8 +17762,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.42.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "parity-scale-codec", @@ -17378,8 +17780,8 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "24.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17387,7 +17789,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -17398,8 +17800,8 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "23.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "finality-grandpa", "log", @@ -17415,8 +17817,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.42.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17426,15 +17828,15 @@ dependencies = [ [[package]] name = "sp-core" -version = "36.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", "bs58", - "dyn-clonable", + "dyn-clone", "ed25519-zebra", "futures 0.3.31", "hash-db", @@ -17456,7 +17858,8 @@ dependencies = [ "secp256k1 0.28.2", "secrecy 0.8.0", "serde", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sha2 0.10.9", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -17487,7 +17890,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "blake2b_simd", "byteorder", @@ -17500,17 +17903,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "syn 2.0.104", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -17519,7 +17922,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "proc-macro2", "quote", @@ -17529,7 +17932,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.30.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "environmental", "parity-scale-codec", @@ -17538,8 +17941,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.17.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17550,8 +17953,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -17563,8 +17966,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "40.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "41.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bytes", "docify", @@ -17572,11 +17975,11 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.24.0", "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -17589,8 +17992,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "sp-core", "sp-runtime", @@ -17599,8 +18002,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.42.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -17611,7 +18014,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -17619,18 +18022,18 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.10.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.11.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "frame-metadata 20.0.0", + "frame-metadata 23.0.0", "parity-scale-codec", "scale-info", ] [[package]] name = "sp-mixnet" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.15.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17640,8 +18043,8 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "36.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "log", "parity-scale-codec", @@ -17657,8 +18060,8 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "36.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17670,8 +18073,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "sp-api", "sp-core", @@ -17681,7 +18084,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "backtrace", "regex", @@ -17689,8 +18092,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "34.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "35.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -17699,8 +18102,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "41.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "binary-merkle-tree", "docify", @@ -17728,13 +18131,13 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "29.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "30.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.24.0", "primitive-types 0.13.1", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -17747,8 +18150,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "18.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "19.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "Inflector", "expander", @@ -17760,8 +18163,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "38.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "39.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "scale-info", @@ -17774,8 +18177,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "38.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "39.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -17787,8 +18190,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.45.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.46.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "hash-db", "log", @@ -17807,8 +18210,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "20.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -17821,7 +18224,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -17832,12 +18235,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" [[package]] name = "sp-storage" version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -17848,8 +18251,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "parity-scale-codec", @@ -17861,7 +18264,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "regex", @@ -17872,8 +18275,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "sp-api", "sp-runtime", @@ -17881,8 +18284,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "36.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "parity-scale-codec", @@ -17895,11 +18298,13 @@ dependencies = [ [[package]] name = "sp-trie" -version = "39.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "ahash", + "foldhash", "hash-db", + "hashbrown 0.15.4", "memory-db", "nohash-hasher", "parity-scale-codec", @@ -17909,6 +18314,7 @@ dependencies = [ "schnellru", "sp-core", "sp-externalities", + "substrate-prometheus-endpoint", "thiserror 1.0.69", "tracing", "trie-db", @@ -17917,8 +18323,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -17935,7 +18341,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -17946,8 +18352,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "21.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "22.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -17958,8 +18364,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "31.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "32.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -18181,8 +18587,8 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -18195,19 +18601,19 @@ dependencies = [ [[package]] name = "staging-tracking-allocator" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" [[package]] name = "staging-xcm" -version = "16.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "17.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "bounded-collections", "derive-where", "environmental", "frame-support", - "hex-literal 0.4.1", + "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -18220,8 +18626,8 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "20.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "21.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "environmental", "frame-support", @@ -18244,8 +18650,8 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "19.1.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "environmental", "frame-benchmarking", @@ -18299,7 +18705,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal", "log", "nimbus-primitives", "pallet-alt-benchmarks", @@ -18335,7 +18741,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-mmr", "pallet-multisig", "pallet-offences", @@ -18442,7 +18848,7 @@ name = "starlight-runtime-constants" version = "0.1.0" dependencies = [ "frame-support", - "hex-literal 0.3.4", + "hex-literal", "polkadot-primitives", "polkadot-runtime-common", "smallvec", @@ -18580,7 +18986,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -18589,15 +18995,28 @@ dependencies = [ "zeroize", ] +[[package]] +name = "substrate-bn" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b5bbfa79abbae15dd642ea8176a21a635ff3c00059961d1ea27ad04e5b441c" +dependencies = [ + "byteorder", + "crunchy", + "lazy_static", + "rand 0.8.5", + "rustc-hex", +] + [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" [[package]] name = "substrate-frame-rpc-system" -version = "43.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -18616,8 +19035,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.17.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.17.6" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -18630,8 +19049,8 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.48.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.50.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "async-trait", "jsonrpsee", @@ -18643,8 +19062,8 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -18661,9 +19080,9 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-trait", "futures 0.3.31", "parity-scale-codec", @@ -18686,9 +19105,9 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "frame-executive", "frame-metadata-hash-extension", "frame-support", @@ -18698,6 +19117,7 @@ dependencies = [ "pallet-babe", "pallet-balances", "pallet-timestamp", + "pallet-utility", "parity-scale-codec", "sc-service", "scale-info", @@ -18709,7 +19129,8 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-grandpa", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-debug-derive", "sp-externalities", "sp-genesis-builder", "sp-inherents", @@ -18730,7 +19151,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "futures 0.3.31", "sc-block-builder", @@ -18747,20 +19168,20 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "26.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "build-helper", "cargo_metadata", "console", "filetime", - "frame-metadata 20.0.0", + "frame-metadata 23.0.0", "jobserver", "merkleized-metadata", "parity-scale-codec", "parity-wasm", - "polkavm-linker", + "polkavm-linker 0.24.0", "sc-executor", "shlex", "sp-core", @@ -18795,33 +19216,32 @@ checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" [[package]] name = "subxt" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c17d7ec2359d33133b63c97e28c8b7cd3f0a5bc6ce567ae3aef9d9e85be3433" +checksum = "03459d84546def5e1d0d22b162754609f18e031522b0319b53306f5829de9c09" dependencies = [ "async-trait", "derive-where", "either", - "frame-metadata 17.0.0", + "frame-metadata 20.0.0", "futures 0.3.31", "hex", - "impl-serde", - "jsonrpsee", "parity-scale-codec", - "polkadot-sdk", "primitive-types 0.13.1", "scale-bits", - "scale-decode 0.14.0", + "scale-decode", "scale-encode", "scale-info", "scale-value", "serde", "serde_json", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "subxt-lightclient", "subxt-macro", "subxt-metadata", - "thiserror 1.0.69", + "subxt-rpcs", + "thiserror 2.0.12", "tokio", "tokio-util", "tracing", @@ -18831,9 +19251,9 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6550ef451c77db6e3bc7c56fb6fe1dca9398a2c8fc774b127f6a396a769b9c5b" +checksum = "324c52c09919fec8c22a4b572a466878322e99fe14a9e3d50d6c3700a226ec25" dependencies = [ "heck 0.5.0", "parity-scale-codec", @@ -18843,50 +19263,51 @@ dependencies = [ "scale-typegen", "subxt-metadata", "syn 2.0.104", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] name = "subxt-core" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7a1bc6c9c1724971636a66e3225a7253cdb35bb6efb81524a6c71c04f08c59" +checksum = "66ef00be9d64885ec94e478a58e4e39d222024b20013ae7df4fc6ece545391aa" dependencies = [ "base58", "blake2 0.10.6", "derive-where", "frame-decode", - "frame-metadata 17.0.0", + "frame-metadata 20.0.0", "hashbrown 0.14.5", "hex", "impl-serde", "keccak-hash", "parity-scale-codec", - "polkadot-sdk", "primitive-types 0.13.1", "scale-bits", - "scale-decode 0.14.0", + "scale-decode", "scale-encode", "scale-info", "scale-value", "serde", "serde_json", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-metadata", + "thiserror 2.0.12", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ebc9131da4d0ba1f7814495b8cc79698798ccd52cacd7bcefe451e415bd945" +checksum = "ce07c2515b2e63b85ec3043fe4461b287af0615d4832c2fe6e81ba780b906bc0" dependencies = [ "futures 0.3.31", "futures-util", "serde", "serde_json", "smoldot-light 0.16.2", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tokio-stream", "tracing", @@ -18894,11 +19315,11 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7819c5e09aae0319981ee853869f2fcd1fac4db8babd0d004c17161297aadc05" +checksum = "7c2c8da275a620dd676381d72395dfea91f0a6cd849665b4f1d0919371850701" dependencies = [ - "darling", + "darling 0.20.11", "parity-scale-codec", "proc-macro-error2", "quote", @@ -18910,23 +19331,47 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aacd4e7484fef58deaa2dcb32d94753a864b208a668c0dd0c28be1d8abeeadb2" +checksum = "fff4591673600c4388e21305788282414d26c791b4dee21b7cb0b19c10076f98" dependencies = [ "frame-decode", - "frame-metadata 17.0.0", + "frame-metadata 20.0.0", "hashbrown 0.14.5", "parity-scale-codec", - "polkadot-sdk", "scale-info", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 2.0.12", +] + +[[package]] +name = "subxt-rpcs" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ba7494d250d65dc3439365ac5e8e0fbb9c3992e6e84b7aa01d69e082249b8b8" +dependencies = [ + "derive-where", + "frame-metadata 20.0.0", + "futures 0.3.31", + "hex", + "impl-serde", + "jsonrpsee", + "parity-scale-codec", + "primitive-types 0.13.1", + "serde", + "serde_json", + "subxt-core", + "subxt-lightclient", + "thiserror 2.0.12", + "tracing", + "url", ] [[package]] name = "subxt-signer" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d680352d04665b1e4eb6f9d2a54b800c4d8e1b20478e69be1b7d975b08d9fc34" +checksum = "4a2370298a210ed1df26152db7209a85e0ed8cfbce035309c3b37f7b61755377" dependencies = [ "base64 0.22.1", "bip32", @@ -18938,7 +19383,6 @@ dependencies = [ "keccak-hash", "parity-scale-codec", "pbkdf2", - "polkadot-sdk", "regex", "schnorrkel 0.11.4", "scrypt", @@ -18947,19 +19391,21 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.9", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", + "thiserror 2.0.12", "zeroize", ] [[package]] name = "subxt-utils-fetchmetadata" -version = "0.38.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3c53bc3eeaacc143a2f29ace4082edd2edaccab37b69ad20befba9fb00fdb3d" +checksum = "fc868b55fe2303788dc7703457af390111940c3da4714b510983284501780ed5" dependencies = [ "hex", "parity-scale-codec", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -19021,9 +19467,9 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.25" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4560533fbd6914b94a8fb5cc803ed6801c3455668db3b810702c57612bac9412" +checksum = "a0b198d366dbec045acfcd97295eb653a7a2b40e4dc764ef1e79aafcad439d3c" dependencies = [ "paste", "proc-macro2", @@ -19063,6 +19509,21 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "sysinfo" +version = "0.30.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" +dependencies = [ + "cfg-if", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "windows 0.52.0", +] + [[package]] name = "system-configuration" version = "0.6.1" @@ -19150,7 +19611,7 @@ dependencies = [ "frame-support", "fs2", "futures 0.3.31", - "hex-literal 0.3.4", + "hex-literal", "jsonrpsee", "log", "manual-container-chains-exclusion-rpc", @@ -19302,7 +19763,7 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "futures 0.3.31", - "hex-literal 0.3.4", + "hex-literal", "is_executable", "jsonrpsee", "kvdb", @@ -19424,7 +19885,7 @@ dependencies = [ "frame-support", "frame-system", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal", "log", "pallet-babe", "pallet-balances", @@ -19467,7 +19928,7 @@ dependencies = [ "clap", "ethabi-decode", "hex", - "hex-literal 0.3.4", + "hex-literal", "pallet-external-validators-rewards", "parity-scale-codec", "serde", @@ -19707,6 +20168,7 @@ dependencies = [ "async-trait", "chrono", "clap", + "cumulus-client-bootnodes", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -19810,7 +20272,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2503#2309efa5e1e27aebdc4aa6ad687845a9877a328f" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#d5f0dd30b7abd539a3735640e4f07aaf3c150b27" dependencies = [ "cumulus-primitives-core", "dp-collator-assignment", @@ -20066,9 +20528,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.26.2" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" +checksum = "489a59b6730eda1b0171fcfda8b121f4bee2b35cba8645ca35c5f7ba3eb736c1" dependencies = [ "futures-util", "log", @@ -20233,7 +20695,7 @@ dependencies = [ "cumulus-relay-chain-interface", "dp-core", "futures 0.3.31", - "hex-literal 0.3.4", + "hex-literal", "parity-scale-codec", "polkadot-primitives", "sc-client-api", @@ -20258,7 +20720,7 @@ dependencies = [ "ethabi-decode", "frame-support", "frame-system", - "hex-literal 0.3.4", + "hex-literal", "impl-trait-for-tuples", "log", "macro_rules_attribute", @@ -20445,8 +20907,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "coarsetime", "polkadot-primitives", @@ -20457,7 +20919,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "expander", "proc-macro-crate 3.3.0", @@ -20532,9 +20994,9 @@ checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" [[package]] name = "tungstenite" -version = "0.26.2" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" +checksum = "eadc29d668c91fcc564941132e17b28a7ceb2f3ebf0b9dae3e03fd7a6748eb0d" dependencies = [ "bytes", "data-encoding", @@ -21339,8 +21801,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "22.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "24.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "binary-merkle-tree", "bitvec", @@ -21353,7 +21815,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.4.1", + "hex-literal", "log", "pallet-asset-rate", "pallet-authority-discovery", @@ -21367,15 +21829,13 @@ dependencies = [ "pallet-delegated-staking", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", "pallet-fast-unstake", "pallet-grandpa", "pallet-identity", "pallet-indices", - "pallet-membership", "pallet-message-queue", "pallet-meta-tx", - "pallet-migrations 10.1.0", + "pallet-migrations 11.0.0", "pallet-mmr", "pallet-multisig", "pallet-nomination-pools", @@ -21392,10 +21852,10 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", - "pallet-society", "pallet-staking", + "pallet-staking-async-ah-client", + "pallet-staking-async-rc-client", "pallet-staking-runtime-api", - "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -21448,8 +21908,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "polkadot-primitives", @@ -21525,6 +21985,16 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core 0.52.0", + "windows-targets 0.52.6", +] + [[package]] name = "windows" version = "0.53.0" @@ -21557,6 +22027,15 @@ dependencies = [ "windows-core 0.61.2", ] +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-core" version = "0.53.0" @@ -22043,10 +22522,10 @@ dependencies = [ [[package]] name = "xcm-emulator" -version = "0.19.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.20.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "cumulus-pallet-parachain-system", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", @@ -22068,18 +22547,19 @@ dependencies = [ "sp-consensus-aura", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", "sp-io", "sp-runtime", "sp-tracing", "staging-xcm", "staging-xcm-executor", + "xcm-simulator", ] [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2503#a408238d698f40695a10c4315e44ff3ecbef3b2d" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#c059eb2846f723815757a8d32ebf0676dc680081" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -22095,7 +22575,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "11.0.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "Inflector", "proc-macro2", @@ -22105,8 +22585,8 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" -version = "0.7.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2503#0efe343f05b3995e471355d40671063ea62661b0" +version = "0.8.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" dependencies = [ "frame-support", "parity-scale-codec", @@ -22117,6 +22597,27 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "xcm-simulator" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#bd8cff5d18fdf08ac97efe505cd1486b2770dbd8" +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", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", +] + [[package]] name = "xml-rs" version = "0.8.26" @@ -22149,9 +22650,9 @@ dependencies = [ [[package]] name = "yamux" -version = "0.13.5" +version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da1acad1c2dc53f0dde419115a38bd8221d8c3e47ae9aeceaf453266d29307e" +checksum = "deab71f2e20691b4728b349c6cee8fc7223880fa67b6b4f92225ec32225447e5" dependencies = [ "futures 0.3.31", "log", @@ -22165,9 +22666,9 @@ dependencies = [ [[package]] name = "yap" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4524214bc4629eba08d78ceb1d6507070cc0bcbbed23af74e19e6e924a24cf" +checksum = "bfe269e7b803a5e8e20cbd97860e136529cd83bf2c9c6d37b142467e7e1f051f" [[package]] name = "yasna" diff --git a/Cargo.toml b/Cargo.toml index 4d5a87e3c2..426d30f2c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,6 +54,7 @@ cast_precision_loss = { level = "warn", priority = 2 } cast_sign_loss = { level = "warn", priority = 2 } debug_assert_with_mut_call = { level = "warn", priority = 2 } disallowed_methods = { level = "deny", priority = 2 } +disallowed_types = { level = "deny", priority = 2 } fn_to_numeric_cast_any = { level = "warn", priority = 2 } invalid_upcast_comparisons = { level = "warn", priority = 2 } @@ -63,6 +64,9 @@ identity_op = { level = "allow", priority = 3 } manual_inspect = { level = "allow", priority = 3 } too-many-arguments = { level = "allow", priority = 3 } type_complexity = { level = "allow", priority = 3 } +# This lint is disabled in future rust versions, so we don't need to see warnings now +# https://rust-lang.github.io/rust-clippy/master/#uninlined_format_args +uninlined_format_args = { level = "allow", priority = 3 } [workspace.lints.rust] unsafe-code = { level = "deny", priority = 1 } @@ -158,239 +162,240 @@ tp-xcm-commons = { path = "primitives/xcm-commons", default-features = false } tp-xcm-core-buyer = { path = "primitives/xcm-core-buyer", default-features = false } # Dancekit (wasm) -ccp-authorities-noting-inherent = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -ccp-xcm = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -dp-chain-state-snapshot = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -dp-collator-assignment = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -dp-consensus = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -dp-impl-tanssi-pallets-config = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -dp-slot-duration-runtime-api = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } +ccp-authorities-noting-inherent = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +ccp-xcm = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +dp-chain-state-snapshot = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +dp-collator-assignment = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +dp-consensus = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +dp-impl-tanssi-pallets-config = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +dp-slot-duration-runtime-api = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-core = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-cc-authorities-noting = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-xcm-executor-utils = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } -test-relay-sproof-builder = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } +dp-core = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-cc-authorities-noting = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-xcm-executor-utils = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +test-relay-sproof-builder = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-container-chain-genesis-data = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503", default-features = false } +dp-container-chain-genesis-data = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } # Dancekit (client) -dc-orchestrator-chain-interface = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2503" } +dc-orchestrator-chain-interface = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506" } # Moonkit (wasm) -async-backing-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -nimbus-consensus = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503" } -nimbus-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-async-backing = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-author-inherent = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-balances-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-batch = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-call-permit = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-proxy = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-xcm = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-xcm-utils = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompileset-assets-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-foreign-asset-creator = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-maintenance-mode = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-migrations = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-relay-storage-roots = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } -xcm-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2503", default-features = false } +async-backing-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +nimbus-consensus = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506" } +nimbus-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-async-backing = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-author-inherent = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-balances-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-batch = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-call-permit = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-proxy = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-xcm = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-xcm-utils = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompileset-assets-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-foreign-asset-creator = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-maintenance-mode = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-migrations = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-relay-storage-roots = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +xcm-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } # Substrate (wasm) -frame-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -frame-executive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -frame-metadata-hash-extension = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -frame-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -frame-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -frame-system-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -frame-try-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-asset-rate = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-assets = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-balances = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-identity = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-message-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-multiblock-migrations = { package = "pallet-migrations", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-multisig = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-parameters = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-proxy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-root-testing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-sudo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-transaction-payment = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-treasury = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-tx-pause = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +frame-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-executive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-system-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-try-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-asset-rate = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-assets = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-balances = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-identity = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-message-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-multiblock-migrations = { package = "pallet-migrations", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-multisig = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-parameters = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-proxy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-root-testing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-sudo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-transaction-payment = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-treasury = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-tx-pause = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", "max-encoded-len" ] } -sc-rpc-spec-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +sc-rpc-spec-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } scale-info = { version = "2.10.0", default-features = false } -sp-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-application-crypto = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-consensus-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-consensus-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-debug-derive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-inherents = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-io = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-keyring = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-panic-handler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-state-machine = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-trie = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-version = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +sp-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-application-crypto = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-consensus-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-consensus-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-debug-derive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-inherents = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-io = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-keyring = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-panic-handler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-state-machine = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-trie = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-version = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Substrate (client) -frame-benchmarking-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -pallet-transaction-payment-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sc-basic-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-chain-spec = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-client-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-consensus-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-consensus-manual-seal = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-network-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-network-sync = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-network-test = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-network-transactions = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-rpc-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sc-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-sysinfo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-telemetry = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-transaction-pool-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sc-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sp-blockchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -sp-externalities = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-genesis-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-storage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -substrate-build-script-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -substrate-frame-rpc-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -substrate-prometheus-endpoint = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -substrate-test-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -substrate-test-runtime-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -substrate-wasm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } +frame-benchmarking-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +pallet-transaction-payment-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sc-basic-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-chain-spec = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-client-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-consensus-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-consensus-manual-seal = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-network-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-network-sync = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-network-test = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-network-transactions = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-rpc-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sc-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-sysinfo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-telemetry = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-transaction-pool-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sc-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sp-blockchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +sp-externalities = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-genesis-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-storage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +substrate-build-script-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +substrate-frame-rpc-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +substrate-prometheus-endpoint = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +substrate-test-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +substrate-test-runtime-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +substrate-wasm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } # Polkadot (wasm) -pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-xcm-benchmarks = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-core-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-parachain-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-runtime-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -rococo-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -rococo-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -westend-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -westend-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -xcm-runtime-apis = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-xcm-benchmarks = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-core-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-parachain-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-runtime-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +rococo-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +rococo-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +westend-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +westend-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +xcm-runtime-apis = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Bridges (wasm) alloy-sol-types = { version = "0.4.2", default-features = false } milagro-bls = { package = "snowbridge-milagro-bls", version = "1.5.4", default-features = false } -snowbridge-beacon-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-inbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-outbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-outbound-queue-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-pallet-ethereum-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-pallet-inbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-pallet-inbound-queue-fixtures = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-pallet-outbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-pallet-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -snowbridge-verification-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +snowbridge-beacon-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-inbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-outbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-outbound-queue-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-pallet-ethereum-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-pallet-inbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-pallet-inbound-queue-fixtures = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-pallet-outbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-pallet-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-verification-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Polkadot (client) -polkadot-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -polkadot-node-subsystem = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -polkadot-overseer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -polkadot-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } +polkadot-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +polkadot-node-subsystem = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +polkadot-overseer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +polkadot-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } # Cumulus (wasm) -cumulus-pallet-parachain-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-pallet-session-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-primitives-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -parachains-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-pallet-session-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-primitives-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +parachains-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Cumulus (client) -assets-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -cumulus-client-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-collator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-consensus-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-consensus-proposer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-pov-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-client-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-pallet-weight-reclaim = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -emulated-integration-tests-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503" } -xcm-emulator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +assets-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +cumulus-client-bootnodes = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-collator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-consensus-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-consensus-proposer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-pov-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-client-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-pallet-weight-reclaim = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +emulated-integration-tests-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +xcm-emulator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Frontier (wasm) -fp-account = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fp-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fp-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fp-self-contained = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-base-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-ethereum = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -precompile-utils = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } +fp-account = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fp-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fp-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fp-self-contained = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-base-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-ethereum = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +precompile-utils = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } # Frontier (client) -fc-api = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fc-cli = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fc-consensus = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fc-db = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fc-mapping-sync = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fc-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", features = [ +fc-api = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fc-cli = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fc-consensus = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fc-db = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fc-mapping-sync = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fc-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", features = [ "rpc-binary-search-estimate", ] } -fc-rpc-core = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } -fc-storage = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2503", default-features = false } +fc-rpc-core = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fc-storage = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } # General (wasm) bounded-collections = { version = "0.3.2", default-features = false } ethabi = { package = "ethabi-decode", version = "2.0.0", default-features = false } finality-grandpa = { version = "0.16.2", default-features = false } -hex-literal = { version = "0.3.4" } +hex-literal = { version = "0.4.1" } impl-trait-for-tuples = "0.2.2" log = { version = "0.4.22", default-features = false } macro_rules_attribute = { version = "0.2.0" } @@ -402,11 +407,13 @@ tap = "1.0.1" # General (client) +async-channel = "1.8.0" async-io = "1.3" async-trait = "0.1" chrono = "0.4.31" clap = { version = "4.5.3", default-features = false, features = [ "derive" ] } core_extensions = "1.5.3" +ethereum = { version = "0.18.2", default-features = false } exit-future = { version = "0.2.0" } fdlimit = "0.3.0" flume = "0.10.9" @@ -438,46 +445,46 @@ serde_derive = { version = "1.0.117" } static_assertions = "1.1.0" tiny-keccak = { version = "2.0.2", features = [ "keccak" ] } -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -beefy-primitives = { package = "sp-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -binary-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -grandpa_primitives = { package = "sp-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -inherents = { package = "sp-inherents", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -keyring = { package = "sp-keyring", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-beefy-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-collective = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-conviction-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-democracy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-membership = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-offences = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-preimage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-ranked-collective = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-referenda = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-scheduler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-tips = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -pallet-whitelist = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -primitives = { package = "polkadot-primitives", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -remote-externalities = { package = "frame-remote-externalities", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -runtime-common = { package = "polkadot-runtime-common", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -runtime-parachains = { package = "polkadot-runtime-parachains", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-arithmetic = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-mmr-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-weights = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +beefy-primitives = { package = "sp-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +binary-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +grandpa_primitives = { package = "sp-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +inherents = { package = "sp-inherents", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +keyring = { package = "sp-keyring", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-beefy-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-collective = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-conviction-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-democracy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-membership = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-offences = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-preimage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-ranked-collective = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-referenda = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-scheduler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-tips = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-whitelist = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +primitives = { package = "polkadot-primitives", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +remote-externalities = { package = "frame-remote-externalities", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +runtime-common = { package = "polkadot-runtime-common", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +runtime-parachains = { package = "polkadot-runtime-parachains", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-arithmetic = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-mmr-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-weights = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Tanssi Relay Node assert_matches = "1.5.0" @@ -490,71 +497,71 @@ parity-db = "0.4.12" schnellru = "0.2.1" serial_test = "2.0.0" -polkadot-approval-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-availability-bitfield-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-availability-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-availability-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-collator-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-dispute-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-gossip-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-network-bridge = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-collation-generation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-approval-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-av-store = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-backing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-bitfield-signing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-candidate-validation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-chain-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-chain-selection = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-dispute-coordinator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-prospective-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-provisioner = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-pvf = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-pvf-checker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-statement-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } - -polkadot-node-core-parachains-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-network-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-subsystem-test-helpers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-subsystem-types = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-subsystem-util = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-test-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -test-helpers = { package = "polkadot-primitives-test-helpers", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } - -consensus_common = { package = "sp-consensus", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sc-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sc-client-db = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sc-sync-state-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-authority-discovery= { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } - -babe = { package = "sc-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -beefy = { package = "sc-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -grandpa = { package = "sc-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } - -gum = { package = "tracing-gum", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -service = { package = "sc-service", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -telemetry = { package = "sc-telemetry", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +polkadot-approval-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-availability-bitfield-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-availability-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-availability-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-collator-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-dispute-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-gossip-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-network-bridge = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-collation-generation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-approval-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-av-store = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-backing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-bitfield-signing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-candidate-validation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-chain-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-chain-selection = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-dispute-coordinator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-prospective-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-provisioner = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-pvf = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-pvf-checker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-statement-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } + +polkadot-node-core-parachains-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-network-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-subsystem-test-helpers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-subsystem-types = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-subsystem-util = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-test-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +test-helpers = { package = "polkadot-primitives-test-helpers", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } + +consensus_common = { package = "sp-consensus", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sc-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sc-client-db = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sc-sync-state-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-authority-discovery= { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } + +babe = { package = "sc-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +beefy = { package = "sc-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +grandpa = { package = "sc-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } + +gum = { package = "tracing-gum", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +service = { package = "sc-service", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +telemetry = { package = "sc-telemetry", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Tanssi Relay Chain CLI pyro = { package = "pyroscope", version = "0.5.3" } pyroscope_pprofrs = { version = "0.2" } -polkadot-node-metrics = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sc-storage-monitor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -sp-maybe-compressed-blob = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +polkadot-node-metrics = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sc-storage-monitor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-maybe-compressed-blob = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } # Tanssi Relay Chain color-eyre = { version = "0.6.1", default-features = false } tikv-jemallocator = { version = "0.5.0", features = [ "unprefixed_malloc_on_supported_platforms" ] } -polkadot-node-core-pvf-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-pvf-execute-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } -polkadot-node-core-pvf-prepare-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +polkadot-node-core-pvf-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-pvf-execute-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-pvf-prepare-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -substrate-rpc-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2503", default-features = false } +substrate-rpc-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } [profile.production] codegen-units = 1 diff --git a/chains/container-chains/nodes/frontier/src/command.rs b/chains/container-chains/nodes/frontier/src/command.rs index a6d1e7f121..50b4f63b21 100644 --- a/chains/container-chains/nodes/frontier/src/command.rs +++ b/chains/container-chains/nodes/frontier/src/command.rs @@ -267,7 +267,14 @@ pub fn run() -> Result<()> { let partials = NodeConfig::new_builder(&config, None)?; let db = partials.backend.expose_db(); let storage = partials.backend.expose_storage(); - cmd.run(config, partials.client.clone(), db, storage) + let shared_trie_cache = partials.backend.expose_shared_trie_cache(); + cmd.run( + config, + partials.client.clone(), + db, + storage, + shared_trie_cache, + ) }), BenchmarkCmd::Machine(cmd) => { runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) @@ -363,7 +370,7 @@ pub fn run() -> Result<()> { } } - match config.network.network_backend.unwrap_or(sc_network::config::NetworkBackendType::Libp2p) { + match config.network.network_backend { sc_network::config::NetworkBackendType::Libp2p => { crate::service::start_parachain_node::>( config, diff --git a/chains/container-chains/nodes/frontier/src/rpc/mod.rs b/chains/container-chains/nodes/frontier/src/rpc/mod.rs index 97438f1dc8..eb6e86db50 100644 --- a/chains/container-chains/nodes/frontier/src/rpc/mod.rs +++ b/chains/container-chains/nodes/frontier/src/rpc/mod.rs @@ -29,11 +29,12 @@ use { cumulus_client_parachain_inherent::ParachainInherentData, cumulus_primitives_core::{ParaId, PersistedValidationData}, cumulus_test_relay_sproof_builder::RelayStateSproofBuilder, + fc_mapping_sync::{kv::MappingSyncWorker, SyncStrategy}, fc_rpc::{ EthApiServer, EthFilterApiServer, EthPubSubApiServer, EthTask, TxPool, TxPoolApiServer, }, fc_storage::StorageOverride, - fp_rpc::EthereumRuntimeRPCApi, + fp_rpc::{EthereumRuntimeRPCApi, NoTransactionConverter}, frame_support::CloneNoBound, futures::StreamExt, jsonrpsee::RpcModule, @@ -175,16 +176,7 @@ where // TODO: are we supporting signing? let signers = Vec::new(); - enum Never {} - impl fp_rpc::ConvertTransaction for Never { - fn convert_transaction(&self, _transaction: pallet_ethereum::Transaction) -> T { - // The Never type is not instantiable, but this method requires the type to be - // instantiated to be called (`&self` parameter), so if the code compiles we have the - // guarantee that this function will never be called. - unreachable!() - } - } - let convert_transaction: Option = None; + let convert_transaction: Option = None; let authorities = vec![tc_consensus::get_aura_id_from_seed("alice")]; let authorities_for_cdp = authorities.clone(); @@ -223,6 +215,8 @@ where relay_chain_state, downward_messages: Default::default(), horizontal_messages: Default::default(), + relay_parent_descendants: Default::default(), + collator_peer_id: Default::default(), }; Ok(( timestamp, @@ -346,7 +340,6 @@ pub struct SpawnTasksParams<'a, B: BlockT, C, BE> { >, } -use fc_mapping_sync::{kv::MappingSyncWorker, SyncStrategy}; /// Spawn the tasks that are required to run Moonbeam. pub fn spawn_essential_tasks(params: SpawnTasksParams) where diff --git a/chains/container-chains/nodes/frontier/src/service.rs b/chains/container-chains/nodes/frontier/src/service.rs index e4c15ceece..97442a9ed8 100644 --- a/chains/container-chains/nodes/frontier/src/service.rs +++ b/chains/container-chains/nodes/frontier/src/service.rs @@ -417,7 +417,7 @@ pub async fn start_dev_node( let mut timestamp = 0u64; TIMESTAMP.with(|x| { - timestamp = x.clone().take(); + timestamp = *x.borrow(); }); timestamp += slot_duration; diff --git a/chains/container-chains/nodes/simple/src/command.rs b/chains/container-chains/nodes/simple/src/command.rs index 0fb987c0ef..72c9de90b7 100644 --- a/chains/container-chains/nodes/simple/src/command.rs +++ b/chains/container-chains/nodes/simple/src/command.rs @@ -251,7 +251,14 @@ pub fn run() -> Result<()> { let partials = NodeConfig::new_builder(&config, None)?; let db = partials.backend.expose_db(); let storage = partials.backend.expose_storage(); - cmd.run(config, partials.client.clone(), db, storage) + let shared_trie_cache = partials.backend.expose_shared_trie_cache(); + cmd.run( + config, + partials.client.clone(), + db, + storage, + shared_trie_cache, + ) }), BenchmarkCmd::Machine(cmd) => { runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) @@ -336,7 +343,7 @@ pub fn run() -> Result<()> { } } - match config.network.network_backend.unwrap_or(sc_network::config::NetworkBackendType::Libp2p) { + match config.network.network_backend { sc_network::config::NetworkBackendType::Libp2p => { crate::service::start_parachain_node::>( config, diff --git a/chains/container-chains/nodes/simple/src/service.rs b/chains/container-chains/nodes/simple/src/service.rs index e208ff49cc..adf03aae63 100644 --- a/chains/container-chains/nodes/simple/src/service.rs +++ b/chains/container-chains/nodes/simple/src/service.rs @@ -258,7 +258,7 @@ pub async fn start_dev_node( let mut timestamp = 0u64; TIMESTAMP.with(|x| { - timestamp = x.clone().take(); + timestamp = *x.borrow(); }); timestamp += slot_duration; diff --git a/chains/container-chains/runtime-templates/frontier/Cargo.toml b/chains/container-chains/runtime-templates/frontier/Cargo.toml index e6a150d10c..924c016b73 100644 --- a/chains/container-chains/runtime-templates/frontier/Cargo.toml +++ b/chains/container-chains/runtime-templates/frontier/Cargo.toml @@ -13,6 +13,7 @@ targets = [ "x86_64-unknown-linux-gnu" ] workspace = true [dependencies] +ethereum = { workspace = true } hex-literal = { workspace = true } log = { workspace = true } num_enum = { workspace = true } @@ -147,6 +148,7 @@ std = [ "dp-consensus/std", "dp-impl-tanssi-pallets-config/std", "dp-slot-duration-runtime-api/std", + "ethereum/std", "fp-account/std", "fp-evm/std", "fp-rpc/std", @@ -322,6 +324,7 @@ try-runtime = [ "pallet-xcm-executor-utils/try-runtime", "pallet-xcm/try-runtime", "parachain-info/try-runtime", + "parachains-common/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", "tanssi-runtime-common/try-runtime", diff --git a/chains/container-chains/runtime-templates/frontier/src/lib.rs b/chains/container-chains/runtime-templates/frontier/src/lib.rs index 00bdf28bcc..4a18da8ced 100644 --- a/chains/container-chains/runtime-templates/frontier/src/lib.rs +++ b/chains/container-chains/runtime-templates/frontier/src/lib.rs @@ -41,6 +41,7 @@ use { alloc::{vec, vec::Vec}, cumulus_primitives_core::AggregateMessageOrigin, dp_impl_tanssi_pallets_config::impl_tanssi_pallets_config, + ethereum::AuthorizationList, fp_account::EthereumSignature, fp_rpc::TransactionStatus, frame_support::{ @@ -554,6 +555,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; + type RelayParentOffset = ConstU32<0>; } pub struct ParaSlotProvider; @@ -736,7 +738,6 @@ impl cumulus_pallet_weight_reclaim::Config for Runtime { } impl pallet_migrations::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MigrationsList = (migrations::TemplateMigrations,); type XcmExecutionManager = XcmExecutionManager; } @@ -795,7 +796,6 @@ impl Contains for NormalFilter { } impl pallet_maintenance_mode::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = InsideBoth; type MaintenanceOrigin = EnsureRoot; @@ -934,7 +934,6 @@ impl pallet_evm::Config for Runtime { dynamic_params::contract_deploy_filter::AllowedAddressesToCreateInner, >; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type PrecompilesType = TemplatePrecompiles; type PrecompilesValue = PrecompilesValue; type ChainId = EVMChainId; @@ -954,7 +953,6 @@ parameter_types! { } impl pallet_ethereum::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; @@ -983,7 +981,6 @@ impl pallet_base_fee::BaseFeeThreshold for BaseFeeThreshold { } impl pallet_base_fee::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Threshold = BaseFeeThreshold; type DefaultBaseFeePerGas = DefaultBaseFeePerGas; type DefaultElasticity = DefaultElasticity; @@ -1370,11 +1367,11 @@ impl_runtime_apis! { Ok(Location::parent()) } - fn fee_asset() -> Result { - Ok(Asset { + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok((Asset { id: AssetId(SelfReserve::get()), fun: Fungible(crate::currency::MICROUNIT*100), - }) + }, WeightLimit::Unlimited)) } fn claimable_asset() -> Result<(Location, Location, Assets), BenchmarkError> { @@ -1400,7 +1397,11 @@ impl_runtime_apis! { use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; impl pallet_xcm::benchmarking::Config for Runtime { - type DeliveryHelper = (); + type DeliveryHelper = cumulus_primitives_utility::ToParentDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + xcm_config::PriceForParentDelivery, + >; fn get_asset() -> Asset { Asset { id: AssetId(SelfReserve::get()), @@ -1473,9 +1474,10 @@ impl_runtime_apis! { let asset_amount = 10u128; let initial_asset_amount = asset_amount * 10; - let (asset_id, asset_location) = pallet_foreign_asset_creator::benchmarks::create_default_minted_asset::( + let (asset_id, asset_location) = pallet_foreign_asset_creator::benchmarks::create_minted_asset::( initial_asset_amount, - who + who, + None, ); let transfer_asset: Asset = (asset_location, asset_amount).into(); @@ -1597,6 +1599,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -1610,16 +1613,17 @@ impl_runtime_apis! { let transaction_data = pallet_ethereum::TransactionData::new( pallet_ethereum::TransactionAction::Call(to), - data.clone(), - nonce.unwrap_or_default(), - gas_limit, - None, - max_fee_per_gas.or(Some(U256::default())), - max_priority_fee_per_gas.or(Some(U256::default())), - value, - Some(::ChainId::get()), - access_list.clone().unwrap_or_default(), - ); + data.clone(), + nonce.unwrap_or_default(), + gas_limit, + None, + max_fee_per_gas.or(Some(U256::default())), + max_priority_fee_per_gas.or(Some(U256::default())), + value, + Some(::ChainId::get()), + access_list.clone().unwrap_or_default(), + authorization_list.clone().unwrap_or_default(), + ); let gas_limit = gas_limit.min(u64::MAX.into()).low_u64(); @@ -1635,6 +1639,7 @@ impl_runtime_apis! { max_priority_fee_per_gas, nonce, access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -1653,6 +1658,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -1675,6 +1681,7 @@ impl_runtime_apis! { value, Some(::ChainId::get()), access_list.clone().unwrap_or_default(), + authorization_list.clone().unwrap_or_default(), ); let gas_limit = gas_limit.min(u64::MAX.into()).low_u64(); @@ -1691,6 +1698,7 @@ impl_runtime_apis! { max_priority_fee_per_gas, nonce, access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, diff --git a/chains/container-chains/runtime-templates/frontier/src/precompiles.rs b/chains/container-chains/runtime-templates/frontier/src/precompiles.rs index da222f95de..fe785f9090 100644 --- a/chains/container-chains/runtime-templates/frontier/src/precompiles.rs +++ b/chains/container-chains/runtime-templates/frontier/src/precompiles.rs @@ -98,7 +98,8 @@ type TemplatePrecompilesAt = ( PrecompileAt, Identity, EthereumPrecompilesChecks>, PrecompileAt, Modexp, EthereumPrecompilesChecks>, // Non-template specific nor Ethereum precompiles : - PrecompileAt, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, + // FIXME(MD-1415): benchmark Sha3FIPS256 precompile and use the real weights instead of () + PrecompileAt, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, PrecompileAt, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, // Template specific precompiles: PrecompileAt< diff --git a/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs b/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs index 1760cc6e4a..99e437806c 100644 --- a/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,10 +59,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `1497` - // Minimum execution time: 6_342_000 picoseconds. - Weight::from_parts(6_595_000, 1497) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_908_000 picoseconds. + Weight::from_parts(5_133_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -73,18 +74,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - /// The range of component `n` is `[1, 65531]`. + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105467]`. fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 16_996_000 picoseconds. - Weight::from_parts(12_382_586, 5487) - // Standard Error: 9 - .saturating_add(Weight::from_parts(915, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 13_653_000 picoseconds. + Weight::from_parts(9_457_298, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_016, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -95,15 +97,82 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - fn enqueue_2_empty_xcmp_messages() -> Weight { + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1000]`. + fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 28_131_000 picoseconds. - Weight::from_parts(28_605_000, 5487) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 11_593_000 picoseconds. + Weight::from_parts(15_263_900, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 239 + .saturating_add(Weight::from_parts(136_065, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105457]`. + fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `334 + n * (1 ±0)` + // Estimated: `108986` + // Minimum execution time: 20_217_000 picoseconds. + Weight::from_parts(20_647_000, 0) + .saturating_add(Weight::from_parts(0, 108986)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(2_576, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:100) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 100]`. + fn enqueue_n_full_pages(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `5487` + // Minimum execution time: 13_262_000 picoseconds. + Weight::from_parts(13_670_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 81_154 + .saturating_add(Weight::from_parts(105_979_285, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + fn enqueue_1000_small_xcmp_messages() -> Weight { + // Proof Size summary in bytes: + // Measured: `53067` + // Estimated: `108986` + // Minimum execution time: 289_304_000 picoseconds. + Weight::from_parts(299_215_000, 0) + .saturating_add(Weight::from_parts(0, 108986)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -111,10 +180,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `2767` - // Minimum execution time: 3_773_000 picoseconds. - Weight::from_parts(3_889_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_121_000 picoseconds. + Weight::from_parts(3_254_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -122,17 +192,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `144` // Estimated: `2767` - // Minimum execution time: 4_994_000 picoseconds. - Weight::from_parts(5_381_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_409_000 picoseconds. + Weight::from_parts(4_555_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_199_000 picoseconds. - Weight::from_parts(7_368_000, 0) + // Minimum execution time: 5_368_000 picoseconds. + Weight::from_parts(5_614_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -147,27 +219,39 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65744` - // Estimated: `69209` - // Minimum execution time: 120_183_000 picoseconds. - Weight::from_parts(121_124_000, 69209) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `105716` + // Estimated: `109181` + // Minimum execution time: 231_957_000 picoseconds. + Weight::from_parts(242_676_000, 0) + .saturating_add(Weight::from_parts(0, 109181)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65743` - // Estimated: `69208` - // Minimum execution time: 59_685_000 picoseconds. - Weight::from_parts(60_233_000, 69208) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `65785` + // Estimated: `69250` + // Minimum execution time: 134_722_000 picoseconds. + Weight::from_parts(138_495_000, 0) + .saturating_add(Weight::from_parts(0, 69250)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs b/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs index 23754e92e7..dc11acd837 100644 --- a/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs +++ b/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs @@ -502,4 +502,37 @@ impl pallet_assets::WeightInfo for SubstrateWeight { .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } -} \ No newline at end of file + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Account` (r:1 w:0) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Approvals` (r:1 w:0) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } +} diff --git a/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs b/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs index 55dfb3e5db..0f12e7bb26 100644 --- a/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs +++ b/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs @@ -455,7 +455,6 @@ impl ForeignAssetDestroyedHook> for RevertCodePreco } impl pallet_foreign_asset_creator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ForeignAsset = Location; type ForeignAssetCreatorOrigin = EnsureRoot; type ForeignAssetModifierOrigin = EnsureRoot; @@ -484,7 +483,6 @@ parameter_types! { pub const AllNeverTrustPolicy: DefaultTrustPolicy = DefaultTrustPolicy::Never; } impl pallet_xcm_executor_utils::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type TrustPolicyMaxAssets = TrustPolicyMaxAssets; type ReserveDefaultTrustPolicy = AllNativeTrustPolicy; type SetReserveTrustOrigin = EnsureRoot; diff --git a/chains/container-chains/runtime-templates/simple/Cargo.toml b/chains/container-chains/runtime-templates/simple/Cargo.toml index cf540fd5cd..ce63090e22 100644 --- a/chains/container-chains/runtime-templates/simple/Cargo.toml +++ b/chains/container-chains/runtime-templates/simple/Cargo.toml @@ -277,6 +277,7 @@ try-runtime = [ "pallet-xcm-executor-utils/try-runtime", "pallet-xcm/try-runtime", "parachain-info/try-runtime", + "parachains-common/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", "tanssi-runtime-common/try-runtime", diff --git a/chains/container-chains/runtime-templates/simple/src/lib.rs b/chains/container-chains/runtime-templates/simple/src/lib.rs index 179c3f8e3b..e7959af91b 100644 --- a/chains/container-chains/runtime-templates/simple/src/lib.rs +++ b/chains/container-chains/runtime-templates/simple/src/lib.rs @@ -503,6 +503,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; + type RelayParentOffset = ConstU32<0>; } pub struct ParaSlotProvider; @@ -655,7 +656,6 @@ impl xcm_primitives::PauseXcmExecution for XcmExecutionManager { } impl pallet_migrations::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MigrationsList = (migrations::TemplateMigrations,); type XcmExecutionManager = XcmExecutionManager; } @@ -700,7 +700,6 @@ impl Contains for NormalFilter { } impl pallet_maintenance_mode::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = InsideBoth; type MaintenanceOrigin = EnsureRoot; @@ -816,17 +815,16 @@ where type RuntimeCall = RuntimeCall; } -impl frame_system::offchain::CreateInherent for Runtime +impl frame_system::offchain::CreateBare for Runtime where RuntimeCall: From, { - fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic { + fn create_bare(call: RuntimeCall) -> UncheckedExtrinsic { UncheckedExtrinsic::new_bare(call) } } impl pallet_ocw_testing::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type UnsignedInterval = ConstU32<6>; } @@ -1116,11 +1114,11 @@ impl_runtime_apis! { Ok(Location::parent()) } - fn fee_asset() -> Result { - Ok(Asset { + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok((Asset { id: AssetId(SelfReserve::get()), fun: Fungible(ExistentialDeposit::get()*100), - }) + }, WeightLimit::Unlimited)) } fn claimable_asset() -> Result<(Location, Location, Assets), BenchmarkError> { @@ -1146,7 +1144,11 @@ impl_runtime_apis! { use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; impl pallet_xcm::benchmarking::Config for Runtime { - type DeliveryHelper = (); + type DeliveryHelper = cumulus_primitives_utility::ToParentDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + xcm_config::PriceForParentDelivery, + >; fn get_asset() -> Asset { Asset { id: AssetId(SelfReserve::get()), @@ -1216,9 +1218,10 @@ impl_runtime_apis! { let asset_amount = 10u128; let initial_asset_amount = asset_amount * 10; - let (asset_id, asset_location) = pallet_foreign_asset_creator::benchmarks::create_default_minted_asset::( + let (asset_id, asset_location) = pallet_foreign_asset_creator::benchmarks::create_minted_asset::( initial_asset_amount, - who.clone() + who.clone(), + None, ); let transfer_asset: Asset = (asset_location, asset_amount).into(); diff --git a/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs b/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs index 2b4a39cd8f..21de1703a2 100644 --- a/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,10 +59,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `1497` - // Minimum execution time: 7_372_000 picoseconds. - Weight::from_parts(7_626_000, 1497) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_908_000 picoseconds. + Weight::from_parts(5_133_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -73,18 +74,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - /// The range of component `n` is `[1, 65531]`. + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105467]`. fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 17_707_000 picoseconds. - Weight::from_parts(13_076_020, 5487) - // Standard Error: 9 - .saturating_add(Weight::from_parts(954, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 13_653_000 picoseconds. + Weight::from_parts(9_457_298, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_016, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -95,15 +97,82 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - fn enqueue_2_empty_xcmp_messages() -> Weight { + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1000]`. + fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 29_607_000 picoseconds. - Weight::from_parts(30_134_000, 5487) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 11_593_000 picoseconds. + Weight::from_parts(15_263_900, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 239 + .saturating_add(Weight::from_parts(136_065, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105457]`. + fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `334 + n * (1 ±0)` + // Estimated: `108986` + // Minimum execution time: 20_217_000 picoseconds. + Weight::from_parts(20_647_000, 0) + .saturating_add(Weight::from_parts(0, 108986)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(2_576, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:100) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 100]`. + fn enqueue_n_full_pages(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `5487` + // Minimum execution time: 13_262_000 picoseconds. + Weight::from_parts(13_670_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 81_154 + .saturating_add(Weight::from_parts(105_979_285, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + fn enqueue_1000_small_xcmp_messages() -> Weight { + // Proof Size summary in bytes: + // Measured: `53067` + // Estimated: `108986` + // Minimum execution time: 289_304_000 picoseconds. + Weight::from_parts(299_215_000, 0) + .saturating_add(Weight::from_parts(0, 108986)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -111,10 +180,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `2767` - // Minimum execution time: 4_544_000 picoseconds. - Weight::from_parts(4_827_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_121_000 picoseconds. + Weight::from_parts(3_254_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -122,17 +192,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `144` // Estimated: `2767` - // Minimum execution time: 5_982_000 picoseconds. - Weight::from_parts(6_224_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_409_000 picoseconds. + Weight::from_parts(4_555_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_476_000 picoseconds. - Weight::from_parts(7_600_000, 0) + // Minimum execution time: 5_368_000 picoseconds. + Weight::from_parts(5_614_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -147,27 +219,39 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65744` - // Estimated: `69209` - // Minimum execution time: 125_692_000 picoseconds. - Weight::from_parts(126_820_000, 69209) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `105716` + // Estimated: `109181` + // Minimum execution time: 231_957_000 picoseconds. + Weight::from_parts(242_676_000, 0) + .saturating_add(Weight::from_parts(0, 109181)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65743` - // Estimated: `69208` - // Minimum execution time: 62_562_000 picoseconds. - Weight::from_parts(63_150_000, 69208) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `65785` + // Estimated: `69250` + // Minimum execution time: 134_722_000 picoseconds. + Weight::from_parts(138_495_000, 0) + .saturating_add(Weight::from_parts(0, 69250)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs b/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs index 2a0868126b..96fb575f87 100644 --- a/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs +++ b/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs @@ -53,453 +53,579 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `3` - // Estimated: `3673` - // Minimum execution time: 13_421_000 picoseconds. - Weight::from_parts(13_745_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `4` + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 14_139_000 picoseconds. - Weight::from_parts(14_594_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `79 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 20_183_000 picoseconds. - Weight::from_parts(20_331_000, 3673) - // Standard Error: 10_819 - .saturating_add(Weight::from_parts(16_356_468, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `408 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 20_114_000 picoseconds. - Weight::from_parts(20_337_000, 3673) - // Standard Error: 3_825 - .saturating_add(Weight::from_parts(6_416_704, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 16_374_000 picoseconds. - Weight::from_parts(16_862_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 28_672_000 picoseconds. - Weight::from_parts(29_378_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 37_490_000 picoseconds. - Weight::from_parts(38_043_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 53_448_000 picoseconds. - Weight::from_parts(54_251_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 47_484_000 picoseconds. - Weight::from_parts(48_508_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 53_526_000 picoseconds. - Weight::from_parts(54_304_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 19_473_000 picoseconds. - Weight::from_parts(19_688_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 19_549_000 picoseconds. - Weight::from_parts(20_040_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 14_069_000 picoseconds. - Weight::from_parts(14_296_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 13_934_000 picoseconds. - Weight::from_parts(14_342_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 17_302_000 picoseconds. - Weight::from_parts(17_690_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 15_061_000 picoseconds. - Weight::from_parts(15_377_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 17_156_000 picoseconds. - Weight::from_parts(17_872_699, 3673) - // Standard Error: 375 - .saturating_add(Weight::from_parts(773, 0).saturating_mul(n.into())) - // Standard Error: 375 - .saturating_add(Weight::from_parts(1_418, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `401` - // Estimated: `3673` - // Minimum execution time: 18_206_000 picoseconds. - Weight::from_parts(18_508_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `78` - // Estimated: `3673` - // Minimum execution time: 15_945_000 picoseconds. - Weight::from_parts(16_510_277, 3673) - // Standard Error: 314 - .saturating_add(Weight::from_parts(2_316, 0).saturating_mul(n.into())) - // Standard Error: 314 - .saturating_add(Weight::from_parts(2_031, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `401` - // Estimated: `3673` - // Minimum execution time: 17_432_000 picoseconds. - Weight::from_parts(18_073_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 14_708_000 picoseconds. - Weight::from_parts(15_043_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 22_347_000 picoseconds. - Weight::from_parts(22_738_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `552` - // Estimated: `6204` - // Minimum execution time: 65_847_000 picoseconds. - Weight::from_parts(67_582_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `441` - // Estimated: `3673` - // Minimum execution time: 25_007_000 picoseconds. - Weight::from_parts(25_519_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `441` - // Estimated: `3673` - // Minimum execution time: 25_146_000 picoseconds. - Weight::from_parts(25_569_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 15_760_000 picoseconds. - Weight::from_parts(16_348_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 21_926_000 picoseconds. - Weight::from_parts(22_368_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 20_821_000 picoseconds. - Weight::from_parts(21_431_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `363` - // Estimated: `3673` - // Minimum execution time: 20_201_000 picoseconds. - Weight::from_parts(20_708_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `396` - // Estimated: `3673` - // Minimum execution time: 19_164_000 picoseconds. - Weight::from_parts(19_390_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 19_360_000 picoseconds. - Weight::from_parts(19_709_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 65_251_000 picoseconds. - Weight::from_parts(66_176_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } -} \ No newline at end of file + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Account` (r:1 w:0) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Approvals` (r:1 w:0) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } +} diff --git a/chains/container-chains/runtime-templates/simple/src/xcm_config.rs b/chains/container-chains/runtime-templates/simple/src/xcm_config.rs index 6da9128f77..0c9c60fcbe 100644 --- a/chains/container-chains/runtime-templates/simple/src/xcm_config.rs +++ b/chains/container-chains/runtime-templates/simple/src/xcm_config.rs @@ -384,7 +384,6 @@ impl pallet_assets::Config for Runtime { } impl pallet_foreign_asset_creator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ForeignAsset = Location; type ForeignAssetCreatorOrigin = EnsureRoot; type ForeignAssetModifierOrigin = EnsureRoot; @@ -444,7 +443,6 @@ parameter_types! { pub const AllNeverTrustPolicy: DefaultTrustPolicy = DefaultTrustPolicy::Never; } impl pallet_xcm_executor_utils::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type TrustPolicyMaxAssets = TrustPolicyMaxAssets; type ReserveDefaultTrustPolicy = AllNativeTrustPolicy; type SetReserveTrustOrigin = EnsureRoot; diff --git a/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs b/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs index 1f595c5a91..f0a62f223c 100644 --- a/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs +++ b/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs @@ -293,6 +293,8 @@ pub fn set_parachain_inherent_data(mock_inherent_data: MockInherentData) { relay_chain_state, downward_messages: Default::default(), horizontal_messages: Default::default(), + relay_parent_descendants: Default::default(), + collator_peer_id: Default::default(), }; // Delete existing flag to avoid error diff --git a/chains/integration-tests/dancebox-runtime-tests/Cargo.toml b/chains/integration-tests/dancebox-runtime-tests/Cargo.toml index 20a06e65c3..3bc3f4a1d5 100644 --- a/chains/integration-tests/dancebox-runtime-tests/Cargo.toml +++ b/chains/integration-tests/dancebox-runtime-tests/Cargo.toml @@ -58,6 +58,7 @@ sp-consensus-slots = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } +sp-tracing = { workspace = true } tanssi-runtime-common = { workspace = true } test-relay-sproof-builder = { workspace = true } tp-author-noting-inherent = { workspace = true } @@ -114,6 +115,7 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", + "sp-tracing/std", "tanssi-runtime-common/std", "test-relay-sproof-builder/std", "tp-author-noting-inherent/std", diff --git a/chains/integration-tests/dancebox-runtime-tests/src/tests/mod.rs b/chains/integration-tests/dancebox-runtime-tests/src/tests/mod.rs index 78226e5f0c..0913abd873 100644 --- a/chains/integration-tests/dancebox-runtime-tests/src/tests/mod.rs +++ b/chains/integration-tests/dancebox-runtime-tests/src/tests/mod.rs @@ -17,3 +17,4 @@ mod inactivity_tracking; mod integration_test; mod offline_marking; +mod xcm_dry_run_test; diff --git a/chains/integration-tests/dancebox-runtime-tests/src/tests/xcm_dry_run_test.rs b/chains/integration-tests/dancebox-runtime-tests/src/tests/xcm_dry_run_test.rs new file mode 100644 index 0000000000..9e6cae5746 --- /dev/null +++ b/chains/integration-tests/dancebox-runtime-tests/src/tests/xcm_dry_run_test.rs @@ -0,0 +1,110 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + +#![cfg(test)] + +use { + dancebox_runtime::{OriginCaller, PolkadotXcm}, + dancebox_runtime_test_utils::*, + frame_support::assert_ok, + xcm::latest::prelude::*, + xcm::{VersionedAssets, VersionedLocation}, +}; + +#[test] +fn test_dry_run_call_transfer_assets() { + // Rewrite of test `test-xcm-dry-run-api.ts` in rust to debug a failure that only happened in typescript tests. + // The fix was to create a new block, because this runtime api does no longer work when the current block is 0. + ExtBuilder::default() + .with_balances(vec![ + // Alice gets tokens for her tests + (AccountId::from(ALICE), 1_000_000 * UNIT), + ]) + .build() + .execute_with(|| { + sp_tracing::try_init_simple(); + + // This must be set because in typescript dev tests the xcm version is already set, while + // in rust integration tests it is not set and that gives error SendError + assert_ok!(PolkadotXcm::force_default_xcm_version( + root_origin(), + Some(4u32) + )); + + // Similar to the above test but with different expectations + let balances_pallet_index = 10u8; // Balances pallet index in dancebox runtime + let random_receiver: [u8; 32] = [0x22; 32]; + + let versioned_beneficiary = VersionedLocation::V4(xcm::v4::Location::new( + 0, + [xcm::v4::Junction::AccountId32 { + network: None, + id: random_receiver, + }], + )); + + let versioned_assets = + VersionedAssets::V4(xcm::v4::Assets::from(vec![xcm::v4::Asset { + id: xcm::v4::AssetId(xcm::v4::Location::new( + 0, + [xcm::v4::Junction::PalletInstance(balances_pallet_index)], + )), + fun: xcm::v4::Fungibility::Fungible(100_000_000_000_000u128), // 0.1 UNIT + }])); + + let dest = VersionedLocation::V4(xcm::v4::Location::new(1, xcm::v4::Junctions::Here)); + + let call = RuntimeCall::PolkadotXcm(pallet_xcm::Call::transfer_assets { + dest: Box::new(dest), + beneficiary: Box::new(versioned_beneficiary), + assets: Box::new(versioned_assets), + fee_asset_item: 0, + weight_limit: WeightLimit::Unlimited, + }); + + let origin_caller = + OriginCaller::system(frame_system::RawOrigin::Signed(AccountId::from(ALICE))); + let xcm_version = 4; + + // Ensure the actual call works, without the dry_run_call. + // This works because we are currently inside block 1, after on_initialize. + /* + use sp_runtime::traits::Dispatchable; + use dancebox_runtime::RuntimeOrigin; + call.dispatch(RuntimeOrigin::signed(AccountId::from(ALICE))).unwrap(); + */ + + // Execute the dry run using PolkadotXcm directly + let result = PolkadotXcm::dry_run_call::< + Runtime, + dancebox_runtime::xcm_config::XcmRouter, + OriginCaller, + RuntimeCall, + >(origin_caller, call, xcm_version); + + // This also works because we are currently inside block 1, after on_initialize + // The typescript test fails because it runs the dryRunCall after block 0 on_finalize, and + // something is missing there that it makes the test fail + match result { + Ok(dry_run_effects) => { + assert!(dry_run_effects.execution_result.is_ok()); + } + Err(e) => { + panic!("DryRun API call failed: {:?}", e); + } + } + }); +} diff --git a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/reserver_transfers_polkadot_xcm.rs b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/reserver_transfers_polkadot_xcm.rs index 608e97a3ef..18e043d0c7 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/reserver_transfers_polkadot_xcm.rs +++ b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/reserver_transfers_polkadot_xcm.rs @@ -32,9 +32,10 @@ use { }, xcm::{ latest::prelude::{Junctions::*, *}, - VersionedLocation, + VersionedAssetId, VersionedLocation, VersionedXcm, }, xcm_emulator::{assert_expected_events, bx, Chain, Parachain, TestExt}, + xcm_executor::traits::TransferType, }; #[allow(unused_assignments)] @@ -165,15 +166,14 @@ fn transfer_assets_relay_tanssi() { } .into(); - let simple_template_beneficiary: VersionedLocation = Location { + let simple_template_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: SimpleTemplateEmptyReceiver::get().into(), }] .into()), - } - .into(); + }; let dancebox_dest: VersionedLocation = Location { parents: 0, @@ -181,15 +181,14 @@ fn transfer_assets_relay_tanssi() { } .into(); - let dancebox_beneficiary: VersionedLocation = Location { + let dancebox_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: DanceboxSender::get().into(), }] .into()), - } - .into(); + }; let dancebox_amount_to_send: dancebox_runtime::Balance = dancebox_runtime::ExistentialDeposit::get() * 1000; @@ -206,7 +205,6 @@ fn transfer_assets_relay_tanssi() { let relay_assets: Assets = (Here, relay_amount_to_send).into(); - let fee_asset_item = 0; let dancebox_token_asset_id = 1u16; let westend_token_asset_id = 2u16; @@ -280,13 +278,20 @@ fn transfer_assets_relay_tanssi() { // Relay sends to dancebox first Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(relay_assets.len() as u32)), + beneficiary: dancebox_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_relay_origin, bx!(dancebox_dest), - bx!(dancebox_beneficiary), bx!(relay_assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -342,13 +347,20 @@ fn transfer_assets_relay_tanssi() { // This should not work as we are trying to send two assets // with different XCM paths (one goes to the relay, the other one does not) Dancebox::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::parent()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(combined_assets.len() as u32)), + beneficiary: simple_template_beneficiary, + }]); assert_noop!( - ::PolkadotXcm::transfer_assets( + ::PolkadotXcm::transfer_assets_using_type_and_then( alice_dancebox_origin.clone(), bx!(simple_template_dest.clone()), - bx!(simple_template_beneficiary.clone()), bx!(combined_assets.clone().into()), - 1, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::RemoteReserve(Location::parent().into())), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ), pallet_xcm::Error::::InvalidAssetUnsupportedReserve @@ -625,15 +637,14 @@ fn transfer_asset_relay_token_across_tanssi_container() { } .into(); - let simple_template_beneficiary: VersionedLocation = Location { + let simple_template_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: SimpleTemplateEmptyReceiver::get().into(), }] .into()), - } - .into(); + }; let dancebox_dest: VersionedLocation = Location { parents: 0, @@ -641,22 +652,19 @@ fn transfer_asset_relay_token_across_tanssi_container() { } .into(); - let dancebox_beneficiary: VersionedLocation = Location { + let dancebox_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: DanceboxSender::get().into(), }] .into()), - } - .into(); + }; let relay_amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let relay_assets: Assets = (Here, relay_amount_to_send).into(); - - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Register the relay asset first @@ -707,13 +715,20 @@ fn transfer_asset_relay_token_across_tanssi_container() { // Relay sends to dancebox first Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(relay_assets.len() as u32)), + beneficiary: dancebox_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_relay_origin, bx!(dancebox_dest), - bx!(dancebox_beneficiary), bx!(relay_assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -765,13 +780,20 @@ fn transfer_asset_relay_token_across_tanssi_container() { // Let's try to use dot as the fee // This should work as we are trying to send a single asset Dancebox::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::parent()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(relay_assets_to_send.len() as u32)), + beneficiary: simple_template_beneficiary, + }]); assert_ok!( - ::PolkadotXcm::transfer_assets( + ::PolkadotXcm::transfer_assets_using_type_and_then( alice_dancebox_origin.clone(), bx!(simple_template_dest.clone()), - bx!(simple_template_beneficiary.clone()), bx!(relay_assets_to_send.into()), - 0, + bx!(TransferType::RemoteReserve(Location::parent().into())), + bx!(fees_id), + bx!(TransferType::RemoteReserve(Location::parent().into())), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); diff --git a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_dancebox.rs b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_dancebox.rs index aec0311825..d3e287756e 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_dancebox.rs +++ b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_dancebox.rs @@ -28,9 +28,10 @@ use { }, xcm::{ latest::prelude::{Junctions::*, *}, - VersionedLocation, + VersionedAssetId, VersionedLocation, VersionedXcm, }, xcm_emulator::{assert_expected_events, bx, Chain, Parachain, TestExt}, + xcm_executor::traits::TransferType, }; #[allow(unused_assignments)] @@ -49,21 +50,19 @@ fn receive_tokens_from_the_relay_to_tanssi() { } .into(); - let dancebox_beneficiary: VersionedLocation = Location { + let dancebox_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: DanceboxReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Register the asset first @@ -90,13 +89,20 @@ fn receive_tokens_from_the_relay_to_tanssi() { // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(assets.len() as u32)), + beneficiary: dancebox_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(dancebox_dest), - bx!(dancebox_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -152,21 +158,19 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned() { } .into(); - let dancebox_beneficiary: VersionedLocation = Location { + let dancebox_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: DanceboxReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Register the asset first @@ -188,13 +192,20 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned() { // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(assets.len() as u32)), + beneficiary: dancebox_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(dancebox_dest), - bx!(dancebox_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -230,32 +241,37 @@ fn cannot_receive_tokens_from_the_relay_if_no_token_is_registered() { } .into(); - let dancebox_beneficiary: VersionedLocation = Location { + let dancebox_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: DanceboxReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(assets.len() as u32)), + beneficiary: dancebox_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(dancebox_dest), - bx!(dancebox_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); diff --git a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_frontier_container.rs b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_frontier_container.rs index 78e972abdf..ae52dedbe4 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_frontier_container.rs +++ b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_frontier_container.rs @@ -29,9 +29,10 @@ use { }, xcm::{ latest::prelude::{Junctions::*, *}, - VersionedLocation, + VersionedAssetId, VersionedLocation, VersionedXcm, }, xcm_emulator::{assert_expected_events, bx, Chain, Parachain, TestExt}, + xcm_executor::traits::TransferType, }; #[allow(unused_assignments)] @@ -50,21 +51,19 @@ fn receive_tokens_from_the_relay_to_frontier_template() { } .into(); - let frontier_template_beneficiary: VersionedLocation = Location { + let frontier_template_beneficiary = Location { parents: 0, interior: X1([AccountKey20 { network: None, key: EthereumReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Register the asset first @@ -93,13 +92,20 @@ fn receive_tokens_from_the_relay_to_frontier_template() { // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(assets.len() as u32)), + beneficiary: frontier_template_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(frontier_template_dest), - bx!(frontier_template_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -162,21 +168,19 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned_frontier_template } .into(); - let frontier_template_beneficiary: VersionedLocation = Location { + let frontier_template_beneficiary = Location { parents: 0, interior: X1([AccountKey20 { network: None, key: EthereumReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Register the asset first @@ -198,13 +202,20 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned_frontier_template // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(assets.len() as u32)), + beneficiary: frontier_template_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(frontier_template_dest), - bx!(frontier_template_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -251,32 +262,37 @@ fn cannot_receive_tokens_from_the_relay_if_no_token_is_registered() { } .into(); - let frontier_template_beneficiary: VersionedLocation = Location { + let frontier_template_beneficiary = Location { parents: 0, interior: X1([AccountKey20 { network: None, key: EthereumReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(assets.len() as u32)), + beneficiary: frontier_template_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(frontier_template_dest), - bx!(frontier_template_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); diff --git a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_simple_container.rs b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_simple_container.rs index 438dc59f7a..dc103c81fb 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_simple_container.rs +++ b/chains/integration-tests/xcm/emulated/tests/assets/dancebox/src/tests/token_derivative_reception_relay_simple_container.rs @@ -29,9 +29,10 @@ use { }, xcm::{ latest::prelude::{Junctions::*, *}, - VersionedLocation, + VersionedAssetId, VersionedLocation, VersionedXcm, }, xcm_emulator::{assert_expected_events, bx, Chain, Parachain, TestExt}, + xcm_executor::traits::TransferType, }; #[allow(unused_assignments)] @@ -50,21 +51,19 @@ fn receive_tokens_from_the_relay_to_simple_template() { } .into(); - let simple_template_beneficiary: VersionedLocation = Location { + let simple_template_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: SimpleTemplateReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Register the asset first @@ -93,13 +92,20 @@ fn receive_tokens_from_the_relay_to_simple_template() { // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Wild(AllCounted(assets.len() as u32)), + beneficiary: simple_template_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(simple_template_dest), - bx!(simple_template_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -156,21 +162,19 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned_simple_template() } .into(); - let simple_template_beneficiary: VersionedLocation = Location { + let simple_template_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: SimpleTemplateReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Register the asset first @@ -192,13 +196,20 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned_simple_template() // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Definite(assets.clone()), + beneficiary: simple_template_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(simple_template_dest), - bx!(simple_template_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); @@ -246,32 +257,37 @@ fn cannot_receive_tokens_from_the_relay_if_no_token_is_registered_simple_templat } .into(); - let simple_template_beneficiary: VersionedLocation = Location { + let simple_template_beneficiary = Location { parents: 0, interior: X1([AccountId32 { network: None, id: SimpleTemplateReceiver::get().into(), }] .into()), - } - .into(); + }; let amount_to_send: dancebox_runtime::Balance = westend_runtime::ExistentialDeposit::get() * 1000; let assets: Assets = (Here, amount_to_send).into(); - let fee_asset_item = 0; let westend_token_asset_id = 1u16; // Send XCM message from Westend Westend::execute_with(|| { + let fees_id: VersionedAssetId = AssetId(Location::here()).into(); + let xcm_on_dest = Xcm::<()>(vec![DepositAsset { + assets: Definite(assets.clone()), + beneficiary: simple_template_beneficiary, + }]); assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::transfer_assets_using_type_and_then( alice_origin, bx!(simple_template_dest), - bx!(simple_template_beneficiary), bx!(assets.into()), - fee_asset_item, + bx!(TransferType::LocalReserve), + bx!(fees_id), + bx!(TransferType::LocalReserve), + bx!(VersionedXcm::V5(xcm_on_dest)), WeightLimit::Unlimited, ) ); diff --git a/chains/integration-tests/xcm/emulated/tests/assets/dancelight/src/tests/xcm_message_exporter.rs b/chains/integration-tests/xcm/emulated/tests/assets/dancelight/src/tests/xcm_message_exporter.rs index 2ea7ca375f..117fc88907 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/dancelight/src/tests/xcm_message_exporter.rs +++ b/chains/integration-tests/xcm/emulated/tests/assets/dancelight/src/tests/xcm_message_exporter.rs @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see +use pallet_xcm::ExecutionError; use { dancelight_emulated_chain::DancelightRelayPallet, dancelight_system_emulated_network::DancelightRelay as Dancelight, @@ -55,11 +56,14 @@ fn test_message_exporter_disabled_for_origin_account() { .unwrap_err() .error, DispatchError::from( - Error::<::Runtime>::LocalExecutionIncomplete + Error::<::Runtime>::LocalExecutionIncompleteWithError { + index: 0, + error: ExecutionError::Unroutable, + } ) ); assert!(log_capture.contains("could not get parachain id from universal source")); - assert!(log_capture.contains("XCM execution failed with error error=Unroutable")); + assert!(log_capture.contains("XCM execution failed with error error=InstructionError { index: 0, error: Unroutable }")) }); }); } diff --git a/chains/integration-tests/xcm/emulated/tests/assets/starlight/src/tests/xcm_message_exporter.rs b/chains/integration-tests/xcm/emulated/tests/assets/starlight/src/tests/xcm_message_exporter.rs index a6e6e12088..4c02506eff 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/starlight/src/tests/xcm_message_exporter.rs +++ b/chains/integration-tests/xcm/emulated/tests/assets/starlight/src/tests/xcm_message_exporter.rs @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see +use pallet_xcm::ExecutionError; use { frame_support::{assert_err, weights::Weight}, pallet_xcm::Error, @@ -58,11 +59,14 @@ fn test_message_exporter_disabled_for_origin_account() { .unwrap_err() .error, DispatchError::from( - Error::<::Runtime>::LocalExecutionIncomplete + Error::<::Runtime>::LocalExecutionIncompleteWithError { + index: 0, + error: ExecutionError::WeightLimitReached, + } ) ); assert!( - log_capture.contains("XCM execution failed with error error=WeightLimitReached") + log_capture.contains("XCM execution failed with error error=InstructionError { index: 0, error: WeightLimitReached") ); }); }); diff --git a/chains/orchestrator-paras/node/src/command.rs b/chains/orchestrator-paras/node/src/command.rs index 1dafe418b9..d8abb2cf8b 100644 --- a/chains/orchestrator-paras/node/src/command.rs +++ b/chains/orchestrator-paras/node/src/command.rs @@ -273,7 +273,14 @@ pub fn run() -> Result<()> { let builder = NodeConfig::new_builder(&config, None)?; let db = builder.backend.expose_db(); let storage = builder.backend.expose_storage(); - cmd.run(config, builder.client, db, storage) + let shared_trie_cache = builder.backend.expose_shared_trie_cache(); + cmd.run( + config, + builder.client.clone(), + db, + storage, + shared_trie_cache, + ) }), BenchmarkCmd::Machine(cmd) => { runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) @@ -442,7 +449,7 @@ pub fn run() -> Result<()> { container_chain_config = Some((container_chain_cli, tokio_handle)); } - match config.network.network_backend.unwrap_or(sc_network::config::NetworkBackendType::Libp2p) { + match config.network.network_backend { sc_network::config::NetworkBackendType::Libp2p => { tc_service_orchestrator_chain::parachain::start_parachain_node::>( config, diff --git a/chains/orchestrator-paras/node/src/service.rs b/chains/orchestrator-paras/node/src/service.rs index 1e263f3f68..a9e2e492cd 100644 --- a/chains/orchestrator-paras/node/src/service.rs +++ b/chains/orchestrator-paras/node/src/service.rs @@ -193,7 +193,7 @@ pub fn start_dev_node( let mut timestamp = 0u64; TIMESTAMP.with(|x| { - timestamp = x.clone().take(); + timestamp = *x.borrow(); }); timestamp += dancebox_runtime::SLOT_DURATION; diff --git a/chains/orchestrator-paras/runtime/dancebox/Cargo.toml b/chains/orchestrator-paras/runtime/dancebox/Cargo.toml index 6283e6864d..7aa3b7a9a5 100644 --- a/chains/orchestrator-paras/runtime/dancebox/Cargo.toml +++ b/chains/orchestrator-paras/runtime/dancebox/Cargo.toml @@ -395,6 +395,7 @@ try-runtime = [ "pallet-xcm-core-buyer/try-runtime", "pallet-xcm/try-runtime", "parachain-info/try-runtime", + "parachains-common/try-runtime", "polkadot-runtime-common/try-runtime", "polkadot-runtime-parachains/try-runtime", "sp-runtime/try-runtime", diff --git a/chains/orchestrator-paras/runtime/dancebox/src/lib.rs b/chains/orchestrator-paras/runtime/dancebox/src/lib.rs index 2a13021ee2..ba9ea5299a 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/lib.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/lib.rs @@ -517,6 +517,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; + type RelayParentOffset = ConstU32<0>; } pub struct ParaSlotProvider; impl Get<(Slot, SlotDuration)> for ParaSlotProvider { @@ -944,7 +945,6 @@ impl ParaIdAssignmentHooks, AC> for ParaIdAssignmentHooks } impl pallet_collator_assignment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type HostConfiguration = Configuration; type ContainerChains = Registrar; type SessionIndex = u32; @@ -992,7 +992,6 @@ parameter_types! { } impl pallet_services_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; /// Handler for fees type OnChargeForBlock = (); type OnChargeForCollatorAssignment = (); @@ -1024,7 +1023,6 @@ parameter_types! { pub type DataPreserversProfileId = u64; impl pallet_data_preservers::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; type Currency = Balances; type WeightInfo = weights::pallet_data_preservers::SubstrateWeight; @@ -1042,7 +1040,6 @@ impl pallet_data_preservers::Config for Runtime { } impl pallet_author_noting::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ContainerChains = CollatorAssignment; type SlotBeacon = dp_consensus::AuraDigestSlotBeacon; type ContainerChainAuthor = CollatorAssignment; @@ -1069,7 +1066,6 @@ parameter_types! { } impl pallet_invulnerables::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureRoot; type MaxInvulnerables = MaxInvulnerables; type CollatorId = ::AccountId; @@ -1224,7 +1220,6 @@ impl RelayStorageRootProvider for PalletRelayStorageRootProvider { } impl pallet_registrar::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RegistrarOrigin = EitherOfDiverse, EnsureRoot>; type MarkValidForCollatingOrigin = EnsureRoot; @@ -1389,7 +1384,6 @@ impl xcm_primitives::PauseXcmExecution for XcmExecutionManager { } impl pallet_migrations::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MigrationsList = (tanssi_runtime_common::migrations::DanceboxMigrations,); type XcmExecutionManager = XcmExecutionManager; } @@ -1439,7 +1433,6 @@ impl Contains for NormalFilter { } impl pallet_maintenance_mode::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = InsideBoth; type MaintenanceOrigin = EnsureRoot; @@ -1502,7 +1495,6 @@ parameter_types! { pub const MaxCandidatesBufferSize: u32 = 100; } impl pallet_pooled_staking::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type Balance = Balance; type StakingAccount = StakingAccount; @@ -1552,7 +1544,6 @@ impl frame_support::traits::OnUnbalanced> for OnUnba } impl pallet_inflation_rewards::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ContainerChains = Registrar; type GetSelfChainBlockAuthor = GetSelfChainBlockAuthor; @@ -1579,7 +1570,6 @@ parameter_types! { } impl pallet_stream_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StreamId = StreamId; type TimeUnit = tp_stream_payment_common::TimeUnit; type Balance = Balance; @@ -1626,6 +1616,8 @@ impl pallet_identity::Config for Runtime { type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>; type MaxSuffixLength = ConstU32<7>; type MaxUsernameLength = ConstU32<32>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); type WeightInfo = weights::pallet_identity::SubstrateWeight; } @@ -1689,7 +1681,6 @@ parameter_types! { pub const CooldownLenghtInSessions: u32 = 2; } impl pallet_inactivity_tracking::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MaxInactiveSessions = MaxInactiveSessions; type MaxCollatorsPerSession = MaxCandidatesBufferSize; type MaxContainerChains = MaxLengthParaIds; @@ -2129,11 +2120,11 @@ impl_runtime_apis! { Ok(Location::parent()) } - fn fee_asset() -> Result { - Ok(Asset { + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok((Asset { id: AssetId(SelfReserve::get()), fun: Fungible(ExistentialDeposit::get()*100), - }) + }, WeightLimit::Unlimited)) } fn claimable_asset() -> Result<(Location, Location, Assets), BenchmarkError> { @@ -2159,7 +2150,11 @@ impl_runtime_apis! { use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; impl pallet_xcm::benchmarking::Config for Runtime { - type DeliveryHelper = (); + type DeliveryHelper = cumulus_primitives_utility::ToParentDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + xcm_config::PriceForParentDelivery, + >; fn get_asset() -> Asset { Asset { id: AssetId(SelfReserve::get()), @@ -2230,9 +2225,13 @@ impl_runtime_apis! { let initial_asset_amount = asset_amount * 10; // inject it into pallet-foreign-asset-creator. - let (asset_id, asset_location) = pallet_foreign_asset_creator::benchmarks::create_default_minted_asset::( + // we cannot use the parent token directly because the extrinsic does not allow transferring the + // parent token to the parent chain anymore, because of an assets hub migration. We bypass that + // by adding a pallet instance to the token location. + let (asset_id, asset_location) = pallet_foreign_asset_creator::benchmarks::create_minted_asset::( initial_asset_amount, - who.clone() + who.clone(), + Some(ParentThen(PalletInstance(8).into()).into()), ); let transfer_asset: Asset = (asset_location, asset_amount).into(); diff --git a/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs b/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs index e07842c951..0c3c3c0a9d 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,10 +59,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `1497` - // Minimum execution time: 7_413_000 picoseconds. - Weight::from_parts(7_703_000, 1497) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_908_000 picoseconds. + Weight::from_parts(5_133_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -73,18 +74,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - /// The range of component `n` is `[1, 65531]`. + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105467]`. fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 17_782_000 picoseconds. - Weight::from_parts(12_830_832, 5487) - // Standard Error: 9 - .saturating_add(Weight::from_parts(962, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 13_653_000 picoseconds. + Weight::from_parts(9_457_298, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_016, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -95,15 +97,82 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - fn enqueue_2_empty_xcmp_messages() -> Weight { + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1000]`. + fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 29_599_000 picoseconds. - Weight::from_parts(30_026_000, 5487) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 11_593_000 picoseconds. + Weight::from_parts(15_263_900, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 239 + .saturating_add(Weight::from_parts(136_065, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105457]`. + fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `334 + n * (1 ±0)` + // Estimated: `108986` + // Minimum execution time: 20_217_000 picoseconds. + Weight::from_parts(20_647_000, 0) + .saturating_add(Weight::from_parts(0, 108986)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(2_576, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:100) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 100]`. + fn enqueue_n_full_pages(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `5487` + // Minimum execution time: 13_262_000 picoseconds. + Weight::from_parts(13_670_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 81_154 + .saturating_add(Weight::from_parts(105_979_285, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + fn enqueue_1000_small_xcmp_messages() -> Weight { + // Proof Size summary in bytes: + // Measured: `53067` + // Estimated: `108986` + // Minimum execution time: 289_304_000 picoseconds. + Weight::from_parts(299_215_000, 0) + .saturating_add(Weight::from_parts(0, 108986)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -111,10 +180,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `2767` - // Minimum execution time: 4_636_000 picoseconds. - Weight::from_parts(4_771_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_121_000 picoseconds. + Weight::from_parts(3_254_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -122,17 +192,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `144` // Estimated: `2767` - // Minimum execution time: 6_274_000 picoseconds. - Weight::from_parts(6_412_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_409_000 picoseconds. + Weight::from_parts(4_555_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_564_000 picoseconds. - Weight::from_parts(7_747_000, 0) + // Minimum execution time: 5_368_000 picoseconds. + Weight::from_parts(5_614_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -147,27 +219,39 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65744` - // Estimated: `69209` - // Minimum execution time: 124_016_000 picoseconds. - Weight::from_parts(126_864_000, 69209) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `105716` + // Estimated: `109181` + // Minimum execution time: 231_957_000 picoseconds. + Weight::from_parts(242_676_000, 0) + .saturating_add(Weight::from_parts(0, 109181)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65743` - // Estimated: `69208` - // Minimum execution time: 61_677_000 picoseconds. - Weight::from_parts(62_993_000, 69208) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `65785` + // Estimated: `69250` + // Minimum execution time: 134_722_000 picoseconds. + Weight::from_parts(138_495_000, 0) + .saturating_add(Weight::from_parts(0, 69250)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs b/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs index 160001835a..e7daa35c85 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs @@ -53,451 +53,579 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `3673` - // Minimum execution time: 14_431_000 picoseconds. - Weight::from_parts(14_751_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_096_000 picoseconds. - Weight::from_parts(14_342_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `212 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 19_950_000 picoseconds. - Weight::from_parts(20_288_000, 3673) - // Standard Error: 10_861 - .saturating_add(Weight::from_parts(16_706_716, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `409 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 20_258_000 picoseconds. - Weight::from_parts(20_674_000, 3673) - // Standard Error: 3_491 - .saturating_add(Weight::from_parts(6_261_868, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_652_000 picoseconds. - Weight::from_parts(17_116_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 28_578_000 picoseconds. - Weight::from_parts(29_455_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 38_440_000 picoseconds. - Weight::from_parts(38_965_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 53_511_000 picoseconds. - Weight::from_parts(54_687_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 48_383_000 picoseconds. - Weight::from_parts(49_249_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 53_740_000 picoseconds. - Weight::from_parts(54_468_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_475_000 picoseconds. - Weight::from_parts(19_866_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_473_000 picoseconds. - Weight::from_parts(19_976_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 13_958_000 picoseconds. - Weight::from_parts(14_424_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 13_967_000 picoseconds. - Weight::from_parts(14_440_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_340_000 picoseconds. - Weight::from_parts(17_627_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 15_082_000 picoseconds. - Weight::from_parts(15_271_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_898_000 picoseconds. - Weight::from_parts(17_859_171, 3673) - // Standard Error: 417 - .saturating_add(Weight::from_parts(373, 0).saturating_mul(n.into())) - // Standard Error: 417 - .saturating_add(Weight::from_parts(753, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + fn set_metadata(_n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_231_000 picoseconds. - Weight::from_parts(18_662_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `79` - // Estimated: `3673` - // Minimum execution time: 16_025_000 picoseconds. - Weight::from_parts(16_725_474, 3673) - // Standard Error: 330 - .saturating_add(Weight::from_parts(468, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn force_set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 17_576_000 picoseconds. - Weight::from_parts(18_234_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 14_686_000 picoseconds. - Weight::from_parts(14_984_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 22_517_000 picoseconds. - Weight::from_parts(22_913_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `553` - // Estimated: `6204` - // Minimum execution time: 65_972_000 picoseconds. - Weight::from_parts(67_810_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 25_554_000 picoseconds. - Weight::from_parts(25_919_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 25_637_000 picoseconds. - Weight::from_parts(26_125_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 15_875_000 picoseconds. - Weight::from_parts(16_361_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 22_230_000 picoseconds. - Weight::from_parts(22_633_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 21_240_000 picoseconds. - Weight::from_parts(21_682_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `364` - // Estimated: `3673` - // Minimum execution time: 19_873_000 picoseconds. - Weight::from_parts(20_344_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `397` - // Estimated: `3673` - // Minimum execution time: 19_156_000 picoseconds. - Weight::from_parts(19_720_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_584_000 picoseconds. - Weight::from_parts(20_079_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 65_657_000 picoseconds. - Weight::from_parts(66_822_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } -} \ No newline at end of file + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Account` (r:1 w:0) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Approvals` (r:1 w:0) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } +} diff --git a/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs b/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs index 36eacade9e..ce0d8a4911 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs @@ -347,7 +347,6 @@ impl pallet_assets::Config for Runtime { } impl pallet_foreign_asset_creator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ForeignAsset = Location; type ForeignAssetCreatorOrigin = EnsureRoot; type ForeignAssetModifierOrigin = EnsureRoot; @@ -450,7 +449,6 @@ parameter_types! { } impl pallet_xcm_core_buyer::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type XcmSender = XcmRouter; diff --git a/chains/orchestrator-paras/runtime/flashbox/src/lib.rs b/chains/orchestrator-paras/runtime/flashbox/src/lib.rs index 54c2c46139..261fe322ee 100644 --- a/chains/orchestrator-paras/runtime/flashbox/src/lib.rs +++ b/chains/orchestrator-paras/runtime/flashbox/src/lib.rs @@ -490,6 +490,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; + type RelayParentOffset = ConstU32<0>; } pub struct ParaSlotProvider; @@ -789,7 +790,6 @@ impl ShouldRotateAllCollators for NeverRotateCollators { } impl pallet_collator_assignment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type HostConfiguration = Configuration; type ContainerChains = Registrar; type SessionIndex = u32; @@ -835,7 +835,6 @@ parameter_types! { } impl pallet_services_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; /// Handler for fees type OnChargeForBlock = (); type OnChargeForCollatorAssignment = (); @@ -867,7 +866,6 @@ parameter_types! { pub type DataPreserversProfileId = u64; impl pallet_data_preservers::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; type Currency = Balances; type WeightInfo = weights::pallet_data_preservers::SubstrateWeight; @@ -885,7 +883,6 @@ impl pallet_data_preservers::Config for Runtime { } impl pallet_author_noting::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ContainerChains = CollatorAssignment; type SlotBeacon = dp_consensus::AuraDigestSlotBeacon; type ContainerChainAuthor = CollatorAssignment; @@ -907,7 +904,6 @@ parameter_types! { } impl pallet_invulnerables::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureRoot; type MaxInvulnerables = MaxInvulnerables; type CollatorId = CollatorId; @@ -1055,7 +1051,6 @@ impl RelayStorageRootProvider for PalletRelayStorageRootProvider { } impl pallet_registrar::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RegistrarOrigin = EitherOfDiverse, EnsureRoot>; type MarkValidForCollatingOrigin = EnsureRoot; @@ -1203,7 +1198,6 @@ impl pallet_proxy::Config for Runtime { } impl pallet_migrations::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MigrationsList = (tanssi_runtime_common::migrations::FlashboxMigrations,); type XcmExecutionManager = (); } @@ -1256,7 +1250,6 @@ impl Contains for IsRegisterParathreads { type NormalFilter = EverythingBut; impl pallet_maintenance_mode::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = InsideBoth; type MaintenanceOrigin = EnsureRoot; @@ -1321,7 +1314,6 @@ impl frame_support::traits::OnUnbalanced> for OnUnba } impl pallet_inflation_rewards::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ContainerChains = Registrar; type GetSelfChainBlockAuthor = GetSelfChainBlockAuthor; @@ -1348,7 +1340,6 @@ parameter_types! { } impl pallet_stream_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StreamId = StreamId; type TimeUnit = tp_stream_payment_common::TimeUnit; type Balance = Balance; @@ -1395,6 +1386,8 @@ impl pallet_identity::Config for Runtime { type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>; type MaxSuffixLength = ConstU32<7>; type MaxUsernameLength = ConstU32<32>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); type WeightInfo = weights::pallet_identity::SubstrateWeight; } diff --git a/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs b/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs index 83f7c55f55..31fccd167c 100644 --- a/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs +++ b/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs @@ -269,6 +269,8 @@ pub fn set_parachain_inherent_data(mock_inherent_data: MockInherentData) { relay_chain_state, downward_messages: Default::default(), horizontal_messages: Default::default(), + relay_parent_descendants: Default::default(), + collator_peer_id: Default::default(), }; // Delete existing flag to avoid error diff --git a/chains/orchestrator-relays/client/cli/src/command.rs b/chains/orchestrator-relays/client/cli/src/command.rs index d671c97bde..6b8c2c6b44 100644 --- a/chains/orchestrator-relays/client/cli/src/command.rs +++ b/chains/orchestrator-relays/client/cli/src/command.rs @@ -382,8 +382,8 @@ pub fn run() -> Result<()> { polkadot_service::new_chain_ops(&mut config)?; let db = backend.expose_db(); let storage = backend.expose_storage(); - - cmd.run(config, client.clone(), db, storage) + let shared_trie_cache = backend.expose_shared_trie_cache(); + cmd.run(config, client.clone(), db, storage, shared_trie_cache) .map_err(Error::SubstrateCli) }), BenchmarkCmd::Block(cmd) => runner.sync_run(|mut config| { diff --git a/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs b/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs index 9172de86a6..c8f7d1b452 100644 --- a/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs +++ b/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs @@ -223,11 +223,7 @@ pub fn build_full( capacity }); - match config - .network - .network_backend - .unwrap_or(sc_network::config::NetworkBackendType::Libp2p) - { + match config.network.network_backend { sc_network::config::NetworkBackendType::Libp2p => { new_full::<_, sc_network::NetworkWorker>(sealing, config, params) } diff --git a/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs b/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs index b7c5f8c324..2d7439b2a1 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs @@ -72,9 +72,7 @@ impl OnNewCommitment for CommitmentRecorder { } } -impl pallet_outbound_message_commitment_recorder::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} +impl pallet_outbound_message_commitment_recorder::Config for Runtime {} // https://github.com/paritytech/polkadot-sdk/blob/2ae79be8e028a995b850621ee55f46c041eceefe/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/bridge_to_ethereum_config.rs#L105 impl snowbridge_pallet_outbound_queue::Config for Runtime { @@ -134,7 +132,6 @@ impl snowbridge_pallet_system::Config for Runtime { } impl pallet_ethereum_token_transfers::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type OutboundQueue = EthereumOutboundQueue; type EthereumSystemHandler = EthereumSystemHandler; diff --git a/chains/orchestrator-relays/runtime/dancelight/src/lib.rs b/chains/orchestrator-relays/runtime/dancelight/src/lib.rs index 36e7b8b857..7b0a37e950 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/lib.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/lib.rs @@ -110,7 +110,7 @@ use { snowbridge_outbound_queue_primitives::v1::Command, snowbridge_outbound_queue_primitives::v1::Fee, sp_core::{storage::well_known_keys as StorageWellKnownKeys, Get}, - sp_core::{OpaqueMetadata, H256}, + sp_core::{ConstUint, OpaqueMetadata, H256}, sp_genesis_builder::PresetId, sp_runtime::{ generic, impl_opaque_keys, @@ -602,6 +602,7 @@ impl Convert> for FullIdentificationOf { } impl pallet_session::historical::Config for Runtime { + type RuntimeEvent = RuntimeEvent; type FullIdentification = (); type FullIdentificationOf = FullIdentificationOf; } @@ -788,11 +789,11 @@ where type RuntimeCall = RuntimeCall; } -impl frame_system::offchain::CreateInherent for Runtime +impl frame_system::offchain::CreateBare for Runtime where RuntimeCall: From, { - fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic { + fn create_bare(call: RuntimeCall) -> UncheckedExtrinsic { UncheckedExtrinsic::new_bare(call) } } @@ -828,6 +829,8 @@ impl pallet_identity::Config for Runtime { type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>; type MaxSuffixLength = ConstU32<7>; type MaxUsernameLength = ConstU32<32>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); type WeightInfo = weights::pallet_identity::SubstrateWeight; } @@ -1067,6 +1070,11 @@ impl parachains_paras::Config for Runtime { type NextSessionRotation = Babe; type OnNewHead = Registrar; type AssignCoretime = (); + type Fungible = Balances; + // TODO: this could be set to 1 because we don't care, but benchmarks fail in that case + // Per day the cooldown is removed earlier, it should cost 1000. + type CooldownRemovalMultiplier = ConstUint<{ 1000 * UNITS / DAYS as u128 }>; + type AuthorizeCurrentCodeOrigin = EnsureRoot; } parameter_types! { @@ -1448,7 +1456,6 @@ prod_or_fast_parameter_types! { } impl pallet_external_validators::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureRoot; type HistoryDepth = ConstU32<84>; type MaxWhitelistedValidators = MaxWhitelistedValidators; @@ -1509,7 +1516,6 @@ impl tp_bridge::TokenChannelSetterBenchmarkHelperTrait for RewardsBenchHelper { // Pallet to reward validators. impl pallet_external_validators_rewards::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type EraIndexProvider = ExternalValidators; type HistoryDepth = ConstU32<64>; type BackingPoints = ConstU32<20>; @@ -1533,7 +1539,6 @@ impl pallet_external_validators_rewards::Config for Runtime { } impl pallet_external_validator_slashes::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ValidatorId = AccountId; type ValidatorIdOf = ValidatorIdOf; type SlashDeferDuration = SlashDeferDuration; @@ -1578,7 +1583,6 @@ parameter_types! { } impl pallet_invulnerables::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureRoot; type MaxInvulnerables = MaxInvulnerables; type CollatorId = ::AccountId; @@ -1614,7 +1618,6 @@ impl pallet_configuration::Config for Runtime { } impl pallet_migrations::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MigrationsList = (tanssi_runtime_common::migrations::DancelightMigrations,); type XcmExecutionManager = (); } @@ -1670,7 +1673,6 @@ impl Contains for MaintenanceFilter { type NormalFilter = EverythingBut<(IsRelayRegister, IsParathreadRegistrar)>; impl pallet_maintenance_mode::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = InsideBoth; type MaintenanceOrigin = EitherOf< @@ -1705,7 +1707,6 @@ parameter_types! { } impl pallet_services_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; /// Handler for fees type OnChargeForBlock = (); type OnChargeForCollatorAssignment = (); @@ -1732,7 +1733,6 @@ parameter_types! { } impl pallet_stream_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StreamId = tp_stream_payment_common::StreamId; type TimeUnit = tp_stream_payment_common::TimeUnit; type Balance = Balance; @@ -1757,7 +1757,6 @@ parameter_types! { pub type DataPreserversProfileId = u64; impl pallet_data_preservers::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; type Currency = Balances; type WeightInfo = weights::pallet_data_preservers::SubstrateWeight; @@ -1803,7 +1802,6 @@ impl frame_support::traits::OnUnbalanced> for OnUnba // Pallet to reward container chains collators. impl pallet_inflation_rewards::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ContainerChains = ContainerRegistrar; type GetSelfChainBlockAuthor = (); @@ -1865,7 +1863,6 @@ parameter_types! { pub const MaxCandidatesBufferSize: u32 = 100; } impl pallet_pooled_staking::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type Balance = Balance; type StakingAccount = StakingAccount; @@ -1886,7 +1883,6 @@ parameter_types! { pub const CooldownLenghtInSessions: u32 = 2; } impl pallet_inactivity_tracking::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MaxInactiveSessions = MaxInactiveSessions; type MaxCollatorsPerSession = MaxCandidatesBufferSize; type MaxContainerChains = MaxLengthParaIds; @@ -2191,7 +2187,6 @@ where } impl pallet_registrar::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RegistrarOrigin = EitherOfDiverse, EnsureRoot>; type MarkValidForCollatingOrigin = EnsureRoot; @@ -2294,7 +2289,6 @@ impl pallet_registrar::RegistrarHooks for DancelightRegistrarHooks { } impl pallet_author_noting::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ContainerChains = TanssiCollatorAssignment; type SlotBeacon = BabeSlotBeacon; type ContainerChainAuthor = TanssiCollatorAssignment; @@ -3399,11 +3393,11 @@ sp_api::impl_runtime_apis! { Ok((origin, ticket, assets)) } - fn fee_asset() -> Result { - Ok(Asset { + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok((Asset { id: AssetId(TokenLocation::get()), fun: Fungible(1_000_000 * UNITS), - }) + }, WeightLimit::Unlimited)) } fn unlockable_asset() -> Result<(Location, Location, Asset), BenchmarkError> { @@ -3803,7 +3797,6 @@ impl Get> for GetCoreAllocationConfiguration } impl pallet_collator_assignment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type HostConfiguration = CollatorConfiguration; type ContainerChains = ContainerRegistrar; type SessionIndex = u32; diff --git a/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_token_transfers.rs b/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_token_transfers.rs index 6b825299cd..5ee34ddff9 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_token_transfers.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_token_transfers.rs @@ -31,6 +31,7 @@ use { traits::{fungible::Inspect, fungibles::Mutate}, }, hex_literal::hex, + pallet_xcm::ExecutionError, parity_scale_codec::Encode, snowbridge_core::TokenIdOf, snowbridge_core::{AgentId, Channel, ChannelId, ParaId}, @@ -1842,7 +1843,10 @@ fn cant_send_eth_unknown_token() { 0u32, Unlimited, ), - pallet_xcm::Error::::LocalExecutionIncomplete + pallet_xcm::Error::::LocalExecutionIncompleteWithError { + index: 0, + error: ExecutionError::AssetNotFound + } ); assert_eq!( @@ -1938,7 +1942,10 @@ fn cant_send_eth_native_token_more_than_owned() { 0u32, Unlimited, ), - pallet_xcm::Error::::LocalExecutionIncomplete + pallet_xcm::Error::::LocalExecutionIncompleteWithError { + index: 0, + error: ExecutionError::FailedToTransactAsset + } ); assert_eq!( diff --git a/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs b/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs index 249128e8fe..85d3e3bb33 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs @@ -53,453 +53,579 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `3673` - // Minimum execution time: 13_594_000 picoseconds. - Weight::from_parts(13_967_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_400_000 picoseconds. - Weight::from_parts(14_739_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `58 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 21_282_000 picoseconds. - Weight::from_parts(21_547_000, 3673) - // Standard Error: 11_779 - .saturating_add(Weight::from_parts(16_558_691, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `409 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 20_389_000 picoseconds. - Weight::from_parts(20_729_000, 3673) - // Standard Error: 3_649 - .saturating_add(Weight::from_parts(6_245_588, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_723_000 picoseconds. - Weight::from_parts(18_057_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 30_058_000 picoseconds. - Weight::from_parts(30_772_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 38_552_000 picoseconds. - Weight::from_parts(39_689_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 53_988_000 picoseconds. - Weight::from_parts(55_653_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 49_140_000 picoseconds. - Weight::from_parts(50_077_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 54_268_000 picoseconds. - Weight::from_parts(55_384_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_837_000 picoseconds. - Weight::from_parts(20_238_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_886_000 picoseconds. - Weight::from_parts(20_335_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_144_000 picoseconds. - Weight::from_parts(14_775_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_244_000 picoseconds. - Weight::from_parts(14_709_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_150_000 picoseconds. - Weight::from_parts(18_534_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_050_000 picoseconds. - Weight::from_parts(16_577_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_376_000 picoseconds. - Weight::from_parts(18_314_392, 3673) - // Standard Error: 512 - .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) - // Standard Error: 512 - .saturating_add(Weight::from_parts(2_291, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_413_000 picoseconds. - Weight::from_parts(19_150_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `79` - // Estimated: `3673` - // Minimum execution time: 17_240_000 picoseconds. - Weight::from_parts(18_020_047, 3673) - // Standard Error: 412 - .saturating_add(Weight::from_parts(2_569, 0).saturating_mul(n.into())) - // Standard Error: 412 - .saturating_add(Weight::from_parts(139, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_125_000 picoseconds. - Weight::from_parts(18_655_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 15_465_000 picoseconds. - Weight::from_parts(16_068_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 22_592_000 picoseconds. - Weight::from_parts(23_240_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `553` - // Estimated: `6204` - // Minimum execution time: 66_819_000 picoseconds. - Weight::from_parts(68_062_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 25_706_000 picoseconds. - Weight::from_parts(26_239_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 25_722_000 picoseconds. - Weight::from_parts(26_500_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_045_000 picoseconds. - Weight::from_parts(17_480_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 23_209_000 picoseconds. - Weight::from_parts(24_222_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 21_305_000 picoseconds. - Weight::from_parts(22_180_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `364` - // Estimated: `3673` - // Minimum execution time: 20_942_000 picoseconds. - Weight::from_parts(21_675_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `397` - // Estimated: `3673` - // Minimum execution time: 19_509_000 picoseconds. - Weight::from_parts(19_996_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_646_000 picoseconds. - Weight::from_parts(20_224_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 66_331_000 picoseconds. - Weight::from_parts(68_722_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } -} \ No newline at end of file + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Account` (r:1 w:0) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Approvals` (r:1 w:0) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } +} diff --git a/chains/orchestrator-relays/runtime/dancelight/src/weights/runtime_parachains_paras.rs b/chains/orchestrator-relays/runtime/dancelight/src/weights/runtime_parachains_paras.rs index 5d9ea3d67e..5dfae1ddc5 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/weights/runtime_parachains_paras.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/weights/runtime_parachains_paras.rs @@ -70,12 +70,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `8309` // Estimated: `11774` - // Minimum execution time: 43_460_000 picoseconds. - Weight::from_parts(44_386_000, 11774) - // Standard Error: 3 - .saturating_add(Weight::from_parts(2_312, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 34_344_000 picoseconds. + Weight::from_parts(35_086_000, 0) + .saturating_add(Weight::from_parts(0, 11774)) + // Standard Error: 101 + .saturating_add(Weight::from_parts(10_734, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Paras::Heads` (r:0 w:1) /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -84,11 +85,12 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_318_000 picoseconds. - Weight::from_parts(23_743_872, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(975, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 7_032_000 picoseconds. + Weight::from_parts(7_232_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(3_618, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::MostRecentContext` (r:0 w:1) /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -96,9 +98,10 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_149_000 picoseconds. - Weight::from_parts(5_276_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_545_000 picoseconds. + Weight::from_parts(3_822_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::FutureCodeHash` (r:1 w:1) /// Proof: `Paras::FutureCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -121,14 +124,15 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// The range of component `c` is `[9, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8552` - // Estimated: `12017` - // Minimum execution time: 59_806_000 picoseconds. - Weight::from_parts(61_183_000, 12017) - // Standard Error: 3 - .saturating_add(Weight::from_parts(2_311, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Measured: `8452` + // Estimated: `11917` + // Minimum execution time: 50_046_000 picoseconds. + Weight::from_parts(50_780_000, 0) + .saturating_add(Weight::from_parts(0, 11917)) + // Standard Error: 101 + .saturating_add(Weight::from_parts(10_685, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0) /// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -145,12 +149,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `299` // Estimated: `3764` - // Minimum execution time: 25_250_000 picoseconds. - Weight::from_parts(45_875_182, 3764) - // Standard Error: 3 - .saturating_add(Weight::from_parts(973, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 18_737_000 picoseconds. + Weight::from_parts(18_995_000, 0) + .saturating_add(Weight::from_parts(0, 3764)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(3_645, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0) /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -158,12 +163,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4412` - // Estimated: `7877` - // Minimum execution time: 27_944_000 picoseconds. - Weight::from_parts(29_530_000, 7877) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `4312` + // Estimated: `7777` + // Minimum execution time: 21_058_000 picoseconds. + Weight::from_parts(21_657_000, 0) + .saturating_add(Weight::from_parts(0, 7777)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::PvfActiveVoteMap` (r:1 w:1) /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -176,14 +182,15 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// The range of component `c` is `[9, 3145728]`. fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `783` - // Estimated: `4248` - // Minimum execution time: 104_500_000 picoseconds. - Weight::from_parts(97_886_853, 4248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_868, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `683` + // Estimated: `4148` + // Minimum execution time: 85_102_000 picoseconds. + Weight::from_parts(86_779_000, 0) + .saturating_add(Weight::from_parts(0, 4148)) + // Standard Error: 96 + .saturating_add(Weight::from_parts(10_226, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Paras::CodeByHashRefs` (r:1 w:0) /// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -193,10 +200,11 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `28` // Estimated: `3493` - // Minimum execution time: 9_136_000 picoseconds. - Weight::from_parts(9_286_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 7_005_000 picoseconds. + Weight::from_parts(7_242_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -206,12 +214,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `26806` - // Estimated: `30271` - // Minimum execution time: 118_037_000 picoseconds. - Weight::from_parts(123_933_000, 30271) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `26706` + // Estimated: `30171` + // Minimum execution time: 114_183_000 picoseconds. + Weight::from_parts(117_660_000, 0) + .saturating_add(Weight::from_parts(0, 30171)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -227,12 +236,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27460` - // Estimated: `30925` - // Minimum execution time: 844_381_000 picoseconds. - Weight::from_parts(946_605_000, 30925) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(103_u64)) + // Measured: `27360` + // Estimated: `30825` + // Minimum execution time: 701_780_000 picoseconds. + Weight::from_parts(717_725_000, 0) + .saturating_add(Weight::from_parts(0, 30825)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(103)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -242,12 +252,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27438` - // Estimated: `30903` - // Minimum execution time: 114_439_000 picoseconds. - Weight::from_parts(118_449_000, 30903) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `27338` + // Estimated: `30803` + // Minimum execution time: 111_232_000 picoseconds. + Weight::from_parts(116_478_000, 0) + .saturating_add(Weight::from_parts(0, 30803)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -261,12 +272,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `26828` - // Estimated: `30293` - // Minimum execution time: 711_500_000 picoseconds. - Weight::from_parts(726_705_000, 30293) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `26728` + // Estimated: `30193` + // Minimum execution time: 566_791_000 picoseconds. + Weight::from_parts(588_058_000, 0) + .saturating_add(Weight::from_parts(0, 30193)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -276,11 +288,53 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `26806` - // Estimated: `30271` - // Minimum execution time: 111_402_000 picoseconds. - Weight::from_parts(115_054_000, 30271) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `26706` + // Estimated: `30171` + // Minimum execution time: 106_546_000 picoseconds. + Weight::from_parts(112_236_000, 0) + .saturating_add(Weight::from_parts(0, 30171)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } -} \ No newline at end of file + + fn remove_upgrade_cooldown() -> Weight { + // JUST COPIED AND WILL BE UPDATED NEXT TIME + Weight::from_parts(107_759_000, 0) + .saturating_add(Weight::from_parts(0, 30171)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } + + /// Storage: `Paras::AuthorizedCodeHash` (r:0 w:1) + /// Proof: `Paras::AuthorizedCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn authorize_force_set_current_code_hash() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_217_000 picoseconds. + Weight::from_parts(8_415_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Paras::AuthorizedCodeHash` (r:1 w:1) + /// Proof: `Paras::AuthorizedCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::CodeByHashRefs` (r:1 w:1) + /// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::CurrentCodeHash` (r:1 w:1) + /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::CodeByHash` (r:0 w:1) + /// Proof: `Paras::CodeByHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `c` is `[9, 3145728]`. + fn apply_authorized_force_set_current_code(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `132` + // Estimated: `3597` + // Minimum execution time: 29_238_000 picoseconds. + Weight::from_parts(29_741_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) + // Standard Error: 103 + .saturating_add(Weight::from_parts(12_157, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) + } +} diff --git a/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs b/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs index e3209c256b..43a8379add 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs @@ -359,7 +359,6 @@ impl pallet_assets::Config for Runtime { } impl pallet_foreign_asset_creator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ForeignAsset = Location; type ForeignAssetCreatorOrigin = EnsureRoot; type ForeignAssetModifierOrigin = EnsureRoot; diff --git a/chains/orchestrator-relays/runtime/starlight/src/bridge_to_ethereum_config.rs b/chains/orchestrator-relays/runtime/starlight/src/bridge_to_ethereum_config.rs index 9e199492c1..72734989a6 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/bridge_to_ethereum_config.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/bridge_to_ethereum_config.rs @@ -70,9 +70,7 @@ impl OnNewCommitment for CommitmentRecorder { } } -impl pallet_outbound_message_commitment_recorder::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} +impl pallet_outbound_message_commitment_recorder::Config for Runtime {} // https://github.com/paritytech/polkadot-sdk/blob/2ae79be8e028a995b850621ee55f46c041eceefe/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/bridge_to_ethereum_config.rs#L105 impl snowbridge_pallet_outbound_queue::Config for Runtime { @@ -132,7 +130,6 @@ impl snowbridge_pallet_system::Config for Runtime { } impl pallet_ethereum_token_transfers::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type OutboundQueue = EthereumOutboundQueue; type EthereumSystemHandler = EthereumSystemHandler; diff --git a/chains/orchestrator-relays/runtime/starlight/src/lib.rs b/chains/orchestrator-relays/runtime/starlight/src/lib.rs index 7ff38b5ddd..eaaf7f35bf 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/lib.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/lib.rs @@ -91,6 +91,7 @@ use { snowbridge_outbound_queue_primitives::v1::Command, snowbridge_outbound_queue_primitives::v1::Fee, sp_core::{storage::well_known_keys as StorageWellKnownKeys, Get}, + sp_core::{ConstUint, OpaqueMetadata, H256}, sp_genesis_builder::PresetId, sp_runtime::{traits::ConvertInto, AccountId32}, tanssi_runtime_common::{ @@ -130,7 +131,6 @@ use { pallet_identity::legacy::IdentityInfo, pallet_session::historical as session_historical, pallet_transaction_payment::{FeeDetails, FungibleAdapter, RuntimeDispatchInfo}, - sp_core::{OpaqueMetadata, H256}, sp_runtime::{ generic, impl_opaque_keys, traits::{ @@ -622,6 +622,7 @@ impl Convert> for FullIdentificationOf { } impl pallet_session::historical::Config for Runtime { + type RuntimeEvent = RuntimeEvent; type FullIdentification = (); type FullIdentificationOf = FullIdentificationOf; } @@ -807,11 +808,11 @@ where type RuntimeCall = RuntimeCall; } -impl frame_system::offchain::CreateInherent for Runtime +impl frame_system::offchain::CreateBare for Runtime where RuntimeCall: From, { - fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic { + fn create_bare(call: RuntimeCall) -> UncheckedExtrinsic { UncheckedExtrinsic::new_bare(call) } } @@ -847,6 +848,8 @@ impl pallet_identity::Config for Runtime { type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>; type MaxSuffixLength = ConstU32<7>; type MaxUsernameLength = ConstU32<32>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); type WeightInfo = weights::pallet_identity::SubstrateWeight; } @@ -1084,6 +1087,11 @@ impl parachains_paras::Config for Runtime { type NextSessionRotation = Babe; type OnNewHead = Registrar; type AssignCoretime = (); + type Fungible = Balances; + // TODO: this could be set to 1 because we don't care, but benchmarks fail in that case + // Per day the cooldown is removed earlier, it should cost 1000. + type CooldownRemovalMultiplier = ConstUint<{ 1000 * UNITS / DAYS as u128 }>; + type AuthorizeCurrentCodeOrigin = EnsureRoot; } parameter_types! { @@ -1464,7 +1472,6 @@ prod_or_fast_parameter_types! { } impl pallet_external_validators::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureRoot; type HistoryDepth = ConstU32<84>; type MaxWhitelistedValidators = MaxWhitelistedValidators; @@ -1525,7 +1532,6 @@ impl tp_bridge::TokenChannelSetterBenchmarkHelperTrait for RewardsBenchHelper { // Pallet to reward validators. impl pallet_external_validators_rewards::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type EraIndexProvider = ExternalValidators; type HistoryDepth = ConstU32<64>; type BackingPoints = ConstU32<20>; @@ -1549,7 +1555,6 @@ impl pallet_external_validators_rewards::Config for Runtime { } impl pallet_external_validator_slashes::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ValidatorId = AccountId; type ValidatorIdOf = ValidatorIdOf; type SlashDeferDuration = SlashDeferDuration; @@ -1594,7 +1599,6 @@ parameter_types! { } impl pallet_invulnerables::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureRoot; type MaxInvulnerables = MaxInvulnerables; type CollatorId = ::AccountId; @@ -1630,7 +1634,6 @@ impl pallet_configuration::Config for Runtime { } impl pallet_migrations::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MigrationsList = (tanssi_runtime_common::migrations::StarlightMigrations,); type XcmExecutionManager = (); } @@ -1690,7 +1693,6 @@ type NormalFilter = EverythingBut<( )>; impl pallet_maintenance_mode::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = InsideBoth; type MaintenanceOrigin = EnsureRoot; @@ -1722,7 +1724,6 @@ parameter_types! { } impl pallet_services_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; /// Handler for fees type OnChargeForBlock = (); type OnChargeForCollatorAssignment = (); @@ -1749,7 +1750,6 @@ parameter_types! { } impl pallet_stream_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StreamId = tp_stream_payment_common::StreamId; type TimeUnit = tp_stream_payment_common::TimeUnit; type Balance = Balance; @@ -1774,7 +1774,6 @@ parameter_types! { pub type DataPreserversProfileId = u64; impl pallet_data_preservers::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; type Currency = Balances; type WeightInfo = weights::pallet_data_preservers::SubstrateWeight; @@ -1821,7 +1820,6 @@ impl frame_support::traits::OnUnbalanced> for OnUnba // Pallet to reward container chains collators. impl pallet_inflation_rewards::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ContainerChains = ContainerRegistrar; type GetSelfChainBlockAuthor = (); @@ -1884,7 +1882,6 @@ parameter_types! { } impl pallet_pooled_staking::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type Balance = Balance; type StakingAccount = StakingAccount; @@ -1905,7 +1902,6 @@ parameter_types! { pub const CooldownLenghtInSessions: u32 = 2; } impl pallet_inactivity_tracking::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MaxInactiveSessions = MaxInactiveSessions; type MaxCollatorsPerSession = MaxCandidatesBufferSize; type MaxContainerChains = MaxLengthParaIds; @@ -2203,7 +2199,6 @@ where } impl pallet_registrar::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RegistrarOrigin = EitherOfDiverse, EnsureRoot>; type MarkValidForCollatingOrigin = EnsureRoot; @@ -2306,7 +2301,6 @@ impl pallet_registrar::RegistrarHooks for StarlightRegistrarHooks { } impl pallet_author_noting::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ContainerChains = TanssiCollatorAssignment; type SlotBeacon = BabeSlotBeacon; type ContainerChainAuthor = TanssiCollatorAssignment; @@ -3399,11 +3393,11 @@ sp_api::impl_runtime_apis! { Ok((origin, ticket, assets)) } - fn fee_asset() -> Result { - Ok(Asset { + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok((Asset { id: AssetId(TokenLocation::get()), fun: Fungible(1_000_000 * UNITS), - }) + }, WeightLimit::Unlimited)) } fn unlockable_asset() -> Result<(Location, Location, Asset), BenchmarkError> { @@ -3818,7 +3812,6 @@ impl Get> for GetCoreAllocationConfiguration } impl pallet_collator_assignment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type HostConfiguration = CollatorConfiguration; type ContainerChains = ContainerRegistrar; type SessionIndex = u32; diff --git a/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_token_transfers.rs b/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_token_transfers.rs index a3132c382e..b0b6e9d53d 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_token_transfers.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_token_transfers.rs @@ -30,6 +30,7 @@ use { traits::{fungible::Inspect, fungibles::Mutate}, }, hex_literal::hex, + pallet_xcm::ExecutionError, parity_scale_codec::Encode, snowbridge_core::{AgentId, Channel, ChannelId, ParaId}, snowbridge_inbound_queue_primitives::v1::{ @@ -1533,7 +1534,10 @@ fn cant_send_eth_unknown_token() { 0u32, Unlimited, ), - pallet_xcm::Error::::LocalExecutionIncomplete + pallet_xcm::Error::::LocalExecutionIncompleteWithError { + index: 0, + error: ExecutionError::AssetNotFound, + } ); assert_eq!( @@ -1629,7 +1633,10 @@ fn cant_send_eth_native_token_more_than_owned() { 0u32, Unlimited, ), - pallet_xcm::Error::::LocalExecutionIncomplete + pallet_xcm::Error::::LocalExecutionIncompleteWithError { + index: 0, + error: ExecutionError::FailedToTransactAsset, + } ); assert_eq!( diff --git a/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs b/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs index 3c514eeaef..b89939b6c6 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs @@ -53,453 +53,579 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `3673` - // Minimum execution time: 13_834_000 picoseconds. - Weight::from_parts(14_252_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_212_000 picoseconds. - Weight::from_parts(14_774_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `61 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 21_276_000 picoseconds. - Weight::from_parts(21_810_000, 3673) - // Standard Error: 10_545 - .saturating_add(Weight::from_parts(16_306_985, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `409 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 20_876_000 picoseconds. - Weight::from_parts(21_214_000, 3673) - // Standard Error: 3_560 - .saturating_add(Weight::from_parts(6_246_918, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_124_000 picoseconds. - Weight::from_parts(18_803_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 30_378_000 picoseconds. - Weight::from_parts(31_324_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 38_627_000 picoseconds. - Weight::from_parts(39_628_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 55_353_000 picoseconds. - Weight::from_parts(56_340_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 49_317_000 picoseconds. - Weight::from_parts(50_554_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 54_547_000 picoseconds. - Weight::from_parts(55_875_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_962_000 picoseconds. - Weight::from_parts(20_438_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_124_000 picoseconds. - Weight::from_parts(21_063_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_367_000 picoseconds. - Weight::from_parts(14_849_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_764_000 picoseconds. - Weight::from_parts(15_208_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_616_000 picoseconds. - Weight::from_parts(18_950_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_571_000 picoseconds. - Weight::from_parts(16_967_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_764_000 picoseconds. - Weight::from_parts(18_649_168, 3673) - // Standard Error: 488 - .saturating_add(Weight::from_parts(11, 0).saturating_mul(n.into())) - // Standard Error: 488 - .saturating_add(Weight::from_parts(64, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + fn set_metadata(_n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_715_000 picoseconds. - Weight::from_parts(19_200_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `79` - // Estimated: `3673` - // Minimum execution time: 17_363_000 picoseconds. - Weight::from_parts(18_125_381, 3673) - // Standard Error: 431 - .saturating_add(Weight::from_parts(519, 0).saturating_mul(n.into())) - // Standard Error: 431 - .saturating_add(Weight::from_parts(1_528, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_169_000 picoseconds. - Weight::from_parts(18_638_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 15_811_000 picoseconds. - Weight::from_parts(16_380_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 23_020_000 picoseconds. - Weight::from_parts(23_967_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `553` - // Estimated: `6204` - // Minimum execution time: 68_707_000 picoseconds. - Weight::from_parts(69_874_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 25_846_000 picoseconds. - Weight::from_parts(26_698_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 26_044_000 picoseconds. - Weight::from_parts(26_665_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_591_000 picoseconds. - Weight::from_parts(17_894_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 24_136_000 picoseconds. - Weight::from_parts(24_763_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 22_090_000 picoseconds. - Weight::from_parts(22_469_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `364` - // Estimated: `3673` - // Minimum execution time: 21_886_000 picoseconds. - Weight::from_parts(22_422_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `397` - // Estimated: `3673` - // Minimum execution time: 19_830_000 picoseconds. - Weight::from_parts(20_365_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_302_000 picoseconds. - Weight::from_parts(20_781_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 66_841_000 picoseconds. - Weight::from_parts(68_196_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Account` (r:1 w:0) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ForeignAssets::Approvals` (r:1 w:0) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) } } \ No newline at end of file diff --git a/chains/orchestrator-relays/runtime/starlight/src/weights/runtime_parachains_paras.rs b/chains/orchestrator-relays/runtime/starlight/src/weights/runtime_parachains_paras.rs index 73e3cee689..60f9e6c97d 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/weights/runtime_parachains_paras.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/weights/runtime_parachains_paras.rs @@ -70,12 +70,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `8309` // Estimated: `11774` - // Minimum execution time: 44_529_000 picoseconds. - Weight::from_parts(44_843_000, 11774) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_428, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 34_344_000 picoseconds. + Weight::from_parts(35_086_000, 0) + .saturating_add(Weight::from_parts(0, 11774)) + // Standard Error: 101 + .saturating_add(Weight::from_parts(10_734, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Paras::Heads` (r:0 w:1) /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -84,11 +85,12 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_490_000 picoseconds. - Weight::from_parts(26_558_328, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(990, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 7_032_000 picoseconds. + Weight::from_parts(7_232_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(3_618, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::MostRecentContext` (r:0 w:1) /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -96,9 +98,10 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_148_000 picoseconds. - Weight::from_parts(5_289_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_545_000 picoseconds. + Weight::from_parts(3_822_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::FutureCodeHash` (r:1 w:1) /// Proof: `Paras::FutureCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -121,14 +124,15 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// The range of component `c` is `[9, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8552` - // Estimated: `12017` - // Minimum execution time: 60_601_000 picoseconds. - Weight::from_parts(61_519_000, 12017) - // Standard Error: 6 - .saturating_add(Weight::from_parts(2_389, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Measured: `8452` + // Estimated: `11917` + // Minimum execution time: 50_046_000 picoseconds. + Weight::from_parts(50_780_000, 0) + .saturating_add(Weight::from_parts(0, 11917)) + // Standard Error: 101 + .saturating_add(Weight::from_parts(10_685, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0) /// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -145,12 +149,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `299` // Estimated: `3764` - // Minimum execution time: 25_475_000 picoseconds. - Weight::from_parts(46_159_751, 3764) - // Standard Error: 3 - .saturating_add(Weight::from_parts(997, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 18_737_000 picoseconds. + Weight::from_parts(18_995_000, 0) + .saturating_add(Weight::from_parts(0, 3764)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(3_645, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0) /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -158,12 +163,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4412` - // Estimated: `7877` - // Minimum execution time: 28_021_000 picoseconds. - Weight::from_parts(29_367_000, 7877) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `4312` + // Estimated: `7777` + // Minimum execution time: 21_058_000 picoseconds. + Weight::from_parts(21_657_000, 0) + .saturating_add(Weight::from_parts(0, 7777)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::PvfActiveVoteMap` (r:1 w:1) /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -176,14 +182,15 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// The range of component `c` is `[9, 3145728]`. fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `783` - // Estimated: `4248` - // Minimum execution time: 103_230_000 picoseconds. - Weight::from_parts(74_743_184, 4248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_888, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `683` + // Estimated: `4148` + // Minimum execution time: 85_102_000 picoseconds. + Weight::from_parts(86_779_000, 0) + .saturating_add(Weight::from_parts(0, 4148)) + // Standard Error: 96 + .saturating_add(Weight::from_parts(10_226, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Paras::CodeByHashRefs` (r:1 w:0) /// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -193,10 +200,11 @@ impl runtime_parachains::paras::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `28` // Estimated: `3493` - // Minimum execution time: 9_091_000 picoseconds. - Weight::from_parts(9_344_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 7_005_000 picoseconds. + Weight::from_parts(7_242_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -206,12 +214,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `26806` - // Estimated: `30271` - // Minimum execution time: 115_128_000 picoseconds. - Weight::from_parts(119_444_000, 30271) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `26706` + // Estimated: `30171` + // Minimum execution time: 114_183_000 picoseconds. + Weight::from_parts(117_660_000, 0) + .saturating_add(Weight::from_parts(0, 30171)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -227,12 +236,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27460` - // Estimated: `30925` - // Minimum execution time: 860_198_000 picoseconds. - Weight::from_parts(922_048_000, 30925) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(103_u64)) + // Measured: `27360` + // Estimated: `30825` + // Minimum execution time: 701_780_000 picoseconds. + Weight::from_parts(717_725_000, 0) + .saturating_add(Weight::from_parts(0, 30825)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(103)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -242,12 +252,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27438` - // Estimated: `30903` - // Minimum execution time: 108_178_000 picoseconds. - Weight::from_parts(113_745_000, 30903) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `27338` + // Estimated: `30803` + // Minimum execution time: 111_232_000 picoseconds. + Weight::from_parts(116_478_000, 0) + .saturating_add(Weight::from_parts(0, 30803)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -261,12 +272,13 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `26828` - // Estimated: `30293` - // Minimum execution time: 715_286_000 picoseconds. - Weight::from_parts(730_022_000, 30293) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `26728` + // Estimated: `30193` + // Minimum execution time: 566_791_000 picoseconds. + Weight::from_parts(588_058_000, 0) + .saturating_add(Weight::from_parts(0, 30193)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0) /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -276,11 +288,53 @@ impl runtime_parachains::paras::WeightInfo for Substrat /// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `26806` - // Estimated: `30271` - // Minimum execution time: 105_665_000 picoseconds. - Weight::from_parts(110_890_000, 30271) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `26706` + // Estimated: `30171` + // Minimum execution time: 106_546_000 picoseconds. + Weight::from_parts(112_236_000, 0) + .saturating_add(Weight::from_parts(0, 30171)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } -} \ No newline at end of file + + fn remove_upgrade_cooldown() -> Weight { + // JUST COPIED AND WILL BE UPDATED NEXT TIME + Weight::from_parts(107_759_000, 0) + .saturating_add(Weight::from_parts(0, 30171)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } + + /// Storage: `Paras::AuthorizedCodeHash` (r:0 w:1) + /// Proof: `Paras::AuthorizedCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn authorize_force_set_current_code_hash() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_217_000 picoseconds. + Weight::from_parts(8_415_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Paras::AuthorizedCodeHash` (r:1 w:1) + /// Proof: `Paras::AuthorizedCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::CodeByHashRefs` (r:1 w:1) + /// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::CurrentCodeHash` (r:1 w:1) + /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::CodeByHash` (r:0 w:1) + /// Proof: `Paras::CodeByHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `c` is `[9, 3145728]`. + fn apply_authorized_force_set_current_code(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `132` + // Estimated: `3597` + // Minimum execution time: 29_238_000 picoseconds. + Weight::from_parts(29_741_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) + // Standard Error: 103 + .saturating_add(Weight::from_parts(12_157, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) + } +} diff --git a/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs b/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs index e71d941c37..ffaf86537d 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs @@ -357,7 +357,6 @@ impl pallet_assets::Config for Runtime { } impl pallet_foreign_asset_creator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type ForeignAsset = Location; type ForeignAssetCreatorOrigin = EnsureRoot; type ForeignAssetModifierOrigin = EnsureRoot; diff --git a/chains/runtime-common/src/relay.rs b/chains/runtime-common/src/relay.rs index 45d1de2033..fc72c0d906 100644 --- a/chains/runtime-common/src/relay.rs +++ b/chains/runtime-common/src/relay.rs @@ -832,7 +832,8 @@ where let ethereum_location = EthereumLocation::get(); - if let Ok(weight) = XcmWeigher::weight(&mut xcm) { + // Using Weight::MAX here because we don't have a limit, same as they do in pallet-xcm + if let Ok(weight) = XcmWeigher::weight(&mut xcm, Weight::MAX) { let mut message_id = xcm.using_encoded(sp_io::hashing::blake2_256); let outcome = XcmProcessor::prepare_and_execute( diff --git a/client/consensus/src/collators.rs b/client/consensus/src/collators.rs index bcef7dea2d..5971a10ff3 100644 --- a/client/consensus/src/collators.rs +++ b/client/consensus/src/collators.rs @@ -20,6 +20,7 @@ pub mod lookahead; use { crate::{find_pre_digest, AuthorityId, OrchestratorAuraWorkerAuxData}, cumulus_client_collator::service::ServiceInterface as CollatorServiceInterface, + cumulus_client_consensus_aura::collators::RelayParentData, cumulus_client_consensus_common::ParachainCandidate, cumulus_client_consensus_proposer::ProposerInterface, cumulus_client_parachain_inherent::{ParachainInherentData, ParachainInherentDataProvider}, @@ -113,12 +114,16 @@ where validation_data: &PersistedValidationData, parent_hash: ::Hash, _timestamp: impl Into>, + relay_parent_descendants: Option, ) -> Result<(ParachainInherentData, InherentData), Box> { let paras_inherent_data = ParachainInherentDataProvider::create_at( relay_parent, &self.relay_client, validation_data, self.para_id, + relay_parent_descendants + .map(RelayParentData::into_inherent_descendant_list) + .unwrap_or_default(), ) .await; @@ -160,14 +165,8 @@ where inherent_data: (ParachainInherentData, InherentData), proposal_duration: Duration, max_pov_size: usize, - ) -> Result< - Option<( - Collation, - ParachainBlockData, - ::Hash, - )>, - Box, - > { + ) -> Result)>, Box> + { let mut digest = additional_pre_digest.into().unwrap_or_default(); digest.append(&mut slot_claim.pre_digest); @@ -220,12 +219,14 @@ where proof: proposal.proof, }, ) { + // Inlining this function to change log target + //block_data.log_size_info(); tracing::info!( target: crate::LOG_TARGET, - "PoV size {{ header: {}kb, extrinsics: {}kb, storage_proof: {}kb }}", - block_data.header().encoded_size() as f64 / 1024f64, - block_data.extrinsics().encoded_size() as f64 / 1024f64, - block_data.storage_proof().encoded_size() as f64 / 1024f64, + header_kb = %block_data.blocks().iter().map(|b| b.header().encoded_size()).sum::() as f64 / 1024f64, + extrinsics_kb = %block_data.blocks().iter().map(|b| b.extrinsics().encoded_size()).sum::() as f64 / 1024f64, + storage_proof_kb = %block_data.proof().encoded_size() as f64 / 1024f64, + "PoV size", ); if let MaybeCompressedPoV::Compressed(ref pov) = collation.proof_of_validity { @@ -236,7 +237,7 @@ where ); } - Ok(Some((collation, block_data, post_hash))) + Ok(Some((collation, block_data))) } else { Err( Box::::from("Unable to produce collation") diff --git a/client/consensus/src/collators/basic.rs b/client/consensus/src/collators/basic.rs index 9e1307fc5e..721c8055f2 100644 --- a/client/consensus/src/collators/basic.rs +++ b/client/consensus/src/collators/basic.rs @@ -131,6 +131,7 @@ pub async fn run( }; let mut last_processed_slot = 0; + let mut last_relay_chain_block = Default::default(); while let Some(request) = collation_requests.next().await { macro_rules! reject_with_error { @@ -239,16 +240,30 @@ pub async fn run( // // With https://github.com/paritytech/polkadot-sdk/issues/3168 this implementation will be // obsolete and also the underlying issue will be fixed. - if last_processed_slot >= *claim.slot() { + if last_processed_slot >= *claim.slot() + && last_relay_chain_block < *relay_parent_header.number() + { continue; } let (parachain_inherent_data, other_inherent_data) = try_request!( collator - .create_inherent_data(*request.relay_parent(), validation_data, parent_hash, None,) + .create_inherent_data( + *request.relay_parent(), + validation_data, + parent_hash, + None, + None + ) .await ); + // Set the block limit to 50% of the maximum PoV size. + // + // TODO: If we got benchmarking that includes the proof size, + // we should be able to use the maximum pov size. + let allowed_pov_size = (validation_data.max_pov_size / 2) as usize; + let maybe_collation = try_request!( collator .collate( @@ -257,17 +272,20 @@ pub async fn run( None, (parachain_inherent_data, other_inherent_data), params.authoring_duration, - // Set the block limit to 50% of the maximum PoV size. - // - // TODO: If we got benchmarking that includes the proof size, - // we should be able to use the maximum pov size. - (validation_data.max_pov_size / 2) as usize, + allowed_pov_size, ) .await ); - if let Some((collation, _, post_hash)) = maybe_collation { - let result_sender = Some(collator.collator_service().announce_with_barrier(post_hash)); + if let Some((collation, block_data)) = maybe_collation { + let Some(block_hash) = block_data.blocks().first().map(|b| b.hash()) else { + continue; + }; + let result_sender = Some( + collator + .collator_service() + .announce_with_barrier(block_hash), + ); request.complete(Some(CollationResult { collation, result_sender, @@ -277,6 +295,7 @@ pub async fn run( tracing::debug!(target: crate::LOG_TARGET, "No block proposal"); } last_processed_slot = *claim.slot(); + last_relay_chain_block = *relay_parent_header.number(); } } diff --git a/client/consensus/src/collators/lookahead.rs b/client/consensus/src/collators/lookahead.rs index 188de6bd7b..9ee52f09ce 100644 --- a/client/consensus/src/collators/lookahead.rs +++ b/client/consensus/src/collators/lookahead.rs @@ -719,7 +719,7 @@ where // Build and announce collations recursively until // `can_build_upon` fails or building a collation fails. let (parachain_inherent_data, other_inherent_data) = match collator - .create_inherent_data(relay_parent, &validation_data, parent_hash, None) + .create_inherent_data(relay_parent, &validation_data, parent_hash, None, None) .await { Err(err) => { @@ -759,7 +759,15 @@ where ) .await { - Ok(Some((collation, block_data, new_block_hash))) => { + Ok(Some((collation, block_data))) => { + let Some(new_block_header) = + block_data.blocks().first().map(|b| b.header().clone()) + else { + tracing::error!(target: crate::LOG_TARGET, "Produced PoV doesn't contain any blocks"); + break + }; + let new_block_hash = new_block_header.hash(); + // Here we are assuming that the import logic protects against equivocations // and provides sybil-resistance, as it should. collator @@ -788,7 +796,7 @@ where .await; parent_hash = new_block_hash; - parent_header = block_data.into_header(); + parent_header = new_block_header; } Ok(None) => { tracing::debug!(target: crate::LOG_TARGET, "Lookahead collator: No block proposal"); diff --git a/client/consensus/src/mocks.rs b/client/consensus/src/mocks.rs index c43784dfd8..beb5b7aa39 100644 --- a/client/consensus/src/mocks.rs +++ b/client/consensus/src/mocks.rs @@ -45,8 +45,9 @@ use { polkadot_overseer::dummy::dummy_overseer_builder, polkadot_parachain_primitives::primitives::HeadData, polkadot_primitives::{ - vstaging::CoreState, CollatorPair, CoreIndex, Hash as PHash, OccupiedCoreAssumption, - PersistedValidationData, ScheduledCore, ValidatorId, + vstaging::{CandidateEvent, CoreState}, + CollatorPair, CoreIndex, Hash as PHash, OccupiedCoreAssumption, PersistedValidationData, + ScheduledCore, ValidatorId, }, sc_block_builder::BlockBuilderBuilder, sc_client_api::{ @@ -430,6 +431,10 @@ impl RelayChainInterface for RelayChain { ) -> RelayChainResult>> { unimplemented!("Not needed for test") } + + async fn candidate_events(&self, _: PHash) -> RelayChainResult> { + unimplemented!("Not needed for test") + } } #[derive(Clone)] diff --git a/client/consensus/src/tests.rs b/client/consensus/src/tests.rs index 14f7113bc5..3d5e924b68 100644 --- a/client/consensus/src/tests.rs +++ b/client/consensus/src/tests.rs @@ -216,6 +216,7 @@ async fn collate_returns_correct_block() { &Default::default(), head.clone().hash(), None, + None, ) .await .unwrap(); @@ -255,7 +256,10 @@ async fn collate_returns_correct_block() { .1; // The returned block should be imported and we should be able to get its header by now. - assert!(client.header(res.header().hash()).unwrap().is_some()); + assert!(client + .header(res.blocks()[0].header.hash()) + .unwrap() + .is_some()); } // Tests authorities are correctly returned and eligibility is correctly calculated diff --git a/client/node-common/Cargo.toml b/client/node-common/Cargo.toml index 8a8629a4b0..45ba03165c 100644 --- a/client/node-common/Cargo.toml +++ b/client/node-common/Cargo.toml @@ -11,6 +11,7 @@ version = "0.16.0" workspace = true [dependencies] +async-channel = { workspace = true } async-io = { workspace = true } async-trait = { workspace = true } clap = { workspace = true, features = [ "derive" ] } @@ -80,6 +81,7 @@ polkadot-primitives = { workspace = true } polkadot-service = { workspace = true } # Cumulus +cumulus-client-bootnodes = { workspace = true } cumulus-client-cli = { workspace = true } cumulus-client-collator = { workspace = true } cumulus-client-consensus-common = { workspace = true } diff --git a/client/node-common/src/service/node_builder.rs b/client/node-common/src/service/node_builder.rs index a6116e7089..aec4c45cf8 100644 --- a/client/node-common/src/service/node_builder.rs +++ b/client/node-common/src/service/node_builder.rs @@ -332,16 +332,20 @@ where Arc<(dyn RelayChainInterface + 'static)>, Option, )> { - build_relay_chain_interface( - polkadot_config, - parachain_config, - self.telemetry_worker_handle.clone(), - &mut self.task_manager, - collator_options.clone(), - self.hwbench.clone(), - ) - .await - .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>)) + // FIXME(MD-1374): support DHT bootnodes + let (relay_chain_interface, collator_key, _relay_chain_network, _paranode_rx) = + build_relay_chain_interface( + polkadot_config, + parachain_config, + self.telemetry_worker_handle.clone(), + &mut self.task_manager, + collator_options.clone(), + self.hwbench.clone(), + ) + .await + .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; + + Ok((relay_chain_interface, collator_key)) } /// Given an import queue, calls [`cumulus_client_service::build_network`] and @@ -393,6 +397,13 @@ where let import_queue_service = import_queue.service(); let spawn_handle = task_manager.spawn_handle(); + let metrics = Net::register_notification_metrics( + parachain_config + .prometheus_config + .as_ref() + .map(|config| &config.registry), + ); + let (network, system_rpc_tx, tx_handler_controller, sync_service) = cumulus_client_service::build_network(cumulus_client_service::BuildNetworkParams { parachain_config, @@ -404,6 +415,7 @@ where relay_chain_interface, net_config, sybil_resistance_level: CollatorSybilResistance::Resistant, + metrics, }) .await?; @@ -764,6 +776,7 @@ where import_queue: import_queue_service, recovery_handle: Box::new(overseer_handle), sync_service: network.sync_service.clone(), + prometheus_registry: prometheus_registry.as_ref(), }; // TODO: change for async backing @@ -840,6 +853,7 @@ where relay_chain_slot_duration, recovery_handle: Box::new(overseer_handle.clone()), sync_service: network.sync_service.clone(), + prometheus_registry: prometheus_registry.as_ref(), }; // TODO: change for async backing diff --git a/client/service-container-chain-rpc-provider/src/lib.rs b/client/service-container-chain-rpc-provider/src/lib.rs index 9fca82c7c1..0640b6b69d 100644 --- a/client/service-container-chain-rpc-provider/src/lib.rs +++ b/client/service-container-chain-rpc-provider/src/lib.rs @@ -162,12 +162,7 @@ where let para_id = ParaId::from(para_id); - let started = match self - .config - .network - .network_backend - .unwrap_or(sc_network::config::NetworkBackendType::Libp2p) - { + let started = match self.config.network.network_backend { sc_network::config::NetworkBackendType::Libp2p => { tc_service_orchestrator_chain::parachain::start_parachain_node::< sc_network::NetworkWorker<_, _>, diff --git a/client/service-container-chain-spawner/src/cli.rs b/client/service-container-chain-spawner/src/cli.rs index 062e71fb7b..0f27a330ba 100644 --- a/client/service-container-chain-spawner/src/cli.rs +++ b/client/service-container-chain-spawner/src/cli.rs @@ -83,6 +83,18 @@ pub struct ContainerChainRunCmd { /// It will be removed once is fixed. #[arg(long)] pub experimental_max_pov_percentage: Option, + + /// Disable embedded DHT bootnode. + /// + /// Do not advertise the node as a parachain bootnode on the relay chain DHT. + #[arg(long)] + pub no_dht_bootnode: bool, + + /// Disable DHT bootnode discovery. + /// + /// Disable discovery of the parachain bootnodes via the relay chain DHT. + #[arg(long)] + pub no_dht_bootnode_discovery: bool, } impl ContainerChainRunCmd { @@ -123,7 +135,11 @@ impl ContainerChainRunCmd { _ => RelayChainMode::Embedded, }; - CollatorOptions { relay_chain_mode } + CollatorOptions { + relay_chain_mode, + embedded_dht_bootnode: !self.no_dht_bootnode, + dht_bootnode_discovery: !self.no_dht_bootnode_discovery, + } } } diff --git a/client/service-container-chain-spawner/src/service.rs b/client/service-container-chain-spawner/src/service.rs index d9c1fccbd1..07f802a3d0 100644 --- a/client/service-container-chain-spawner/src/service.rs +++ b/client/service-container-chain-spawner/src/service.rs @@ -269,6 +269,7 @@ pub fn start_node_impl_container< relay_chain_slot_duration, recovery_handle: Box::new(overseer_handle.clone()), sync_service: node_builder.network.sync_service.clone(), + prometheus_registry: prometheus_registry.as_ref(), })?; if let Some(collation_params) = collation_params { diff --git a/client/service-container-chain-spawner/src/spawner.rs b/client/service-container-chain-spawner/src/spawner.rs index ca5eba1836..c07c027232 100644 --- a/client/service-container-chain-spawner/src/spawner.rs +++ b/client/service-container-chain-spawner/src/spawner.rs @@ -397,11 +397,7 @@ async fn try_spawn< container_chain_cli_config.database.set_path(&db_path); let (container_chain_task_manager, container_chain_client, container_chain_db) = - match container_chain_cli_config - .network - .network_backend - .unwrap_or(sc_network::config::NetworkBackendType::Libp2p) - { + match container_chain_cli_config.network.network_backend { sc_network::config::NetworkBackendType::Libp2p => { start_node_impl_container::<_, _, sc_network::NetworkWorker<_, _>>( container_chain_cli_config, diff --git a/client/service-orchestrator-chain/Cargo.toml b/client/service-orchestrator-chain/Cargo.toml index 276934e61e..21e650c7c0 100644 --- a/client/service-orchestrator-chain/Cargo.toml +++ b/client/service-orchestrator-chain/Cargo.toml @@ -71,6 +71,7 @@ polkadot-cli = { workspace = true } polkadot-primitives = { workspace = true } # Cumulus +cumulus-client-bootnodes = { workspace = true } cumulus-client-cli = { workspace = true } cumulus-client-collator = { workspace = true } cumulus-client-consensus-aura = { workspace = true } diff --git a/client/service-orchestrator-chain/src/parachain/mod.rs b/client/service-orchestrator-chain/src/parachain/mod.rs index ba4a66d8b2..05ce827a3b 100644 --- a/client/service-orchestrator-chain/src/parachain/mod.rs +++ b/client/service-orchestrator-chain/src/parachain/mod.rs @@ -16,6 +16,7 @@ pub mod rpc; +use sc_client_api::TrieCacheContext; use { cumulus_client_cli::CollatorOptions, cumulus_client_collator::service::CollatorService, @@ -398,6 +399,7 @@ where relay_chain_slot_duration, recovery_handle: Box::new(overseer_handle.clone()), sync_service: node_builder.network.sync_service.clone(), + prometheus_registry: node_builder.prometheus_registry.as_ref(), })?; let orchestrator_chain_interface_builder = OrchestratorChainInProcessInterfaceBuilder { @@ -665,7 +667,9 @@ where orchestrator_parent: PHash, key: &[u8], ) -> OrchestratorChainResult> { - let state = self.backend.state_at(orchestrator_parent)?; + let state = self + .backend + .state_at(orchestrator_parent, TrieCacheContext::Untrusted)?; state .storage(key) .map_err(OrchestratorChainError::GenericError) @@ -676,7 +680,9 @@ where orchestrator_parent: PHash, relevant_keys: &Vec>, ) -> OrchestratorChainResult { - let state_backend = self.backend.state_at(orchestrator_parent)?; + let state_backend = self + .backend + .state_at(orchestrator_parent, TrieCacheContext::Untrusted)?; sp_state_machine::prove_read(state_backend, relevant_keys) .map_err(OrchestratorChainError::StateMachineError) diff --git a/client/service-orchestrator-chain/src/solochain.rs b/client/service-orchestrator-chain/src/solochain.rs index f824ed79e0..485df97c97 100644 --- a/client/service-orchestrator-chain/src/solochain.rs +++ b/client/service-orchestrator-chain/src/solochain.rs @@ -22,7 +22,6 @@ use { cli::RelayChainCli, service::solochain::RelayAsOrchestratorChainInterfaceBuilder, }, sc_cli::{CliConfiguration, DefaultConfigurationValues, LoggerBuilder, Signals, SubstrateCli}, - sc_network::config::NetworkBackendType, sc_service::{ config::{ExecutorConfiguration, KeystoreConfig, NetworkConfiguration, TransportConfig}, BasePath, BlocksPruning, ChainType, Configuration, DatabaseSource, GenericChainSpec, @@ -121,7 +120,11 @@ pub async fn start_solochain_node( } else { Role::Full }; - let (relay_chain_interface, collator_key) = + // TODO: this node does not implement DHT bootnode advertisement + // Not sure if collators should implement it, maybe not, but data preservers should. + // The problem is that at this point data preservers may not know the para id they will be + // assigned to, and we need that for the input of `start_bootnode_tasks` + let (relay_chain_interface, collator_key, _relay_chain_network, _paranode_rx) = cumulus_client_service::build_relay_chain_interface( polkadot_config, &dummy_parachain_config, @@ -498,13 +501,16 @@ pub fn dummy_config(tokio_handle: tokio::runtime::Handle, base_path: BasePath) - kademlia_disjoint_query_paths: false, kademlia_replication_factor: NonZeroUsize::new(20).unwrap(), ipfs_server: false, - network_backend: Some(NetworkBackendType::Libp2p), + network_backend: Default::default(), + min_peers_to_start_warp_sync: None, + idle_connection_timeout: Default::default(), }, keystore: KeystoreConfig::InMemory, database: DatabaseSource::ParityDb { path: Default::default(), }, trie_cache_maximum_size: None, + warm_up_trie_cache: None, state_pruning: None, blocks_pruning: BlocksPruning::KeepAll, chain_spec: Box::new( diff --git a/pallets/alt-benchmarks/src/bench_parachains_slashing.rs b/pallets/alt-benchmarks/src/bench_parachains_slashing.rs index 05d00c5f19..449a15e49d 100644 --- a/pallets/alt-benchmarks/src/bench_parachains_slashing.rs +++ b/pallets/alt-benchmarks/src/bench_parachains_slashing.rs @@ -185,7 +185,7 @@ mod benchmarks { { result = polkadot_runtime_parachains::disputes::slashing::Pallet::::report_dispute_lost_unsigned( RawOrigin::None.into(), - Box::new(dispute_proof), + Box::new(dispute_proof.into()), key_owner_proof, ); } diff --git a/pallets/author-noting/src/lib.rs b/pallets/author-noting/src/lib.rs index c89ef58d41..16c7da10b2 100644 --- a/pallets/author-noting/src/lib.rs +++ b/pallets/author-noting/src/lib.rs @@ -76,9 +76,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - type ContainerChains: GetContainerChainsWithCollators; type SlotBeacon: SlotBeacon; diff --git a/pallets/author-noting/src/mock.rs b/pallets/author-noting/src/mock.rs index d7599070fe..058ed6bad3 100644 --- a/pallets/author-noting/src/mock.rs +++ b/pallets/author-noting/src/mock.rs @@ -211,7 +211,6 @@ impl RelaychainStateProvider for MockRelayStateProvider { impl Config for Test { type WeightInfo = (); - type RuntimeEvent = RuntimeEvent; type ContainerChainAuthor = MockAuthorFetcher; type SlotBeacon = DummyBeacon; type ContainerChains = MockContainerChainGetter; diff --git a/pallets/collator-assignment/src/benchmarking.rs b/pallets/collator-assignment/src/benchmarking.rs index 1b3c2e5d70..8f9feeeab8 100644 --- a/pallets/collator-assignment/src/benchmarking.rs +++ b/pallets/collator-assignment/src/benchmarking.rs @@ -42,13 +42,15 @@ fn invulnerables(count: u32, seed: u32) -> Vec .collect::>() } -fn assert_event_is_present(generic_event: ::RuntimeEvent) { +fn assert_event_is_present(system_event: ::RuntimeEvent) { let events = frame_system::Pallet::::events(); - let system_event: ::RuntimeEvent = generic_event.into(); - // compare to the last event record - let event_records: Vec<::RuntimeEvent> = - events.iter().map(|i| i.event.clone()).collect(); - assert!(event_records.contains(&system_event)); + // Find event in list + assert!( + events.iter().any(|i| i.event == system_event), + "assert_event_is_present: event not found: {:?}\nAll events:\n{:?}", + system_event, + events + ); } #[benchmarks] diff --git a/pallets/collator-assignment/src/lib.rs b/pallets/collator-assignment/src/lib.rs index fe603f3e6c..7ad208334b 100644 --- a/pallets/collator-assignment/src/lib.rs +++ b/pallets/collator-assignment/src/lib.rs @@ -90,8 +90,6 @@ pub mod pallet { /// Configure the pallet by specifying the parameters and types on which it depends. #[pallet::config] pub trait Config: frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; type SessionIndex: parity_scale_codec::FullCodec + TypeInfo + Copy diff --git a/pallets/collator-assignment/src/mock.rs b/pallets/collator-assignment/src/mock.rs index 38acfb1d3c..bdaba7a38d 100644 --- a/pallets/collator-assignment/src/mock.rs +++ b/pallets/collator-assignment/src/mock.rs @@ -336,7 +336,6 @@ impl Get> for GetCoreAllocationConfiguration } impl pallet_collator_assignment::Config for Test { - type RuntimeEvent = RuntimeEvent; type SessionIndex = u32; type HostConfiguration = HostConfigurationGetter; type ContainerChains = ContainerChainsGetter; diff --git a/pallets/data-preservers/src/lib.rs b/pallets/data-preservers/src/lib.rs index 0ca0d3b357..f5df9d9ef1 100644 --- a/pallets/data-preservers/src/lib.rs +++ b/pallets/data-preservers/src/lib.rs @@ -129,9 +129,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - type RuntimeHoldReason: From; type Currency: Inspect diff --git a/pallets/data-preservers/src/mock.rs b/pallets/data-preservers/src/mock.rs index 0c1c349262..7f3ddb75d3 100644 --- a/pallets/data-preservers/src/mock.rs +++ b/pallets/data-preservers/src/mock.rs @@ -448,7 +448,6 @@ impl pallet_data_preservers::AssignmentProcessor for AssignmentProces } impl pallet_data_preservers::Config for Test { - type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; type Currency = Balances; type ProfileId = u64; diff --git a/pallets/ethereum-token-transfers/src/benchmarking.rs b/pallets/ethereum-token-transfers/src/benchmarking.rs index ac0efaaf8c..8e6893e654 100644 --- a/pallets/ethereum-token-transfers/src/benchmarking.rs +++ b/pallets/ethereum-token-transfers/src/benchmarking.rs @@ -27,12 +27,11 @@ use { sp_core::H160, }; -pub(crate) fn ethereum_token_transfers_events() -> Vec> { - frame_system::Pallet::::events() - .into_iter() - .map(|r| r.event) - .filter_map(|e| ::RuntimeEvent::from(e).try_into().ok()) - .collect::>() +pub(crate) fn ethereum_token_transfers_events() -> Vec> +where + ::RuntimeEvent: TryInto>, +{ + frame_system::Pallet::::read_events_for_pallet::>() } const SEED: u32 = 0; @@ -52,7 +51,11 @@ fn create_funded_user( } #[allow(clippy::multiple_bound_locations)] -#[benchmarks(where T: pallet_balances::Config)] +#[benchmarks(where + T: pallet_balances::Config, + T: crate::Config, + ::RuntimeEvent: TryInto> +)] mod benchmarks { use super::*; diff --git a/pallets/ethereum-token-transfers/src/lib.rs b/pallets/ethereum-token-transfers/src/lib.rs index 9068f36f2d..654781e21a 100644 --- a/pallets/ethereum-token-transfers/src/lib.rs +++ b/pallets/ethereum-token-transfers/src/lib.rs @@ -97,11 +97,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> - + IsType<::RuntimeEvent> - + TryInto>; - /// Currency to handle fees and internal native transfers. type Currency: fungible::Inspect> + fungible::Mutate; diff --git a/pallets/ethereum-token-transfers/src/mock.rs b/pallets/ethereum-token-transfers/src/mock.rs index d764c1d83e..bb51a93070 100644 --- a/pallets/ethereum-token-transfers/src/mock.rs +++ b/pallets/ethereum-token-transfers/src/mock.rs @@ -204,7 +204,6 @@ impl MaybeEquivalence for MockTokenIdConvert { } impl pallet_ethereum_token_transfers::Config for Test { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type OutboundQueue = MockOkOutboundQueue; type EthereumSystemHandler = EthereumSystemHandler; diff --git a/pallets/external-validator-slashes/src/lib.rs b/pallets/external-validator-slashes/src/lib.rs index 9cff9cf5ad..093c8ba505 100644 --- a/pallets/external-validator-slashes/src/lib.rs +++ b/pallets/external-validator-slashes/src/lib.rs @@ -91,9 +91,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// A stable ID for a validator. type ValidatorId: Member + Parameter diff --git a/pallets/external-validator-slashes/src/mock.rs b/pallets/external-validator-slashes/src/mock.rs index c1e61b8cbb..d5874541f7 100644 --- a/pallets/external-validator-slashes/src/mock.rs +++ b/pallets/external-validator-slashes/src/mock.rs @@ -246,7 +246,6 @@ parameter_types! { } impl external_validator_slashes::Config for Test { - type RuntimeEvent = RuntimeEvent; type ValidatorId = ::AccountId; type ValidatorIdOf = IdentityValidator; type SlashDeferDuration = DeferPeriodGetter; @@ -270,6 +269,7 @@ impl sp_runtime::traits::Convert> for FullIdentificationOf } impl pallet_session::historical::Config for Test { + type RuntimeEvent = RuntimeEvent; type FullIdentification = (); type FullIdentificationOf = FullIdentificationOf; } diff --git a/pallets/external-validators-rewards/src/lib.rs b/pallets/external-validators-rewards/src/lib.rs index 8d6713bc57..32fe6eda52 100644 --- a/pallets/external-validators-rewards/src/lib.rs +++ b/pallets/external-validators-rewards/src/lib.rs @@ -77,9 +77,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// How to fetch the current era info. type EraIndexProvider: EraIndexProvider; diff --git a/pallets/external-validators-rewards/src/mock.rs b/pallets/external-validators-rewards/src/mock.rs index ee32b07ab9..09fc933e80 100644 --- a/pallets/external-validators-rewards/src/mock.rs +++ b/pallets/external-validators-rewards/src/mock.rs @@ -160,7 +160,6 @@ parameter_types! { } impl pallet_external_validators_rewards::Config for Test { - type RuntimeEvent = RuntimeEvent; type EraIndexProvider = Mock; type HistoryDepth = ConstU32<10>; type BackingPoints = ConstU32<20>; diff --git a/pallets/external-validators/src/benchmarking.rs b/pallets/external-validators/src/benchmarking.rs index 4eddf73ba0..deaf42d77a 100644 --- a/pallets/external-validators/src/benchmarking.rs +++ b/pallets/external-validators/src/benchmarking.rs @@ -30,9 +30,8 @@ use { }; const SEED: u32 = 0; -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(system_event: ::RuntimeEvent) { let events = frame_system::Pallet::::events(); - let system_event: ::RuntimeEvent = generic_event.into(); // compare to the last event record let EventRecord { event, .. } = &events[events.len() - 1]; assert_eq!(event, &system_event); diff --git a/pallets/external-validators/src/lib.rs b/pallets/external-validators/src/lib.rs index 1f3a941731..a75457e70b 100644 --- a/pallets/external-validators/src/lib.rs +++ b/pallets/external-validators/src/lib.rs @@ -81,9 +81,6 @@ pub mod pallet { /// Configure the pallet by specifying the parameters and types on which it depends. #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// Origin that can dictate updating parameters of this pallet. type UpdateOrigin: EnsureOrigin; diff --git a/pallets/external-validators/src/mock.rs b/pallets/external-validators/src/mock.rs index c6800483d9..d5b5352ba1 100644 --- a/pallets/external-validators/src/mock.rs +++ b/pallets/external-validators/src/mock.rs @@ -128,7 +128,6 @@ parameter_types! { } impl Config for Test { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureSignedBy; type HistoryDepth = ConstU32<84>; type MaxWhitelistedValidators = ConstU32<20>; diff --git a/pallets/inactivity-tracking/src/lib.rs b/pallets/inactivity-tracking/src/lib.rs index 3650218be8..80afb3136e 100644 --- a/pallets/inactivity-tracking/src/lib.rs +++ b/pallets/inactivity-tracking/src/lib.rs @@ -133,9 +133,6 @@ pub mod pallet { pub struct Pallet(PhantomData); #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// The maximum number of sessions for which a collator can be inactive /// before being moved to the offline queue #[pallet::constant] @@ -299,6 +296,7 @@ pub mod pallet { /// Allows a collator to mark itself offline. #[pallet::call_index(2)] #[pallet::weight(T::WeightInfo::set_offline())] + #[allow(clippy::useless_conversion)] pub fn set_offline(origin: OriginFor) -> DispatchResultWithPostInfo { let collator = ensure_signed(origin)?; Self::mark_collator_offline(&collator, None) @@ -307,6 +305,7 @@ pub mod pallet { /// Allows a collator to mark itself online. #[pallet::call_index(3)] #[pallet::weight(T::WeightInfo::set_online())] + #[allow(clippy::useless_conversion)] pub fn set_online(origin: OriginFor) -> DispatchResultWithPostInfo { let collator = ensure_signed(origin)?; Self::mark_collator_online(&collator) @@ -315,6 +314,7 @@ pub mod pallet { /// Allows an account to notify inactive collator to be marked offline. #[pallet::call_index(4)] #[pallet::weight(T::WeightInfo::notify_inactive_collator())] + #[allow(clippy::useless_conversion)] pub fn notify_inactive_collator( origin: OriginFor, collator: Collator, diff --git a/pallets/inactivity-tracking/src/mock.rs b/pallets/inactivity-tracking/src/mock.rs index 8a25141eb7..4e24986dff 100644 --- a/pallets/inactivity-tracking/src/mock.rs +++ b/pallets/inactivity-tracking/src/mock.rs @@ -226,7 +226,6 @@ impl tp_traits::StakingCandidateHelper for MockCollatorStakeHelper; type MaxCollatorsPerSession = ConstU32<5>; type MaxContainerChains = ConstU32<3>; diff --git a/pallets/inflation-rewards/src/lib.rs b/pallets/inflation-rewards/src/lib.rs index dba921a19c..c4e19c1533 100644 --- a/pallets/inflation-rewards/src/lib.rs +++ b/pallets/inflation-rewards/src/lib.rs @@ -151,9 +151,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - type Currency: Inspect + Balanced; type ContainerChains: GetCurrentContainerChains; diff --git a/pallets/inflation-rewards/src/mock.rs b/pallets/inflation-rewards/src/mock.rs index 05a56ed55e..3232409641 100644 --- a/pallets/inflation-rewards/src/mock.rs +++ b/pallets/inflation-rewards/src/mock.rs @@ -215,7 +215,6 @@ parameter_types! { } impl pallet_inflation_rewards::Config for Test { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ContainerChains = MockContainerChainGetter; type GetSelfChainBlockAuthor = MockGetSelfChainBlockAuthor; diff --git a/pallets/invulnerables/src/benchmarking.rs b/pallets/invulnerables/src/benchmarking.rs index 5857e7e72f..5254a6f496 100644 --- a/pallets/invulnerables/src/benchmarking.rs +++ b/pallets/invulnerables/src/benchmarking.rs @@ -35,9 +35,8 @@ use { }; const SEED: u32 = 0; -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(system_event: ::RuntimeEvent) { let events = frame_system::Pallet::::events(); - let system_event: ::RuntimeEvent = generic_event.into(); // compare to the last event record let EventRecord { event, .. } = &events[events.len() - 1]; assert_eq!(event, &system_event); diff --git a/pallets/invulnerables/src/lib.rs b/pallets/invulnerables/src/lib.rs index 44755bf6e0..6e04419e37 100644 --- a/pallets/invulnerables/src/lib.rs +++ b/pallets/invulnerables/src/lib.rs @@ -68,9 +68,6 @@ pub mod pallet { /// Configure the pallet by specifying the parameters and types on which it depends. #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// Origin that can dictate updating parameters of this pallet. type UpdateOrigin: EnsureOrigin; diff --git a/pallets/invulnerables/src/mock.rs b/pallets/invulnerables/src/mock.rs index cb5661cde5..93802548e4 100644 --- a/pallets/invulnerables/src/mock.rs +++ b/pallets/invulnerables/src/mock.rs @@ -115,7 +115,6 @@ impl ValidatorRegistration for IsRegistered { } impl Config for Test { - type RuntimeEvent = RuntimeEvent; type UpdateOrigin = EnsureSignedBy; type MaxInvulnerables = ConstU32<20>; type CollatorId = ::AccountId; diff --git a/pallets/ocw-testing/src/lib.rs b/pallets/ocw-testing/src/lib.rs index 2d3563a1f6..dd99cc18ca 100644 --- a/pallets/ocw-testing/src/lib.rs +++ b/pallets/ocw-testing/src/lib.rs @@ -37,9 +37,6 @@ pub mod pallet { pub trait Config: CreateSignedTransaction> + CreateInherent> + frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// Number of blocks of cooldown after unsigned transaction is included. /// /// This ensures that we only accept unsigned transactions once, every `UnsignedInterval` @@ -186,7 +183,7 @@ impl Pallet { let call = Call::submit_event_unsigned { block_number }; - let xt = T::create_inherent(call.into()); + let xt = T::create_bare(call.into()); SubmitTransaction::>::submit_transaction(xt) .map_err(|()| "Unable to submit unsigned transaction.")?; diff --git a/pallets/oubound-message-commitment-recorder/src/lib.rs b/pallets/oubound-message-commitment-recorder/src/lib.rs index 2ee313ca52..246258008e 100644 --- a/pallets/oubound-message-commitment-recorder/src/lib.rs +++ b/pallets/oubound-message-commitment-recorder/src/lib.rs @@ -32,10 +32,7 @@ pub mod pallet { /// Configure the pallet by specifying the parameters and types on which it depends. #[pallet::config] - pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - } + pub trait Config: frame_system::Config {} #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] diff --git a/pallets/pooled-staking/src/benchmarking.rs b/pallets/pooled-staking/src/benchmarking.rs index f24fc2e4be..9de6737f36 100644 --- a/pallets/pooled-staking/src/benchmarking.rs +++ b/pallets/pooled-staking/src/benchmarking.rs @@ -40,9 +40,8 @@ fn min_candidate_stk() -> T::Balance { <::MinimumSelfDelegation as Get>::get() } -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(system_event: ::RuntimeEvent) { let events = frame_system::Pallet::::events(); - let system_event: ::RuntimeEvent = generic_event.into(); // compare to the last event record let EventRecord { event, .. } = &events[events.len() - 1]; assert_eq!(event, &system_event); diff --git a/pallets/pooled-staking/src/lib.rs b/pallets/pooled-staking/src/lib.rs index a0516efc70..b9dfe1cdd7 100644 --- a/pallets/pooled-staking/src/lib.rs +++ b/pallets/pooled-staking/src/lib.rs @@ -77,7 +77,7 @@ pub mod pallet { frame_support::{ pallet_prelude::*, storage::types::{StorageDoubleMap, StorageValue, ValueQuery}, - traits::{fungible, tokens::Balance, IsType}, + traits::{fungible, tokens::Balance}, Blake2_128Concat, }, frame_system::pallet_prelude::*, @@ -285,8 +285,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type - type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// The currency type. /// Shares will use the same Balance type. type Currency: fungible::Inspect diff --git a/pallets/pooled-staking/src/mock.rs b/pallets/pooled-staking/src/mock.rs index 8c0a86b939..cd9aacec84 100644 --- a/pallets/pooled-staking/src/mock.rs +++ b/pallets/pooled-staking/src/mock.rs @@ -162,7 +162,6 @@ parameter_types! { } impl pallet_pooled_staking::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type Balance = Balance; type StakingAccount = StakingAccount; diff --git a/pallets/registrar/src/lib.rs b/pallets/registrar/src/lib.rs index 10b5555426..3fcbf49cd3 100644 --- a/pallets/registrar/src/lib.rs +++ b/pallets/registrar/src/lib.rs @@ -137,9 +137,6 @@ pub mod pallet { /// Configure the pallet by specifying the parameters and types on which it depends. #[pallet::config] pub trait Config: frame_system::Config { - /// Because this pallet emits events, it depends on the runtime's definition of an event. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// Origin that is allowed to call maintenance extrinsics for container owner type RegistrarOrigin: EnsureOriginWithArg; diff --git a/pallets/registrar/src/mock.rs b/pallets/registrar/src/mock.rs index 7f420a6ba8..34d573049b 100644 --- a/pallets/registrar/src/mock.rs +++ b/pallets/registrar/src/mock.rs @@ -138,7 +138,6 @@ parameter_types! { pub const DataDepositPerByte: Balance = 1; } impl pallet_registrar::Config for Test { - type RuntimeEvent = RuntimeEvent; type RegistrarOrigin = frame_system::EnsureRoot; type MarkValidForCollatingOrigin = frame_system::EnsureRoot; type MaxLengthParaIds = ConstU32<1000>; diff --git a/pallets/services-payment/src/lib.rs b/pallets/services-payment/src/lib.rs index a52ac01327..a2e747b41f 100644 --- a/pallets/services-payment/src/lib.rs +++ b/pallets/services-payment/src/lib.rs @@ -61,8 +61,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Handlers for fees type OnChargeForBlock: OnUnbalanced>; type OnChargeForCollatorAssignment: OnUnbalanced>; diff --git a/pallets/services-payment/src/mock.rs b/pallets/services-payment/src/mock.rs index 5cad40a0f2..f20a6752cb 100644 --- a/pallets/services-payment/src/mock.rs +++ b/pallets/services-payment/src/mock.rs @@ -105,7 +105,6 @@ parameter_types! { } impl pallet_services_payment::Config for Test { - type RuntimeEvent = RuntimeEvent; type OnChargeForBlock = (); type OnChargeForCollatorAssignment = (); type OnChargeForCollatorAssignmentTip = (); diff --git a/pallets/stream-payment/src/benchmarking.rs b/pallets/stream-payment/src/benchmarking.rs index 11d338e3da..9b3f58394a 100644 --- a/pallets/stream-payment/src/benchmarking.rs +++ b/pallets/stream-payment/src/benchmarking.rs @@ -41,9 +41,8 @@ fn create_funded_user( user } -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(system_event: ::RuntimeEvent) { let events = frame_system::Pallet::::events(); - let system_event: ::RuntimeEvent = generic_event.into(); // compare to the last event record let EventRecord { event, .. } = &events[events.len() - 1]; assert_eq!(event, &system_event); diff --git a/pallets/stream-payment/src/lib.rs b/pallets/stream-payment/src/lib.rs index 16496634c8..2b5f51ec45 100644 --- a/pallets/stream-payment/src/lib.rs +++ b/pallets/stream-payment/src/lib.rs @@ -126,9 +126,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// Type used to represent stream ids. Should be large enough to not overflow. type StreamId: AtLeast32BitUnsigned + Default diff --git a/pallets/stream-payment/src/mock.rs b/pallets/stream-payment/src/mock.rs index 7828d6acc6..78ad11228d 100644 --- a/pallets/stream-payment/src/mock.rs +++ b/pallets/stream-payment/src/mock.rs @@ -268,7 +268,6 @@ parameter_types! { } impl pallet_stream_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StreamId = u64; type TimeUnit = TimeUnit; type Balance = Balance; diff --git a/pallets/xcm-core-buyer/src/benchmarks.rs b/pallets/xcm-core-buyer/src/benchmarks.rs index 569028b122..48ca4e3eea 100644 --- a/pallets/xcm-core-buyer/src/benchmarks.rs +++ b/pallets/xcm-core-buyer/src/benchmarks.rs @@ -44,13 +44,14 @@ mod benchmarks { sp_runtime::RuntimeAppPublic, xcm::{ latest::{MaybeErrorCode, QueryId}, - v5::{Location, Response}, + v5::{Location, Response, SendXcm}, }, }; #[benchmark] fn buy_core() { let caller: T::AccountId = whitelisted_caller(); + T::XcmSender::ensure_successful_delivery(Some(Location::parent())); assert_ok!(Pallet::::set_relay_xcm_weight_config( RawOrigin::Root.into(), Some(RelayXcmWeightConfigInner { @@ -105,6 +106,7 @@ mod benchmarks { #[benchmark] fn force_buy_core() { + T::XcmSender::ensure_successful_delivery(Some(Location::parent())); assert_ok!(Pallet::::set_relay_xcm_weight_config( RawOrigin::Root.into(), Some(RelayXcmWeightConfigInner { diff --git a/pallets/xcm-core-buyer/src/lib.rs b/pallets/xcm-core-buyer/src/lib.rs index d406924589..b983c18ac4 100644 --- a/pallets/xcm-core-buyer/src/lib.rs +++ b/pallets/xcm-core-buyer/src/lib.rs @@ -158,8 +158,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; type Currency: Inspect + Balanced; type XcmSender: SendXcm; @@ -689,9 +687,14 @@ pub mod pallet { .set_appendix( Xcm::builder_unsafe() .report_transact_status(QueryResponseInfo { + // This location from the point of view of destination destination: T::UniversalLocation::get() .invert_target(&relay_chain) - .map_err(|_| Error::::LocationInversionFailed)?, // This location from the point of view of destination + .map_err(|e| { + log::error!("invert_target: {:?}", e); + + Error::::LocationInversionFailed + })?, query_id, max_weight: notify_call_weight, }) @@ -704,9 +707,16 @@ pub mod pallet { // We intentionally do not charge any fees let (ticket, _price) = - T::XcmSender::validate(&mut Some(relay_chain), &mut Some(message)) - .map_err(|_| Error::::ErrorValidatingXCM)?; - T::XcmSender::deliver(ticket).map_err(|_| Error::::ErrorDeliveringXCM)?; + T::XcmSender::validate(&mut Some(relay_chain), &mut Some(message)).map_err( + |e| { + log::error!("XcmSender::validate: {:?}", e); + Error::::ErrorValidatingXCM + }, + )?; + T::XcmSender::deliver(ticket).map_err(|e| { + log::error!("XcmSender::deliver: {:?}", e); + Error::::ErrorDeliveringXCM + })?; Self::deposit_event(Event::BuyCoreXcmSent { para_id, transaction_status_query_id: query_id, diff --git a/pallets/xcm-core-buyer/src/mock.rs b/pallets/xcm-core-buyer/src/mock.rs index 1a8df19129..7d8ba72303 100644 --- a/pallets/xcm-core-buyer/src/mock.rs +++ b/pallets/xcm-core-buyer/src/mock.rs @@ -218,7 +218,6 @@ parameter_types! { } impl pallet_xcm_core_buyer::Config for Test { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type XcmSender = DevNull; type GetPurchaseCoreCall = EncodedCallToBuyCore; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8861a82cb8..842d8e1d1c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3703,6 +3703,7 @@ packages: resolution: {integrity: sha512-Quz3MvAwHxVYNXsOByL7xI5EB2WYOeFswqaHIA3qOK3isRWTxiplBEocmmru6XmxDB2L7jDNYtYA4FyimoAFEw==} engines: {node: '>=8.17.0'} hasBin: true + bundledDependencies: [] jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} diff --git a/primitives/author-noting-inherent/src/tests.rs b/primitives/author-noting-inherent/src/tests.rs index 262d8c71a6..c0d6f697c5 100644 --- a/primitives/author-noting-inherent/src/tests.rs +++ b/primitives/author-noting-inherent/src/tests.rs @@ -17,7 +17,10 @@ use { crate::{tests::mock_relay_chain_impl::MyMockRelayInterface, OwnParachainInherentData}, cumulus_pallet_parachain_system::RelayChainStateProof, - cumulus_primitives_core::relay_chain::{vstaging::CoreState, BlakeTwo256, BlockNumber}, + cumulus_primitives_core::relay_chain::{ + vstaging::{CandidateEvent, CoreState}, + BlakeTwo256, BlockNumber, + }, dp_core::well_known_keys::para_id_head, futures::executor::block_on, hex_literal::hex, @@ -296,6 +299,10 @@ mod mock_relay_chain_impl { ) -> RelayChainResult>> { unimplemented!("Not needed for test") } + + async fn candidate_events(&self, _: PHash) -> RelayChainResult> { + unimplemented!("Not needed for test") + } } } diff --git a/primitives/bridge/src/container_token_to_ethereum_message_exporter.rs b/primitives/bridge/src/container_token_to_ethereum_message_exporter.rs index f3ee843c56..06531d0f9c 100644 --- a/primitives/bridge/src/container_token_to_ethereum_message_exporter.rs +++ b/primitives/bridge/src/container_token_to_ethereum_message_exporter.rs @@ -90,7 +90,7 @@ where } // Cloning destination to avoid modifying the value so subsequent exporters can use it. - let dest = destination.clone().take().ok_or(MissingArgument)?; + let dest = destination.clone().ok_or(MissingArgument)?; if dest != Here { log::trace!(target: "xcm::container_ethereum_blob_exporter", "skipped due to unmatched remote destination {dest:?}."); return Err(NotApplicable); @@ -98,7 +98,6 @@ where // Cloning universal_source to avoid modifying the value so subsequent exporters can use it. let (local_net, local_sub) = universal_source.clone() - .take() .ok_or_else(|| { log::error!(target: "xcm::container_ethereum_blob_exporter", "universal source not provided."); MissingArgument diff --git a/primitives/bridge/src/snowbridge_outbound_token_transfer.rs b/primitives/bridge/src/snowbridge_outbound_token_transfer.rs index c3e93257be..db23f6d041 100644 --- a/primitives/bridge/src/snowbridge_outbound_token_transfer.rs +++ b/primitives/bridge/src/snowbridge_outbound_token_transfer.rs @@ -90,10 +90,7 @@ where } // Cloning destination to avoid modifying the value so subsequent exporters can use it. - let dest = destination - .clone() - .take() - .ok_or(SendError::MissingArgument)?; + let dest = destination.clone().ok_or(SendError::MissingArgument)?; if dest != Here { log::trace!(target: "xcm::ethereum_blob_exporter", "skipped due to unmatched remote destination {dest:?}."); return Err(SendError::NotApplicable); @@ -101,7 +98,6 @@ where // Cloning universal_source to avoid modifying the value so subsequent exporters can use it. let (local_net, local_sub) = universal_source.clone() - .take() .ok_or_else(|| { log::error!(target: "xcm::ethereum_blob_exporter", "universal source not provided."); SendError::MissingArgument diff --git a/rust-toolchain b/rust-toolchain index 3eca8c776d..a2e000f0f2 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -channel = "1.84.1" +channel = "1.88.0" components = [ "rustfmt", "clippy", "rust-src" ] targets = [ "wasm32v1-none" ] profile = "minimal" diff --git a/test/configs/zombie_data_preservers_embedded_dancebox.json b/test/configs/zombie_data_preservers_embedded_dancebox.json index 9b82743e35..2b260bcff3 100644 --- a/test/configs/zombie_data_preservers_embedded_dancebox.json +++ b/test/configs/zombie_data_preservers_embedded_dancebox.json @@ -69,7 +69,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31001" ] }, { @@ -79,7 +80,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31002" ] }, { @@ -89,7 +91,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31003" ] }, { @@ -99,7 +102,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31004" ] }, { @@ -109,7 +113,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31005" ] }, { @@ -119,7 +124,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31006" ] }, { diff --git a/test/configs/zombie_data_preservers_remote_dancebox.json b/test/configs/zombie_data_preservers_remote_dancebox.json index 95550b3576..b61162b010 100644 --- a/test/configs/zombie_data_preservers_remote_dancebox.json +++ b/test/configs/zombie_data_preservers_remote_dancebox.json @@ -69,7 +69,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31001" ] }, { @@ -79,7 +80,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31002" ] }, { @@ -89,7 +91,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31003" ] }, { @@ -99,7 +102,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31004" ] }, { @@ -109,7 +113,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31005" ] }, { @@ -119,7 +124,8 @@ "--no-hardware-benchmarks", "--database=paritydb", "--wasmtime-precompiled=wasm", - "--pool-type=fork-aware" + "--pool-type=fork-aware", + "-- --port 31006" ] }, { diff --git a/test/polkadotReleaseMapping.json b/test/polkadotReleaseMapping.json index 81cc0000ad..a681d73d53 100644 --- a/test/polkadotReleaseMapping.json +++ b/test/polkadotReleaseMapping.json @@ -13,5 +13,10 @@ "polkadot": "5c1dfa939fdc70112f9bbbfaa92d9dfbe31e5a4a576b940c0ce523c24b1730b8", "polkadot-execute-worker": "672a1b968bd50f2ada1e6d4db572c334d5ca0a9ef8d6e6f77faf7cfc08296220", "polkadot-prepare-worker": "af7354c9382b27f63a51a8e5185b0bfc765b9e0c662ce184393e916a2417a067" + }, + "stable2506": { + "polkadot": "6ffc9c3e491515c9803f03c89e4d681664763bdc6c47042bc72c305ee208e2c8", + "polkadot-execute-worker": "a840a8bc972d45501bdd3d0940bf78f6713b583a822b52ca074a73f3de465e91", + "polkadot-prepare-worker": "6230051a0779cc8d17ed83bad25bffd1f0d5d3ab58d11fec5dc57c42c35f2734" } } \ No newline at end of file diff --git a/test/suites/common-xcm-parachain/xcm/test-xcm-dry-run-api.ts b/test/suites/common-xcm-parachain/xcm/test-xcm-dry-run-api.ts index 2e7f2ac32c..f7a9beaa97 100644 --- a/test/suites/common-xcm-parachain/xcm/test-xcm-dry-run-api.ts +++ b/test/suites/common-xcm-parachain/xcm/test-xcm-dry-run-api.ts @@ -24,6 +24,10 @@ describeSuite({ : new Keyring({ type: "sr25519" }).addFromUri("//Alice", { name: "Alice default", }); + // In stable2506 the dry run call breaks if the current block is still 0, returning error + // dryRunCall.asOk.executionResult.err.error.module { index: 53, error: '0x01000000' } + // The fix is to create 1 block, so the current block is 1 in tests. + await context.createBlock(); }); it({ @@ -83,6 +87,13 @@ describeSuite({ "Unlimited" ); + // If this test fails, uncomment this to check if actually sending the tx works. + /* + const result = await context.createBlock(await tx.signAsync(alice)); + console.log(result); + return; + */ + const XCM_VERSION = 3; const dryRunCall = await polkadotJs.call.dryRunApi.dryRunCall( { System: { signed: alice.address } }, @@ -91,6 +102,15 @@ describeSuite({ ); expect(dryRunCall.isOk).to.be.true; + + // Log error in case of failure + if (dryRunCall.asOk.executionResult.toJSON().err) { + console.log( + "dryRunCall.asOk.executionResult.err.error.module", + dryRunCall.asOk.executionResult.toJSON().err.error.module + ); + } + expect(dryRunCall.asOk.executionResult.isOk).be.true; }, }); diff --git a/test/suites/dev-frontier-template/test-evm/test-evm-maintenance-mode.ts b/test/suites/dev-frontier-template/test-evm/test-evm-maintenance-mode.ts index dd16b832ce..746ce2ae9a 100644 --- a/test/suites/dev-frontier-template/test-evm/test-evm-maintenance-mode.ts +++ b/test/suites/dev-frontier-template/test-evm/test-evm-maintenance-mode.ts @@ -43,6 +43,7 @@ describeSuite({ 1_000_000_000n, "0", null, + [], [] ); expect(await context.createBlock([await tx.signAsync(alith)]).catch((e) => e.toString())).to.equal( @@ -77,6 +78,7 @@ describeSuite({ 100_000_000_000_000n, "0", null, + [], [] ) ) diff --git a/test/suites/dev-frontier-template/test-evm/test-evm-transfer-origints.ts b/test/suites/dev-frontier-template/test-evm/test-evm-transfer-origints.ts index 29583db3f0..0c9381e901 100644 --- a/test/suites/dev-frontier-template/test-evm/test-evm-transfer-origints.ts +++ b/test/suites/dev-frontier-template/test-evm/test-evm-transfer-origints.ts @@ -25,6 +25,7 @@ describeSuite({ 1_000_000_000n, "0", null, + [], [] ); expect(await context.createBlock([await tx.signAsync(alith)]).catch((e) => e.toString())).to.equal( @@ -56,6 +57,7 @@ describeSuite({ 100_000_000_000_000n, "0", null, + [], [] ) ) diff --git a/test/suites/dev-tanssi-relay/xcm/test-export-expected--errors.ts b/test/suites/dev-tanssi-relay/xcm/test-export-expected--errors.ts index 68c7c7f80c..91de666137 100644 --- a/test/suites/dev-tanssi-relay/xcm/test-export-expected--errors.ts +++ b/test/suites/dev-tanssi-relay/xcm/test-export-expected--errors.ts @@ -196,7 +196,7 @@ describeSuite({ const errorEvents = await retrieveDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0]).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0]).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -257,7 +257,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -317,7 +317,7 @@ describeSuite({ await context.createBlock(polkadotJs.tx.sudo.sudo(executeMessageTx).signAsync(alice)); const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -379,7 +379,7 @@ describeSuite({ await context.createBlock(polkadotJs.tx.sudo.sudo(executeMessageTx).signAsync(alice)); const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -440,7 +440,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -497,7 +497,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -583,7 +583,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -686,7 +686,7 @@ describeSuite({ const errorEvents = await retrieveBatchDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of retrieveBatchDispatchErrorsf error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -775,7 +775,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); }, diff --git a/test/suites/dev-tanssi-relay/xcm/test-export-expected-errors.ts b/test/suites/dev-tanssi-relay/xcm/test-export-expected-errors.ts index d9bed1b74c..d221bdafda 100644 --- a/test/suites/dev-tanssi-relay/xcm/test-export-expected-errors.ts +++ b/test/suites/dev-tanssi-relay/xcm/test-export-expected-errors.ts @@ -196,7 +196,7 @@ describeSuite({ const errorEvents = await retrieveDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0]).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0]).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -257,7 +257,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -317,7 +317,7 @@ describeSuite({ await context.createBlock(polkadotJs.tx.sudo.sudo(executeMessageTx).signAsync(alice)); const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -379,7 +379,7 @@ describeSuite({ await context.createBlock(polkadotJs.tx.sudo.sudo(executeMessageTx).signAsync(alice)); const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -440,7 +440,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -497,7 +497,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -583,7 +583,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -700,7 +700,7 @@ describeSuite({ const errorEvents = await retrieveBatchDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of retrieveBatchDispatchErrorsf error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); @@ -789,7 +789,7 @@ describeSuite({ const errorEvents = await retrieveSudoDispatchErrors(context.polkadotJs()); expect(errorEvents.length, "Amount of error events should be 1").toBe(1); - expect(errorEvents[0].method).to.be.eq("LocalExecutionIncomplete"); + expect(errorEvents[0].method).to.be.eq("LocalExecutionIncompleteWithError"); }, }); }, diff --git a/test/suites/rt-upgrade-chopsticks-frontier-template/test-upgrade-chain.ts b/test/suites/rt-upgrade-chopsticks-frontier-template/test-upgrade-chain.ts index a101593d99..55ea385225 100644 --- a/test/suites/rt-upgrade-chopsticks-frontier-template/test-upgrade-chain.ts +++ b/test/suites/rt-upgrade-chopsticks-frontier-template/test-upgrade-chain.ts @@ -5,7 +5,6 @@ import { alith, generateKeyringPair } from "@moonwall/util"; import type { ApiPromise } from "@polkadot/api"; import { chopsticksWaitTillIncluded, testPalletVersions } from "utils"; -const MAX_BALANCE_TRANSFER_TRIES = 5; describeSuite({ id: "R01", title: "Chopsticks Frontier Template Upgrade Test", diff --git a/test/suites/zombie_dancebox_upgrade/test_zombie_dancebox_upgrade.ts b/test/suites/zombie_dancebox_upgrade/test_zombie_dancebox_upgrade.ts index 6c0d1e02f3..d4da16f1f1 100644 --- a/test/suites/zombie_dancebox_upgrade/test_zombie_dancebox_upgrade.ts +++ b/test/suites/zombie_dancebox_upgrade/test_zombie_dancebox_upgrade.ts @@ -59,8 +59,8 @@ describeSuite({ } log("Runtime not upgraded, proceeding with test"); log("Current runtime spec version:", rtBefore); - log(`Current runtime hash: ${rtHex.slice(0, 10)}...${rtHex.slice(-10)}`); - log(`New runtime hash: ${codeString.slice(0, 10)}...${codeString.slice(-10)}`); + log(`Current runtime bytes: ${rtHex.slice(0, 10)}...${rtHex.slice(-10)}`); + log(`New runtime bytes: ${codeString.slice(0, 10)}...${codeString.slice(-10)}`); await context.upgradeRuntime({ from: alice }); await context.waitBlock(2); diff --git a/test/suites/zombie_data_preservers_dancebox/test_zombie_data_preservers.ts b/test/suites/zombie_data_preservers_dancebox/test_zombie_data_preservers.ts index a958eebe76..34e690cdeb 100644 --- a/test/suites/zombie_data_preservers_dancebox/test_zombie_data_preservers.ts +++ b/test/suites/zombie_data_preservers_dancebox/test_zombie_data_preservers.ts @@ -6,7 +6,7 @@ import { ApiPromise, Keyring, WsProvider } from "@polkadot/api"; import { u8aToHex } from "@polkadot/util"; import { decodeAddress } from "@polkadot/util-crypto"; import { WebSocketProvider, ethers, parseUnits } from "ethers"; -import { getHeaderFromRelay, getTmpZombiePath, signAndSendAndInclude, waitForLogs } from "utils"; +import { getHeaderFromRelay, getTmpZombiePath, signAndSendAndInclude, waitForLogs, sleep } from "utils"; // Checks every second the log file to find the watcher best block notification until it is found or // timeout is reached. If timeout is reached, throws an error. @@ -209,8 +209,26 @@ describeSuite({ }, }); + it({ + id: "T07b", + title: "RPC endpoint 2001 is synced to latest block", + test: async () => { + const wsProvider = new WsProvider("ws://127.0.0.1:9952"); + dataProvider2001Api = await ApiPromise.create({ provider: wsProvider }); + + while (true) { + const blockNum = (await dataProvider2001Api.rpc.chain.getBlock()).block.header.number.toNumber(); + if (blockNum > 0) { + break; + } + await sleep(1000); + } + }, + }); + it({ id: "T08", + timeout: 120_000, title: "RPC endpoint 2001 is Ethereum compatible", test: async () => { const url = "ws://127.0.0.1:9952"; @@ -219,31 +237,17 @@ describeSuite({ const signer = new ethers.Wallet(BALTATHAR_PRIVATE_KEY, customHttpProvider); + const balanceBefore = await customHttpProvider.getBalance(CHARLETH_ADDRESS); // Try to send a test transaction. - // Ideally this could be done in one line, but there is a strange bug somewhere - // that causes transactions to never be included. As a workaround, we set a 60 - // second timeout and retry sending the same transaction, and for some reason that - // fixes the bug. - for (let i = 0; i <= 5; i++) { - if (i === 5) { - expect.fail("failed to send tx"); - } - try { - const nonce = await customHttpProvider.getTransactionCount(BALTATHAR_ADDRESS); - const tx = await signer.sendTransaction({ - to: CHARLETH_ADDRESS, - value: parseUnits("0.001", "ether"), - nonce, - }); - - await customHttpProvider.waitForTransaction(tx.hash, 1, 60_000); - // Transaction included, don't need to try again - break; - } catch (e) { - console.log("tx inclusion failed: ", e); - } - } - expect(Number(await customHttpProvider.getBalance(CHARLETH_ADDRESS))).to.be.greaterThan(0); + const nonce = await customHttpProvider.getTransactionCount(BALTATHAR_ADDRESS); + const tx = await signer.sendTransaction({ + to: CHARLETH_ADDRESS, + value: parseUnits("0.001", "ether"), + nonce, + }); + await customHttpProvider.waitForTransaction(tx.hash, 1, 119_000); + const balanceAfter = await customHttpProvider.getBalance(CHARLETH_ADDRESS); + expect(Number(balanceAfter - balanceBefore)).to.be.greaterThan(0); }, }); diff --git a/test/suites/zombie_data_preservers_dancelight/test_zombie_data_preservers.ts b/test/suites/zombie_data_preservers_dancelight/test_zombie_data_preservers.ts index bc043c9709..87a944c783 100644 --- a/test/suites/zombie_data_preservers_dancelight/test_zombie_data_preservers.ts +++ b/test/suites/zombie_data_preservers_dancelight/test_zombie_data_preservers.ts @@ -6,7 +6,7 @@ import { ApiPromise, Keyring, WsProvider } from "@polkadot/api"; import { u8aToHex } from "@polkadot/util"; import { decodeAddress } from "@polkadot/util-crypto"; import { WebSocketProvider, ethers, parseUnits } from "ethers"; -import { getHeaderFromRelay, getTmpZombiePath, signAndSendAndInclude, waitForLogs } from "utils"; +import { getHeaderFromRelay, getTmpZombiePath, signAndSendAndInclude, sleep, waitForLogs } from "utils"; // Checks every second the log file to find the watcher best block notification until it is found or // timeout is reached. If timeout is reached, throws an error. @@ -204,8 +204,26 @@ describeSuite({ }, }); + it({ + id: "T07b", + title: "RPC endpoint 2001 is synced to latest block", + test: async () => { + const wsProvider = new WsProvider("ws://127.0.0.1:9952"); + dataProvider2001Api = await ApiPromise.create({ provider: wsProvider }); + + while (true) { + const blockNum = (await dataProvider2001Api.rpc.chain.getBlock()).block.header.number.toNumber(); + if (blockNum > 0) { + break; + } + await sleep(1000); + } + }, + }); + it({ id: "T08", + timeout: 120_000, title: "RPC endpoint 2001 is Ethereum compatible", test: async () => { const url = "ws://127.0.0.1:9952"; @@ -214,31 +232,17 @@ describeSuite({ const signer = new ethers.Wallet(BALTATHAR_PRIVATE_KEY, customHttpProvider); + const balanceBefore = await customHttpProvider.getBalance(CHARLETH_ADDRESS); // Try to send a test transaction. - // Ideally this could be done in one line, but there is a strange bug somewhere - // that causes transactions to never be included. As a workaround, we set a 60 - // second timeout and retry sending the same transaction, and for some reason that - // fixes the bug. - for (let i = 0; i <= 5; i++) { - if (i === 5) { - expect.fail("failed to send tx"); - } - try { - const nonce = await customHttpProvider.getTransactionCount(BALTATHAR_ADDRESS); - const tx = await signer.sendTransaction({ - to: CHARLETH_ADDRESS, - value: parseUnits("0.001", "ether"), - nonce, - }); - - await customHttpProvider.waitForTransaction(tx.hash, 1, 60_000); - // Transaction included, don't need to try again - break; - } catch (e) { - console.log("tx inclusion failed: ", e); - } - } - expect(Number(await customHttpProvider.getBalance(CHARLETH_ADDRESS))).to.be.greaterThan(0); + const nonce = await customHttpProvider.getTransactionCount(BALTATHAR_ADDRESS); + const tx = await signer.sendTransaction({ + to: CHARLETH_ADDRESS, + value: parseUnits("0.001", "ether"), + nonce, + }); + await customHttpProvider.waitForTransaction(tx.hash, 1, 119_000); + const balanceAfter = await customHttpProvider.getBalance(CHARLETH_ADDRESS); + expect(Number(balanceAfter - balanceBefore)).to.be.greaterThan(0); }, }); diff --git a/test/suites/zombie_simple_template_upgrade/test_zombie_simple_template_upgrade.ts b/test/suites/zombie_simple_template_upgrade/test_zombie_simple_template_upgrade.ts index 314373495b..06328b67c3 100644 --- a/test/suites/zombie_simple_template_upgrade/test_zombie_simple_template_upgrade.ts +++ b/test/suites/zombie_simple_template_upgrade/test_zombie_simple_template_upgrade.ts @@ -53,9 +53,10 @@ describeSuite({ log("Runtime already upgraded, skipping test"); skip(); } + // TODO: this log function is broken and it only logs the first argument log("Current runtime spec version: ", rtBefore); log("Runtime not upgraded, proceeding with test"); - log(`Current runtime hash: ${rtHex.slice(0, 10)}...${rtHex.slice(-10)}`); + log(`Current runtime bytes: ${rtHex.slice(0, 10)}...${rtHex.slice(-10)}`); log(`New runtime bytes: ${codeString.slice(0, 10)}...${codeString.slice(-10)}`); await context.upgradeRuntime({ from: alice_or_alith }); @@ -83,20 +84,20 @@ describeSuite({ /// It might happen that by accident we hit a session change /// A block in which a session change occurs cannot hold any tx - /// Chopsticks does not have the notion of tx pool either, so we need to retry - /// Therefore we just retry at most MAX_BALANCE_TRANSFER_TRIES - const MAX_BALANCE_TRANSFER_TRIES = 5; - while (tries < MAX_BALANCE_TRANSFER_TRIES) { - const txHash = await paraApi.tx.balances - .transferAllowDeath(randomAccount.address, 1_000_000_000) - .signAndSend(alice_or_alith); - await context.waitBlock(1); - + /// But the txpool is smart and it will keep the transaction until it can be included. + /// So wait for MAX_BALANCE_TRANSFER_WAIT_BLOCKS + const txHash = await paraApi.tx.balances + .transferAllowDeath(randomAccount.address, 1_000_000_000) + .signAndSend(alice_or_alith); + await context.waitBlock(1); + const MAX_BALANCE_TRANSFER_WAIT_BLOCKS = 5; + while (tries < MAX_BALANCE_TRANSFER_WAIT_BLOCKS) { const block = await paraApi.rpc.chain.getBlock(); const includedTxHashes = block.block.extrinsics.map((x) => x.hash.toString()); if (includedTxHashes.includes(txHash.toString())) { break; } + await context.waitBlock(1); tries++; } diff --git a/test/suites/zombie_solochain_upgrade/test_zombie_dancelight_upgrade.ts b/test/suites/zombie_solochain_upgrade/test_zombie_dancelight_upgrade.ts index ebc8129334..eb488e4425 100644 --- a/test/suites/zombie_solochain_upgrade/test_zombie_dancelight_upgrade.ts +++ b/test/suites/zombie_solochain_upgrade/test_zombie_dancelight_upgrade.ts @@ -54,8 +54,8 @@ describeSuite({ } log("Runtime not upgraded, proceeding with test"); log("Current runtime spec version:", rtBefore); - log(`Current runtime hash: ${rtHex.slice(0, 10)}...${rtHex.slice(-10)}`); - log(`New runtime hash: ${codeString.slice(0, 10)}...${codeString.slice(-10)}`); + log(`Current runtime bytes: ${rtHex.slice(0, 10)}...${rtHex.slice(-10)}`); + log(`New runtime bytes: ${codeString.slice(0, 10)}...${codeString.slice(-10)}`); await context.upgradeRuntime({ from: alice }); await context.waitBlock(2); diff --git a/test/utils/block.ts b/test/utils/block.ts index cd4cf36c85..f77453f394 100644 --- a/test/utils/block.ts +++ b/test/utils/block.ts @@ -20,6 +20,7 @@ import type { FrameSystemEventRecord } from "@polkadot/types/lookup"; import Bottleneck from "bottleneck"; import type { GenericExtrinsic } from "@polkadot/types/extrinsic/Extrinsic"; import { isDancebox, isLightRuntime } from "./runtime.ts"; +import type { AddressOrPair } from "@polkadot/api-base/types/submittable"; export async function jumpSessions(context: DevModeContext, count: number): Promise { const session = (await context.polkadotJs().query.session.currentIndex()).addn(count.valueOf()).toNumber(); @@ -311,11 +312,15 @@ export function filterRewardFromContainer(events: EventRecord[], feePayer: strin // @param account - The account (keypair or address) used to sign the transaction. // @param timeout - The timeout in milliseconds, or null for no timeout. Defaults to 5 minutes. // @returns A Promise resolving with the transaction hash, block hash, and the full status object. -export async function signAndSendAndInclude(tx, account, timeout: number | null = 3 * 60 * 1000) { +export async function signAndSendAndInclude( + tx: SubmittableExtrinsic<"promise">, + account: AddressOrPair, + timeout: number | null = 3 * 60 * 1000 +) { const callerStack = new Error().stack; // Inner function that doesn't handle timeout - const signAndSendAndIncludeInner = (tx, account) => { + const signAndSendAndIncludeInner = (tx: SubmittableExtrinsic<"promise">, account: AddressOrPair) => { return new Promise((resolve, reject) => { tx.signAndSend(account, (result) => { const { status, txHash } = result; diff --git a/typescript-api/src/dancebox/interfaces/augment-api-consts.ts b/typescript-api/src/dancebox/interfaces/augment-api-consts.ts index 173c9a5302..1e7835184a 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-consts.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-consts.ts @@ -339,6 +339,18 @@ declare module "@polkadot/api-base/types/consts" { * `pallet_xcm::CurrentXcmVersion`. **/ advertisedXcmVersion: u32 & AugmentedConst; + /** + * The maximum number of local XCM locks that a single account may have. + **/ + maxLockers: u32 & AugmentedConst; + /** + * The maximum number of consumers a single remote lock may have. + **/ + maxRemoteLockConsumers: u32 & AugmentedConst; + /** + * This chain's Universal Location. + **/ + universalLocation: StagingXcmV5Junctions & AugmentedConst; /** * Generic const **/ diff --git a/typescript-api/src/dancebox/interfaces/augment-api-errors.ts b/typescript-api/src/dancebox/interfaces/augment-api-errors.ts index c13adef160..e66638c8ba 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-errors.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-errors.ts @@ -724,6 +724,11 @@ declare module "@polkadot/api-base/types/errors" { * Local XCM execution incomplete. **/ LocalExecutionIncomplete: AugmentedError; + /** + * Local XCM execution incomplete with the actual XCM error and the index of the + * instruction that caused the error. + **/ + LocalExecutionIncompleteWithError: AugmentedError; /** * A remote lock with the corresponding data could not be found. **/ diff --git a/typescript-api/src/dancebox/interfaces/augment-api-events.ts b/typescript-api/src/dancebox/interfaces/augment-api-events.ts index c06f4b3f8e..1f0a593fb6 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-events.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-events.ts @@ -1519,6 +1519,24 @@ declare module "@polkadot/api-base/types/events" { [pure: AccountId32, who: AccountId32, proxyType: DanceboxRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32; who: AccountId32; proxyType: DanceboxRuntimeProxyType; disambiguationIndex: u16 } >; + /** + * A pure proxy was killed by its spawner. + **/ + PureKilled: AugmentedEvent< + ApiType, + [ + pure: AccountId32, + spawner: AccountId32, + proxyType: DanceboxRuntimeProxyType, + disambiguationIndex: u16, + ], + { + pure: AccountId32; + spawner: AccountId32; + proxyType: DanceboxRuntimeProxyType; + disambiguationIndex: u16; + } + >; /** * Generic event **/ @@ -1620,6 +1638,11 @@ declare module "@polkadot/api-base/types/events" { [key: string]: AugmentedEvent; }; session: { + /** + * The `NewSession` event in the current block also implies a new validator set to be + * queued. + **/ + NewQueued: AugmentedEvent; /** * New session has happened. Note that the argument is the session index, not the * block number as the type might suggest. diff --git a/typescript-api/src/dancebox/interfaces/augment-api-runtime.ts b/typescript-api/src/dancebox/interfaces/augment-api-runtime.ts index a9769fa137..1e135e718b 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-runtime.ts @@ -11,7 +11,6 @@ import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder"; import type { BlockHash } from "@polkadot/types/interfaces/chain"; import type { AuthorityId } from "@polkadot/types/interfaces/consensus"; -import type { CollationInfo } from "@polkadot/types/interfaces/cumulus"; import type { CallDryRunEffects, XcmDryRunApiError, XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder"; @@ -106,26 +105,6 @@ declare module "@polkadot/api-base/types/calls" { **/ [key: string]: DecoratedCallBase; }; - /** 0xea93e3f16f3d6962/2 */ - collectCollationInfo: { - /** - * Collect information about a collation. - **/ - collectCollationInfo: AugmentedCall< - ApiType, - ( - header: - | Header - | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } - | string - | Uint8Array - ) => Observable - >; - /** - * Generic call - **/ - [key: string]: DecoratedCallBase; - }; /** 0xdf6acb689907609b/5 */ core: { /** diff --git a/typescript-api/src/dancebox/interfaces/augment-api-tx.ts b/typescript-api/src/dancebox/interfaces/augment-api-tx.ts index 477ade5a3e..c3cf1fd7e2 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-tx.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-tx.ts @@ -2469,6 +2469,8 @@ declare module "@polkadot/api-base/types/submittable" { relayChainState?: any; downwardMessages?: any; horizontalMessages?: any; + relayParentDescendants?: any; + collatorPeerId?: any; } | string | Uint8Array @@ -3110,7 +3112,7 @@ declare module "@polkadot/api-base/types/submittable" { * `pure` with corresponding parameters. * * - `spawner`: The account that originally called `pure` to create this account. - * - `index`: The disambiguation index originally passed to `pure`. Probably `0`. + * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`. * - `proxy_type`: The proxy type originally passed to `pure`. * - `height`: The height of the chain when the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `pure` was processed. diff --git a/typescript-api/src/dancebox/interfaces/lookup.ts b/typescript-api/src/dancebox/interfaces/lookup.ts index b1c7470cba..13d7f148d4 100644 --- a/typescript-api/src/dancebox/interfaces/lookup.ts +++ b/typescript-api/src/dancebox/interfaces/lookup.ts @@ -284,6 +284,12 @@ export default { proxyType: "DanceboxRuntimeProxyType", disambiguationIndex: "u16", }, + PureKilled: { + pure: "AccountId32", + spawner: "AccountId32", + proxyType: "DanceboxRuntimeProxyType", + disambiguationIndex: "u16", + }, Announced: { real: "AccountId32", proxy: "AccountId32", @@ -885,6 +891,7 @@ export default { NewSession: { sessionIndex: "u32", }, + NewQueued: "Null", ValidatorDisabled: { validator: "AccountId32", }, @@ -1125,15 +1132,20 @@ export default { }, Incomplete: { used: "SpWeightsWeightV2Weight", - error: "XcmV5TraitsError", - }, - Error: { - error: "XcmV5TraitsError", + error: "StagingXcmV5TraitsInstructionError", }, + Error: "StagingXcmV5TraitsInstructionError", }, }, /** - * Lookup86: xcm::v5::traits::Error + * Lookup86: staging_xcm::v5::traits::InstructionError + **/ + StagingXcmV5TraitsInstructionError: { + index: "u8", + error: "XcmV5TraitsError", + }, + /** + * Lookup87: xcm::v5::traits::Error **/ XcmV5TraitsError: { _enum: { @@ -1181,7 +1193,7 @@ export default { }, }, /** - * Lookup87: pallet_xcm::pallet::Event + * Lookup88: pallet_xcm::pallet::Event **/ PalletXcmEvent: { _enum: { @@ -1329,30 +1341,30 @@ export default { }, }, /** - * Lookup88: staging_xcm::v5::location::Location + * Lookup89: staging_xcm::v5::location::Location **/ StagingXcmV5Location: { parents: "u8", interior: "StagingXcmV5Junctions", }, /** - * Lookup89: staging_xcm::v5::junctions::Junctions + * Lookup90: staging_xcm::v5::junctions::Junctions **/ StagingXcmV5Junctions: { _enum: { Here: "Null", - X1: "[Lookup91;1]", - X2: "[Lookup91;2]", - X3: "[Lookup91;3]", - X4: "[Lookup91;4]", - X5: "[Lookup91;5]", - X6: "[Lookup91;6]", - X7: "[Lookup91;7]", - X8: "[Lookup91;8]", + X1: "[Lookup92;1]", + X2: "[Lookup92;2]", + X3: "[Lookup92;3]", + X4: "[Lookup92;4]", + X5: "[Lookup92;5]", + X6: "[Lookup92;6]", + X7: "[Lookup92;7]", + X8: "[Lookup92;8]", }, }, /** - * Lookup91: staging_xcm::v5::junction::Junction + * Lookup92: staging_xcm::v5::junction::Junction **/ StagingXcmV5Junction: { _enum: { @@ -1384,7 +1396,7 @@ export default { }, }, /** - * Lookup94: staging_xcm::v5::junction::NetworkId + * Lookup95: staging_xcm::v5::junction::NetworkId **/ StagingXcmV5JunctionNetworkId: { _enum: { @@ -1407,7 +1419,7 @@ export default { }, }, /** - * Lookup97: xcm::v3::junction::BodyId + * Lookup98: xcm::v3::junction::BodyId **/ XcmV3JunctionBodyId: { _enum: { @@ -1424,7 +1436,7 @@ export default { }, }, /** - * Lookup98: xcm::v3::junction::BodyPart + * Lookup99: xcm::v3::junction::BodyPart **/ XcmV3JunctionBodyPart: { _enum: { @@ -1447,11 +1459,11 @@ export default { }, }, /** - * Lookup106: staging_xcm::v5::Xcm + * Lookup107: staging_xcm::v5::Xcm **/ StagingXcmV5Xcm: "Vec", /** - * Lookup108: staging_xcm::v5::Instruction + * Lookup109: staging_xcm::v5::Instruction **/ StagingXcmV5Instruction: { _enum: { @@ -1610,22 +1622,22 @@ export default { }, }, /** - * Lookup109: staging_xcm::v5::asset::Assets + * Lookup110: staging_xcm::v5::asset::Assets **/ StagingXcmV5AssetAssets: "Vec", /** - * Lookup111: staging_xcm::v5::asset::Asset + * Lookup112: staging_xcm::v5::asset::Asset **/ StagingXcmV5Asset: { id: "StagingXcmV5AssetAssetId", fun: "StagingXcmV5AssetFungibility", }, /** - * Lookup112: staging_xcm::v5::asset::AssetId + * Lookup113: staging_xcm::v5::asset::AssetId **/ StagingXcmV5AssetAssetId: "StagingXcmV5Location", /** - * Lookup113: staging_xcm::v5::asset::Fungibility + * Lookup114: staging_xcm::v5::asset::Fungibility **/ StagingXcmV5AssetFungibility: { _enum: { @@ -1634,7 +1646,7 @@ export default { }, }, /** - * Lookup114: staging_xcm::v5::asset::AssetInstance + * Lookup115: staging_xcm::v5::asset::AssetInstance **/ StagingXcmV5AssetAssetInstance: { _enum: { @@ -1647,7 +1659,7 @@ export default { }, }, /** - * Lookup117: staging_xcm::v5::Response + * Lookup118: staging_xcm::v5::Response **/ StagingXcmV5Response: { _enum: { @@ -1660,7 +1672,7 @@ export default { }, }, /** - * Lookup121: staging_xcm::v5::PalletInfo + * Lookup122: staging_xcm::v5::PalletInfo **/ StagingXcmV5PalletInfo: { index: "Compact", @@ -1671,7 +1683,7 @@ export default { patch: "Compact", }, /** - * Lookup124: xcm::v3::MaybeErrorCode + * Lookup125: xcm::v3::MaybeErrorCode **/ XcmV3MaybeErrorCode: { _enum: { @@ -1681,19 +1693,19 @@ export default { }, }, /** - * Lookup127: xcm::v3::OriginKind + * Lookup128: xcm::v3::OriginKind **/ XcmV3OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], }, /** - * Lookup129: xcm::double_encoded::DoubleEncoded + * Lookup130: xcm::double_encoded::DoubleEncoded **/ XcmDoubleEncoded: { encoded: "Bytes", }, /** - * Lookup130: staging_xcm::v5::QueryResponseInfo + * Lookup131: staging_xcm::v5::QueryResponseInfo **/ StagingXcmV5QueryResponseInfo: { destination: "StagingXcmV5Location", @@ -1701,7 +1713,7 @@ export default { maxWeight: "SpWeightsWeightV2Weight", }, /** - * Lookup131: staging_xcm::v5::asset::AssetFilter + * Lookup132: staging_xcm::v5::asset::AssetFilter **/ StagingXcmV5AssetAssetFilter: { _enum: { @@ -1710,7 +1722,7 @@ export default { }, }, /** - * Lookup132: staging_xcm::v5::asset::WildAsset + * Lookup133: staging_xcm::v5::asset::WildAsset **/ StagingXcmV5AssetWildAsset: { _enum: { @@ -1728,13 +1740,13 @@ export default { }, }, /** - * Lookup133: staging_xcm::v5::asset::WildFungibility + * Lookup134: staging_xcm::v5::asset::WildFungibility **/ StagingXcmV5AssetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, /** - * Lookup134: xcm::v3::WeightLimit + * Lookup135: xcm::v3::WeightLimit **/ XcmV3WeightLimit: { _enum: { @@ -1743,7 +1755,7 @@ export default { }, }, /** - * Lookup136: staging_xcm::v5::asset::AssetTransferFilter + * Lookup137: staging_xcm::v5::asset::AssetTransferFilter **/ StagingXcmV5AssetAssetTransferFilter: { _enum: { @@ -1753,7 +1765,7 @@ export default { }, }, /** - * Lookup141: staging_xcm::v5::Hint + * Lookup142: staging_xcm::v5::Hint **/ StagingXcmV5Hint: { _enum: { @@ -1763,7 +1775,7 @@ export default { }, }, /** - * Lookup143: xcm::v3::traits::SendError + * Lookup144: xcm::v3::traits::SendError **/ XcmV3TraitsSendError: { _enum: [ @@ -1777,7 +1789,7 @@ export default { ], }, /** - * Lookup144: xcm::VersionedAssets + * Lookup145: xcm::VersionedAssets **/ XcmVersionedAssets: { _enum: { @@ -1790,18 +1802,18 @@ export default { }, }, /** - * Lookup145: xcm::v3::multiasset::MultiAssets + * Lookup146: xcm::v3::multiasset::MultiAssets **/ XcmV3MultiassetMultiAssets: "Vec", /** - * Lookup147: xcm::v3::multiasset::MultiAsset + * Lookup148: xcm::v3::multiasset::MultiAsset **/ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetFungibility", }, /** - * Lookup148: xcm::v3::multiasset::AssetId + * Lookup149: xcm::v3::multiasset::AssetId **/ XcmV3MultiassetAssetId: { _enum: { @@ -1810,14 +1822,14 @@ export default { }, }, /** - * Lookup149: staging_xcm::v3::multilocation::MultiLocation + * Lookup150: staging_xcm::v3::multilocation::MultiLocation **/ StagingXcmV3MultiLocation: { parents: "u8", interior: "XcmV3Junctions", }, /** - * Lookup150: xcm::v3::junctions::Junctions + * Lookup151: xcm::v3::junctions::Junctions **/ XcmV3Junctions: { _enum: { @@ -1833,7 +1845,7 @@ export default { }, }, /** - * Lookup151: xcm::v3::junction::Junction + * Lookup152: xcm::v3::junction::Junction **/ XcmV3Junction: { _enum: { @@ -1865,7 +1877,7 @@ export default { }, }, /** - * Lookup153: xcm::v3::junction::NetworkId + * Lookup154: xcm::v3::junction::NetworkId **/ XcmV3JunctionNetworkId: { _enum: { @@ -1888,7 +1900,7 @@ export default { }, }, /** - * Lookup154: xcm::v3::multiasset::Fungibility + * Lookup155: xcm::v3::multiasset::Fungibility **/ XcmV3MultiassetFungibility: { _enum: { @@ -1897,7 +1909,7 @@ export default { }, }, /** - * Lookup155: xcm::v3::multiasset::AssetInstance + * Lookup156: xcm::v3::multiasset::AssetInstance **/ XcmV3MultiassetAssetInstance: { _enum: { @@ -1910,45 +1922,45 @@ export default { }, }, /** - * Lookup156: staging_xcm::v4::asset::Assets + * Lookup157: staging_xcm::v4::asset::Assets **/ StagingXcmV4AssetAssets: "Vec", /** - * Lookup158: staging_xcm::v4::asset::Asset + * Lookup159: staging_xcm::v4::asset::Asset **/ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetFungibility", }, /** - * Lookup159: staging_xcm::v4::asset::AssetId + * Lookup160: staging_xcm::v4::asset::AssetId **/ StagingXcmV4AssetAssetId: "StagingXcmV4Location", /** - * Lookup160: staging_xcm::v4::location::Location + * Lookup161: staging_xcm::v4::location::Location **/ StagingXcmV4Location: { parents: "u8", interior: "StagingXcmV4Junctions", }, /** - * Lookup161: staging_xcm::v4::junctions::Junctions + * Lookup162: staging_xcm::v4::junctions::Junctions **/ StagingXcmV4Junctions: { _enum: { Here: "Null", - X1: "[Lookup163;1]", - X2: "[Lookup163;2]", - X3: "[Lookup163;3]", - X4: "[Lookup163;4]", - X5: "[Lookup163;5]", - X6: "[Lookup163;6]", - X7: "[Lookup163;7]", - X8: "[Lookup163;8]", + X1: "[Lookup164;1]", + X2: "[Lookup164;2]", + X3: "[Lookup164;3]", + X4: "[Lookup164;4]", + X5: "[Lookup164;5]", + X6: "[Lookup164;6]", + X7: "[Lookup164;7]", + X8: "[Lookup164;8]", }, }, /** - * Lookup163: staging_xcm::v4::junction::Junction + * Lookup164: staging_xcm::v4::junction::Junction **/ StagingXcmV4Junction: { _enum: { @@ -1980,7 +1992,7 @@ export default { }, }, /** - * Lookup165: staging_xcm::v4::junction::NetworkId + * Lookup166: staging_xcm::v4::junction::NetworkId **/ StagingXcmV4JunctionNetworkId: { _enum: { @@ -2003,7 +2015,7 @@ export default { }, }, /** - * Lookup173: staging_xcm::v4::asset::Fungibility + * Lookup174: staging_xcm::v4::asset::Fungibility **/ StagingXcmV4AssetFungibility: { _enum: { @@ -2012,7 +2024,7 @@ export default { }, }, /** - * Lookup174: staging_xcm::v4::asset::AssetInstance + * Lookup175: staging_xcm::v4::asset::AssetInstance **/ StagingXcmV4AssetAssetInstance: { _enum: { @@ -2025,7 +2037,7 @@ export default { }, }, /** - * Lookup175: xcm::VersionedLocation + * Lookup176: xcm::VersionedLocation **/ XcmVersionedLocation: { _enum: { @@ -2038,7 +2050,7 @@ export default { }, }, /** - * Lookup177: pallet_assets::pallet::Event + * Lookup178: pallet_assets::pallet::Event **/ PalletAssetsEvent: { _enum: { @@ -2164,7 +2176,7 @@ export default { }, }, /** - * Lookup178: pallet_foreign_asset_creator::pallet::Event + * Lookup179: pallet_foreign_asset_creator::pallet::Event **/ PalletForeignAssetCreatorEvent: { _enum: { @@ -2187,7 +2199,7 @@ export default { }, }, /** - * Lookup179: pallet_asset_rate::pallet::Event + * Lookup180: pallet_asset_rate::pallet::Event **/ PalletAssetRateEvent: { _enum: { @@ -2209,7 +2221,7 @@ export default { }, }, /** - * Lookup181: pallet_message_queue::pallet::Event + * Lookup182: pallet_message_queue::pallet::Event **/ PalletMessageQueueEvent: { _enum: { @@ -2237,7 +2249,7 @@ export default { }, }, /** - * Lookup182: cumulus_primitives_core::AggregateMessageOrigin + * Lookup183: cumulus_primitives_core::AggregateMessageOrigin **/ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { @@ -2247,7 +2259,7 @@ export default { }, }, /** - * Lookup183: frame_support::traits::messages::ProcessMessageError + * Lookup184: frame_support::traits::messages::ProcessMessageError **/ FrameSupportMessagesProcessMessageError: { _enum: { @@ -2260,7 +2272,7 @@ export default { }, }, /** - * Lookup184: pallet_xcm_core_buyer::pallet::Event + * Lookup185: pallet_xcm_core_buyer::pallet::Event **/ PalletXcmCoreBuyerEvent: { _enum: { @@ -2281,13 +2293,13 @@ export default { }, }, /** - * Lookup186: pallet_root_testing::pallet::Event + * Lookup187: pallet_root_testing::pallet::Event **/ PalletRootTestingEvent: { _enum: ["DefensiveTestCall"], }, /** - * Lookup187: frame_system::Phase + * Lookup188: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -2297,21 +2309,21 @@ export default { }, }, /** - * Lookup191: frame_system::LastRuntimeUpgradeInfo + * Lookup192: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", specName: "Text", }, /** - * Lookup194: frame_system::CodeUpgradeAuthorization + * Lookup195: frame_system::CodeUpgradeAuthorization **/ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", checkVersion: "bool", }, /** - * Lookup195: frame_system::pallet::Call + * Lookup196: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -2356,7 +2368,7 @@ export default { }, }, /** - * Lookup199: frame_system::limits::BlockWeights + * Lookup200: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", @@ -2364,7 +2376,7 @@ export default { perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", }, /** - * Lookup200: frame_support::dispatch::PerDispatchClass + * Lookup201: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", @@ -2372,7 +2384,7 @@ export default { mandatory: "FrameSystemLimitsWeightsPerClass", }, /** - * Lookup201: frame_system::limits::WeightsPerClass + * Lookup202: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", @@ -2381,13 +2393,13 @@ export default { reserved: "Option", }, /** - * Lookup202: frame_system::limits::BlockLength + * Lookup203: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: "FrameSupportDispatchPerDispatchClassU32", }, /** - * Lookup203: frame_support::dispatch::PerDispatchClass + * Lookup204: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", @@ -2395,14 +2407,14 @@ export default { mandatory: "u32", }, /** - * Lookup204: sp_weights::RuntimeDbWeight + * Lookup205: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: "u64", write: "u64", }, /** - * Lookup205: sp_version::RuntimeVersion + * Lookup206: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: "Text", @@ -2415,7 +2427,7 @@ export default { systemVersion: "u8", }, /** - * Lookup209: frame_system::pallet::Error + * Lookup210: frame_system::pallet::Error **/ FrameSystemError: { _enum: [ @@ -2431,7 +2443,7 @@ export default { ], }, /** - * Lookup211: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + * Lookup212: cumulus_pallet_parachain_system::unincluded_segment::Ancestor **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", @@ -2439,7 +2451,7 @@ export default { consumedGoAheadSignal: "Option", }, /** - * Lookup212: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + * Lookup213: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", @@ -2447,20 +2459,20 @@ export default { hrmpOutgoing: "BTreeMap", }, /** - * Lookup214: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + * Lookup215: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", totalBytes: "u32", }, /** - * Lookup219: polkadot_primitives::v8::UpgradeGoAhead + * Lookup220: polkadot_primitives::v8::UpgradeGoAhead **/ PolkadotPrimitivesV8UpgradeGoAhead: { _enum: ["Abort", "GoAhead"], }, /** - * Lookup220: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + * Lookup221: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", @@ -2468,7 +2480,7 @@ export default { consumedGoAheadSignal: "Option", }, /** - * Lookup221: polkadot_primitives::v8::PersistedValidationData + * Lookup222: polkadot_primitives::v8::PersistedValidationData **/ PolkadotPrimitivesV8PersistedValidationData: { parentHead: "Bytes", @@ -2477,19 +2489,19 @@ export default { maxPovSize: "u32", }, /** - * Lookup224: polkadot_primitives::v8::UpgradeRestriction + * Lookup225: polkadot_primitives::v8::UpgradeRestriction **/ PolkadotPrimitivesV8UpgradeRestriction: { _enum: ["Present"], }, /** - * Lookup225: sp_trie::storage_proof::StorageProof + * Lookup226: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: "BTreeSet", }, /** - * Lookup227: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + * Lookup228: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", @@ -2499,14 +2511,14 @@ export default { egressChannels: "Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>", }, /** - * Lookup228: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + * Lookup229: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", remainingSize: "u32", }, /** - * Lookup231: polkadot_primitives::v8::AbridgedHrmpChannel + * Lookup232: polkadot_primitives::v8::AbridgedHrmpChannel **/ PolkadotPrimitivesV8AbridgedHrmpChannel: { maxCapacity: "u32", @@ -2517,7 +2529,7 @@ export default { mqcHead: "Option", }, /** - * Lookup232: polkadot_primitives::v8::AbridgedHostConfiguration + * Lookup233: polkadot_primitives::v8::AbridgedHostConfiguration **/ PolkadotPrimitivesV8AbridgedHostConfiguration: { maxCodeSize: "u32", @@ -2532,21 +2544,21 @@ export default { asyncBackingParams: "PolkadotPrimitivesV8AsyncBackingAsyncBackingParams", }, /** - * Lookup233: polkadot_primitives::v8::async_backing::AsyncBackingParams + * Lookup234: polkadot_primitives::v8::async_backing::AsyncBackingParams **/ PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32", }, /** - * Lookup239: polkadot_core_primitives::OutboundHrmpMessage + * Lookup240: polkadot_core_primitives::OutboundHrmpMessage **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", data: "Bytes", }, /** - * Lookup240: cumulus_pallet_parachain_system::pallet::Call + * Lookup241: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -2559,30 +2571,42 @@ export default { }, }, /** - * Lookup241: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup242: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV8PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>", + relayParentDescendants: "Vec", + collatorPeerId: "Option", }, /** - * Lookup243: polkadot_core_primitives::InboundDownwardMessage + * Lookup244: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes", }, /** - * Lookup246: polkadot_core_primitives::InboundHrmpMessage + * Lookup247: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes", }, /** - * Lookup249: cumulus_pallet_parachain_system::pallet::Error + * Lookup251: sp_runtime::generic::header::Header + **/ + SpRuntimeHeader: { + parentHash: "H256", + number: "Compact", + stateRoot: "H256", + extrinsicsRoot: "H256", + digest: "SpRuntimeDigest", + }, + /** + * Lookup254: cumulus_pallet_parachain_system::pallet::Error **/ CumulusPalletParachainSystemError: { _enum: [ @@ -2595,7 +2619,7 @@ export default { ], }, /** - * Lookup250: pallet_timestamp::pallet::Call + * Lookup255: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -2605,11 +2629,11 @@ export default { }, }, /** - * Lookup251: staging_parachain_info::pallet::Call + * Lookup256: staging_parachain_info::pallet::Call **/ StagingParachainInfoCall: "Null", /** - * Lookup252: pallet_sudo::pallet::Call + * Lookup257: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -2634,7 +2658,7 @@ export default { }, }, /** - * Lookup254: pallet_utility::pallet::Call + * Lookup259: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -2670,7 +2694,7 @@ export default { }, }, /** - * Lookup256: dancebox_runtime::OriginCaller + * Lookup261: dancebox_runtime::OriginCaller **/ DanceboxRuntimeOriginCaller: { _enum: { @@ -2731,17 +2755,18 @@ export default { }, }, /** - * Lookup257: frame_support::dispatch::RawOrigin + * Lookup262: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", Signed: "AccountId32", None: "Null", + Authorized: "Null", }, }, /** - * Lookup258: cumulus_pallet_xcm::pallet::Origin + * Lookup263: cumulus_pallet_xcm::pallet::Origin **/ CumulusPalletXcmOrigin: { _enum: { @@ -2750,7 +2775,7 @@ export default { }, }, /** - * Lookup259: pallet_xcm::pallet::Origin + * Lookup264: pallet_xcm::pallet::Origin **/ PalletXcmOrigin: { _enum: { @@ -2759,7 +2784,7 @@ export default { }, }, /** - * Lookup260: pallet_proxy::pallet::Call + * Lookup265: pallet_proxy::pallet::Call **/ PalletProxyCall: { _enum: { @@ -2813,7 +2838,7 @@ export default { }, }, /** - * Lookup264: pallet_migrations::pallet::Call + * Lookup269: pallet_migrations::pallet::Call **/ PalletMigrationsCall: { _enum: { @@ -2832,7 +2857,7 @@ export default { }, }, /** - * Lookup266: pallet_migrations::MigrationCursor, BlockNumber> + * Lookup271: pallet_migrations::MigrationCursor, BlockNumber> **/ PalletMigrationsMigrationCursor: { _enum: { @@ -2841,7 +2866,7 @@ export default { }, }, /** - * Lookup268: pallet_migrations::ActiveCursor, BlockNumber> + * Lookup273: pallet_migrations::ActiveCursor, BlockNumber> **/ PalletMigrationsActiveCursor: { index: "u32", @@ -2849,7 +2874,7 @@ export default { startedAt: "u32", }, /** - * Lookup270: pallet_migrations::HistoricCleanupSelector> + * Lookup275: pallet_migrations::HistoricCleanupSelector> **/ PalletMigrationsHistoricCleanupSelector: { _enum: { @@ -2861,13 +2886,13 @@ export default { }, }, /** - * Lookup272: pallet_maintenance_mode::pallet::Call + * Lookup277: pallet_maintenance_mode::pallet::Call **/ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"], }, /** - * Lookup273: pallet_tx_pause::pallet::Call + * Lookup278: pallet_tx_pause::pallet::Call **/ PalletTxPauseCall: { _enum: { @@ -2880,7 +2905,7 @@ export default { }, }, /** - * Lookup274: pallet_balances::pallet::Call + * Lookup279: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -2925,13 +2950,13 @@ export default { }, }, /** - * Lookup276: pallet_balances::types::AdjustmentDirection + * Lookup281: pallet_balances::types::AdjustmentDirection **/ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"], }, /** - * Lookup277: pallet_stream_payment::pallet::Call + * Lookup282: pallet_stream_payment::pallet::Call **/ PalletStreamPaymentCall: { _enum: { @@ -2968,7 +2993,7 @@ export default { }, }, /** - * Lookup278: pallet_stream_payment::pallet::ChangeKind