From 9492be7495d2ff4a1831e0195f6d02ec0aaca5ee Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Fri, 25 Oct 2024 00:26:18 +0200 Subject: [PATCH 01/11] Add AHM controller Signed-off-by: Oliver Tale-Yazdi --- Cargo.lock | 29 +++- Cargo.toml | 2 + ahm-controller/Cargo.toml | 33 ++++ ahm-controller/src/lib.rs | 152 ++++++++++++++++++ ahm-controller/src/mock_relay.rs | 24 +++ relay/polkadot/Cargo.toml | 4 + relay/polkadot/src/lib.rs | 16 +- .../asset-hubs/asset-hub-polkadot/Cargo.toml | 4 + .../asset-hubs/asset-hub-polkadot/src/lib.rs | 16 +- 9 files changed, 274 insertions(+), 6 deletions(-) create mode 100644 ahm-controller/Cargo.toml create mode 100644 ahm-controller/src/lib.rs create mode 100644 ahm-controller/src/mock_relay.rs diff --git a/Cargo.lock b/Cargo.lock index 30daa2294e..64537b52ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -782,6 +782,7 @@ dependencies = [ "hex-literal", "kusama-runtime-constants", "log", + "pallet-ahm-controller", "pallet-asset-conversion", "pallet-asset-conversion-tx-payment", "pallet-assets", @@ -7420,6 +7421,12 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -7604,6 +7611,17 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "pallet-ahm-controller" +version = "1.0.0" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "staging-xcm", +] + [[package]] name = "pallet-alliance" version = "35.0.0" @@ -10076,6 +10094,7 @@ dependencies = [ "frame-try-runtime", "hex-literal", "log", + "pallet-ahm-controller", "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", @@ -15090,12 +15109,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.30" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -15110,10 +15130,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.15" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ + "num-conv", "time-core", ] diff --git a/Cargo.toml b/Cargo.toml index 3c70df0ac5..4490102d22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ repository = "https://github.com/polkadot-fellows/runtimes.git" license = "GPL-3.0-only" # TODO [workspace.dependencies] +pallet-ahm-controller = { path = "ahm-controller", default-features = false } assert_matches = { version = "1.5.0" } asset-hub-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama" } asset-hub-kusama-runtime = { path = "system-parachains/asset-hubs/asset-hub-kusama" } @@ -254,6 +255,7 @@ ss58-registry = { version = "1.47.0" } resolver = "2" members = [ + "ahm-controller", "chain-spec-generator", "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama", "integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot", diff --git a/ahm-controller/Cargo.toml b/ahm-controller/Cargo.toml new file mode 100644 index 0000000000..54ec692130 --- /dev/null +++ b/ahm-controller/Cargo.toml @@ -0,0 +1,33 @@ +[package] +name = "pallet-ahm-controller" +repository.workspace = true +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true + +[dependencies] +codec = { features = ["derive", "max-encoded-len"], workspace = true } +scale-info = { features = ["derive"], workspace = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } +xcm = { workspace = true } + +[features] +default = ["std"] +std = [ + "codec/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "xcm/std" +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime" +] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks" +] diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs new file mode 100644 index 0000000000..d853c9b343 --- /dev/null +++ b/ahm-controller/src/lib.rs @@ -0,0 +1,152 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#![cfg_attr(not(feature = "std"), no_std)] + +#[cfg(not(feature = "std"))] +extern crate alloc; +#[cfg(not(feature = "std"))] +use alloc::{vec, vec::Vec}; + +use frame_support::pallet_prelude::*; +use frame_system::pallet_prelude::*; + +use xcm::{ + prelude::{send_xcm, Instruction, Junction, Location, OriginKind, SendXcm, WeightLimit, Xcm}, + v4::{ + Asset, + AssetFilter::Wild, + AssetId, Assets, Error as XcmError, + Fungibility::Fungible, + Instruction::{DepositAsset, ReceiveTeleportedAsset}, + Junctions::Here, + Reanchorable, + WildAsset::AllCounted, + XcmContext, + }, +}; +use frame_support::weights::constants::WEIGHT_REF_TIME_PER_MILLIS; + +pub use pallet::*; + +#[cfg(test)] +mod mock_relay; + +#[derive(Encode, Decode, MaxEncodedLen, TypeInfo, PartialEq, Eq)] +pub enum Role { + Relay, + AssetHub, +} + +#[derive(Encode, Decode, MaxEncodedLen, TypeInfo)] +pub enum Phase { + Waiting, +} + +#[derive(Encode, Decode)] +enum AssetHubPalletConfig { + #[codec(index = 244)] + AhmController(AhmCall), +} + +/// Call encoding for the calls needed from the Broker pallet. +#[derive(Encode, Decode)] +enum AhmCall { + #[codec(index = 0)] + EmitHey, +} + +#[frame_support::pallet] +pub mod pallet { + use super::*; + + #[pallet::config] + pub trait Config: frame_system::Config { + type RuntimeEvent: From> + IsType<::RuntimeEvent>; + + #[pallet::constant] + type Role: Get; + + /// Send UMP or DMP message - depending on our `Role`. + type SendXcm: SendXcm; + } + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::storage] + pub type Phase = StorageValue<_, super::Phase>; + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + Hey, + SentDownward, + ErrorSending, + } + + #[pallet::error] + pub enum Error {} + + #[pallet::hooks] + impl Hooks> for Pallet { + fn on_initialize(_: BlockNumberFor) -> Weight { + if T::Role::get() != Role::Relay { + return Weight::zero(); + } + + let message = Xcm(vec![ + Instruction::UnpaidExecution { + weight_limit: WeightLimit::Unlimited, + check_origin: None, + }, + Instruction::Transact { + origin_kind: OriginKind::Superuser, + require_weight_at_most: Weight::from_parts(10 * WEIGHT_REF_TIME_PER_MILLIS, 30000), // TODO + call: AssetHubPalletConfig::AhmController(AhmCall::EmitHey).encode().into(), + } + ]); + + for _ in 0..100 { + match send_xcm::( + Location::new(0, [Junction::Parachain(1000)]), + message.clone(), + ) { + Ok(_) => { + Self::deposit_event(Event::SentDownward); + }, + Err(_) => { + Self::deposit_event(Event::ErrorSending); + }, + } + } + + Weight::zero() + } + } + + #[pallet::call] + impl Pallet { + #[pallet::call_index(0)] + #[pallet::weight(123)] + pub fn hey(_origin: OriginFor) -> DispatchResult { + Self::deposit_event(Event::Hey); + + Ok(()) + } + } +} diff --git a/ahm-controller/src/mock_relay.rs b/ahm-controller/src/mock_relay.rs new file mode 100644 index 0000000000..c479377e26 --- /dev/null +++ b/ahm-controller/src/mock_relay.rs @@ -0,0 +1,24 @@ +use crate::{pallet as ahm_controller, Role}; + +use frame::testing_prelude::*; + +construct_runtime!( + pub enum Runtime { + System: frame_system, + AhmController: ahm_controller, + } +); + +#[derive_impl(frame_system::config_preludes::TestDefaultConfig)] +impl frame_system::Config for Runtime { + type Block = MockBlock; +} + +parameter_types! { + pub const OurRole: Role = Role::Relay; +} + +impl ahm_controller::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Role = OurRole; +} diff --git a/relay/polkadot/Cargo.toml b/relay/polkadot/Cargo.toml index 4cad587ce0..9fcfb9cfd8 100644 --- a/relay/polkadot/Cargo.toml +++ b/relay/polkadot/Cargo.toml @@ -13,6 +13,7 @@ scale-info = { features = ["derive"], workspace = true } serde_json = { features = ["alloc"], workspace = true } log = { workspace = true } +pallet-ahm-controller = { workspace = true } authority-discovery-primitives = { workspace = true } babe-primitives = { workspace = true } beefy-primitives = { workspace = true } @@ -221,6 +222,7 @@ std = [ "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", + "pallet-ahm-controller/std" ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -273,6 +275,7 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", + "pallet-ahm-controller/runtime-benchmarks" ] try-runtime = [ "frame-election-provider-support/try-runtime", @@ -321,6 +324,7 @@ try-runtime = [ "polkadot-runtime-common/try-runtime", "runtime-parachains/try-runtime", "sp-runtime/try-runtime", + "pallet-ahm-controller/try-runtime" ] # Enable metadata hash generation at compile time for the `CheckMetadataHash` extension. diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 2cbd6adf81..ebc14d51c8 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -281,7 +281,7 @@ impl pallet_preimage::Config for Runtime { parameter_types! { pub EpochDuration: u64 = prod_or_fast!( EPOCH_DURATION_IN_SLOTS as u64, - 2 * MINUTES as u64, + (MINUTES as u64) / 3, "DOT_EPOCH_DURATION" ); pub const ExpectedBlockTime: Moment = MILLISECS_PER_BLOCK; @@ -1612,6 +1612,18 @@ impl OnSwap for SwapLeases { } } +use pallet_ahm_controller::Role; + +parameter_types! { + pub const OurRole: Role = Role::Relay; +} + +impl pallet_ahm_controller::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Role = OurRole; + type SendXcm = crate::xcm_config::XcmRouter; +} + construct_runtime! { pub enum Runtime { @@ -1722,6 +1734,8 @@ construct_runtime! { // refer to block. See issue #160 for details. Mmr: pallet_mmr = 201, BeefyMmrLeaf: pallet_beefy_mmr = 202, + + AhmController: pallet_ahm_controller = 244, } } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml index 1f207ce943..7e2b5e0b42 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml +++ b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml @@ -16,6 +16,7 @@ scale-info = { features = ["derive"], workspace = true } serde_json = { features = ["alloc"], workspace = true } # Local +pallet-ahm-controller = { workspace = true } bp-asset-hub-kusama = { workspace = true } bp-asset-hub-polkadot = { workspace = true } bp-bridge-hub-kusama = { workspace = true } @@ -148,6 +149,7 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", + "pallet-ahm-controller/runtime-benchmarks" ] try-runtime = [ "cumulus-pallet-aura-ext/try-runtime", @@ -180,6 +182,7 @@ try-runtime = [ "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", + "pallet-ahm-controller/try-runtime" ] std = [ "assets-common/std", @@ -259,6 +262,7 @@ std = [ "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", + "pallet-ahm-controller/std" ] # Enable metadata hash generation at compile time for the `CheckMetadataHash` extension. diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 87bcd43d17..0eb32cfadd 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -650,7 +650,7 @@ impl pallet_message_queue::Config for Runtime { type HeapSize = sp_core::ConstU32<{ 64 * 1024 }>; type MaxStale = sp_core::ConstU32<8>; type ServiceWeight = MessageQueueServiceWeight; - type IdleMaxServiceWeight = MessageQueueIdleServiceWeight; + type IdleMaxServiceWeight = (); } impl cumulus_pallet_aura_ext::Config for Runtime {} @@ -959,6 +959,18 @@ impl pallet_asset_conversion::Config for Runtime { >; } +use pallet_ahm_controller::Role; + +parameter_types! { + pub const OurRole: Role = Role::AssetHub; +} + +impl pallet_ahm_controller::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Role = OurRole; + type SendXcm = crate::xcm_config::XcmRouter; +} + // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub enum Runtime @@ -1003,6 +1015,8 @@ construct_runtime!( ForeignAssets: pallet_assets:: = 53, PoolAssets: pallet_assets:: = 54, AssetConversion: pallet_asset_conversion = 55, + + AhmController: pallet_ahm_controller = 244, } ); From e09336eb43421a41ca6f85f4fa28245a57e33071 Mon Sep 17 00:00:00 2001 From: "test@test.com" Date: Mon, 28 Oct 2024 20:08:36 +0000 Subject: [PATCH 02/11] Call ED balance migration Signed-off-by: test@test.com --- Cargo.lock | 391 +----------------- Cargo.toml | 196 +++++++++ ahm-controller/Cargo.toml | 12 +- ahm-controller/src/lib.rs | 162 ++++++-- relay/polkadot/src/genesis_config_presets.rs | 9 + .../asset-hubs/asset-hub-polkadot/Cargo.toml | 10 +- .../asset-hubs/asset-hub-polkadot/src/lib.rs | 13 + 7 files changed, 369 insertions(+), 424 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 64537b52ae..db1ea36e83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -244,8 +244,6 @@ dependencies = [ [[package]] name = "anyhow" version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" [[package]] name = "approx" @@ -567,8 +565,6 @@ dependencies = [ [[package]] name = "assert_matches" version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-hub-kusama-emulated-chain" @@ -790,6 +786,7 @@ dependencies = [ "pallet-authorship", "pallet-balances", "pallet-collator-selection", + "pallet-indices", "pallet-message-queue", "pallet-multisig", "pallet-nfts", @@ -843,8 +840,6 @@ dependencies = [ [[package]] name = "asset-test-utils" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccc232efa79f7f180856e9bc8535dbb2d813b62418cda7bf154a713adb9ea36" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -874,8 +869,6 @@ dependencies = [ [[package]] name = "assets-common" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4e2360c96927aa33b3fef7190eabf2aa4129fe3505c11dfa860ada0f27fd1b1" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1181,8 +1174,6 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b5c0fd4282c30c05647e1052d71bf1a0c8067ab1e9a8fc6d0c292dce0ecb237" dependencies = [ "hash-db", "log", @@ -1409,8 +1400,6 @@ dependencies = [ [[package]] name = "bp-bridge-hub-cumulus" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48cca10dce1c6d2914e48594f13add2da4a5b7c3ed54fd0fa324054dfb8569a" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1460,8 +1449,6 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57cac4b71008e46d43e346476ed1be85cf7b505efacee17dad84d687344bf1b1" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1478,8 +1465,6 @@ dependencies = [ [[package]] name = "bp-kusama" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00615c1d380587c2e211a2d4d1c1ee490a743e32f478b1bba8deda76958d68ff" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1492,8 +1477,6 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f97eec00a98efeb052ac9fc9676d9fccf5acd19e3b18530f3d72af1a1faf21ec" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1508,8 +1491,6 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60c0bde723a5daf39f4f02816483c9ac049818990b06858dff751736636a4ea2" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1526,8 +1507,6 @@ dependencies = [ [[package]] name = "bp-polkadot" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7612420844a580cb268ea1846fe82fb4bd1825b53e9b6dcd56904b3d7f7ea7c" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1540,8 +1519,6 @@ dependencies = [ [[package]] name = "bp-polkadot-bulletin" version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb5b3cd885b40b52bf96e52ffbec92d0c435f7303fc11374ccfcfa5bebfbc4f" dependencies = [ "bp-header-chain", "bp-messages", @@ -1559,8 +1536,6 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ef2272823ecfee580c00f6542dfcab3ec7abdb00857af853429736847c3a2d9" dependencies = [ "bp-messages", "bp-runtime", @@ -1578,8 +1553,6 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a589f5bb70baa4377a798823be752042aa6c220d51afc559716667e29b0203d" dependencies = [ "bp-messages", "bp-runtime", @@ -1593,8 +1566,6 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "904644c23b437dde65741f3148067624ed0b4d8360f68adf9e92273aeb970814" dependencies = [ "frame-support", "frame-system", @@ -1647,8 +1618,6 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7dae4d1ec894ee920195dd39070b279ef3c1d4d078c3fcf7336c93a1d502a9d" dependencies = [ "parity-scale-codec", "scale-info", @@ -1659,8 +1628,6 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd1e0c182cdd2ce204425d011965d2c6344360b48dd9aa3f4c470713cfaae9ba" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1972,8 +1939,6 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf6c88899f02bc16e383de957a17e01ad7c29d7e51e9c35fa4b70de3fa521f57" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -2013,8 +1978,6 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "639591635551f94b6e310852430b669495bd99cfd2af20b00a00f6cc7169e70d" dependencies = [ "bp-header-chain", "bp-messages", @@ -2303,8 +2266,6 @@ dependencies = [ [[package]] name = "clap" version = "4.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f" dependencies = [ "clap_builder", "clap_derive", @@ -3065,8 +3026,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e8af48090936c45483d489ee681acb54277763586b53fa3dbd17173aa474fc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -3084,8 +3043,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300d5509bd8ac95bafe158fa475278315175a4eb0422c2cd82e08e8b9dde035c" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -3133,8 +3090,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "506daacefa861aa2909b64f26e76495ce029227fd8355b97e074cc1d5dc54ab2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3148,8 +3103,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d5224285f60e5159bab549f458079d606a7f95ef779def8b89f1a244dc7cf81" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3165,8 +3118,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0adf5409618b21e754fef0ac70f257878d22d61c48fdeefcab666835dcb8e0f0" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -3192,8 +3143,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e7977947ad43a4cbc532ca33abcde136ae3deffdc7168b2ae253d73ccd371e4" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -3207,8 +3156,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "751e64b89a839d5cfabebc1c797936e5eee791d0fa2322d91e86f8440a743ddb" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -3254,8 +3201,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05742c520065e3870d419683113ed7f6d35de66f0c80af6828e7878d1bb0ea94" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3794,8 +3739,6 @@ dependencies = [ [[package]] name = "emulated-integration-tests-common" version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aef7c980b99bb2e4edfc9535d4096c1d0b5c8e3b52aab38a497a79563e6005f7" dependencies = [ "asset-test-utils", "bp-messages", @@ -3843,8 +3786,6 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e0a21785d37fcc1d2bc52c4b962ed0ecc1ea0ad7b1421c84c57edb9e11a3d34" dependencies = [ "encointer-primitives", "frame-support", @@ -3860,8 +3801,6 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449bca6d70a53456d223f2da58189e56a69eff96249b3d660d7d6123d0c824e9" dependencies = [ "encointer-primitives", "frame-support", @@ -3986,8 +3925,6 @@ dependencies = [ [[package]] name = "encointer-primitives" version = "13.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66f3cfb30d32e288aee27656132ebac5cc30b82ffb7e82eba92e568cdd0b1f25" dependencies = [ "bs58 0.5.0", "crc", @@ -4031,8 +3968,6 @@ dependencies = [ [[package]] name = "enumflags2" version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" dependencies = [ "enumflags2_derive", ] @@ -4382,8 +4317,6 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709b26657ebbba53dc7bb616577375ca462b20fef1b00e8d9b20d2435e87f7bc" dependencies = [ "frame-support", "frame-support-procedural", @@ -4420,8 +4353,6 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1ec289ebad5e601bb165cf7eb6ec2179ae34280ee310d0710a3111d4f8f8f94" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4438,8 +4369,6 @@ dependencies = [ [[package]] name = "frame-executive" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d878830330eaa9e8b886279c338556b05702d0059989cb51cfb226b70bf3fa4" dependencies = [ "aquamarine", "frame-support", @@ -4481,8 +4410,6 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf37fc730bf4b51e82a34c6357eebe32c04dbacf6525e0a7b9726f6a17ec9427" dependencies = [ "array-bytes", "docify", @@ -4520,8 +4447,6 @@ dependencies = [ [[package]] name = "frame-support" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512b517645f29d76c79e4c97bf8b0f4dcb6708a2af3be24b1956085dcdcf6ce5" dependencies = [ "aquamarine", "array-bytes", @@ -4606,8 +4531,6 @@ dependencies = [ [[package]] name = "frame-system" version = "36.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d19f388280c14dbabcee2a817e1123c59c55847c6d07a5b5ca901b34a5910093" dependencies = [ "cfg-if", "docify", @@ -4627,8 +4550,6 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15afc91c7780e18274dcea58ed1edb700c48d10e086a9785e3f6708099cd3250" dependencies = [ "frame-benchmarking", "frame-support", @@ -4643,8 +4564,6 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e9e2b7b85e451e367f4fb85ff3295bd039e17f64de1906154d3976e2638ee8" dependencies = [ "parity-scale-codec", "sp-api", @@ -4653,8 +4572,6 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae6ba8b36a52775ad39ccfb45ff4ad814c3cb45ec74d0a4271889e00bd791c6c" dependencies = [ "frame-support", "parity-scale-codec", @@ -5064,8 +4981,6 @@ checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" [[package]] name = "hex-literal" version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hkdf" @@ -6782,8 +6697,6 @@ dependencies = [ [[package]] name = "log" version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" @@ -7617,6 +7530,8 @@ version = "1.0.0" dependencies = [ "frame-support", "frame-system", + "pallet-balances", + "pallet-indices", "parity-scale-codec", "scale-info", "staging-xcm", @@ -7625,8 +7540,6 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6c2c92855904f34ce42de688cc9411ffcb4c3f13751af2dafd52474d540b158" dependencies = [ "array-bytes", "frame-benchmarking", @@ -7647,8 +7560,6 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f726ebb59401c1844a4a8703047bdafcd99a1827cd5d8b2c82abeb8948a7f25b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7667,8 +7578,6 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0fde03a96382f4dbe37ef95cb4ef7aade7c0be410cb6c888eda911c94af3eaf" dependencies = [ "frame-support", "frame-system", @@ -7683,8 +7592,6 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e806842bec955190ec64f8b2179f74f5355137c4cadf04f3269e6196cd19caf9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7699,8 +7606,6 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "100a180dfbf30a1c872100ec2dae8a61c0f5e8b3f2d3a5cbb34093826293e2ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7718,8 +7623,6 @@ dependencies = [ [[package]] name = "pallet-assets" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f79ef6a7763fc08177f014052469ee12aefcdad0d99a747372360c2f648d2cc4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7736,8 +7639,6 @@ dependencies = [ [[package]] name = "pallet-aura" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0861b2a1ad6526948567bb59a3fdc4c7f02ee79b07be8b931a544350ec35ab0c" dependencies = [ "frame-support", "frame-system", @@ -7754,8 +7655,6 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2c3666a476132f5846fe4d5e1961a923a58a0f54d873d84566f24ffaa3684f" dependencies = [ "frame-support", "frame-system", @@ -7771,8 +7670,6 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38885846dbcf03b025fdbd7edb3649046dbc68fa0b419ffe8837ef853a10d31f" dependencies = [ "frame-support", "frame-system", @@ -7786,8 +7683,6 @@ dependencies = [ [[package]] name = "pallet-babe" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b23d2d814e3cb793659fcf84533f66fdf0ed9cccb66cb2225851f482843ed096" dependencies = [ "frame-benchmarking", "frame-support", @@ -7811,8 +7706,6 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af34fa3fb6a0abe3577e435988039a9e441f6705ae2d3ad627a23e3f705baa2d" dependencies = [ "aquamarine", "docify", @@ -7834,8 +7727,6 @@ dependencies = [ [[package]] name = "pallet-balances" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6878e240962d3887f0e0654ac343a18845adb95ad493c9d4d5e803c015d4a4c3" dependencies = [ "docify", "frame-benchmarking", @@ -7851,8 +7742,6 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715dfcd1bf3f1f37af6335d4eb3cef921e746ac54721e2258c4fd968b61eb009" dependencies = [ "frame-support", "frame-system", @@ -7872,8 +7761,6 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d70c6f872eb3f2635355ccbea944a4f9ea411c0aa25f6f1a15219e8da11ad2" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7898,8 +7785,6 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0566499e74ba4b7ccbd1b667eef0dab76ca28402a8d501e22b73a363717b05a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7917,8 +7802,6 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61d30a4860bb12559dc28b2d46dd865e2066bce83239230f748e2c569a3cadf4" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7939,8 +7822,6 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3c0fcb1b9ae50ece73cbe36b72c2778f5d4637e4fb0cfac30cb16f7d4b61d5e" dependencies = [ "bp-messages", "bp-runtime", @@ -7958,8 +7839,6 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3974fb658cf1b9ca8c2d3c77bf080b2f94c054c2b466b709ef29f6d3726f2231" dependencies = [ "bp-header-chain", "bp-parachains", @@ -7980,8 +7859,6 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c92383f4c7d1eaced8413e39b948227a527a0136f705660580c57753dc11568" dependencies = [ "bp-messages", "bp-relayers", @@ -8001,8 +7878,6 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0d652c399b6ed776ee3322e60f40e323f86b413719d7696eddb8f64c368ac0" dependencies = [ "bitvec", "frame-benchmarking", @@ -8021,8 +7896,6 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38e351f103ebbdd1eb095da8c2379caccc82ebc59a740c2731693d2204286b83" dependencies = [ "frame-benchmarking", "frame-support", @@ -8041,8 +7914,6 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f660cc09f2f277a3976da2eef856b5c725ab7ad1192902ef7f4e4bafd992f04f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8062,8 +7933,6 @@ dependencies = [ [[package]] name = "pallet-collective" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771bf7f6c76c3ea5e965fee0bf1d8a8c79c8c52d75ead65ed3c4d385f333756f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8080,8 +7949,6 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9033f0d23500bbc39298fd50c07b89a2f2d9f07300139b4df8005995ef683875" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8098,8 +7965,6 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99f3caf5d750236fce5f59fa464a9ca5bbefedd97f2570caa96cf7bdd2ec5261" dependencies = [ "frame-benchmarking", "frame-support", @@ -8133,8 +7998,6 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd1090fdc6ccdd8ff08c60000c970428baaaf0b33e7a6b01a91ec8b697a650a3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8157,8 +8020,6 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93475989d2f6900caf8f1c847a55d909295c156525a7510c5f1dde176ec7c714" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8172,8 +8033,6 @@ dependencies = [ [[package]] name = "pallet-encointer-balances" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85fe03301d9f19ce476b6ce91e0531c6c91b6cb26df88ff4a490ab7493afe026" dependencies = [ "approx", "encointer-primitives", @@ -8192,8 +8051,6 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d38c490fdd90b649b3ec68a8bb25d3cdfaa11223122482737114e00e29f8a5" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8210,8 +8067,6 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdfc381df1d6346e244994d4a5729b79b60f964ba4c13e29ea2f057627e1db25" dependencies = [ "encointer-primitives", "frame-support", @@ -8223,8 +8078,6 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b76d07f98908e1528413fc4f07162adaaadec0ebe8043fe1beb23ccd2b571b7a" dependencies = [ "encointer-ceremonies-assignment", "encointer-meetup-validation", @@ -8249,8 +8102,6 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c186e855a19f98ba75ef8d674e71533584620a3d7a8ff653631c391f7a4a9b79" dependencies = [ "encointer-primitives", "frame-support", @@ -8262,8 +8113,6 @@ dependencies = [ [[package]] name = "pallet-encointer-communities" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbd4cb15599fc47c662234cfdb2c1c63f39106c4099383d84c981fe5c40af0e" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8282,8 +8131,6 @@ dependencies = [ [[package]] name = "pallet-encointer-communities-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf0ab6667ef6adb7712810f90301e3047e2b7d18ef0e81017dfc9b823d8696f" dependencies = [ "encointer-primitives", "parity-scale-codec", @@ -8294,8 +8141,6 @@ dependencies = [ [[package]] name = "pallet-encointer-democracy" version = "13.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a85ffc73a3a0f927873ff96116cb994bc68f9fac509a556eb0b053265232724" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8320,8 +8165,6 @@ dependencies = [ [[package]] name = "pallet-encointer-faucet" version = "13.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3493685d55804d44c674429c7f6eae641700542a4295eea9604677a006ecd46" dependencies = [ "approx", "encointer-primitives", @@ -8341,8 +8184,6 @@ dependencies = [ [[package]] name = "pallet-encointer-reputation-commitments" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb74f5a90b77739db9829a5aa640afc002fd9ebe05ecf07dd61898a98909d5d" dependencies = [ "approx", "encointer-primitives", @@ -8364,8 +8205,6 @@ dependencies = [ [[package]] name = "pallet-encointer-scheduler" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc3be9d4a09bd65fad4968354b320cd3cd1913950891293e00fbc879fc09b5d6" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8383,8 +8222,6 @@ dependencies = [ [[package]] name = "pallet-encointer-treasuries" version = "13.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65f42991fce5d96f04106e5d27d4c12c77250d70da9ac95497e8fb17a3ebe99f" dependencies = [ "approx", "encointer-primitives", @@ -8404,8 +8241,6 @@ dependencies = [ [[package]] name = "pallet-encointer-treasuries-rpc-runtime-api" version = "13.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8bcfc738dde3b75aba337d33ffb9cc109ac5c9f3fed24ce32f1f8c0ee39ab0" dependencies = [ "encointer-primitives", "frame-support", @@ -8418,8 +8253,6 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9155f4f762513e0287320411415c76a647152799ad33db1785c9b71c36a14575" dependencies = [ "docify", "frame-benchmarking", @@ -8438,8 +8271,6 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9947ef904cd7662b80f8dee58e03431ee409dacada26d394c34a7bb642d3eeea" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -8458,8 +8289,6 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8244b686d5cae6a8af1557ed0f49db08f812f0e7942a8d2da554b4da8a69daf0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8482,8 +8311,6 @@ dependencies = [ [[package]] name = "pallet-identity" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4555795a3e0e3aa49ea432b7afecb9c71a7db8793a99c68bd8dd3a52a12571f3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8500,8 +8327,6 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa761292e95020304b58b50e5187f8bb82f557c8c2d013e3c96ab41d611873b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8521,8 +8346,6 @@ dependencies = [ [[package]] name = "pallet-indices" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b183880ad5efae06afe6066e76f2bac5acf67f34b3cfab7352ceec46accf4b45" dependencies = [ "frame-benchmarking", "frame-support", @@ -8539,8 +8362,6 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30555c1b6d76cca7266b639f127a055a4974f5a0796859933cbfebc9a75753a2" dependencies = [ "frame-support", "frame-system", @@ -8554,8 +8375,6 @@ dependencies = [ [[package]] name = "pallet-membership" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34006cf047f47edbef33874cc64895918e2c5d7562795209068d5fb388c53a30" dependencies = [ "frame-benchmarking", "frame-support", @@ -8572,8 +8391,6 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e65a37881d1998546254a5e50a1f768b3f82deabe774e750f4ea95aba8030c" dependencies = [ "environmental", "frame-benchmarking", @@ -8593,8 +8410,6 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf8ccec82827413f031689fef4c714fdb0213d58c7a6e208d33f5eab80483770" dependencies = [ "frame-benchmarking", "frame-support", @@ -8612,8 +8427,6 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be58483d827602eb8353ecf36aed65c857f0974db5d27981831e5ebf853040bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8629,8 +8442,6 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcaa330221f60feaf3b23d495cccc3bf2a3d6254c596b3c032273c2b46d4078" dependencies = [ "frame-benchmarking", "frame-support", @@ -8647,8 +8458,6 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "30.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e1cd476809de3840e19091a083d5a79178af1f108ad489706e1f9e04c8836a4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8666,8 +8475,6 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0ca7a0446d2d3c27f726a016c6366218df2e0bfef9ed35886b252cfa9757f6c" dependencies = [ "pallet-nfts", "parity-scale-codec", @@ -8678,8 +8485,6 @@ dependencies = [ [[package]] name = "pallet-nis" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e77cba0e15749c8de2be65efffa51e02bd051b4e6fcf23360d43c3b6a859187c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8695,8 +8500,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f8c994eb7298a394b58f98afd520b521b5d46f6f39eade4657eeaac9962471" dependencies = [ "frame-support", "frame-system", @@ -8715,8 +8518,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ee599f2861e55fc6113c01e9b14d6e85fda46bac36a906b5dd5a951fa0455c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8737,8 +8538,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "31.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2906899d8f029780f0d9da77b90ae86f42bcfda5ac402c931406cd84852012ed" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8749,8 +8548,6 @@ dependencies = [ [[package]] name = "pallet-offences" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4859e7bb2af46d2e0f137c2f777adf39f0e5d4d188226158d599f1cfcfb76b9e" dependencies = [ "frame-support", "frame-system", @@ -8767,8 +8564,6 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4351b0edafcdf3240f0471c638b39d2c981bde9d17c0172536a0aa3b7c3097ef" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8792,8 +8587,6 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58d9a81a93202105a660e6aa3d3f81638bdd109ca0497f3e528529cd52d034db" dependencies = [ "docify", "frame-benchmarking", @@ -8811,8 +8604,6 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68ac726abc5b1bcd6c8f783514b8e1a48be32c7d15e0b263e4bc28cc1e4e7763" dependencies = [ "frame-benchmarking", "frame-support", @@ -8829,8 +8620,6 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4e12680e176607815a78a0cd10a52af50790292cb950404f30a885e2a7229e9" dependencies = [ "frame-benchmarking", "frame-support", @@ -8845,8 +8634,6 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862ea8d386ed5737e859470c43cbfd9652c81398cad29e03ae7846c21aaee4c6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8865,8 +8652,6 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b24d4131bc79fee0b07550136ca6329faa84c1c3e76ae62a74aef6b1da0b95b4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8881,8 +8666,6 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2c906a9c4573eb58de4134ec7180bf12c6769df2b9859dae8adcbc5fce78add" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8901,8 +8684,6 @@ dependencies = [ [[package]] name = "pallet-salary" version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6246871441f85b32d67f70ef13726ac195b05f8e9297df7c46a95a397b8df42" dependencies = [ "frame-benchmarking", "frame-support", @@ -8921,8 +8702,6 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b170d6aa191197d3f50b1193925546972ffc394376ead4d2739eb40909b73c85" dependencies = [ "docify", "frame-benchmarking", @@ -8940,8 +8719,6 @@ dependencies = [ [[package]] name = "pallet-session" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c92b24c911c2cfa5351616edc7f2f93427ea6f4f95efdb13f0f5d51997939c3" dependencies = [ "frame-support", "frame-system", @@ -8963,8 +8740,6 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd02aaf5f10734670346677042ece94fae20dcd5436eafeb9b429d8d6d5b6385" dependencies = [ "frame-benchmarking", "frame-support", @@ -8981,8 +8756,6 @@ dependencies = [ [[package]] name = "pallet-society" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66b60b1d726532317f9965bab4995aa49b73f9b7ca3b9a0f75d158bd84686c5f" dependencies = [ "frame-benchmarking", "frame-support", @@ -9000,8 +8773,6 @@ dependencies = [ [[package]] name = "pallet-staking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbebdb060417654f215fc6f03675e5f44cfc83837d9e523e1b8fd9a4a2e1bdc2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9024,8 +8795,6 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "12.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db5e6b1d8ee9d3f6894c5abd8c3e17737ed738c9854f87bfd16239741b7f4d5d" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -9036,8 +8805,6 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "988a7ebeacc84d4bdb0b12409681e956ffe35438447d8f8bc78db547cffb6ebc" dependencies = [ "log", "sp-arithmetic 26.0.0", @@ -9046,8 +8813,6 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3350ef1795b832f4adc464e88fb6d44827bd3f98701b0b0bbee495267b444a92" dependencies = [ "parity-scale-codec", "sp-api", @@ -9057,8 +8822,6 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e07f8626f4ff62ac79d6ad0bd01fab7645897ce35706ddb95fa084e75be9306d" dependencies = [ "frame-benchmarking", "frame-support", @@ -9075,8 +8838,6 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd2a8797c1bb3d3897b4f87a7716111da5eeb8561345277b6e6d70349ec8b35" dependencies = [ "docify", "frame-benchmarking", @@ -9092,8 +8853,6 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae789d344be857679b0b98b28a67c747119724847f81d704d3fd03ee13fb6841" dependencies = [ "docify", "frame-benchmarking", @@ -9113,8 +8872,6 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74fb6114223c8d967c3c2f21cbc845e8ea604ff7e21a8e59d119d5a9257ba886" dependencies = [ "frame-support", "frame-system", @@ -9130,8 +8887,6 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4bad1700ad7eb5ab254189e1df894d1d16b3626a3c4b9c45259ec4d9efc262c" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -9143,8 +8898,6 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c502615bb4fdd02856a131cb2a612ad40c26435ec938f65f11cae4ff230812b" dependencies = [ "docify", "frame-benchmarking", @@ -9163,8 +8916,6 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a59e8599a8c19908e934645f845b5cb546cef1f08745319db7e5b9c24f9e0e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9179,8 +8930,6 @@ dependencies = [ [[package]] name = "pallet-utility" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3238fe6ad00da6a137be115904c39cab97eb5c7f03da0bb1a20de1bef03f0c71" dependencies = [ "frame-benchmarking", "frame-support", @@ -9196,8 +8945,6 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78f7f0f4fe5e1d851e85d81e5e73b6f929f0c35af786ce8be9c9e3363717c136" dependencies = [ "frame-benchmarking", "frame-support", @@ -9212,8 +8959,6 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4f27640279229eb73fde0cb06e98b799305e6b0bc724f4dfbef2001ab4ad00" dependencies = [ "frame-benchmarking", "frame-support", @@ -9228,8 +8973,6 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe7409458b7fedc5c7d46459da154ccc2dc22a843ce08e8ab6c1743ef5cf972c" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -9253,8 +8996,6 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f177a171203cc0bec3cff1bdd5d3b926abfbd0ecf347e044b147194e664f717" dependencies = [ "frame-benchmarking", "frame-support", @@ -9273,8 +9014,6 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b663d0aca0364d576464bd3c976c72ebfe51b3d5f5367686eb7da72c6cb71f23" dependencies = [ "bp-messages", "bp-runtime", @@ -9297,8 +9036,6 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f48bd38d4061a51f263f4c08021e66100e16cbda9978fba163d2544637b31dab" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -9317,8 +9054,6 @@ dependencies = [ [[package]] name = "parachains-common" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9319e656eebdf161666e54a4d8e24f73137f702f01600247f7be650bc4d46167" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -9349,8 +9084,6 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c778447d2e71a418b083c0458579d0f8d13872f43c63142d9e5157edea000bdd" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -9533,8 +9266,6 @@ dependencies = [ [[package]] name = "paste" version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pbkdf2" @@ -9583,8 +9314,6 @@ dependencies = [ [[package]] name = "penpal-runtime" version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e9e9644360684706e3f4abcc85ccec611d142d5f7c2b72c12e7c0d28c49de1" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -10003,8 +9732,6 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17c72ee63bcf920f963cd7ac066759b0b649350c8ab3781a85a6aac87b1488f2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10034,8 +9761,6 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "13.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61070d0ff28f596890def0e0d03c231860796130b2a43e293106fa86a50c9a9" dependencies = [ "bounded-collections", "derive_more", @@ -10052,8 +9777,6 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a4879609f4340138930c3c7313256941104a3ff6f7ecb2569d15223da9b35b2" dependencies = [ "bitvec", "hex-literal", @@ -10188,8 +9911,6 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28fdcb41bb21c7b14d0341a9a17364ccc04ad34de05d41e7938cb03acbc11066" dependencies = [ "bitvec", "frame-benchmarking", @@ -10567,8 +10288,6 @@ dependencies = [ [[package]] name = "primitive-types" version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec", @@ -11679,8 +11398,6 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04100ec7ff9cf1f2052b05086c77cc216ff7268b8c4fe41007de420bc1f70be" dependencies = [ "array-bytes", "docify", @@ -11916,8 +11633,6 @@ dependencies = [ [[package]] name = "sc-network" version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04be75f35cea819bae84be99cde138872b17494acf0e54f5f0ae8b0ed3fbe51a" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12228,8 +11943,6 @@ dependencies = [ [[package]] name = "scale-info" version = "2.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", @@ -12504,14 +12217,10 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "separator" version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5" [[package]] name = "serde" version = "1.0.197" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] @@ -12558,8 +12267,6 @@ dependencies = [ [[package]] name = "serde_json" version = "1.0.114" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ "itoa", "ryu", @@ -12782,8 +12489,6 @@ dependencies = [ [[package]] name = "smallvec" version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" @@ -12923,8 +12628,6 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0ad61e3ab1c48d4c8060c7ef8571c5b6007df26687e8dbfdb6c857d840cfd2c" dependencies = [ "byte-slice-cast", "frame-support", @@ -12946,8 +12649,6 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668cd71582305168ed51cb0357a4b4ea814c68c7db3898a9ba4d492f712c54e1" dependencies = [ "ethabi-decode", "frame-support", @@ -13018,8 +12719,6 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-runtime-api" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab6b34950a2abce198fe008ac6a199598053fedcbde2c40fedf981bc55f85dc7" dependencies = [ "frame-support", "parity-scale-codec", @@ -13032,8 +12731,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-ethereum-client" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0040c2f5a66bcef85e125968af172200cd01d8558c8b3cb9c2e3f1b72abf7dc1" dependencies = [ "frame-benchmarking", "frame-support", @@ -13071,8 +12768,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd92623ca85fe55e317654254acac72e5a324676c52f0993b0980c90a3544f8" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -13100,8 +12795,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0fd4aebc8d5c244d9e658e911d1a84a06676fd05d9c15fb350bc2e653423ec" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", @@ -13113,8 +12806,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-outbound-queue" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cfbea7729bcbea661b323c6090d971afcb2ff14a88d9861aab384705415f9d6" dependencies = [ "bridge-hub-common", "ethabi-decode", @@ -13136,8 +12827,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-system" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f726d9d2bc15b2683995e6f6ae707d2db20085742860acd32d8fb246251681f2" dependencies = [ "frame-benchmarking", "frame-support", @@ -13157,8 +12846,6 @@ dependencies = [ [[package]] name = "snowbridge-router-primitives" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e8e6707ced1308d763117bfe68f85e3f22fcdca7987b32e438c0485570f6ac7" dependencies = [ "frame-support", "hex-literal", @@ -13177,8 +12864,6 @@ dependencies = [ [[package]] name = "snowbridge-runtime-common" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c033e7905056434638a068dca713ec9d15708af6c7590396fc95a216ec64b40b" dependencies = [ "frame-support", "log", @@ -13194,8 +12879,6 @@ dependencies = [ [[package]] name = "snowbridge-runtime-test-common" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bbae06a0abb1ba5ffad59b929263c68cc47b8a286794a7389e781eba20f3481" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -13226,8 +12909,6 @@ dependencies = [ [[package]] name = "snowbridge-system-runtime-api" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca4900b139bfb1c052358b6084aa61658b261900d117aa8996e833a1b344399" dependencies = [ "parity-scale-codec", "snowbridge-core", @@ -13289,8 +12970,6 @@ dependencies = [ [[package]] name = "sp-api" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e43fbf034e9dbaa8ffc6a238a22808777eb38c580f66fc6736d8511631789e" dependencies = [ "hash-db", "log", @@ -13341,8 +13020,6 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d96d1fc0f1c741bbcbd0dd5470eff7b66f011708cc1942b088ebf0d4efb3d93" dependencies = [ "parity-scale-codec", "scale-info", @@ -13370,8 +13047,6 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" dependencies = [ "docify", "integer-sqrt", @@ -13399,8 +13074,6 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cf199dc4f9f77abd3fd91c409759118159ce6ffcd8bc90b229b684ccc8c981f" dependencies = [ "sp-api", "sp-inherents", @@ -13445,8 +13118,6 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ebb90bf00f331b898eb729a1f707251846c1d5582d7467f083884799a69b89" dependencies = [ "async-trait", "parity-scale-codec", @@ -13532,8 +13203,6 @@ dependencies = [ [[package]] name = "sp-core" version = "31.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d7a0fd8f16dcc3761198fc83be12872f823b37b749bc72a3a6a1f702509366" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -13661,8 +13330,6 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", @@ -13695,8 +13362,6 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcd065854d96fd81521c103d0aaa287d4f08b9b15c9fae2a3bfb208b0812bf44" dependencies = [ "parity-scale-codec", "scale-info", @@ -13708,8 +13373,6 @@ dependencies = [ [[package]] name = "sp-inherents" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53407ba38ec22ca4a16381722c4bd0b559a0428bc1713079b0d5163ada63186a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13722,8 +13385,6 @@ dependencies = [ [[package]] name = "sp-io" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e09bba780b55bd9e67979cd8f654a31e4a6cf45426ff371394a65953d2177f2" dependencies = [ "bytes", "ed25519-dalek", @@ -13776,8 +13437,6 @@ dependencies = [ [[package]] name = "sp-keyring" version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03536e1ff3ec2bd8181eeaa26c0d682ebdcbd01548a055cf591077188b8c3f0" dependencies = [ "sp-core 34.0.0", "sp-runtime 38.0.0", @@ -13862,8 +13521,6 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b0c51a7b60cd663f2661e6949069eb316b092f22c239691d5272a4d0cfca0fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -13876,8 +13533,6 @@ dependencies = [ [[package]] name = "sp-offchain" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbe721c367760bddf10fcfa24fb48edd64c442f71db971f043c8ac73f51aa6e9" dependencies = [ "sp-api", "sp-core 34.0.0", @@ -13934,8 +13589,6 @@ dependencies = [ [[package]] name = "sp-runtime" version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ef409c414546b655ec1e94aaea178e4a97e21284a91b24c762aebf836d3b49" dependencies = [ "docify", "either", @@ -14014,8 +13667,6 @@ dependencies = [ [[package]] name = "sp-session" version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4daf2e40ffc7e7e8de08efb860eb9534faf614a49c53dc282f430faedb4aed13" dependencies = [ "parity-scale-codec", "scale-info", @@ -14029,8 +13680,6 @@ dependencies = [ [[package]] name = "sp-staking" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a0b7abfe66c07a3b6eb99e1286dfa9b6f3b057b0e986e7da2ccbf707f6c781a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -14111,8 +13760,6 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-storage" @@ -14131,8 +13778,6 @@ dependencies = [ [[package]] name = "sp-storage" version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14157,8 +13802,6 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0351810b9d074df71c4514c5228ed05c250607cba131c1c9d1526760ab69c05c" dependencies = [ "parity-scale-codec", "sp-std", @@ -14182,8 +13825,6 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3c9d1604aadc15b70e95f4388d0b1aa380215520b7ddfd372531a6d8262269c" dependencies = [ "sp-api", "sp-runtime 38.0.0", @@ -14192,8 +13833,6 @@ dependencies = [ [[package]] name = "sp-trie" version = "32.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1aa91ad26c62b93d73e65f9ce7ebd04459c4bad086599348846a81988d6faa4" dependencies = [ "ahash 0.8.8", "hash-db", @@ -14241,8 +13880,6 @@ dependencies = [ [[package]] name = "sp-version" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bccf96fefae339dee7c4453f91be64eb28cce4c2fe82130445cf096b18b2c081" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14298,8 +13935,6 @@ dependencies = [ [[package]] name = "sp-weights" version = "30.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9af6c661fe3066b29f9e1d258000f402ff5cc2529a9191972d214e5871d0ba87" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -14362,8 +13997,6 @@ dependencies = [ [[package]] name = "ss58-registry" version = "1.47.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" dependencies = [ "Inflector", "num-format", @@ -14591,8 +14224,6 @@ dependencies = [ [[package]] name = "static_assertions" version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "str0m" @@ -14759,8 +14390,6 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dc993ad871b63fbba60362f3ea86583f5e7e1256e8fdcb3b5b249c9ead354bf" dependencies = [ "array-bytes", "build-helper", @@ -14800,8 +14429,6 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" version = "0.35.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd68bef23f4de5e513ab4c29af69053e232b098f9c87ab552d7ea153b4a1fbc5" dependencies = [ "async-trait", "base58", @@ -15165,8 +14792,6 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" version = "1.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", @@ -15493,8 +15118,6 @@ dependencies = [ [[package]] name = "tracing-subscriber" version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" dependencies = [ "ansi_term", "chrono", @@ -15667,8 +15290,6 @@ dependencies = [ [[package]] name = "tuplex" version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "676ac81d5454c4dcf37955d34fa8626ede3490f744b86ca14a7b90168d2a08aa" [[package]] name = "twox-hash" @@ -16708,8 +16329,6 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be630e9b41c5d19d227162afe4cf642be24058b179fb1edbfe132f6328c7bde8" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -16755,8 +16374,6 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30fffcd9128a46abd836c37dd001c2cbe122aeb8904cd7b9bac8358564fb7b56" dependencies = [ "frame-support", "parity-scale-codec", @@ -16944,8 +16561,6 @@ dependencies = [ [[package]] name = "zombienet-sdk" version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d629add7e175261c047c9dc038b4b23fefb174edaf2868f858c5ff1b682f6541" dependencies = [ "async-trait", "futures", diff --git a/Cargo.toml b/Cargo.toml index 4490102d22..108127f125 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -316,3 +316,199 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 + +[patch.crates-io] +assert_matches = { path = "../vendor/assert_matches" } +asset-test-utils = { path = "../vendor/asset-test-utils" } +assets-common = { path = "../vendor/assets-common" } +binary-merkle-tree = { path = "../vendor/binary-merkle-tree" } +bp-bridge-hub-cumulus = { path = "../vendor/bp-bridge-hub-cumulus" } +bp-header-chain = { path = "../vendor/bp-header-chain" } +bp-kusama = { path = "../vendor/bp-kusama" } +bp-messages = { path = "../vendor/bp-messages" } +bp-parachains = { path = "../vendor/bp-parachains" } +bp-polkadot = { path = "../vendor/bp-polkadot" } +bp-polkadot-bulletin = { path = "../vendor/bp-polkadot-bulletin" } +bp-polkadot-core = { path = "../vendor/bp-polkadot-core" } +bp-relayers = { path = "../vendor/bp-relayers" } +bp-runtime = { path = "../vendor/bp-runtime" } +bp-xcm-bridge-hub-router = { path = "../vendor/bp-xcm-bridge-hub-router" } +bridge-hub-common = { path = "../vendor/bridge-hub-common" } +bridge-hub-test-utils = { path = "../vendor/bridge-hub-test-utils" } +bridge-runtime-common = { path = "../vendor/bridge-runtime-common" } +clap = { path = "../vendor/clap" } +cumulus-pallet-aura-ext = { path = "../vendor/cumulus-pallet-aura-ext" } +cumulus-pallet-parachain-system = { path = "../vendor/cumulus-pallet-parachain-system" } +cumulus-pallet-session-benchmarking = { path = "../vendor/cumulus-pallet-session-benchmarking" } +cumulus-pallet-xcm = { path = "../vendor/cumulus-pallet-xcm" } +cumulus-pallet-xcmp-queue = { path = "../vendor/cumulus-pallet-xcmp-queue" } +cumulus-primitives-aura = { path = "../vendor/cumulus-primitives-aura" } +cumulus-primitives-core = { path = "../vendor/cumulus-primitives-core" } +cumulus-primitives-utility = { path = "../vendor/cumulus-primitives-utility" } +emulated-integration-tests-common = { path = "../vendor/emulated-integration-tests-common" } +encointer-balances-tx-payment = { path = "../vendor/encointer-balances-tx-payment" } +encointer-balances-tx-payment-rpc-runtime-api = { path = "../vendor/encointer-balances-tx-payment-rpc-runtime-api" } +encointer-primitives = { path = "../vendor/encointer-primitives" } +enumflags2 = { path = "../vendor/enumflags2" } +frame-benchmarking = { path = "../vendor/frame-benchmarking" } +frame-election-provider-support = { path = "../vendor/frame-election-provider-support" } +frame-executive = { path = "../vendor/frame-executive" } +frame-support = { path = "../vendor/frame-support" } +frame-system = { path = "../vendor/frame-system" } +frame-system-benchmarking = { path = "../vendor/frame-system-benchmarking" } +frame-system-rpc-runtime-api = { path = "../vendor/frame-system-rpc-runtime-api" } +frame-try-runtime = { path = "../vendor/frame-try-runtime" } +hex-literal = { path = "../vendor/hex-literal" } +log = { path = "../vendor/log" } +pallet-alliance = { path = "../vendor/pallet-alliance" } +pallet-asset-conversion = { path = "../vendor/pallet-asset-conversion" } +pallet-asset-conversion-tx-payment = { path = "../vendor/pallet-asset-conversion-tx-payment" } +pallet-asset-rate = { path = "../vendor/pallet-asset-rate" } +pallet-asset-tx-payment = { path = "../vendor/pallet-asset-tx-payment" } +pallet-assets = { path = "../vendor/pallet-assets" } +pallet-aura = { path = "../vendor/pallet-aura" } +pallet-authority-discovery = { path = "../vendor/pallet-authority-discovery" } +pallet-authorship = { path = "../vendor/pallet-authorship" } +pallet-babe = { path = "../vendor/pallet-babe" } +pallet-bags-list = { path = "../vendor/pallet-bags-list" } +pallet-balances = { path = "../vendor/pallet-balances" } +pallet-beefy = { path = "../vendor/pallet-beefy" } +pallet-beefy-mmr = { path = "../vendor/pallet-beefy-mmr" } +pallet-bounties = { path = "../vendor/pallet-bounties" } +pallet-bridge-grandpa = { path = "../vendor/pallet-bridge-grandpa" } +pallet-bridge-messages = { path = "../vendor/pallet-bridge-messages" } +pallet-bridge-parachains = { path = "../vendor/pallet-bridge-parachains" } +pallet-bridge-relayers = { path = "../vendor/pallet-bridge-relayers" } +pallet-broker = { path = "../vendor/pallet-broker" } +pallet-child-bounties = { path = "../vendor/pallet-child-bounties" } +pallet-collator-selection = { path = "../vendor/pallet-collator-selection" } +pallet-collective = { path = "../vendor/pallet-collective" } +pallet-conviction-voting = { path = "../vendor/pallet-conviction-voting" } +pallet-core-fellowship = { path = "../vendor/pallet-core-fellowship" } +pallet-election-provider-multi-phase = { path = "../vendor/pallet-election-provider-multi-phase" } +pallet-election-provider-support-benchmarking = { path = "../vendor/pallet-election-provider-support-benchmarking" } +pallet-encointer-balances = { path = "../vendor/pallet-encointer-balances" } +pallet-encointer-bazaar = { path = "../vendor/pallet-encointer-bazaar" } +pallet-encointer-bazaar-rpc-runtime-api = { path = "../vendor/pallet-encointer-bazaar-rpc-runtime-api" } +pallet-encointer-ceremonies = { path = "../vendor/pallet-encointer-ceremonies" } +pallet-encointer-ceremonies-rpc-runtime-api = { path = "../vendor/pallet-encointer-ceremonies-rpc-runtime-api" } +pallet-encointer-communities = { path = "../vendor/pallet-encointer-communities" } +pallet-encointer-communities-rpc-runtime-api = { path = "../vendor/pallet-encointer-communities-rpc-runtime-api" } +pallet-encointer-democracy = { path = "../vendor/pallet-encointer-democracy" } +pallet-encointer-faucet = { path = "../vendor/pallet-encointer-faucet" } +pallet-encointer-reputation-commitments = { path = "../vendor/pallet-encointer-reputation-commitments" } +pallet-encointer-scheduler = { path = "../vendor/pallet-encointer-scheduler" } +pallet-encointer-treasuries = { path = "../vendor/pallet-encointer-treasuries" } +pallet-encointer-treasuries-rpc-runtime-api = { path = "../vendor/pallet-encointer-treasuries-rpc-runtime-api" } +pallet-fast-unstake = { path = "../vendor/pallet-fast-unstake" } +pallet-glutton = { path = "../vendor/pallet-glutton" } +pallet-grandpa = { path = "../vendor/pallet-grandpa" } +pallet-identity = { path = "../vendor/pallet-identity" } +pallet-im-online = { path = "../vendor/pallet-im-online" } +pallet-indices = { path = "../vendor/pallet-indices" } +pallet-insecure-randomness-collective-flip = { path = "../vendor/pallet-insecure-randomness-collective-flip" } +pallet-membership = { path = "../vendor/pallet-membership" } +pallet-message-queue = { path = "../vendor/pallet-message-queue" } +pallet-mmr = { path = "../vendor/pallet-mmr" } +pallet-multisig = { path = "../vendor/pallet-multisig" } +pallet-nft-fractionalization = { path = "../vendor/pallet-nft-fractionalization" } +pallet-nfts = { path = "../vendor/pallet-nfts" } +pallet-nfts-runtime-api = { path = "../vendor/pallet-nfts-runtime-api" } +pallet-nis = { path = "../vendor/pallet-nis" } +pallet-nomination-pools = { path = "../vendor/pallet-nomination-pools" } +pallet-nomination-pools-benchmarking = { path = "../vendor/pallet-nomination-pools-benchmarking" } +pallet-nomination-pools-runtime-api = { path = "../vendor/pallet-nomination-pools-runtime-api" } +pallet-offences = { path = "../vendor/pallet-offences" } +pallet-offences-benchmarking = { path = "../vendor/pallet-offences-benchmarking" } +pallet-parameters = { path = "../vendor/pallet-parameters" } +pallet-preimage = { path = "../vendor/pallet-preimage" } +pallet-proxy = { path = "../vendor/pallet-proxy" } +pallet-ranked-collective = { path = "../vendor/pallet-ranked-collective" } +pallet-recovery = { path = "../vendor/pallet-recovery" } +pallet-referenda = { path = "../vendor/pallet-referenda" } +pallet-salary = { path = "../vendor/pallet-salary" } +pallet-scheduler = { path = "../vendor/pallet-scheduler" } +pallet-session = { path = "../vendor/pallet-session" } +pallet-session-benchmarking = { path = "../vendor/pallet-session-benchmarking" } +pallet-society = { path = "../vendor/pallet-society" } +pallet-staking = { path = "../vendor/pallet-staking" } +pallet-staking-reward-curve = { path = "../vendor/pallet-staking-reward-curve" } +pallet-staking-reward-fn = { path = "../vendor/pallet-staking-reward-fn" } +pallet-staking-runtime-api = { path = "../vendor/pallet-staking-runtime-api" } +pallet-state-trie-migration = { path = "../vendor/pallet-state-trie-migration" } +pallet-sudo = { path = "../vendor/pallet-sudo" } +pallet-timestamp = { path = "../vendor/pallet-timestamp" } +pallet-transaction-payment = { path = "../vendor/pallet-transaction-payment" } +pallet-transaction-payment-rpc-runtime-api = { path = "../vendor/pallet-transaction-payment-rpc-runtime-api" } +pallet-treasury = { path = "../vendor/pallet-treasury" } +pallet-uniques = { path = "../vendor/pallet-uniques" } +pallet-utility = { path = "../vendor/pallet-utility" } +pallet-vesting = { path = "../vendor/pallet-vesting" } +pallet-whitelist = { path = "../vendor/pallet-whitelist" } +pallet-xcm = { path = "../vendor/pallet-xcm" } +pallet-xcm-benchmarks = { path = "../vendor/pallet-xcm-benchmarks" } +pallet-xcm-bridge-hub = { path = "../vendor/pallet-xcm-bridge-hub" } +pallet-xcm-bridge-hub-router = { path = "../vendor/pallet-xcm-bridge-hub-router" } +parachains-common = { path = "../vendor/parachains-common" } +parachains-runtimes-test-utils = { path = "../vendor/parachains-runtimes-test-utils" } +paste = { path = "../vendor/paste" } +penpal-runtime = { path = "../vendor/penpal-runtime" } +polkadot-core-primitives = { path = "../vendor/polkadot-core-primitives" } +polkadot-parachain-primitives = { path = "../vendor/polkadot-parachain-primitives" } +polkadot-primitives = { path = "../vendor/polkadot-primitives" } +polkadot-runtime-common = { path = "../vendor/polkadot-runtime-common" } +primitive-types = { path = "../vendor/primitive-types" } +frame-metadata-hash-extension = { path = "../vendor/frame-metadata-hash-extension" } +sc-chain-spec = { path = "../vendor/sc-chain-spec" } +sc-network = { path = "../vendor/sc-network" } +scale-info = { path = "../vendor/scale-info" } +separator = { path = "../vendor/separator" } +serde = { path = "../vendor/serde" } +serde_json = { path = "../vendor/serde_json" } +smallvec = { path = "../vendor/smallvec" } +snowbridge-beacon-primitives = { path = "../vendor/snowbridge-beacon-primitives" } +snowbridge-core = { path = "../vendor/snowbridge-core" } +snowbridge-outbound-queue-runtime-api = { path = "../vendor/snowbridge-outbound-queue-runtime-api" } +snowbridge-pallet-ethereum-client = { path = "../vendor/snowbridge-pallet-ethereum-client" } +snowbridge-pallet-inbound-queue = { path = "../vendor/snowbridge-pallet-inbound-queue" } +snowbridge-pallet-inbound-queue-fixtures = { path = "../vendor/snowbridge-pallet-inbound-queue-fixtures" } +snowbridge-pallet-outbound-queue = { path = "../vendor/snowbridge-pallet-outbound-queue" } +snowbridge-pallet-system = { path = "../vendor/snowbridge-pallet-system" } +snowbridge-router-primitives = { path = "../vendor/snowbridge-router-primitives" } +snowbridge-runtime-common = { path = "../vendor/snowbridge-runtime-common" } +snowbridge-runtime-test-common = { path = "../vendor/snowbridge-runtime-test-common" } +snowbridge-system-runtime-api = { path = "../vendor/snowbridge-system-runtime-api" } +sp-api = { path = "../vendor/sp-api" } +sp-application-crypto = { path = "../vendor/sp-application-crypto" } +sp-arithmetic = { path = "../vendor/sp-arithmetic" } +sp-block-builder = { path = "../vendor/sp-block-builder" } +sp-consensus-aura = { path = "../vendor/sp-consensus-aura" } +sp-core = { path = "../vendor/sp-core-31.0.0" } +sp-debug-derive = { path = "../vendor/sp-debug-derive" } +sp-genesis-builder = { path = "../vendor/sp-genesis-builder" } +sp-inherents = { path = "../vendor/sp-inherents" } +sp-io = { path = "../vendor/sp-io-33.0.0" } +sp-keyring = { path = "../vendor/sp-keyring" } +sp-npos-elections = { path = "../vendor/sp-npos-elections" } +sp-offchain = { path = "../vendor/sp-offchain" } +sp-runtime = { path = "../vendor/sp-runtime" } +sp-session = { path = "../vendor/sp-session" } +sp-staking = { path = "../vendor/sp-staking" } +sp-std = { path = "../vendor/sp-std" } +sp-storage = { path = "../vendor/sp-storage" } +sp-tracing = { path = "../vendor/sp-tracing-16.0.0" } +sp-transaction-pool = { path = "../vendor/sp-transaction-pool" } +sp-trie = { path = "../vendor/sp-trie-32.0.0" } +sp-version = { path = "../vendor/sp-version" } +sp-weights = { path = "../vendor/sp-weights-30.0.0" } +static_assertions = { path = "../vendor/static_assertions" } +substrate-wasm-builder = { path = "../vendor/substrate-wasm-builder" } +tokio = { path = "../vendor/tokio" } +xcm-emulator = { path = "../vendor/xcm-emulator" } +xcm-runtime-apis = { path = "../vendor/xcm-runtime-apis" } +anyhow = { path = "../vendor/anyhow" } +subxt = { path = "../vendor/subxt" } +tracing-subscriber = { path = "../vendor/tracing-subscriber-0.2.25" } +zombienet-sdk = { path = "../vendor/zombienet-sdk" } +tuplex = { path = "../vendor/tuplex" } +ss58-registry = { path = "../vendor/ss58-registry" } \ No newline at end of file diff --git a/ahm-controller/Cargo.toml b/ahm-controller/Cargo.toml index 54ec692130..f674164e3f 100644 --- a/ahm-controller/Cargo.toml +++ b/ahm-controller/Cargo.toml @@ -14,6 +14,9 @@ frame-support = { workspace = true } frame-system = { workspace = true } xcm = { workspace = true } +pallet-indices = { workspace = true } +pallet-balances = { workspace = true } + [features] default = ["std"] std = [ @@ -21,13 +24,16 @@ std = [ "frame-support/std", "frame-system/std", "scale-info/std", - "xcm/std" + "xcm/std", + "pallet-indices/std" ] try-runtime = [ "frame-support/try-runtime", - "frame-system/try-runtime" + "frame-system/try-runtime", + "pallet-indices/try-runtime" ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks" + "frame-system/runtime-benchmarks", + "pallet-indices/runtime-benchmarks" ] diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs index d853c9b343..de45571285 100644 --- a/ahm-controller/src/lib.rs +++ b/ahm-controller/src/lib.rs @@ -25,6 +25,7 @@ use alloc::{vec, vec::Vec}; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; +use frame_support::storage::TransactionOutcome; use xcm::{ prelude::{send_xcm, Instruction, Junction, Location, OriginKind, SendXcm, WeightLimit, Xcm}, v4::{ @@ -54,13 +55,17 @@ pub enum Role { #[derive(Encode, Decode, MaxEncodedLen, TypeInfo)] pub enum Phase { - Waiting, + MigrateBalancesEds { next_account: Option>> }, + + AllDone, } #[derive(Encode, Decode)] -enum AssetHubPalletConfig { +enum AssetHubPalletConfig { #[codec(index = 244)] AhmController(AhmCall), + #[codec(index = 5)] + Indices(pallet_indices::Call), } /// Call encoding for the calls needed from the Broker pallet. @@ -70,12 +75,18 @@ enum AhmCall { EmitHey, } +/*#[derive(Encode, Decode)] +enum AhIndicesCall { + #[codec(index = 5)] + MigrateInNext(::AccountIndex, T::AccountId, BalanceOf, bool), +}*/ + #[frame_support::pallet] pub mod pallet { use super::*; #[pallet::config] - pub trait Config: frame_system::Config { + pub trait Config: frame_system::Config + pallet_indices::Config + pallet_balances::Config { type RuntimeEvent: From> + IsType<::RuntimeEvent>; #[pallet::constant] @@ -95,8 +106,11 @@ pub mod pallet { #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { Hey, + SentDownward, - ErrorSending, + ErrorSendingDownward, + + PalletIndicesFinished, } #[pallet::error] @@ -105,48 +119,136 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { fn on_initialize(_: BlockNumberFor) -> Weight { - if T::Role::get() != Role::Relay { - return Weight::zero(); - } - - let message = Xcm(vec![ - Instruction::UnpaidExecution { - weight_limit: WeightLimit::Unlimited, - check_origin: None, + match T::Role::get() { + Role::Relay => { + Self::relay_on_init(); + }, + Role::AssetHub => { + }, + }; + + Weight::zero() + } + } + + #[pallet::call] + impl Pallet { + #[pallet::call_index(0)] + #[pallet::weight(123)] + pub fn hey(_origin: OriginFor) -> DispatchResult { + Self::deposit_event(Event::Hey); + + Ok(()) + } + } + + impl Pallet { + fn relay_on_init() { + // Phase init + let phase = match Phase::::get() { + None => Phase::MigrateBalancesEds { next_account: Vec::new() }, + Some(phase) => phase, + }; + + // Phase handling and transistion + let phase = match phase { + Phase::MigrateBalancesEds { mut next_account } => { + Self::migrate_eds(&mut next_account, 100)?; + + if next_account.is_some() { + Phase::MigrateBalancesEds { next_account } + } else { + Phase::AllDone + } }, - Instruction::Transact { - origin_kind: OriginKind::Superuser, - require_weight_at_most: Weight::from_parts(10 * WEIGHT_REF_TIME_PER_MILLIS, 30000), // TODO - call: AssetHubPalletConfig::AhmController(AhmCall::EmitHey).encode().into(), + other => other, + }; + // Write back + Phase::::put(phase); + + /*for _ in 0..10 { + match Self::migrate_indices() { + Ok(false) => break, + Err(_) => break, + _ => (), } - ]); + }*/ + } + + fn migrate_eds(next_acc: &mut Option>) -> Result<(), ()> { + frame_support::storage::transactional::with_transaction_opaque_err::<(), (), _>(|| { + let Some((call, weight)) = pallet_balances::Pallet::::migrate_ed(&mut next_acc, 100) else { + return TransactionOutcome::Commit(Ok(())); + }; + + let ah_call: xcm::DoubleEncoded<()> = AssetHubPalletConfig::::Indices( + call, + ).encode().into(); + + let message = Xcm(vec![ + Instruction::UnpaidExecution { + weight_limit: WeightLimit::Unlimited, + check_origin: None, + }, + Instruction::Transact { + origin_kind: OriginKind::Superuser, + require_weight_at_most: Weight::from_parts(10 * WEIGHT_REF_TIME_PER_MILLIS, 30000), // TODO + call: ah_call, + }, + ]); - for _ in 0..100 { match send_xcm::( Location::new(0, [Junction::Parachain(1000)]), message.clone(), ) { Ok(_) => { Self::deposit_event(Event::SentDownward); + TransactionOutcome::Commit(Ok(())) }, Err(_) => { - Self::deposit_event(Event::ErrorSending); + Self::deposit_event(Event::ErrorSendingDownward); + TransactionOutcome::Commit(Err(())) }, } - } - - Weight::zero() + })? } - } - #[pallet::call] - impl Pallet { - #[pallet::call_index(0)] - #[pallet::weight(123)] - pub fn hey(_origin: OriginFor) -> DispatchResult { - Self::deposit_event(Event::Hey); + fn migrate_indices() -> Result { + frame_support::storage::transactional::with_transaction_opaque_err::(|| { + let Some((call, weight)) = pallet_indices::Pallet::::migrate_next(100) else { + return TransactionOutcome::Commit(Ok(false)); + }; + + let ah_call: xcm::DoubleEncoded<()> = AssetHubPalletConfig::::Indices( + call, + ).encode().into(); + + let message = Xcm(vec![ + Instruction::UnpaidExecution { + weight_limit: WeightLimit::Unlimited, + check_origin: None, + }, + Instruction::Transact { + origin_kind: OriginKind::Superuser, + require_weight_at_most: Weight::from_parts(10 * WEIGHT_REF_TIME_PER_MILLIS, 30000), // TODO + call: ah_call, + }, + ]); - Ok(()) + match send_xcm::( + Location::new(0, [Junction::Parachain(1000)]), + message.clone(), + ) { + Ok(_) => { + Self::deposit_event(Event::SentDownward); + TransactionOutcome::Commit(Ok(true)) + }, + Err(_) => { + Self::deposit_event(Event::ErrorSendingDownward); + TransactionOutcome::Commit(Err(())) + }, + } + })? } } } diff --git a/relay/polkadot/src/genesis_config_presets.rs b/relay/polkadot/src/genesis_config_presets.rs index 8d8afb6ad0..2f5169a900 100644 --- a/relay/polkadot/src/genesis_config_presets.rs +++ b/relay/polkadot/src/genesis_config_presets.rs @@ -155,6 +155,12 @@ fn polkadot_testnet_genesis( const ENDOWMENT: u128 = 1_000_000 * DOT; const STASH: u128 = 100 * DOT; + let mut indices = Vec::<(AccountIndex, AccountId)>::new(); + for i in 0..1000 { + let who = get_account_id_from_seed::(&format!("//Alice/{}", i)); + indices.push((i, who)); + } + serde_json::json!({ "balances": { "balances": endowed_accounts.iter().map(|k| (k.clone(), ENDOWMENT)).collect::>(), @@ -192,6 +198,9 @@ fn polkadot_testnet_genesis( "babe": { "epochConfig": Some(BABE_GENESIS_EPOCH_CONFIG), }, + "indices": { + "indices": indices, + }, "configuration": { "config": default_parachains_host_configuration(), }, diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml index 7e2b5e0b42..811fa68a7e 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml +++ b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml @@ -40,6 +40,7 @@ pallet-assets = { workspace = true } pallet-aura = { workspace = true } pallet-authorship = { workspace = true } pallet-balances = { workspace = true } +pallet-indices = { workspace = true } pallet-message-queue = { workspace = true } pallet-multisig = { workspace = true } pallet-nfts = { workspace = true } @@ -149,7 +150,8 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", - "pallet-ahm-controller/runtime-benchmarks" + "pallet-ahm-controller/runtime-benchmarks", + "pallet-indices/runtime-benchmarks" ] try-runtime = [ "cumulus-pallet-aura-ext/try-runtime", @@ -182,7 +184,8 @@ try-runtime = [ "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", - "pallet-ahm-controller/try-runtime" + "pallet-ahm-controller/try-runtime", + "pallet-indices/try-runtime" ] std = [ "assets-common/std", @@ -262,7 +265,8 @@ std = [ "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", - "pallet-ahm-controller/std" + "pallet-ahm-controller/std", + "pallet-indices/std" ] # Enable metadata hash generation at compile time for the `CheckMetadataHash` extension. diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 0eb32cfadd..a2b2efdc23 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -959,6 +959,18 @@ impl pallet_asset_conversion::Config for Runtime { >; } +parameter_types! { + pub const IndexDeposit: Balance = (10 * DOLLARS) / 100; +} + +impl pallet_indices::Config for Runtime { + type AccountIndex = parachains_common::AccountIndex; // FAIL-CI double check + type Currency = Balances; + type Deposit = IndexDeposit; + type RuntimeEvent = RuntimeEvent; + type WeightInfo = pallet_indices::weights::SubstrateWeight; // FAIL-CI +} + use pallet_ahm_controller::Role; parameter_types! { @@ -981,6 +993,7 @@ construct_runtime!( // RandomnessCollectiveFlip = 2 removed Timestamp: pallet_timestamp = 3, ParachainInfo: parachain_info = 4, + Indices: pallet_indices = 5, // Monetary stuff. Balances: pallet_balances = 10, From ed481c343a23f103d6700e48806010312e8e838c Mon Sep 17 00:00:00 2001 From: "test@test.com" Date: Tue, 29 Oct 2024 14:08:16 +0000 Subject: [PATCH 03/11] wip Signed-off-by: test@test.com --- Cargo.lock | 2 ++ ahm-controller/src/lib.rs | 52 ++++++++++++++++++++++++++++----------- 2 files changed, 39 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index db1ea36e83..293549e068 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7735,6 +7735,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "sp-crypto-hashing", + "sp-io 37.0.0", "sp-runtime 38.0.0", "sp-std", ] diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs index de45571285..5e7be114ad 100644 --- a/ahm-controller/src/lib.rs +++ b/ahm-controller/src/lib.rs @@ -54,18 +54,21 @@ pub enum Role { } #[derive(Encode, Decode, MaxEncodedLen, TypeInfo)] -pub enum Phase { +pub enum Phases { MigrateBalancesEds { next_account: Option>> }, AllDone, } +/// WARNING EXTREMLY IMPORTANT THAT THESE INDICES ARE CORRECT #[derive(Encode, Decode)] enum AssetHubPalletConfig { - #[codec(index = 244)] - AhmController(AhmCall), #[codec(index = 5)] Indices(pallet_indices::Call), + #[codec(index = 10)] + Balances(pallet_balances::Call), + #[codec(index = 244)] + AhmController(AhmCall), } /// Call encoding for the calls needed from the Broker pallet. @@ -100,7 +103,7 @@ pub mod pallet { pub struct Pallet(_); #[pallet::storage] - pub type Phase = StorageValue<_, super::Phase>; + pub type Phase = StorageValue<_, super::Phases>; #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] @@ -146,19 +149,19 @@ pub mod pallet { fn relay_on_init() { // Phase init let phase = match Phase::::get() { - None => Phase::MigrateBalancesEds { next_account: Vec::new() }, + None => Phases::MigrateBalancesEds { next_account: None }, Some(phase) => phase, }; // Phase handling and transistion let phase = match phase { - Phase::MigrateBalancesEds { mut next_account } => { - Self::migrate_eds(&mut next_account, 100)?; + Phases::MigrateBalancesEds { mut next_account } => { + Self::migrate_eds(&mut next_account); if next_account.is_some() { - Phase::MigrateBalancesEds { next_account } + Phases::MigrateBalancesEds { next_account } } else { - Phase::AllDone + Phases::AllDone } }, other => other, @@ -175,13 +178,32 @@ pub mod pallet { }*/ } - fn migrate_eds(next_acc: &mut Option>) -> Result<(), ()> { - frame_support::storage::transactional::with_transaction_opaque_err::<(), (), _>(|| { - let Some((call, weight)) = pallet_balances::Pallet::::migrate_ed(&mut next_acc, 100) else { - return TransactionOutcome::Commit(Ok(())); + // Just to make the BoundedVec compiler stuff work... + fn migrate_eds(next_acc: &mut Option>>) { + let Ok(new) = Self::do_migrate_eds(next_acc.clone().map(|v| v.into_inner())) else { + // TODO what do? + return; + }; + let Some(new) = new else { + *next_acc = None; + return; + }; + + let Ok(new_bounded) = BoundedVec::try_from(new) else { + defensive!("Very bad: could not store next cursor"); + // TODO yikes + return; + }; + *next_acc = Some(new_bounded); + } + + fn do_migrate_eds(next_acc: Option>) -> Result>, ()> { + frame_support::storage::transactional::with_transaction_opaque_err::>, (), _>(|| { + let Some((next_key, call, weight)) = pallet_balances::Pallet::::migrate_ed(next_acc, 100) else { + return TransactionOutcome::Commit(Ok(None)); }; - let ah_call: xcm::DoubleEncoded<()> = AssetHubPalletConfig::::Indices( + let ah_call: xcm::DoubleEncoded<()> = AssetHubPalletConfig::::Balances( call, ).encode().into(); @@ -203,7 +225,7 @@ pub mod pallet { ) { Ok(_) => { Self::deposit_event(Event::SentDownward); - TransactionOutcome::Commit(Ok(())) + TransactionOutcome::Commit(Ok(next_key)) }, Err(_) => { Self::deposit_event(Event::ErrorSendingDownward); From 933d7f4fe1c91c7a79e7de0bad851bb666377f3f Mon Sep 17 00:00:00 2001 From: "test@test.com" Date: Thu, 31 Oct 2024 10:14:05 +0000 Subject: [PATCH 04/11] wip Signed-off-by: test@test.com --- Cargo.lock | 1 + ahm-controller/src/lib.rs | 14 ++++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 293549e068..e1c031db30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7728,6 +7728,7 @@ dependencies = [ name = "pallet-balances" version = "37.0.0" dependencies = [ + "array-bytes", "docify", "frame-benchmarking", "frame-support", diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs index 5e7be114ad..743d2ed1da 100644 --- a/ahm-controller/src/lib.rs +++ b/ahm-controller/src/lib.rs @@ -121,10 +121,10 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(_: BlockNumberFor) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { match T::Role::get() { Role::Relay => { - Self::relay_on_init(); + Self::relay_on_init(now); }, Role::AssetHub => { }, @@ -146,7 +146,11 @@ pub mod pallet { } impl Pallet { - fn relay_on_init() { + fn relay_on_init(now: BlockNumberFor) { + if now < 3u32.into() { + return; + } + // Phase init let phase = match Phase::::get() { None => Phases::MigrateBalancesEds { next_account: None }, @@ -199,9 +203,11 @@ pub mod pallet { fn do_migrate_eds(next_acc: Option>) -> Result>, ()> { frame_support::storage::transactional::with_transaction_opaque_err::>, (), _>(|| { - let Some((next_key, call, weight)) = pallet_balances::Pallet::::migrate_ed(next_acc, 100) else { + let Some((next_key, call, weight)) = pallet_balances::Pallet::::migrate_ed(next_acc, 5000) else { return TransactionOutcome::Commit(Ok(None)); }; + + // Issue: Inbound Downward message was too long let ah_call: xcm::DoubleEncoded<()> = AssetHubPalletConfig::::Balances( call, From 7c3745dc8fc7438f6811eb06f629e05e0954a5a7 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 31 Oct 2024 13:28:38 +0100 Subject: [PATCH 05/11] Update Cargo.toml --- Cargo.toml | 196 ----------------------------------------------------- 1 file changed, 196 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 108127f125..4490102d22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -316,199 +316,3 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 - -[patch.crates-io] -assert_matches = { path = "../vendor/assert_matches" } -asset-test-utils = { path = "../vendor/asset-test-utils" } -assets-common = { path = "../vendor/assets-common" } -binary-merkle-tree = { path = "../vendor/binary-merkle-tree" } -bp-bridge-hub-cumulus = { path = "../vendor/bp-bridge-hub-cumulus" } -bp-header-chain = { path = "../vendor/bp-header-chain" } -bp-kusama = { path = "../vendor/bp-kusama" } -bp-messages = { path = "../vendor/bp-messages" } -bp-parachains = { path = "../vendor/bp-parachains" } -bp-polkadot = { path = "../vendor/bp-polkadot" } -bp-polkadot-bulletin = { path = "../vendor/bp-polkadot-bulletin" } -bp-polkadot-core = { path = "../vendor/bp-polkadot-core" } -bp-relayers = { path = "../vendor/bp-relayers" } -bp-runtime = { path = "../vendor/bp-runtime" } -bp-xcm-bridge-hub-router = { path = "../vendor/bp-xcm-bridge-hub-router" } -bridge-hub-common = { path = "../vendor/bridge-hub-common" } -bridge-hub-test-utils = { path = "../vendor/bridge-hub-test-utils" } -bridge-runtime-common = { path = "../vendor/bridge-runtime-common" } -clap = { path = "../vendor/clap" } -cumulus-pallet-aura-ext = { path = "../vendor/cumulus-pallet-aura-ext" } -cumulus-pallet-parachain-system = { path = "../vendor/cumulus-pallet-parachain-system" } -cumulus-pallet-session-benchmarking = { path = "../vendor/cumulus-pallet-session-benchmarking" } -cumulus-pallet-xcm = { path = "../vendor/cumulus-pallet-xcm" } -cumulus-pallet-xcmp-queue = { path = "../vendor/cumulus-pallet-xcmp-queue" } -cumulus-primitives-aura = { path = "../vendor/cumulus-primitives-aura" } -cumulus-primitives-core = { path = "../vendor/cumulus-primitives-core" } -cumulus-primitives-utility = { path = "../vendor/cumulus-primitives-utility" } -emulated-integration-tests-common = { path = "../vendor/emulated-integration-tests-common" } -encointer-balances-tx-payment = { path = "../vendor/encointer-balances-tx-payment" } -encointer-balances-tx-payment-rpc-runtime-api = { path = "../vendor/encointer-balances-tx-payment-rpc-runtime-api" } -encointer-primitives = { path = "../vendor/encointer-primitives" } -enumflags2 = { path = "../vendor/enumflags2" } -frame-benchmarking = { path = "../vendor/frame-benchmarking" } -frame-election-provider-support = { path = "../vendor/frame-election-provider-support" } -frame-executive = { path = "../vendor/frame-executive" } -frame-support = { path = "../vendor/frame-support" } -frame-system = { path = "../vendor/frame-system" } -frame-system-benchmarking = { path = "../vendor/frame-system-benchmarking" } -frame-system-rpc-runtime-api = { path = "../vendor/frame-system-rpc-runtime-api" } -frame-try-runtime = { path = "../vendor/frame-try-runtime" } -hex-literal = { path = "../vendor/hex-literal" } -log = { path = "../vendor/log" } -pallet-alliance = { path = "../vendor/pallet-alliance" } -pallet-asset-conversion = { path = "../vendor/pallet-asset-conversion" } -pallet-asset-conversion-tx-payment = { path = "../vendor/pallet-asset-conversion-tx-payment" } -pallet-asset-rate = { path = "../vendor/pallet-asset-rate" } -pallet-asset-tx-payment = { path = "../vendor/pallet-asset-tx-payment" } -pallet-assets = { path = "../vendor/pallet-assets" } -pallet-aura = { path = "../vendor/pallet-aura" } -pallet-authority-discovery = { path = "../vendor/pallet-authority-discovery" } -pallet-authorship = { path = "../vendor/pallet-authorship" } -pallet-babe = { path = "../vendor/pallet-babe" } -pallet-bags-list = { path = "../vendor/pallet-bags-list" } -pallet-balances = { path = "../vendor/pallet-balances" } -pallet-beefy = { path = "../vendor/pallet-beefy" } -pallet-beefy-mmr = { path = "../vendor/pallet-beefy-mmr" } -pallet-bounties = { path = "../vendor/pallet-bounties" } -pallet-bridge-grandpa = { path = "../vendor/pallet-bridge-grandpa" } -pallet-bridge-messages = { path = "../vendor/pallet-bridge-messages" } -pallet-bridge-parachains = { path = "../vendor/pallet-bridge-parachains" } -pallet-bridge-relayers = { path = "../vendor/pallet-bridge-relayers" } -pallet-broker = { path = "../vendor/pallet-broker" } -pallet-child-bounties = { path = "../vendor/pallet-child-bounties" } -pallet-collator-selection = { path = "../vendor/pallet-collator-selection" } -pallet-collective = { path = "../vendor/pallet-collective" } -pallet-conviction-voting = { path = "../vendor/pallet-conviction-voting" } -pallet-core-fellowship = { path = "../vendor/pallet-core-fellowship" } -pallet-election-provider-multi-phase = { path = "../vendor/pallet-election-provider-multi-phase" } -pallet-election-provider-support-benchmarking = { path = "../vendor/pallet-election-provider-support-benchmarking" } -pallet-encointer-balances = { path = "../vendor/pallet-encointer-balances" } -pallet-encointer-bazaar = { path = "../vendor/pallet-encointer-bazaar" } -pallet-encointer-bazaar-rpc-runtime-api = { path = "../vendor/pallet-encointer-bazaar-rpc-runtime-api" } -pallet-encointer-ceremonies = { path = "../vendor/pallet-encointer-ceremonies" } -pallet-encointer-ceremonies-rpc-runtime-api = { path = "../vendor/pallet-encointer-ceremonies-rpc-runtime-api" } -pallet-encointer-communities = { path = "../vendor/pallet-encointer-communities" } -pallet-encointer-communities-rpc-runtime-api = { path = "../vendor/pallet-encointer-communities-rpc-runtime-api" } -pallet-encointer-democracy = { path = "../vendor/pallet-encointer-democracy" } -pallet-encointer-faucet = { path = "../vendor/pallet-encointer-faucet" } -pallet-encointer-reputation-commitments = { path = "../vendor/pallet-encointer-reputation-commitments" } -pallet-encointer-scheduler = { path = "../vendor/pallet-encointer-scheduler" } -pallet-encointer-treasuries = { path = "../vendor/pallet-encointer-treasuries" } -pallet-encointer-treasuries-rpc-runtime-api = { path = "../vendor/pallet-encointer-treasuries-rpc-runtime-api" } -pallet-fast-unstake = { path = "../vendor/pallet-fast-unstake" } -pallet-glutton = { path = "../vendor/pallet-glutton" } -pallet-grandpa = { path = "../vendor/pallet-grandpa" } -pallet-identity = { path = "../vendor/pallet-identity" } -pallet-im-online = { path = "../vendor/pallet-im-online" } -pallet-indices = { path = "../vendor/pallet-indices" } -pallet-insecure-randomness-collective-flip = { path = "../vendor/pallet-insecure-randomness-collective-flip" } -pallet-membership = { path = "../vendor/pallet-membership" } -pallet-message-queue = { path = "../vendor/pallet-message-queue" } -pallet-mmr = { path = "../vendor/pallet-mmr" } -pallet-multisig = { path = "../vendor/pallet-multisig" } -pallet-nft-fractionalization = { path = "../vendor/pallet-nft-fractionalization" } -pallet-nfts = { path = "../vendor/pallet-nfts" } -pallet-nfts-runtime-api = { path = "../vendor/pallet-nfts-runtime-api" } -pallet-nis = { path = "../vendor/pallet-nis" } -pallet-nomination-pools = { path = "../vendor/pallet-nomination-pools" } -pallet-nomination-pools-benchmarking = { path = "../vendor/pallet-nomination-pools-benchmarking" } -pallet-nomination-pools-runtime-api = { path = "../vendor/pallet-nomination-pools-runtime-api" } -pallet-offences = { path = "../vendor/pallet-offences" } -pallet-offences-benchmarking = { path = "../vendor/pallet-offences-benchmarking" } -pallet-parameters = { path = "../vendor/pallet-parameters" } -pallet-preimage = { path = "../vendor/pallet-preimage" } -pallet-proxy = { path = "../vendor/pallet-proxy" } -pallet-ranked-collective = { path = "../vendor/pallet-ranked-collective" } -pallet-recovery = { path = "../vendor/pallet-recovery" } -pallet-referenda = { path = "../vendor/pallet-referenda" } -pallet-salary = { path = "../vendor/pallet-salary" } -pallet-scheduler = { path = "../vendor/pallet-scheduler" } -pallet-session = { path = "../vendor/pallet-session" } -pallet-session-benchmarking = { path = "../vendor/pallet-session-benchmarking" } -pallet-society = { path = "../vendor/pallet-society" } -pallet-staking = { path = "../vendor/pallet-staking" } -pallet-staking-reward-curve = { path = "../vendor/pallet-staking-reward-curve" } -pallet-staking-reward-fn = { path = "../vendor/pallet-staking-reward-fn" } -pallet-staking-runtime-api = { path = "../vendor/pallet-staking-runtime-api" } -pallet-state-trie-migration = { path = "../vendor/pallet-state-trie-migration" } -pallet-sudo = { path = "../vendor/pallet-sudo" } -pallet-timestamp = { path = "../vendor/pallet-timestamp" } -pallet-transaction-payment = { path = "../vendor/pallet-transaction-payment" } -pallet-transaction-payment-rpc-runtime-api = { path = "../vendor/pallet-transaction-payment-rpc-runtime-api" } -pallet-treasury = { path = "../vendor/pallet-treasury" } -pallet-uniques = { path = "../vendor/pallet-uniques" } -pallet-utility = { path = "../vendor/pallet-utility" } -pallet-vesting = { path = "../vendor/pallet-vesting" } -pallet-whitelist = { path = "../vendor/pallet-whitelist" } -pallet-xcm = { path = "../vendor/pallet-xcm" } -pallet-xcm-benchmarks = { path = "../vendor/pallet-xcm-benchmarks" } -pallet-xcm-bridge-hub = { path = "../vendor/pallet-xcm-bridge-hub" } -pallet-xcm-bridge-hub-router = { path = "../vendor/pallet-xcm-bridge-hub-router" } -parachains-common = { path = "../vendor/parachains-common" } -parachains-runtimes-test-utils = { path = "../vendor/parachains-runtimes-test-utils" } -paste = { path = "../vendor/paste" } -penpal-runtime = { path = "../vendor/penpal-runtime" } -polkadot-core-primitives = { path = "../vendor/polkadot-core-primitives" } -polkadot-parachain-primitives = { path = "../vendor/polkadot-parachain-primitives" } -polkadot-primitives = { path = "../vendor/polkadot-primitives" } -polkadot-runtime-common = { path = "../vendor/polkadot-runtime-common" } -primitive-types = { path = "../vendor/primitive-types" } -frame-metadata-hash-extension = { path = "../vendor/frame-metadata-hash-extension" } -sc-chain-spec = { path = "../vendor/sc-chain-spec" } -sc-network = { path = "../vendor/sc-network" } -scale-info = { path = "../vendor/scale-info" } -separator = { path = "../vendor/separator" } -serde = { path = "../vendor/serde" } -serde_json = { path = "../vendor/serde_json" } -smallvec = { path = "../vendor/smallvec" } -snowbridge-beacon-primitives = { path = "../vendor/snowbridge-beacon-primitives" } -snowbridge-core = { path = "../vendor/snowbridge-core" } -snowbridge-outbound-queue-runtime-api = { path = "../vendor/snowbridge-outbound-queue-runtime-api" } -snowbridge-pallet-ethereum-client = { path = "../vendor/snowbridge-pallet-ethereum-client" } -snowbridge-pallet-inbound-queue = { path = "../vendor/snowbridge-pallet-inbound-queue" } -snowbridge-pallet-inbound-queue-fixtures = { path = "../vendor/snowbridge-pallet-inbound-queue-fixtures" } -snowbridge-pallet-outbound-queue = { path = "../vendor/snowbridge-pallet-outbound-queue" } -snowbridge-pallet-system = { path = "../vendor/snowbridge-pallet-system" } -snowbridge-router-primitives = { path = "../vendor/snowbridge-router-primitives" } -snowbridge-runtime-common = { path = "../vendor/snowbridge-runtime-common" } -snowbridge-runtime-test-common = { path = "../vendor/snowbridge-runtime-test-common" } -snowbridge-system-runtime-api = { path = "../vendor/snowbridge-system-runtime-api" } -sp-api = { path = "../vendor/sp-api" } -sp-application-crypto = { path = "../vendor/sp-application-crypto" } -sp-arithmetic = { path = "../vendor/sp-arithmetic" } -sp-block-builder = { path = "../vendor/sp-block-builder" } -sp-consensus-aura = { path = "../vendor/sp-consensus-aura" } -sp-core = { path = "../vendor/sp-core-31.0.0" } -sp-debug-derive = { path = "../vendor/sp-debug-derive" } -sp-genesis-builder = { path = "../vendor/sp-genesis-builder" } -sp-inherents = { path = "../vendor/sp-inherents" } -sp-io = { path = "../vendor/sp-io-33.0.0" } -sp-keyring = { path = "../vendor/sp-keyring" } -sp-npos-elections = { path = "../vendor/sp-npos-elections" } -sp-offchain = { path = "../vendor/sp-offchain" } -sp-runtime = { path = "../vendor/sp-runtime" } -sp-session = { path = "../vendor/sp-session" } -sp-staking = { path = "../vendor/sp-staking" } -sp-std = { path = "../vendor/sp-std" } -sp-storage = { path = "../vendor/sp-storage" } -sp-tracing = { path = "../vendor/sp-tracing-16.0.0" } -sp-transaction-pool = { path = "../vendor/sp-transaction-pool" } -sp-trie = { path = "../vendor/sp-trie-32.0.0" } -sp-version = { path = "../vendor/sp-version" } -sp-weights = { path = "../vendor/sp-weights-30.0.0" } -static_assertions = { path = "../vendor/static_assertions" } -substrate-wasm-builder = { path = "../vendor/substrate-wasm-builder" } -tokio = { path = "../vendor/tokio" } -xcm-emulator = { path = "../vendor/xcm-emulator" } -xcm-runtime-apis = { path = "../vendor/xcm-runtime-apis" } -anyhow = { path = "../vendor/anyhow" } -subxt = { path = "../vendor/subxt" } -tracing-subscriber = { path = "../vendor/tracing-subscriber-0.2.25" } -zombienet-sdk = { path = "../vendor/zombienet-sdk" } -tuplex = { path = "../vendor/tuplex" } -ss58-registry = { path = "../vendor/ss58-registry" } \ No newline at end of file From e70b592f06548de2ffaf562600cc24ffa3b15fc6 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Mon, 4 Nov 2024 20:24:42 +0000 Subject: [PATCH 06/11] Fix setup Signed-off-by: Oliver Tale-Yazdi --- Cargo.lock | 532 ++++++++++++++++++++------------------ Cargo.toml | 196 ++++++++++++++ ahm-controller/Cargo.toml | 12 +- ahm-controller/src/lib.rs | 12 +- 4 files changed, 493 insertions(+), 259 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e1c031db30..c0d16fae82 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -120,7 +120,7 @@ dependencies = [ "bytes", "cfg-if", "const-hex", - "derive_more", + "derive_more 0.99.17", "hex-literal", "itoa", "proptest", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.83" +version = "1.0.92" [[package]] name = "approx" @@ -605,7 +605,7 @@ dependencies = [ "parachains-common", "parity-scale-codec", "polkadot-runtime-common", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -685,7 +685,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -741,7 +741,7 @@ dependencies = [ "polkadot-runtime", "polkadot-runtime-common", "polkadot-system-emulated-network", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -821,7 +821,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -857,7 +857,7 @@ dependencies = [ "parachains-runtimes-test-utils", "parity-scale-codec", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-parachain-info", "staging-xcm", @@ -880,7 +880,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -1173,7 +1173,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "15.0.0" +version = "15.0.1" dependencies = [ "hash-db", "log", @@ -1422,7 +1422,7 @@ dependencies = [ "kusama-runtime-constants", "polkadot-runtime-constants", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "system-parachains-constants", ] @@ -1440,7 +1440,7 @@ dependencies = [ "polkadot-runtime-constants", "snowbridge-core", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "system-parachains-constants", @@ -1458,7 +1458,7 @@ dependencies = [ "serde", "sp-consensus-grandpa", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -1500,7 +1500,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -1529,7 +1529,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -1546,7 +1546,7 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -1559,7 +1559,7 @@ dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -1578,7 +1578,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -1601,7 +1601,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-consensus-grandpa", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", ] @@ -1622,7 +1622,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -1636,7 +1636,7 @@ dependencies = [ "scale-info", "snowbridge-core", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", ] @@ -1684,7 +1684,7 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-router-primitives", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -1766,7 +1766,7 @@ dependencies = [ "sp-io 37.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -1826,7 +1826,7 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-router-primitives", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -1919,7 +1919,7 @@ dependencies = [ "sp-io 37.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -1967,7 +1967,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-keyring", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", "staging-xcm", @@ -2002,7 +2002,7 @@ dependencies = [ "sp-api", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", "staging-xcm", @@ -2265,7 +2265,7 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.0" +version = "4.5.13" dependencies = [ "clap_builder", "clap_derive", @@ -2273,9 +2273,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.0" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99" +checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" dependencies = [ "anstream", "anstyle", @@ -2285,11 +2285,11 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.0" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.65", @@ -2352,7 +2352,7 @@ dependencies = [ "polkadot-runtime-constants", "polkadot-system-emulated-network", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -2422,7 +2422,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -2606,7 +2606,7 @@ dependencies = [ "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -2667,7 +2667,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -2715,7 +2715,7 @@ dependencies = [ "polkadot-runtime-constants", "polkadot-runtime-parachains", "polkadot-system-emulated-network", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "xcm-runtime-apis", @@ -2776,7 +2776,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -3036,7 +3036,7 @@ dependencies = [ "scale-info", "sp-application-crypto 37.0.0", "sp-consensus-aura", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -3065,7 +3065,7 @@ dependencies = [ "sp-externalities 0.29.0", "sp-inherents", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -3096,7 +3096,7 @@ dependencies = [ "frame-system", "pallet-session", "parity-scale-codec", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -3110,7 +3110,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", ] @@ -3133,7 +3133,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -3149,7 +3149,7 @@ dependencies = [ "polkadot-primitives", "sp-api", "sp-consensus-aura", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -3163,7 +3163,7 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", "staging-xcm", @@ -3181,7 +3181,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -3210,7 +3210,7 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-parachains", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -3226,7 +3226,7 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -3495,6 +3495,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + [[package]] name = "difflib" version = "0.4.0" @@ -3763,7 +3783,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "xcm-emulator", ] @@ -3795,7 +3815,7 @@ dependencies = [ "pallet-encointer-balances", "pallet-encointer-ceremonies", "pallet-transaction-payment", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -3817,7 +3837,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b698a2f681dee5795ef660661df3165d3287807ba4e78fcc874880b18b3f7ec" dependencies = [ "encointer-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -3894,7 +3914,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-transaction-pool", @@ -3918,7 +3938,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -3936,7 +3956,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "substrate-geohash", ] @@ -3967,16 +3987,16 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" +version = "0.7.10" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", @@ -4026,7 +4046,7 @@ dependencies = [ "serde", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "substrate-fixed", ] @@ -4331,7 +4351,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "sp-std", "sp-storage 21.0.0", @@ -4362,7 +4382,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -4379,7 +4399,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", ] @@ -4418,7 +4438,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -4436,7 +4456,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "spinners", "substrate-rpc-client", @@ -4446,7 +4466,7 @@ dependencies = [ [[package]] name = "frame-support" -version = "36.0.0" +version = "36.0.1" dependencies = [ "aquamarine", "array-bytes", @@ -4474,7 +4494,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-metadata-ir", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-state-machine 0.42.0", "sp-std", @@ -4530,7 +4550,7 @@ dependencies = [ [[package]] name = "frame-system" -version = "36.0.1" +version = "36.1.0" dependencies = [ "cfg-if", "docify", @@ -4541,7 +4561,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-version", "sp-weights 31.0.0", @@ -4557,7 +4577,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -4576,7 +4596,7 @@ dependencies = [ "frame-support", "parity-scale-codec", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -4832,7 +4852,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -4962,9 +4982,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -6035,7 +6055,7 @@ dependencies = [ "polkadot-runtime-common", "smallvec", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-weights 31.0.0", "staging-xcm-builder", ] @@ -6696,7 +6716,7 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" [[package]] name = "lru" @@ -6910,13 +6930,14 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.10" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ + "hermit-abi", "libc", "wasi", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -7534,6 +7555,8 @@ dependencies = [ "pallet-indices", "parity-scale-codec", "scale-info", + "sp-io 37.0.0", + "sp-runtime 38.0.1", "staging-xcm", ] @@ -7553,7 +7576,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7571,7 +7594,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7585,7 +7608,7 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7599,7 +7622,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7616,7 +7639,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7632,7 +7655,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7648,7 +7671,7 @@ dependencies = [ "scale-info", "sp-application-crypto 37.0.0", "sp-consensus-aura", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7663,7 +7686,7 @@ dependencies = [ "scale-info", "sp-application-crypto 37.0.0", "sp-authority-discovery", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7676,7 +7699,7 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7697,7 +7720,7 @@ dependencies = [ "sp-consensus-babe", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -7719,7 +7742,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", ] @@ -7728,7 +7751,6 @@ dependencies = [ name = "pallet-balances" version = "37.0.0" dependencies = [ - "array-bytes", "docify", "frame-benchmarking", "frame-support", @@ -7736,9 +7758,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-crypto-hashing", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7755,7 +7776,7 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -7780,7 +7801,7 @@ dependencies = [ "sp-consensus-beefy", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", ] @@ -7798,7 +7819,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7817,7 +7838,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-consensus-grandpa", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", ] @@ -7835,7 +7856,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7854,7 +7875,7 @@ dependencies = [ "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", ] @@ -7874,7 +7895,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic 26.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7892,7 +7913,7 @@ dependencies = [ "sp-api", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7910,7 +7931,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7928,7 +7949,7 @@ dependencies = [ "parity-scale-codec", "rand", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -7945,7 +7966,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7961,7 +7982,7 @@ dependencies = [ "scale-info", "serde", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7979,7 +8000,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -7993,7 +8014,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8015,7 +8036,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "strum 0.26.3", ] @@ -8029,7 +8050,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8047,7 +8068,7 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8098,7 +8119,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8127,7 +8148,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8161,7 +8182,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8180,7 +8201,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8201,7 +8222,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8218,7 +8239,7 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8237,7 +8258,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8266,7 +8287,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8285,7 +8306,7 @@ dependencies = [ "sp-core 34.0.0", "sp-inherents", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8305,7 +8326,7 @@ dependencies = [ "sp-consensus-grandpa", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -8323,7 +8344,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8341,7 +8362,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8358,7 +8379,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-keyring", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8371,7 +8392,7 @@ dependencies = [ "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8387,13 +8408,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-message-queue" -version = "39.0.0" +version = "39.0.1" dependencies = [ "environmental", "frame-benchmarking", @@ -8405,7 +8426,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", ] @@ -8423,7 +8444,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-mmr-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8438,7 +8459,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8454,7 +8475,7 @@ dependencies = [ "pallet-nfts", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8471,7 +8492,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8496,7 +8517,7 @@ dependencies = [ "scale-info", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8512,7 +8533,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", "sp-tracing 17.0.0", @@ -8532,7 +8553,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "sp-staking", "sp-std", @@ -8559,7 +8580,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8582,7 +8603,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8600,7 +8621,7 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8616,7 +8637,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8630,7 +8651,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8648,7 +8669,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8662,7 +8683,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8680,7 +8701,7 @@ dependencies = [ "serde", "sp-arithmetic 26.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8698,7 +8719,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8714,7 +8735,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", ] @@ -8732,7 +8753,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-state-machine 0.42.0", @@ -8751,7 +8772,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "rand", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", ] @@ -8769,7 +8790,7 @@ dependencies = [ "scale-info", "sp-arithmetic 26.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8790,7 +8811,7 @@ dependencies = [ "serde", "sp-application-crypto 37.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8834,7 +8855,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8849,7 +8870,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8866,7 +8887,7 @@ dependencies = [ "scale-info", "sp-inherents", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-storage 21.0.0", "sp-timestamp", @@ -8883,7 +8904,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8894,7 +8915,7 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-weights 31.0.0", ] @@ -8912,7 +8933,7 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8926,7 +8947,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8941,7 +8962,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8955,7 +8976,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8969,7 +8990,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8988,7 +9009,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9007,7 +9028,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9029,7 +9050,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9048,7 +9069,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9076,7 +9097,7 @@ dependencies = [ "sp-consensus-aura", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-parachain-info", "staging-xcm", @@ -9105,7 +9126,7 @@ dependencies = [ "sp-consensus-aura", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", "staging-parachain-info", @@ -9268,7 +9289,7 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" [[package]] name = "pbkdf2" @@ -9361,7 +9382,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -9407,7 +9428,7 @@ dependencies = [ "parity-scale-codec", "people-kusama-runtime", "polkadot-runtime-common", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -9468,7 +9489,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -9516,7 +9537,7 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-constants", "polkadot-system-emulated-network", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "xcm-runtime-apis", @@ -9575,7 +9596,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -9739,7 +9760,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -9758,7 +9779,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -9766,13 +9787,13 @@ name = "polkadot-parachain-primitives" version = "13.0.0" dependencies = [ "bounded-collections", - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", ] @@ -9798,7 +9819,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -9893,7 +9914,7 @@ dependencies = [ "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -9951,7 +9972,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -9970,7 +9991,7 @@ dependencies = [ "polkadot-runtime-common", "smallvec", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-weights 31.0.0", "staging-xcm-builder", ] @@ -9997,7 +10018,7 @@ checksum = "a6cb1cf1fa41c64b0b515a33d7bd388c3af0de31e5f93bd4c2b220e408f7f968" dependencies = [ "bitflags 1.3.2", "bitvec", - "derive_more", + "derive_more 0.99.17", "frame-benchmarking", "frame-support", "frame-system", @@ -10029,7 +10050,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -10919,7 +10940,7 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -11322,7 +11343,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" dependencies = [ "byteorder", - "derive_more", + "derive_more 0.99.17", "twox-hash", ] @@ -11394,7 +11415,7 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-trie 36.0.0", ] @@ -11419,7 +11440,7 @@ dependencies = [ "sp-crypto-hashing", "sp-genesis-builder", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-tracing 17.0.0", ] @@ -11456,7 +11477,7 @@ dependencies = [ "sp-core 34.0.0", "sp-database", "sp-externalities 0.29.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-statement-store", "sp-storage 21.0.0", @@ -11483,7 +11504,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "substrate-prometheus-endpoint", "thiserror", @@ -11529,7 +11550,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "thiserror", ] @@ -11629,7 +11650,7 @@ dependencies = [ "sp-core 34.0.0", "sp-keystore 0.40.0", "sp-mixnet", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] @@ -11672,7 +11693,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-blockchain", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -11699,7 +11720,7 @@ dependencies = [ "sc-network-types", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -11717,7 +11738,7 @@ dependencies = [ "sc-network-sync", "sc-network-types", "schnellru", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "tracing", ] @@ -11753,7 +11774,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -11794,7 +11815,7 @@ dependencies = [ "serde_json", "sp-core 34.0.0", "sp-rpc", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-version", "thiserror", ] @@ -11833,7 +11854,7 @@ dependencies = [ "serde", "sp-blockchain", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] @@ -11881,7 +11902,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afc79ba56a1c742f5aeeed1f1801f3edf51f7e818f0a54582cac6f131364ea7b" dependencies = [ - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "primitive-types", "scale-bits 0.5.0", @@ -11896,7 +11917,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b12ebca36cec2a3f983c46295b282b35e5f8496346fb859a8776dad5389e5389" dependencies = [ - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "scale-bits 0.6.0", "scale-type-resolver 0.2.0", @@ -11921,7 +11942,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "628800925a33794fb5387781b883b5e14d130fece9af5a63613867b8de07c5c7" dependencies = [ - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "primitive-types", "scale-bits 0.5.0", @@ -11945,11 +11966,11 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.3" +version = "2.11.5" dependencies = [ "bitvec", "cfg-if", - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", "scale-info-derive", "serde", @@ -11957,14 +11978,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.3" +version = "2.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "46385cc24172cf615450267463f937c10072516359b3ff1cb24228a4a08bf951" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.65", ] [[package]] @@ -12004,7 +12025,7 @@ checksum = "c07ccfee963104335c971aaf8b7b0e749be8569116322df23f1f75c4ca9e4a28" dependencies = [ "base58", "blake2 0.10.6", - "derive_more", + "derive_more 0.99.17", "either", "frame-metadata 15.1.0", "parity-scale-codec", @@ -12223,7 +12244,7 @@ version = "0.4.1" [[package]] name = "serde" -version = "1.0.197" +version = "1.0.210" dependencies = [ "serde_derive", ] @@ -12258,9 +12279,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -12269,9 +12290,10 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.114" +version = "1.0.132" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] @@ -12485,7 +12507,7 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -12525,7 +12547,7 @@ dependencies = [ "bs58 0.5.0", "chacha20", "crossbeam-queue", - "derive_more", + "derive_more 0.99.17", "ed25519-zebra 4.0.3", "either", "event-listener 4.0.0", @@ -12575,7 +12597,7 @@ dependencies = [ "async-lock 3.2.0", "base64 0.21.6", "blake2-rfc", - "derive_more", + "derive_more 0.99.17", "either", "event-listener 4.0.0", "fnv", @@ -12643,7 +12665,7 @@ dependencies = [ "snowbridge-milagro-bls", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "ssz_rs", "ssz_rs_derive", @@ -12665,7 +12687,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -12688,7 +12710,7 @@ dependencies = [ "serde", "serde-big-array", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -12716,7 +12738,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -12750,7 +12772,7 @@ dependencies = [ "snowbridge-pallet-ethereum-client-fixtures", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "static_assertions", ] @@ -12789,7 +12811,7 @@ dependencies = [ "snowbridge-router-primitives", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -12823,7 +12845,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -12840,7 +12862,7 @@ dependencies = [ "snowbridge-core", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -12858,7 +12880,7 @@ dependencies = [ "snowbridge-core", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -12903,7 +12925,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-keyring", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", @@ -12982,7 +13004,7 @@ dependencies = [ "sp-core 34.0.0", "sp-externalities 0.29.0", "sp-metadata-ir", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "sp-state-machine 0.42.0", "sp-std", @@ -13071,7 +13093,7 @@ dependencies = [ "scale-info", "sp-api", "sp-application-crypto 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13080,7 +13102,7 @@ version = "33.0.0" dependencies = [ "sp-api", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13097,7 +13119,7 @@ dependencies = [ "sp-api", "sp-consensus", "sp-database", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "thiserror", ] @@ -13113,7 +13135,7 @@ dependencies = [ "log", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "thiserror", ] @@ -13129,7 +13151,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-consensus-slots", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-timestamp", ] @@ -13148,7 +13170,7 @@ dependencies = [ "sp-consensus-slots", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-timestamp", ] @@ -13169,7 +13191,7 @@ dependencies = [ "sp-io 37.0.0", "sp-keystore 0.40.0", "sp-mmr-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "strum 0.26.3", ] @@ -13188,7 +13210,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13370,7 +13392,7 @@ dependencies = [ "scale-info", "serde_json", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13381,7 +13403,7 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] @@ -13442,7 +13464,7 @@ name = "sp-keyring" version = "38.0.0" dependencies = [ "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "strum 0.26.3", ] @@ -13517,7 +13539,7 @@ dependencies = [ "sp-api", "sp-core 34.0.0", "sp-debug-derive", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] @@ -13530,7 +13552,7 @@ dependencies = [ "serde", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13539,7 +13561,7 @@ version = "33.0.0" dependencies = [ "sp-api", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13591,7 +13613,7 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "38.0.0" +version = "38.0.1" dependencies = [ "docify", "either", @@ -13611,6 +13633,7 @@ dependencies = [ "sp-io 37.0.0", "sp-std", "sp-weights 31.0.0", + "tracing", ] [[package]] @@ -13676,7 +13699,7 @@ dependencies = [ "sp-api", "sp-core 34.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", ] @@ -13689,7 +13712,7 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13754,7 +13777,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-externalities 0.29.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "thiserror", "x25519-dalek", @@ -13798,7 +13821,7 @@ dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] @@ -13830,7 +13853,7 @@ name = "sp-transaction-pool" version = "33.0.0" dependencies = [ "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13890,7 +13913,7 @@ dependencies = [ "scale-info", "serde", "sp-crypto-hashing-proc-macro", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-version-proc-macro", "thiserror", @@ -13999,7 +14022,7 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.47.0" +version = "1.51.0" dependencies = [ "Inflector", "num-format", @@ -14127,7 +14150,7 @@ dependencies = [ "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -14156,7 +14179,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -14195,7 +14218,7 @@ dependencies = [ "scale-info", "sp-arithmetic 26.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", "staging-xcm", @@ -14218,7 +14241,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", "staging-xcm", @@ -14377,7 +14400,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -14524,7 +14547,7 @@ version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc10c54028d079a9f1be65188707cd29e5ffd8d0031a2b1346a0941d57b7ab7e" dependencies = [ - "derive_more", + "derive_more 0.99.17", "frame-metadata 16.0.0", "hashbrown 0.14.3", "parity-scale-codec", @@ -14540,7 +14563,7 @@ checksum = "6ccb59a38fe357fab55247756174435e8626b93929864e8a498635a15e779df8" dependencies = [ "bip39", "cfg-if", - "derive_more", + "derive_more 0.99.17", "hex", "hmac 0.12.1", "parity-scale-codec", @@ -14651,7 +14674,7 @@ dependencies = [ "polkadot-runtime-constants", "smallvec", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", ] @@ -14794,19 +14817,18 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.41.0" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot 0.12.3", "pin-project-lite 0.2.13", "signal-hook-registry", "socket2 0.5.7", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -14821,9 +14843,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", @@ -16355,7 +16377,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", "staging-xcm", diff --git a/Cargo.toml b/Cargo.toml index 4490102d22..108127f125 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -316,3 +316,199 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 + +[patch.crates-io] +assert_matches = { path = "../vendor/assert_matches" } +asset-test-utils = { path = "../vendor/asset-test-utils" } +assets-common = { path = "../vendor/assets-common" } +binary-merkle-tree = { path = "../vendor/binary-merkle-tree" } +bp-bridge-hub-cumulus = { path = "../vendor/bp-bridge-hub-cumulus" } +bp-header-chain = { path = "../vendor/bp-header-chain" } +bp-kusama = { path = "../vendor/bp-kusama" } +bp-messages = { path = "../vendor/bp-messages" } +bp-parachains = { path = "../vendor/bp-parachains" } +bp-polkadot = { path = "../vendor/bp-polkadot" } +bp-polkadot-bulletin = { path = "../vendor/bp-polkadot-bulletin" } +bp-polkadot-core = { path = "../vendor/bp-polkadot-core" } +bp-relayers = { path = "../vendor/bp-relayers" } +bp-runtime = { path = "../vendor/bp-runtime" } +bp-xcm-bridge-hub-router = { path = "../vendor/bp-xcm-bridge-hub-router" } +bridge-hub-common = { path = "../vendor/bridge-hub-common" } +bridge-hub-test-utils = { path = "../vendor/bridge-hub-test-utils" } +bridge-runtime-common = { path = "../vendor/bridge-runtime-common" } +clap = { path = "../vendor/clap" } +cumulus-pallet-aura-ext = { path = "../vendor/cumulus-pallet-aura-ext" } +cumulus-pallet-parachain-system = { path = "../vendor/cumulus-pallet-parachain-system" } +cumulus-pallet-session-benchmarking = { path = "../vendor/cumulus-pallet-session-benchmarking" } +cumulus-pallet-xcm = { path = "../vendor/cumulus-pallet-xcm" } +cumulus-pallet-xcmp-queue = { path = "../vendor/cumulus-pallet-xcmp-queue" } +cumulus-primitives-aura = { path = "../vendor/cumulus-primitives-aura" } +cumulus-primitives-core = { path = "../vendor/cumulus-primitives-core" } +cumulus-primitives-utility = { path = "../vendor/cumulus-primitives-utility" } +emulated-integration-tests-common = { path = "../vendor/emulated-integration-tests-common" } +encointer-balances-tx-payment = { path = "../vendor/encointer-balances-tx-payment" } +encointer-balances-tx-payment-rpc-runtime-api = { path = "../vendor/encointer-balances-tx-payment-rpc-runtime-api" } +encointer-primitives = { path = "../vendor/encointer-primitives" } +enumflags2 = { path = "../vendor/enumflags2" } +frame-benchmarking = { path = "../vendor/frame-benchmarking" } +frame-election-provider-support = { path = "../vendor/frame-election-provider-support" } +frame-executive = { path = "../vendor/frame-executive" } +frame-support = { path = "../vendor/frame-support" } +frame-system = { path = "../vendor/frame-system" } +frame-system-benchmarking = { path = "../vendor/frame-system-benchmarking" } +frame-system-rpc-runtime-api = { path = "../vendor/frame-system-rpc-runtime-api" } +frame-try-runtime = { path = "../vendor/frame-try-runtime" } +hex-literal = { path = "../vendor/hex-literal" } +log = { path = "../vendor/log" } +pallet-alliance = { path = "../vendor/pallet-alliance" } +pallet-asset-conversion = { path = "../vendor/pallet-asset-conversion" } +pallet-asset-conversion-tx-payment = { path = "../vendor/pallet-asset-conversion-tx-payment" } +pallet-asset-rate = { path = "../vendor/pallet-asset-rate" } +pallet-asset-tx-payment = { path = "../vendor/pallet-asset-tx-payment" } +pallet-assets = { path = "../vendor/pallet-assets" } +pallet-aura = { path = "../vendor/pallet-aura" } +pallet-authority-discovery = { path = "../vendor/pallet-authority-discovery" } +pallet-authorship = { path = "../vendor/pallet-authorship" } +pallet-babe = { path = "../vendor/pallet-babe" } +pallet-bags-list = { path = "../vendor/pallet-bags-list" } +pallet-balances = { path = "../vendor/pallet-balances" } +pallet-beefy = { path = "../vendor/pallet-beefy" } +pallet-beefy-mmr = { path = "../vendor/pallet-beefy-mmr" } +pallet-bounties = { path = "../vendor/pallet-bounties" } +pallet-bridge-grandpa = { path = "../vendor/pallet-bridge-grandpa" } +pallet-bridge-messages = { path = "../vendor/pallet-bridge-messages" } +pallet-bridge-parachains = { path = "../vendor/pallet-bridge-parachains" } +pallet-bridge-relayers = { path = "../vendor/pallet-bridge-relayers" } +pallet-broker = { path = "../vendor/pallet-broker" } +pallet-child-bounties = { path = "../vendor/pallet-child-bounties" } +pallet-collator-selection = { path = "../vendor/pallet-collator-selection" } +pallet-collective = { path = "../vendor/pallet-collective" } +pallet-conviction-voting = { path = "../vendor/pallet-conviction-voting" } +pallet-core-fellowship = { path = "../vendor/pallet-core-fellowship" } +pallet-election-provider-multi-phase = { path = "../vendor/pallet-election-provider-multi-phase" } +pallet-election-provider-support-benchmarking = { path = "../vendor/pallet-election-provider-support-benchmarking" } +pallet-encointer-balances = { path = "../vendor/pallet-encointer-balances" } +pallet-encointer-bazaar = { path = "../vendor/pallet-encointer-bazaar" } +pallet-encointer-bazaar-rpc-runtime-api = { path = "../vendor/pallet-encointer-bazaar-rpc-runtime-api" } +pallet-encointer-ceremonies = { path = "../vendor/pallet-encointer-ceremonies" } +pallet-encointer-ceremonies-rpc-runtime-api = { path = "../vendor/pallet-encointer-ceremonies-rpc-runtime-api" } +pallet-encointer-communities = { path = "../vendor/pallet-encointer-communities" } +pallet-encointer-communities-rpc-runtime-api = { path = "../vendor/pallet-encointer-communities-rpc-runtime-api" } +pallet-encointer-democracy = { path = "../vendor/pallet-encointer-democracy" } +pallet-encointer-faucet = { path = "../vendor/pallet-encointer-faucet" } +pallet-encointer-reputation-commitments = { path = "../vendor/pallet-encointer-reputation-commitments" } +pallet-encointer-scheduler = { path = "../vendor/pallet-encointer-scheduler" } +pallet-encointer-treasuries = { path = "../vendor/pallet-encointer-treasuries" } +pallet-encointer-treasuries-rpc-runtime-api = { path = "../vendor/pallet-encointer-treasuries-rpc-runtime-api" } +pallet-fast-unstake = { path = "../vendor/pallet-fast-unstake" } +pallet-glutton = { path = "../vendor/pallet-glutton" } +pallet-grandpa = { path = "../vendor/pallet-grandpa" } +pallet-identity = { path = "../vendor/pallet-identity" } +pallet-im-online = { path = "../vendor/pallet-im-online" } +pallet-indices = { path = "../vendor/pallet-indices" } +pallet-insecure-randomness-collective-flip = { path = "../vendor/pallet-insecure-randomness-collective-flip" } +pallet-membership = { path = "../vendor/pallet-membership" } +pallet-message-queue = { path = "../vendor/pallet-message-queue" } +pallet-mmr = { path = "../vendor/pallet-mmr" } +pallet-multisig = { path = "../vendor/pallet-multisig" } +pallet-nft-fractionalization = { path = "../vendor/pallet-nft-fractionalization" } +pallet-nfts = { path = "../vendor/pallet-nfts" } +pallet-nfts-runtime-api = { path = "../vendor/pallet-nfts-runtime-api" } +pallet-nis = { path = "../vendor/pallet-nis" } +pallet-nomination-pools = { path = "../vendor/pallet-nomination-pools" } +pallet-nomination-pools-benchmarking = { path = "../vendor/pallet-nomination-pools-benchmarking" } +pallet-nomination-pools-runtime-api = { path = "../vendor/pallet-nomination-pools-runtime-api" } +pallet-offences = { path = "../vendor/pallet-offences" } +pallet-offences-benchmarking = { path = "../vendor/pallet-offences-benchmarking" } +pallet-parameters = { path = "../vendor/pallet-parameters" } +pallet-preimage = { path = "../vendor/pallet-preimage" } +pallet-proxy = { path = "../vendor/pallet-proxy" } +pallet-ranked-collective = { path = "../vendor/pallet-ranked-collective" } +pallet-recovery = { path = "../vendor/pallet-recovery" } +pallet-referenda = { path = "../vendor/pallet-referenda" } +pallet-salary = { path = "../vendor/pallet-salary" } +pallet-scheduler = { path = "../vendor/pallet-scheduler" } +pallet-session = { path = "../vendor/pallet-session" } +pallet-session-benchmarking = { path = "../vendor/pallet-session-benchmarking" } +pallet-society = { path = "../vendor/pallet-society" } +pallet-staking = { path = "../vendor/pallet-staking" } +pallet-staking-reward-curve = { path = "../vendor/pallet-staking-reward-curve" } +pallet-staking-reward-fn = { path = "../vendor/pallet-staking-reward-fn" } +pallet-staking-runtime-api = { path = "../vendor/pallet-staking-runtime-api" } +pallet-state-trie-migration = { path = "../vendor/pallet-state-trie-migration" } +pallet-sudo = { path = "../vendor/pallet-sudo" } +pallet-timestamp = { path = "../vendor/pallet-timestamp" } +pallet-transaction-payment = { path = "../vendor/pallet-transaction-payment" } +pallet-transaction-payment-rpc-runtime-api = { path = "../vendor/pallet-transaction-payment-rpc-runtime-api" } +pallet-treasury = { path = "../vendor/pallet-treasury" } +pallet-uniques = { path = "../vendor/pallet-uniques" } +pallet-utility = { path = "../vendor/pallet-utility" } +pallet-vesting = { path = "../vendor/pallet-vesting" } +pallet-whitelist = { path = "../vendor/pallet-whitelist" } +pallet-xcm = { path = "../vendor/pallet-xcm" } +pallet-xcm-benchmarks = { path = "../vendor/pallet-xcm-benchmarks" } +pallet-xcm-bridge-hub = { path = "../vendor/pallet-xcm-bridge-hub" } +pallet-xcm-bridge-hub-router = { path = "../vendor/pallet-xcm-bridge-hub-router" } +parachains-common = { path = "../vendor/parachains-common" } +parachains-runtimes-test-utils = { path = "../vendor/parachains-runtimes-test-utils" } +paste = { path = "../vendor/paste" } +penpal-runtime = { path = "../vendor/penpal-runtime" } +polkadot-core-primitives = { path = "../vendor/polkadot-core-primitives" } +polkadot-parachain-primitives = { path = "../vendor/polkadot-parachain-primitives" } +polkadot-primitives = { path = "../vendor/polkadot-primitives" } +polkadot-runtime-common = { path = "../vendor/polkadot-runtime-common" } +primitive-types = { path = "../vendor/primitive-types" } +frame-metadata-hash-extension = { path = "../vendor/frame-metadata-hash-extension" } +sc-chain-spec = { path = "../vendor/sc-chain-spec" } +sc-network = { path = "../vendor/sc-network" } +scale-info = { path = "../vendor/scale-info" } +separator = { path = "../vendor/separator" } +serde = { path = "../vendor/serde" } +serde_json = { path = "../vendor/serde_json" } +smallvec = { path = "../vendor/smallvec" } +snowbridge-beacon-primitives = { path = "../vendor/snowbridge-beacon-primitives" } +snowbridge-core = { path = "../vendor/snowbridge-core" } +snowbridge-outbound-queue-runtime-api = { path = "../vendor/snowbridge-outbound-queue-runtime-api" } +snowbridge-pallet-ethereum-client = { path = "../vendor/snowbridge-pallet-ethereum-client" } +snowbridge-pallet-inbound-queue = { path = "../vendor/snowbridge-pallet-inbound-queue" } +snowbridge-pallet-inbound-queue-fixtures = { path = "../vendor/snowbridge-pallet-inbound-queue-fixtures" } +snowbridge-pallet-outbound-queue = { path = "../vendor/snowbridge-pallet-outbound-queue" } +snowbridge-pallet-system = { path = "../vendor/snowbridge-pallet-system" } +snowbridge-router-primitives = { path = "../vendor/snowbridge-router-primitives" } +snowbridge-runtime-common = { path = "../vendor/snowbridge-runtime-common" } +snowbridge-runtime-test-common = { path = "../vendor/snowbridge-runtime-test-common" } +snowbridge-system-runtime-api = { path = "../vendor/snowbridge-system-runtime-api" } +sp-api = { path = "../vendor/sp-api" } +sp-application-crypto = { path = "../vendor/sp-application-crypto" } +sp-arithmetic = { path = "../vendor/sp-arithmetic" } +sp-block-builder = { path = "../vendor/sp-block-builder" } +sp-consensus-aura = { path = "../vendor/sp-consensus-aura" } +sp-core = { path = "../vendor/sp-core-31.0.0" } +sp-debug-derive = { path = "../vendor/sp-debug-derive" } +sp-genesis-builder = { path = "../vendor/sp-genesis-builder" } +sp-inherents = { path = "../vendor/sp-inherents" } +sp-io = { path = "../vendor/sp-io-33.0.0" } +sp-keyring = { path = "../vendor/sp-keyring" } +sp-npos-elections = { path = "../vendor/sp-npos-elections" } +sp-offchain = { path = "../vendor/sp-offchain" } +sp-runtime = { path = "../vendor/sp-runtime" } +sp-session = { path = "../vendor/sp-session" } +sp-staking = { path = "../vendor/sp-staking" } +sp-std = { path = "../vendor/sp-std" } +sp-storage = { path = "../vendor/sp-storage" } +sp-tracing = { path = "../vendor/sp-tracing-16.0.0" } +sp-transaction-pool = { path = "../vendor/sp-transaction-pool" } +sp-trie = { path = "../vendor/sp-trie-32.0.0" } +sp-version = { path = "../vendor/sp-version" } +sp-weights = { path = "../vendor/sp-weights-30.0.0" } +static_assertions = { path = "../vendor/static_assertions" } +substrate-wasm-builder = { path = "../vendor/substrate-wasm-builder" } +tokio = { path = "../vendor/tokio" } +xcm-emulator = { path = "../vendor/xcm-emulator" } +xcm-runtime-apis = { path = "../vendor/xcm-runtime-apis" } +anyhow = { path = "../vendor/anyhow" } +subxt = { path = "../vendor/subxt" } +tracing-subscriber = { path = "../vendor/tracing-subscriber-0.2.25" } +zombienet-sdk = { path = "../vendor/zombienet-sdk" } +tuplex = { path = "../vendor/tuplex" } +ss58-registry = { path = "../vendor/ss58-registry" } \ No newline at end of file diff --git a/ahm-controller/Cargo.toml b/ahm-controller/Cargo.toml index f674164e3f..4890ac5df3 100644 --- a/ahm-controller/Cargo.toml +++ b/ahm-controller/Cargo.toml @@ -13,6 +13,8 @@ scale-info = { features = ["derive"], workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } xcm = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } pallet-indices = { workspace = true } pallet-balances = { workspace = true } @@ -24,16 +26,20 @@ std = [ "frame-support/std", "frame-system/std", "scale-info/std", + "sp-io/std", "xcm/std", - "pallet-indices/std" + "pallet-indices/std", + "pallet-balances/std" ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", - "pallet-indices/try-runtime" + "pallet-indices/try-runtime", + "pallet-balances/try-runtime" ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", - "pallet-indices/runtime-benchmarks" + "pallet-indices/runtime-benchmarks", + "pallet-balances/runtime-benchmarks" ] diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs index 743d2ed1da..0a1375042a 100644 --- a/ahm-controller/src/lib.rs +++ b/ahm-controller/src/lib.rs @@ -24,6 +24,7 @@ use alloc::{vec, vec::Vec}; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; +use sp_io::hashing::blake2_256; use frame_support::storage::TransactionOutcome; use xcm::{ @@ -105,6 +106,10 @@ pub mod pallet { #[pallet::storage] pub type Phase = StorageValue<_, super::Phases>; + /// Set of accounts that we placed a sufficient reference on. + #[pallet::storage] + pub type SufficientAccounts = StorageMap<_, Twox64Concat, T::AccountId, ()>; + #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { @@ -127,6 +132,7 @@ pub mod pallet { Self::relay_on_init(now); }, Role::AssetHub => { + Self::ah_on_init(now); }, }; @@ -146,6 +152,10 @@ pub mod pallet { } impl Pallet { + fn ah_on_init(_now: BlockNumberFor) { + + } + fn relay_on_init(now: BlockNumberFor) { if now < 3u32.into() { return; @@ -203,7 +213,7 @@ pub mod pallet { fn do_migrate_eds(next_acc: Option>) -> Result>, ()> { frame_support::storage::transactional::with_transaction_opaque_err::>, (), _>(|| { - let Some((next_key, call, weight)) = pallet_balances::Pallet::::migrate_ed(next_acc, 5000) else { + let Some((next_key, call, weight)) = pallet_balances::Pallet::::migrate_ed(next_acc, 1300) else { return TransactionOutcome::Commit(Ok(None)); }; From 000b5abe56dec960097c5b20f3e99fc450eda2a8 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Mon, 4 Nov 2024 20:39:34 +0000 Subject: [PATCH 07/11] Dont commit patch Signed-off-by: Oliver Tale-Yazdi --- Cargo.toml | 196 ----------------------------------------------------- 1 file changed, 196 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 108127f125..4490102d22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -316,199 +316,3 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 - -[patch.crates-io] -assert_matches = { path = "../vendor/assert_matches" } -asset-test-utils = { path = "../vendor/asset-test-utils" } -assets-common = { path = "../vendor/assets-common" } -binary-merkle-tree = { path = "../vendor/binary-merkle-tree" } -bp-bridge-hub-cumulus = { path = "../vendor/bp-bridge-hub-cumulus" } -bp-header-chain = { path = "../vendor/bp-header-chain" } -bp-kusama = { path = "../vendor/bp-kusama" } -bp-messages = { path = "../vendor/bp-messages" } -bp-parachains = { path = "../vendor/bp-parachains" } -bp-polkadot = { path = "../vendor/bp-polkadot" } -bp-polkadot-bulletin = { path = "../vendor/bp-polkadot-bulletin" } -bp-polkadot-core = { path = "../vendor/bp-polkadot-core" } -bp-relayers = { path = "../vendor/bp-relayers" } -bp-runtime = { path = "../vendor/bp-runtime" } -bp-xcm-bridge-hub-router = { path = "../vendor/bp-xcm-bridge-hub-router" } -bridge-hub-common = { path = "../vendor/bridge-hub-common" } -bridge-hub-test-utils = { path = "../vendor/bridge-hub-test-utils" } -bridge-runtime-common = { path = "../vendor/bridge-runtime-common" } -clap = { path = "../vendor/clap" } -cumulus-pallet-aura-ext = { path = "../vendor/cumulus-pallet-aura-ext" } -cumulus-pallet-parachain-system = { path = "../vendor/cumulus-pallet-parachain-system" } -cumulus-pallet-session-benchmarking = { path = "../vendor/cumulus-pallet-session-benchmarking" } -cumulus-pallet-xcm = { path = "../vendor/cumulus-pallet-xcm" } -cumulus-pallet-xcmp-queue = { path = "../vendor/cumulus-pallet-xcmp-queue" } -cumulus-primitives-aura = { path = "../vendor/cumulus-primitives-aura" } -cumulus-primitives-core = { path = "../vendor/cumulus-primitives-core" } -cumulus-primitives-utility = { path = "../vendor/cumulus-primitives-utility" } -emulated-integration-tests-common = { path = "../vendor/emulated-integration-tests-common" } -encointer-balances-tx-payment = { path = "../vendor/encointer-balances-tx-payment" } -encointer-balances-tx-payment-rpc-runtime-api = { path = "../vendor/encointer-balances-tx-payment-rpc-runtime-api" } -encointer-primitives = { path = "../vendor/encointer-primitives" } -enumflags2 = { path = "../vendor/enumflags2" } -frame-benchmarking = { path = "../vendor/frame-benchmarking" } -frame-election-provider-support = { path = "../vendor/frame-election-provider-support" } -frame-executive = { path = "../vendor/frame-executive" } -frame-support = { path = "../vendor/frame-support" } -frame-system = { path = "../vendor/frame-system" } -frame-system-benchmarking = { path = "../vendor/frame-system-benchmarking" } -frame-system-rpc-runtime-api = { path = "../vendor/frame-system-rpc-runtime-api" } -frame-try-runtime = { path = "../vendor/frame-try-runtime" } -hex-literal = { path = "../vendor/hex-literal" } -log = { path = "../vendor/log" } -pallet-alliance = { path = "../vendor/pallet-alliance" } -pallet-asset-conversion = { path = "../vendor/pallet-asset-conversion" } -pallet-asset-conversion-tx-payment = { path = "../vendor/pallet-asset-conversion-tx-payment" } -pallet-asset-rate = { path = "../vendor/pallet-asset-rate" } -pallet-asset-tx-payment = { path = "../vendor/pallet-asset-tx-payment" } -pallet-assets = { path = "../vendor/pallet-assets" } -pallet-aura = { path = "../vendor/pallet-aura" } -pallet-authority-discovery = { path = "../vendor/pallet-authority-discovery" } -pallet-authorship = { path = "../vendor/pallet-authorship" } -pallet-babe = { path = "../vendor/pallet-babe" } -pallet-bags-list = { path = "../vendor/pallet-bags-list" } -pallet-balances = { path = "../vendor/pallet-balances" } -pallet-beefy = { path = "../vendor/pallet-beefy" } -pallet-beefy-mmr = { path = "../vendor/pallet-beefy-mmr" } -pallet-bounties = { path = "../vendor/pallet-bounties" } -pallet-bridge-grandpa = { path = "../vendor/pallet-bridge-grandpa" } -pallet-bridge-messages = { path = "../vendor/pallet-bridge-messages" } -pallet-bridge-parachains = { path = "../vendor/pallet-bridge-parachains" } -pallet-bridge-relayers = { path = "../vendor/pallet-bridge-relayers" } -pallet-broker = { path = "../vendor/pallet-broker" } -pallet-child-bounties = { path = "../vendor/pallet-child-bounties" } -pallet-collator-selection = { path = "../vendor/pallet-collator-selection" } -pallet-collective = { path = "../vendor/pallet-collective" } -pallet-conviction-voting = { path = "../vendor/pallet-conviction-voting" } -pallet-core-fellowship = { path = "../vendor/pallet-core-fellowship" } -pallet-election-provider-multi-phase = { path = "../vendor/pallet-election-provider-multi-phase" } -pallet-election-provider-support-benchmarking = { path = "../vendor/pallet-election-provider-support-benchmarking" } -pallet-encointer-balances = { path = "../vendor/pallet-encointer-balances" } -pallet-encointer-bazaar = { path = "../vendor/pallet-encointer-bazaar" } -pallet-encointer-bazaar-rpc-runtime-api = { path = "../vendor/pallet-encointer-bazaar-rpc-runtime-api" } -pallet-encointer-ceremonies = { path = "../vendor/pallet-encointer-ceremonies" } -pallet-encointer-ceremonies-rpc-runtime-api = { path = "../vendor/pallet-encointer-ceremonies-rpc-runtime-api" } -pallet-encointer-communities = { path = "../vendor/pallet-encointer-communities" } -pallet-encointer-communities-rpc-runtime-api = { path = "../vendor/pallet-encointer-communities-rpc-runtime-api" } -pallet-encointer-democracy = { path = "../vendor/pallet-encointer-democracy" } -pallet-encointer-faucet = { path = "../vendor/pallet-encointer-faucet" } -pallet-encointer-reputation-commitments = { path = "../vendor/pallet-encointer-reputation-commitments" } -pallet-encointer-scheduler = { path = "../vendor/pallet-encointer-scheduler" } -pallet-encointer-treasuries = { path = "../vendor/pallet-encointer-treasuries" } -pallet-encointer-treasuries-rpc-runtime-api = { path = "../vendor/pallet-encointer-treasuries-rpc-runtime-api" } -pallet-fast-unstake = { path = "../vendor/pallet-fast-unstake" } -pallet-glutton = { path = "../vendor/pallet-glutton" } -pallet-grandpa = { path = "../vendor/pallet-grandpa" } -pallet-identity = { path = "../vendor/pallet-identity" } -pallet-im-online = { path = "../vendor/pallet-im-online" } -pallet-indices = { path = "../vendor/pallet-indices" } -pallet-insecure-randomness-collective-flip = { path = "../vendor/pallet-insecure-randomness-collective-flip" } -pallet-membership = { path = "../vendor/pallet-membership" } -pallet-message-queue = { path = "../vendor/pallet-message-queue" } -pallet-mmr = { path = "../vendor/pallet-mmr" } -pallet-multisig = { path = "../vendor/pallet-multisig" } -pallet-nft-fractionalization = { path = "../vendor/pallet-nft-fractionalization" } -pallet-nfts = { path = "../vendor/pallet-nfts" } -pallet-nfts-runtime-api = { path = "../vendor/pallet-nfts-runtime-api" } -pallet-nis = { path = "../vendor/pallet-nis" } -pallet-nomination-pools = { path = "../vendor/pallet-nomination-pools" } -pallet-nomination-pools-benchmarking = { path = "../vendor/pallet-nomination-pools-benchmarking" } -pallet-nomination-pools-runtime-api = { path = "../vendor/pallet-nomination-pools-runtime-api" } -pallet-offences = { path = "../vendor/pallet-offences" } -pallet-offences-benchmarking = { path = "../vendor/pallet-offences-benchmarking" } -pallet-parameters = { path = "../vendor/pallet-parameters" } -pallet-preimage = { path = "../vendor/pallet-preimage" } -pallet-proxy = { path = "../vendor/pallet-proxy" } -pallet-ranked-collective = { path = "../vendor/pallet-ranked-collective" } -pallet-recovery = { path = "../vendor/pallet-recovery" } -pallet-referenda = { path = "../vendor/pallet-referenda" } -pallet-salary = { path = "../vendor/pallet-salary" } -pallet-scheduler = { path = "../vendor/pallet-scheduler" } -pallet-session = { path = "../vendor/pallet-session" } -pallet-session-benchmarking = { path = "../vendor/pallet-session-benchmarking" } -pallet-society = { path = "../vendor/pallet-society" } -pallet-staking = { path = "../vendor/pallet-staking" } -pallet-staking-reward-curve = { path = "../vendor/pallet-staking-reward-curve" } -pallet-staking-reward-fn = { path = "../vendor/pallet-staking-reward-fn" } -pallet-staking-runtime-api = { path = "../vendor/pallet-staking-runtime-api" } -pallet-state-trie-migration = { path = "../vendor/pallet-state-trie-migration" } -pallet-sudo = { path = "../vendor/pallet-sudo" } -pallet-timestamp = { path = "../vendor/pallet-timestamp" } -pallet-transaction-payment = { path = "../vendor/pallet-transaction-payment" } -pallet-transaction-payment-rpc-runtime-api = { path = "../vendor/pallet-transaction-payment-rpc-runtime-api" } -pallet-treasury = { path = "../vendor/pallet-treasury" } -pallet-uniques = { path = "../vendor/pallet-uniques" } -pallet-utility = { path = "../vendor/pallet-utility" } -pallet-vesting = { path = "../vendor/pallet-vesting" } -pallet-whitelist = { path = "../vendor/pallet-whitelist" } -pallet-xcm = { path = "../vendor/pallet-xcm" } -pallet-xcm-benchmarks = { path = "../vendor/pallet-xcm-benchmarks" } -pallet-xcm-bridge-hub = { path = "../vendor/pallet-xcm-bridge-hub" } -pallet-xcm-bridge-hub-router = { path = "../vendor/pallet-xcm-bridge-hub-router" } -parachains-common = { path = "../vendor/parachains-common" } -parachains-runtimes-test-utils = { path = "../vendor/parachains-runtimes-test-utils" } -paste = { path = "../vendor/paste" } -penpal-runtime = { path = "../vendor/penpal-runtime" } -polkadot-core-primitives = { path = "../vendor/polkadot-core-primitives" } -polkadot-parachain-primitives = { path = "../vendor/polkadot-parachain-primitives" } -polkadot-primitives = { path = "../vendor/polkadot-primitives" } -polkadot-runtime-common = { path = "../vendor/polkadot-runtime-common" } -primitive-types = { path = "../vendor/primitive-types" } -frame-metadata-hash-extension = { path = "../vendor/frame-metadata-hash-extension" } -sc-chain-spec = { path = "../vendor/sc-chain-spec" } -sc-network = { path = "../vendor/sc-network" } -scale-info = { path = "../vendor/scale-info" } -separator = { path = "../vendor/separator" } -serde = { path = "../vendor/serde" } -serde_json = { path = "../vendor/serde_json" } -smallvec = { path = "../vendor/smallvec" } -snowbridge-beacon-primitives = { path = "../vendor/snowbridge-beacon-primitives" } -snowbridge-core = { path = "../vendor/snowbridge-core" } -snowbridge-outbound-queue-runtime-api = { path = "../vendor/snowbridge-outbound-queue-runtime-api" } -snowbridge-pallet-ethereum-client = { path = "../vendor/snowbridge-pallet-ethereum-client" } -snowbridge-pallet-inbound-queue = { path = "../vendor/snowbridge-pallet-inbound-queue" } -snowbridge-pallet-inbound-queue-fixtures = { path = "../vendor/snowbridge-pallet-inbound-queue-fixtures" } -snowbridge-pallet-outbound-queue = { path = "../vendor/snowbridge-pallet-outbound-queue" } -snowbridge-pallet-system = { path = "../vendor/snowbridge-pallet-system" } -snowbridge-router-primitives = { path = "../vendor/snowbridge-router-primitives" } -snowbridge-runtime-common = { path = "../vendor/snowbridge-runtime-common" } -snowbridge-runtime-test-common = { path = "../vendor/snowbridge-runtime-test-common" } -snowbridge-system-runtime-api = { path = "../vendor/snowbridge-system-runtime-api" } -sp-api = { path = "../vendor/sp-api" } -sp-application-crypto = { path = "../vendor/sp-application-crypto" } -sp-arithmetic = { path = "../vendor/sp-arithmetic" } -sp-block-builder = { path = "../vendor/sp-block-builder" } -sp-consensus-aura = { path = "../vendor/sp-consensus-aura" } -sp-core = { path = "../vendor/sp-core-31.0.0" } -sp-debug-derive = { path = "../vendor/sp-debug-derive" } -sp-genesis-builder = { path = "../vendor/sp-genesis-builder" } -sp-inherents = { path = "../vendor/sp-inherents" } -sp-io = { path = "../vendor/sp-io-33.0.0" } -sp-keyring = { path = "../vendor/sp-keyring" } -sp-npos-elections = { path = "../vendor/sp-npos-elections" } -sp-offchain = { path = "../vendor/sp-offchain" } -sp-runtime = { path = "../vendor/sp-runtime" } -sp-session = { path = "../vendor/sp-session" } -sp-staking = { path = "../vendor/sp-staking" } -sp-std = { path = "../vendor/sp-std" } -sp-storage = { path = "../vendor/sp-storage" } -sp-tracing = { path = "../vendor/sp-tracing-16.0.0" } -sp-transaction-pool = { path = "../vendor/sp-transaction-pool" } -sp-trie = { path = "../vendor/sp-trie-32.0.0" } -sp-version = { path = "../vendor/sp-version" } -sp-weights = { path = "../vendor/sp-weights-30.0.0" } -static_assertions = { path = "../vendor/static_assertions" } -substrate-wasm-builder = { path = "../vendor/substrate-wasm-builder" } -tokio = { path = "../vendor/tokio" } -xcm-emulator = { path = "../vendor/xcm-emulator" } -xcm-runtime-apis = { path = "../vendor/xcm-runtime-apis" } -anyhow = { path = "../vendor/anyhow" } -subxt = { path = "../vendor/subxt" } -tracing-subscriber = { path = "../vendor/tracing-subscriber-0.2.25" } -zombienet-sdk = { path = "../vendor/zombienet-sdk" } -tuplex = { path = "../vendor/tuplex" } -ss58-registry = { path = "../vendor/ss58-registry" } \ No newline at end of file From 8c81fe2f652c8620aa7d69986c6eeddf52ed17e5 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 6 Nov 2024 19:17:46 +0000 Subject: [PATCH 08/11] fix Signed-off-by: Oliver Tale-Yazdi --- ahm-controller/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs index 0a1375042a..fd0b785ec1 100644 --- a/ahm-controller/src/lib.rs +++ b/ahm-controller/src/lib.rs @@ -167,8 +167,10 @@ pub mod pallet { Some(phase) => phase, }; + pallet + // Phase handling and transistion - let phase = match phase { + /*let phase = match phase { Phases::MigrateBalancesEds { mut next_account } => { Self::migrate_eds(&mut next_account); @@ -181,7 +183,7 @@ pub mod pallet { other => other, }; // Write back - Phase::::put(phase); + Phase::::put(phase);*/ /*for _ in 0..10 { match Self::migrate_indices() { From 22c2d0d0f4e21bd9060854c79b0cc1254d1517a3 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 6 Nov 2024 21:47:18 +0000 Subject: [PATCH 09/11] refs Signed-off-by: Oliver Tale-Yazdi --- Cargo.lock | 2 +- Cargo.toml | 196 ++++++++++++++++++ ahm-controller/src/lib.rs | 8 +- relay/kusama/src/lib.rs | 1 + relay/polkadot/src/lib.rs | 1 + .../asset-hubs/asset-hub-polkadot/src/lib.rs | 1 + 6 files changed, 204 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c0d16fae82..8384a1539e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.92" +version = "1.0.93" [[package]] name = "approx" diff --git a/Cargo.toml b/Cargo.toml index 4490102d22..108127f125 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -316,3 +316,199 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 + +[patch.crates-io] +assert_matches = { path = "../vendor/assert_matches" } +asset-test-utils = { path = "../vendor/asset-test-utils" } +assets-common = { path = "../vendor/assets-common" } +binary-merkle-tree = { path = "../vendor/binary-merkle-tree" } +bp-bridge-hub-cumulus = { path = "../vendor/bp-bridge-hub-cumulus" } +bp-header-chain = { path = "../vendor/bp-header-chain" } +bp-kusama = { path = "../vendor/bp-kusama" } +bp-messages = { path = "../vendor/bp-messages" } +bp-parachains = { path = "../vendor/bp-parachains" } +bp-polkadot = { path = "../vendor/bp-polkadot" } +bp-polkadot-bulletin = { path = "../vendor/bp-polkadot-bulletin" } +bp-polkadot-core = { path = "../vendor/bp-polkadot-core" } +bp-relayers = { path = "../vendor/bp-relayers" } +bp-runtime = { path = "../vendor/bp-runtime" } +bp-xcm-bridge-hub-router = { path = "../vendor/bp-xcm-bridge-hub-router" } +bridge-hub-common = { path = "../vendor/bridge-hub-common" } +bridge-hub-test-utils = { path = "../vendor/bridge-hub-test-utils" } +bridge-runtime-common = { path = "../vendor/bridge-runtime-common" } +clap = { path = "../vendor/clap" } +cumulus-pallet-aura-ext = { path = "../vendor/cumulus-pallet-aura-ext" } +cumulus-pallet-parachain-system = { path = "../vendor/cumulus-pallet-parachain-system" } +cumulus-pallet-session-benchmarking = { path = "../vendor/cumulus-pallet-session-benchmarking" } +cumulus-pallet-xcm = { path = "../vendor/cumulus-pallet-xcm" } +cumulus-pallet-xcmp-queue = { path = "../vendor/cumulus-pallet-xcmp-queue" } +cumulus-primitives-aura = { path = "../vendor/cumulus-primitives-aura" } +cumulus-primitives-core = { path = "../vendor/cumulus-primitives-core" } +cumulus-primitives-utility = { path = "../vendor/cumulus-primitives-utility" } +emulated-integration-tests-common = { path = "../vendor/emulated-integration-tests-common" } +encointer-balances-tx-payment = { path = "../vendor/encointer-balances-tx-payment" } +encointer-balances-tx-payment-rpc-runtime-api = { path = "../vendor/encointer-balances-tx-payment-rpc-runtime-api" } +encointer-primitives = { path = "../vendor/encointer-primitives" } +enumflags2 = { path = "../vendor/enumflags2" } +frame-benchmarking = { path = "../vendor/frame-benchmarking" } +frame-election-provider-support = { path = "../vendor/frame-election-provider-support" } +frame-executive = { path = "../vendor/frame-executive" } +frame-support = { path = "../vendor/frame-support" } +frame-system = { path = "../vendor/frame-system" } +frame-system-benchmarking = { path = "../vendor/frame-system-benchmarking" } +frame-system-rpc-runtime-api = { path = "../vendor/frame-system-rpc-runtime-api" } +frame-try-runtime = { path = "../vendor/frame-try-runtime" } +hex-literal = { path = "../vendor/hex-literal" } +log = { path = "../vendor/log" } +pallet-alliance = { path = "../vendor/pallet-alliance" } +pallet-asset-conversion = { path = "../vendor/pallet-asset-conversion" } +pallet-asset-conversion-tx-payment = { path = "../vendor/pallet-asset-conversion-tx-payment" } +pallet-asset-rate = { path = "../vendor/pallet-asset-rate" } +pallet-asset-tx-payment = { path = "../vendor/pallet-asset-tx-payment" } +pallet-assets = { path = "../vendor/pallet-assets" } +pallet-aura = { path = "../vendor/pallet-aura" } +pallet-authority-discovery = { path = "../vendor/pallet-authority-discovery" } +pallet-authorship = { path = "../vendor/pallet-authorship" } +pallet-babe = { path = "../vendor/pallet-babe" } +pallet-bags-list = { path = "../vendor/pallet-bags-list" } +pallet-balances = { path = "../vendor/pallet-balances" } +pallet-beefy = { path = "../vendor/pallet-beefy" } +pallet-beefy-mmr = { path = "../vendor/pallet-beefy-mmr" } +pallet-bounties = { path = "../vendor/pallet-bounties" } +pallet-bridge-grandpa = { path = "../vendor/pallet-bridge-grandpa" } +pallet-bridge-messages = { path = "../vendor/pallet-bridge-messages" } +pallet-bridge-parachains = { path = "../vendor/pallet-bridge-parachains" } +pallet-bridge-relayers = { path = "../vendor/pallet-bridge-relayers" } +pallet-broker = { path = "../vendor/pallet-broker" } +pallet-child-bounties = { path = "../vendor/pallet-child-bounties" } +pallet-collator-selection = { path = "../vendor/pallet-collator-selection" } +pallet-collective = { path = "../vendor/pallet-collective" } +pallet-conviction-voting = { path = "../vendor/pallet-conviction-voting" } +pallet-core-fellowship = { path = "../vendor/pallet-core-fellowship" } +pallet-election-provider-multi-phase = { path = "../vendor/pallet-election-provider-multi-phase" } +pallet-election-provider-support-benchmarking = { path = "../vendor/pallet-election-provider-support-benchmarking" } +pallet-encointer-balances = { path = "../vendor/pallet-encointer-balances" } +pallet-encointer-bazaar = { path = "../vendor/pallet-encointer-bazaar" } +pallet-encointer-bazaar-rpc-runtime-api = { path = "../vendor/pallet-encointer-bazaar-rpc-runtime-api" } +pallet-encointer-ceremonies = { path = "../vendor/pallet-encointer-ceremonies" } +pallet-encointer-ceremonies-rpc-runtime-api = { path = "../vendor/pallet-encointer-ceremonies-rpc-runtime-api" } +pallet-encointer-communities = { path = "../vendor/pallet-encointer-communities" } +pallet-encointer-communities-rpc-runtime-api = { path = "../vendor/pallet-encointer-communities-rpc-runtime-api" } +pallet-encointer-democracy = { path = "../vendor/pallet-encointer-democracy" } +pallet-encointer-faucet = { path = "../vendor/pallet-encointer-faucet" } +pallet-encointer-reputation-commitments = { path = "../vendor/pallet-encointer-reputation-commitments" } +pallet-encointer-scheduler = { path = "../vendor/pallet-encointer-scheduler" } +pallet-encointer-treasuries = { path = "../vendor/pallet-encointer-treasuries" } +pallet-encointer-treasuries-rpc-runtime-api = { path = "../vendor/pallet-encointer-treasuries-rpc-runtime-api" } +pallet-fast-unstake = { path = "../vendor/pallet-fast-unstake" } +pallet-glutton = { path = "../vendor/pallet-glutton" } +pallet-grandpa = { path = "../vendor/pallet-grandpa" } +pallet-identity = { path = "../vendor/pallet-identity" } +pallet-im-online = { path = "../vendor/pallet-im-online" } +pallet-indices = { path = "../vendor/pallet-indices" } +pallet-insecure-randomness-collective-flip = { path = "../vendor/pallet-insecure-randomness-collective-flip" } +pallet-membership = { path = "../vendor/pallet-membership" } +pallet-message-queue = { path = "../vendor/pallet-message-queue" } +pallet-mmr = { path = "../vendor/pallet-mmr" } +pallet-multisig = { path = "../vendor/pallet-multisig" } +pallet-nft-fractionalization = { path = "../vendor/pallet-nft-fractionalization" } +pallet-nfts = { path = "../vendor/pallet-nfts" } +pallet-nfts-runtime-api = { path = "../vendor/pallet-nfts-runtime-api" } +pallet-nis = { path = "../vendor/pallet-nis" } +pallet-nomination-pools = { path = "../vendor/pallet-nomination-pools" } +pallet-nomination-pools-benchmarking = { path = "../vendor/pallet-nomination-pools-benchmarking" } +pallet-nomination-pools-runtime-api = { path = "../vendor/pallet-nomination-pools-runtime-api" } +pallet-offences = { path = "../vendor/pallet-offences" } +pallet-offences-benchmarking = { path = "../vendor/pallet-offences-benchmarking" } +pallet-parameters = { path = "../vendor/pallet-parameters" } +pallet-preimage = { path = "../vendor/pallet-preimage" } +pallet-proxy = { path = "../vendor/pallet-proxy" } +pallet-ranked-collective = { path = "../vendor/pallet-ranked-collective" } +pallet-recovery = { path = "../vendor/pallet-recovery" } +pallet-referenda = { path = "../vendor/pallet-referenda" } +pallet-salary = { path = "../vendor/pallet-salary" } +pallet-scheduler = { path = "../vendor/pallet-scheduler" } +pallet-session = { path = "../vendor/pallet-session" } +pallet-session-benchmarking = { path = "../vendor/pallet-session-benchmarking" } +pallet-society = { path = "../vendor/pallet-society" } +pallet-staking = { path = "../vendor/pallet-staking" } +pallet-staking-reward-curve = { path = "../vendor/pallet-staking-reward-curve" } +pallet-staking-reward-fn = { path = "../vendor/pallet-staking-reward-fn" } +pallet-staking-runtime-api = { path = "../vendor/pallet-staking-runtime-api" } +pallet-state-trie-migration = { path = "../vendor/pallet-state-trie-migration" } +pallet-sudo = { path = "../vendor/pallet-sudo" } +pallet-timestamp = { path = "../vendor/pallet-timestamp" } +pallet-transaction-payment = { path = "../vendor/pallet-transaction-payment" } +pallet-transaction-payment-rpc-runtime-api = { path = "../vendor/pallet-transaction-payment-rpc-runtime-api" } +pallet-treasury = { path = "../vendor/pallet-treasury" } +pallet-uniques = { path = "../vendor/pallet-uniques" } +pallet-utility = { path = "../vendor/pallet-utility" } +pallet-vesting = { path = "../vendor/pallet-vesting" } +pallet-whitelist = { path = "../vendor/pallet-whitelist" } +pallet-xcm = { path = "../vendor/pallet-xcm" } +pallet-xcm-benchmarks = { path = "../vendor/pallet-xcm-benchmarks" } +pallet-xcm-bridge-hub = { path = "../vendor/pallet-xcm-bridge-hub" } +pallet-xcm-bridge-hub-router = { path = "../vendor/pallet-xcm-bridge-hub-router" } +parachains-common = { path = "../vendor/parachains-common" } +parachains-runtimes-test-utils = { path = "../vendor/parachains-runtimes-test-utils" } +paste = { path = "../vendor/paste" } +penpal-runtime = { path = "../vendor/penpal-runtime" } +polkadot-core-primitives = { path = "../vendor/polkadot-core-primitives" } +polkadot-parachain-primitives = { path = "../vendor/polkadot-parachain-primitives" } +polkadot-primitives = { path = "../vendor/polkadot-primitives" } +polkadot-runtime-common = { path = "../vendor/polkadot-runtime-common" } +primitive-types = { path = "../vendor/primitive-types" } +frame-metadata-hash-extension = { path = "../vendor/frame-metadata-hash-extension" } +sc-chain-spec = { path = "../vendor/sc-chain-spec" } +sc-network = { path = "../vendor/sc-network" } +scale-info = { path = "../vendor/scale-info" } +separator = { path = "../vendor/separator" } +serde = { path = "../vendor/serde" } +serde_json = { path = "../vendor/serde_json" } +smallvec = { path = "../vendor/smallvec" } +snowbridge-beacon-primitives = { path = "../vendor/snowbridge-beacon-primitives" } +snowbridge-core = { path = "../vendor/snowbridge-core" } +snowbridge-outbound-queue-runtime-api = { path = "../vendor/snowbridge-outbound-queue-runtime-api" } +snowbridge-pallet-ethereum-client = { path = "../vendor/snowbridge-pallet-ethereum-client" } +snowbridge-pallet-inbound-queue = { path = "../vendor/snowbridge-pallet-inbound-queue" } +snowbridge-pallet-inbound-queue-fixtures = { path = "../vendor/snowbridge-pallet-inbound-queue-fixtures" } +snowbridge-pallet-outbound-queue = { path = "../vendor/snowbridge-pallet-outbound-queue" } +snowbridge-pallet-system = { path = "../vendor/snowbridge-pallet-system" } +snowbridge-router-primitives = { path = "../vendor/snowbridge-router-primitives" } +snowbridge-runtime-common = { path = "../vendor/snowbridge-runtime-common" } +snowbridge-runtime-test-common = { path = "../vendor/snowbridge-runtime-test-common" } +snowbridge-system-runtime-api = { path = "../vendor/snowbridge-system-runtime-api" } +sp-api = { path = "../vendor/sp-api" } +sp-application-crypto = { path = "../vendor/sp-application-crypto" } +sp-arithmetic = { path = "../vendor/sp-arithmetic" } +sp-block-builder = { path = "../vendor/sp-block-builder" } +sp-consensus-aura = { path = "../vendor/sp-consensus-aura" } +sp-core = { path = "../vendor/sp-core-31.0.0" } +sp-debug-derive = { path = "../vendor/sp-debug-derive" } +sp-genesis-builder = { path = "../vendor/sp-genesis-builder" } +sp-inherents = { path = "../vendor/sp-inherents" } +sp-io = { path = "../vendor/sp-io-33.0.0" } +sp-keyring = { path = "../vendor/sp-keyring" } +sp-npos-elections = { path = "../vendor/sp-npos-elections" } +sp-offchain = { path = "../vendor/sp-offchain" } +sp-runtime = { path = "../vendor/sp-runtime" } +sp-session = { path = "../vendor/sp-session" } +sp-staking = { path = "../vendor/sp-staking" } +sp-std = { path = "../vendor/sp-std" } +sp-storage = { path = "../vendor/sp-storage" } +sp-tracing = { path = "../vendor/sp-tracing-16.0.0" } +sp-transaction-pool = { path = "../vendor/sp-transaction-pool" } +sp-trie = { path = "../vendor/sp-trie-32.0.0" } +sp-version = { path = "../vendor/sp-version" } +sp-weights = { path = "../vendor/sp-weights-30.0.0" } +static_assertions = { path = "../vendor/static_assertions" } +substrate-wasm-builder = { path = "../vendor/substrate-wasm-builder" } +tokio = { path = "../vendor/tokio" } +xcm-emulator = { path = "../vendor/xcm-emulator" } +xcm-runtime-apis = { path = "../vendor/xcm-runtime-apis" } +anyhow = { path = "../vendor/anyhow" } +subxt = { path = "../vendor/subxt" } +tracing-subscriber = { path = "../vendor/tracing-subscriber-0.2.25" } +zombienet-sdk = { path = "../vendor/zombienet-sdk" } +tuplex = { path = "../vendor/tuplex" } +ss58-registry = { path = "../vendor/ss58-registry" } \ No newline at end of file diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs index fd0b785ec1..19cc788b59 100644 --- a/ahm-controller/src/lib.rs +++ b/ahm-controller/src/lib.rs @@ -167,7 +167,7 @@ pub mod pallet { Some(phase) => phase, }; - pallet + //pallet // Phase handling and transistion /*let phase = match phase { @@ -185,13 +185,13 @@ pub mod pallet { // Write back Phase::::put(phase);*/ - /*for _ in 0..10 { + for _ in 0..10 { match Self::migrate_indices() { Ok(false) => break, Err(_) => break, _ => (), } - }*/ + } } // Just to make the BoundedVec compiler stuff work... @@ -255,7 +255,7 @@ pub mod pallet { fn migrate_indices() -> Result { frame_support::storage::transactional::with_transaction_opaque_err::(|| { - let Some((call, weight)) = pallet_indices::Pallet::::migrate_next(100) else { + let Some((call, weight)) = pallet_indices::Pallet::::migrate_next(1000) else { return TransactionOutcome::Commit(Ok(false)); }; diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 586ccfd7d7..c300e16ccd 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -333,6 +333,7 @@ impl pallet_indices::Config for Runtime { type Deposit = IndexDeposit; type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_indices::WeightInfo; + type AhReserveMigrator = frame_support::ahm::NoopMigrator; } parameter_types! { diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index ebc14d51c8..b17411b9c8 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -320,6 +320,7 @@ impl pallet_indices::Config for Runtime { type Deposit = IndexDeposit; type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_indices::WeightInfo; + type AhReserveMigrator = Balances; } parameter_types! { diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index a2b2efdc23..fea702d117 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -969,6 +969,7 @@ impl pallet_indices::Config for Runtime { type Deposit = IndexDeposit; type RuntimeEvent = RuntimeEvent; type WeightInfo = pallet_indices::weights::SubstrateWeight; // FAIL-CI + type AhReserveMigrator = Balances; } use pallet_ahm_controller::Role; From 51400d9099a45f3f5e7490be2e0b3a903a7c0a69 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 7 Nov 2024 17:15:44 +0000 Subject: [PATCH 10/11] backup Signed-off-by: Oliver Tale-Yazdi --- Cargo.lock | 1 + Cargo.toml | 8 ++- ahm-controller/src/lib.rs | 2 +- relay/polkadot/tests/ahm_tests.rs | 84 +++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 relay/polkadot/tests/ahm_tests.rs diff --git a/Cargo.lock b/Cargo.lock index 8384a1539e..0dd68ad34a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8374,6 +8374,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core 34.0.0", diff --git a/Cargo.toml b/Cargo.toml index 108127f125..c1a61f47f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -317,6 +317,12 @@ inherits = "release" lto = true codegen-units = 1 +[profile.testnet] +inherits = "release" +debug = 1 # debug symbols are useful for profilers +debug-assertions = true +overflow-checks = true + [patch.crates-io] assert_matches = { path = "../vendor/assert_matches" } asset-test-utils = { path = "../vendor/asset-test-utils" } @@ -511,4 +517,4 @@ subxt = { path = "../vendor/subxt" } tracing-subscriber = { path = "../vendor/tracing-subscriber-0.2.25" } zombienet-sdk = { path = "../vendor/zombienet-sdk" } tuplex = { path = "../vendor/tuplex" } -ss58-registry = { path = "../vendor/ss58-registry" } \ No newline at end of file +ss58-registry = { path = "../vendor/ss58-registry" } diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs index 19cc788b59..2e1f8eb3b4 100644 --- a/ahm-controller/src/lib.rs +++ b/ahm-controller/src/lib.rs @@ -253,7 +253,7 @@ pub mod pallet { })? } - fn migrate_indices() -> Result { + pub fn migrate_indices() -> Result { frame_support::storage::transactional::with_transaction_opaque_err::(|| { let Some((call, weight)) = pallet_indices::Pallet::::migrate_next(1000) else { return TransactionOutcome::Commit(Ok(false)); diff --git a/relay/polkadot/tests/ahm_tests.rs b/relay/polkadot/tests/ahm_tests.rs new file mode 100644 index 0000000000..c063ad1897 --- /dev/null +++ b/relay/polkadot/tests/ahm_tests.rs @@ -0,0 +1,84 @@ +// Copyright (C) Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +//! Asset hub migration tests. + +use frame_support::traits::tokens::ConversionFromAssetBalance; +use polkadot_runtime::AssetRateWithNative; +use polkadot_runtime_common::impls::VersionedLocatableAsset; +use xcm::prelude::*; +use remote_externalities::OfflineConfig; +use remote_externalities::Builder; +use polkadot_runtime::Block; +use remote_externalities::RemoteExternalities; +use remote_externalities::Mode; +use polkadot_runtime::Runtime as T; +use polkadot_runtime::AhmController; +use polkadot_runtime::System; +use frame_support::sp_runtime::traits::Dispatchable; + +#[tokio::test] +async fn ahm_indices_out() { + let Some(mut ext) = remote_ext_test_setup().await else { return; }; + let mut calls = Vec::new(); + + ext.execute_with(|| { + frame_system::Pallet::::set_block_number(1); + let ti = pallet_balances::TotalIssuance::::get(); + + loop { + let Some((call, weight)) = pallet_indices::Pallet::::migrate_next(1000) else { + break; + }; + calls.push(call); + + /*log::error!("Number of events: {:?}", System::events().len()); + for event in System::events() { + log::error!("Event: {:?}", event); + } + System::reset_events();*/ + } + + for call in calls { + let runtime_call: polkadot_runtime::RuntimeCall = call.into(); + runtime_call.dispatch(frame_system::RawOrigin::Root.into()).unwrap(); + } + + let ti2 = pallet_balances::TotalIssuance::::get(); + assert_eq!(ti, ti2, "Total issuance must be the same after migration"); + }); +} + +async fn remote_ext_test_setup() -> Option> { + sp_tracing::try_init_simple(); + let Some(snap) = std::env::var("SNAP").ok() else{ + return None; + }; + let abs = std::path::absolute(snap.clone()); + + let ext = Builder::::default() + .mode(Mode::Offline( + OfflineConfig { state_snapshot: snap.clone().into() }, + )) + .build() + .await + .map_err(|e| { + eprintln!("Could not load from snapshot: {:?}: {:?}", abs, e); + }) + .unwrap(); + + Some(ext) +} From 5ba11de5a22ab3d0105fcd181466bb72973ccd2e Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 13 Nov 2024 06:25:21 +0000 Subject: [PATCH 11/11] Test Signed-off-by: Oliver Tale-Yazdi --- Cargo.lock | 1 + relay/kusama/src/lib.rs | 2 +- relay/polkadot/tests/ahm_tests.rs | 24 ++++++++++++++++++++++-- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0dd68ad34a..9ab9727cc6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7752,6 +7752,7 @@ name = "pallet-balances" version = "37.0.0" dependencies = [ "docify", + "either", "frame-benchmarking", "frame-support", "frame-system", diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index c300e16ccd..e48c63719c 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -333,7 +333,7 @@ impl pallet_indices::Config for Runtime { type Deposit = IndexDeposit; type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_indices::WeightInfo; - type AhReserveMigrator = frame_support::ahm::NoopMigrator; + type AhReserveMigrator = frame_support::ahm::NoopMigrator<(), Self::AccountId, Balance>; } parameter_types! { diff --git a/relay/polkadot/tests/ahm_tests.rs b/relay/polkadot/tests/ahm_tests.rs index c063ad1897..2e372cd3ba 100644 --- a/relay/polkadot/tests/ahm_tests.rs +++ b/relay/polkadot/tests/ahm_tests.rs @@ -37,6 +37,7 @@ async fn ahm_indices_out() { ext.execute_with(|| { frame_system::Pallet::::set_block_number(1); + total_issuance_correct(); let ti = pallet_balances::TotalIssuance::::get(); loop { @@ -45,23 +46,42 @@ async fn ahm_indices_out() { }; calls.push(call); - /*log::error!("Number of events: {:?}", System::events().len()); + log::error!("Number of events: {:?}", System::events().len()); for event in System::events() { log::error!("Event: {:?}", event); } - System::reset_events();*/ + System::reset_events(); } + log::error!("Dispatched {} calls", calls.len()); for call in calls { let runtime_call: polkadot_runtime::RuntimeCall = call.into(); runtime_call.dispatch(frame_system::RawOrigin::Root.into()).unwrap(); } + log::error!("Number of events: {:?}", System::events().len()); + for event in System::events() { + log::error!("Event: {:?}", event); + } + + total_issuance_correct(); let ti2 = pallet_balances::TotalIssuance::::get(); assert_eq!(ti, ti2, "Total issuance must be the same after migration"); }); } +fn total_issuance_correct() { + println!("Checkig TI"); + let mut total = 0; + for acc in frame_system::Account::::iter_values() { + total += acc.data.free + acc.data.reserved; + } + + let known_bad_diff = 15153004468955758308u128 - 15152788105929904271u128; + let ti = pallet_balances::TotalIssuance::::get(); + assert_eq!(total + known_bad_diff, ti, "Total issuance must be the same as sum of all account balances"); +} + async fn remote_ext_test_setup() -> Option> { sp_tracing::try_init_simple(); let Some(snap) = std::env::var("SNAP").ok() else{