From 445ba548c9fe78a8ff4574670ac5031cbe49257e Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Wed, 12 Jul 2023 12:27:34 +0200 Subject: [PATCH 001/138] correct rate limiter Cargo.toml --- pallets/xcm-rate-limiter/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 10323d6ae..7ac968e5b 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" homepage = 'https://github.com/galacticcouncil/hydradx-node' repository = 'https://github.com/galacticcouncil/hydradx-node' -description = "Circuit breakers for AMMs" +description = "Rate limiter for tokens arriving via XCM" [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] @@ -19,7 +19,6 @@ scale-info = { version = "2.3.1", default-features = false, features = ["derive" # Hydradx hydradx-traits = { workspace = true } hydra-dx-math = { workspace = true } -pallet-omnipool = { workspace = true } # Substrate dependencies frame-benchmarking = { workspace = true, optional = true} @@ -43,6 +42,7 @@ orml-traits = { workspace = true } [dev-dependencies] pallet-balances = { workspace = true, features = ["std"] } +pallet-omnipool = { workspace = true, features = ["std"] } orml-tokens = { workspace = true, features = ["std"] } test-utils = { workspace = true } pretty_assertions = "1.2.1" From db446259bcc55209af6c3acbf411c57fe9246d5b Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Wed, 12 Jul 2023 19:00:44 +0200 Subject: [PATCH 002/138] bump crate versions --- Cargo.lock | 10 +++++----- math/Cargo.toml | 2 +- pallets/dca/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- runtime/adapters/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 04db82c11..46cbcaac6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3686,7 +3686,7 @@ dependencies = [ [[package]] name = "hydra-dx-math" -version = "7.4.2" +version = "7.4.3" dependencies = [ "approx", "criterion", @@ -3783,7 +3783,7 @@ dependencies = [ [[package]] name = "hydradx-adapters" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -3815,7 +3815,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "166.0.0" +version = "167.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -6561,7 +6561,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.1.6" +version = "1.1.7" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9350,7 +9350,7 @@ dependencies = [ [[package]] name = "primitives" -version = "5.8.1" +version = "5.8.2" dependencies = [ "frame-support", "hex-literal 0.3.4", diff --git a/math/Cargo.toml b/math/Cargo.toml index 47191d1c9..c6005ee41 100644 --- a/math/Cargo.toml +++ b/math/Cargo.toml @@ -6,7 +6,7 @@ license = 'Apache-2.0' name = "hydra-dx-math" description = "A collection of utilities to make performing liquidity pool calculations more convenient." repository = 'https://github.com/galacticcouncil/hydradx-math' -version = "7.4.2" +version = "7.4.3" [dependencies] primitive-types = {default-features = false, version = '0.12.0'} diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index 4db1fa6c3..f22fd3df7 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dca' -version = '1.1.6' +version = "1.1.7" description = 'A pallet to manage DCA scheduling' authors = ['GalacticCouncil'] edition = '2021' diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index f8a3c1622..a42eb1efc 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitives" -version = "5.8.1" +version = "5.8.2" authors = ["GalacticCouncil"] edition = "2021" repository = "https://github.com/galacticcouncil/HydraDX-node" diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index c5e1cbe5b..6c0e162d0 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-adapters" -version = "0.4.0" +version = "0.4.1" description = "Structs and other generic types for building runtimes." authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index ba21c3895..8aff00d07 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "166.0.0" +version = "167.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index b1e1fce05..8bcf9a6e3 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -95,7 +95,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 166, + spec_version: 167, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 79a64a179498a1afe970fc32b13117259bd32ad6 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Mon, 24 Jul 2023 11:54:17 +0200 Subject: [PATCH 003/138] Revert "remove xcm rate limiter from runtime" This reverts commit 1119b137f2caed0a6ab82b4562fd092d5fe6c8e1. --- integration-tests/src/lib.rs | 1 + integration-tests/src/xcm_rate_limiter.rs | 243 ++++++++++++++++++++++ runtime/hydradx/src/lib.rs | 1 + runtime/hydradx/src/xcm.rs | 21 +- 4 files changed, 264 insertions(+), 2 deletions(-) create mode 100644 integration-tests/src/xcm_rate_limiter.rs diff --git a/integration-tests/src/lib.rs b/integration-tests/src/lib.rs index 0450b3afc..1a7d9a85a 100644 --- a/integration-tests/src/lib.rs +++ b/integration-tests/src/lib.rs @@ -14,6 +14,7 @@ mod otc; mod polkadot_test_net; mod transact_call_filter; mod vesting; +mod xcm_rate_limiter; #[macro_export] macro_rules! assert_balance { diff --git a/integration-tests/src/xcm_rate_limiter.rs b/integration-tests/src/xcm_rate_limiter.rs new file mode 100644 index 000000000..feb730643 --- /dev/null +++ b/integration-tests/src/xcm_rate_limiter.rs @@ -0,0 +1,243 @@ +#![cfg(test)] + +use crate::polkadot_test_net::*; + +use frame_support::{assert_ok, pallet_prelude::Weight}; +use orml_traits::currency::MultiCurrency; +use pallet_asset_registry::AssetType; +use polkadot_xcm::prelude::*; +use xcm_emulator::TestExt; + +/// Returns the message hash in the `XcmpMessageSent` event at the `n`th last event (1-indexed, so if the second to last +/// event has the hash, pass `2`); +fn get_message_hash_from_event(n: usize) -> Option<[u8; 32]> { + use cumulus_pallet_xcmp_queue::Event; + use hydradx_runtime::RuntimeEvent; + let RuntimeEvent::XcmpQueue(Event::XcmpMessageSent { message_hash }) = &last_hydra_events(n)[0] else { + panic!("expecting to find message sent event"); + }; + *message_hash +} + +#[test] +fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { + // Arrange + TestNet::reset(); + + Hydra::execute_with(|| { + assert_ok!(hydradx_runtime::AssetRegistry::set_location( + hydradx_runtime::RuntimeOrigin::root(), + ACA, + hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + )); + + // set an xcm rate limit + assert_ok!(hydradx_runtime::AssetRegistry::update( + hydradx_runtime::RuntimeOrigin::root(), + ACA, + b"ACA".to_vec(), + AssetType::Token, + None, + Some(50 * UNITS), + )); + + assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); + }); + + let amount = 100 * UNITS; + let mut message_hash = None; + Acala::execute_with(|| { + // Act + assert_ok!(hydradx_runtime::XTokens::transfer( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + 0, + amount, + Box::new( + MultiLocation::new( + 1, + X2( + Junction::Parachain(HYDRA_PARA_ID), + Junction::AccountId32 { id: BOB, network: None } + ) + ) + .into() + ), + WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + )); + + message_hash = get_message_hash_from_event(2); + + // Assert + assert_eq!( + hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), + ALICE_INITIAL_NATIVE_BALANCE - amount + ); + }); + + Hydra::execute_with(|| { + expect_hydra_events(vec![ + cumulus_pallet_xcmp_queue::Event::XcmDeferred { + sender: ACALA_PARA_ID.into(), + sent_at: 3, + deferred_to: 604, // received at 4 plus 600 blocks of deferral + message_hash, + } + .into(), + pallet_relaychain_info::Event::CurrentBlockNumbers { + parachain_block_number: 1, + relaychain_block_number: 5, + } + .into(), + ]); + assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); + }); +} + +#[test] +fn xcm_rate_limiter_should_not_limit_aca_when_limit_is_not_exceeded() { + // Arrange + TestNet::reset(); + + Hydra::execute_with(|| { + assert_ok!(hydradx_runtime::AssetRegistry::set_location( + hydradx_runtime::RuntimeOrigin::root(), + ACA, + hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + )); + + // set an xcm rate limit + assert_ok!(hydradx_runtime::AssetRegistry::update( + hydradx_runtime::RuntimeOrigin::root(), + ACA, + b"ACA".to_vec(), + AssetType::Token, + None, + Some(101 * UNITS), + )); + }); + + let amount = 100 * UNITS; + Acala::execute_with(|| { + // Act + assert_ok!(hydradx_runtime::XTokens::transfer( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + 0, + amount, + Box::new( + MultiLocation::new( + 1, + X2( + Junction::Parachain(HYDRA_PARA_ID), + Junction::AccountId32 { id: BOB, network: None } + ) + ) + .into() + ), + WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + )); + + // Assert + assert_eq!( + hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), + ALICE_INITIAL_NATIVE_BALANCE - amount + ); + }); + + Hydra::execute_with(|| { + let fee = hydradx_runtime::Tokens::free_balance(ACA, &hydradx_runtime::Treasury::account_id()); + assert_eq!( + hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), + amount - fee + ); + }); +} + +#[test] +fn deferred_messages_should_be_executable_by_root() { + // Arrange + TestNet::reset(); + + Hydra::execute_with(|| { + assert_ok!(hydradx_runtime::AssetRegistry::set_location( + hydradx_runtime::RuntimeOrigin::root(), + ACA, + hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + )); + + // set an xcm rate limit + assert_ok!(hydradx_runtime::AssetRegistry::update( + hydradx_runtime::RuntimeOrigin::root(), + ACA, + b"ACA".to_vec(), + AssetType::Token, + None, + Some(50 * UNITS), + )); + + assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); + }); + + let amount = 100 * UNITS; + let mut message_hash = None; + let max_weight = Weight::from_ref_time(399_600_000_000); + Acala::execute_with(|| { + // Act + assert_ok!(hydradx_runtime::XTokens::transfer( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + 0, + amount, + Box::new( + MultiLocation::new( + 1, + X2( + Junction::Parachain(HYDRA_PARA_ID), + Junction::AccountId32 { id: BOB, network: None } + ) + ) + .into() + ), + WeightLimit::Limited(max_weight), + )); + + message_hash = get_message_hash_from_event(2); + + // Assert + assert_eq!( + hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), + ALICE_INITIAL_NATIVE_BALANCE - amount + ); + }); + + Hydra::execute_with(|| { + expect_hydra_events(vec![ + cumulus_pallet_xcmp_queue::Event::XcmDeferred { + sender: ACALA_PARA_ID.into(), + sent_at: 3, + deferred_to: 604, // received at 4 plus 600 blocks of deferral + message_hash, + } + .into(), + pallet_relaychain_info::Event::CurrentBlockNumbers { + parachain_block_number: 1, + relaychain_block_number: 5, + } + .into(), + ]); + assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); + + set_relaychain_block_number(604); + + assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); + assert_ok!(hydradx_runtime::XcmpQueue::service_deferred( + hydradx_runtime::RuntimeOrigin::root(), + max_weight, + ACALA_PARA_ID.into(), + )); + + let fee = hydradx_runtime::Tokens::free_balance(ACA, &hydradx_runtime::Treasury::account_id()); + assert_eq!( + hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), + amount - fee + ); + }); +} diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 8bcf9a6e3..8e6e037cd 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -158,6 +158,7 @@ construct_runtime!( Router: pallet_route_executor = 67, DynamicFees: pallet_dynamic_fees = 68, + XcmRateLimiter: pallet_xcm_rate_limiter = 69, // ORML related modules Tokens: orml_tokens = 77, diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 9669b5ad9..42d2b0c9d 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -17,8 +17,9 @@ use frame_system::EnsureRoot; use orml_traits::{location::AbsoluteReserveProvider, parameter_type_with_key}; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiNativeAsset}; use pallet_xcm::XcmPassthrough; -use polkadot_parachain::primitives::Sibling; +use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; use polkadot_xcm::v3::{prelude::*, Weight as XcmWeight}; +use primitives::Price; use scale_info::TypeInfo; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, @@ -144,7 +145,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ExecuteDeferredOrigin = EnsureRoot; type MaxDeferredMessages = ConstU32<100>; type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; - type XcmDeferFilter = (); + type XcmDeferFilter = XcmRateLimiter; } impl cumulus_pallet_dmp_queue::Config for Runtime { @@ -214,6 +215,22 @@ impl pallet_xcm::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; } + +parameter_types! { + pub DeferDuration: RelayChainBlockNumber = 600; // 1 hour + pub MaxDeferDuration: RelayChainBlockNumber = 600 * 24 * 10; // 10 days +} + +impl pallet_xcm_rate_limiter::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type AssetId = AssetId; + type DeferDuration = DeferDuration; + type MaxDeferDuration = MaxDeferDuration; + type RelayBlockNumberProvider = RelayChainBlockNumberProvider; + type CurrencyIdConvert = CurrencyIdConvert; + type RateLimitFor = pallet_asset_registry::XcmRateLimitsInRegistry; +} + pub struct CurrencyIdConvert; use primitives::constants::chain::CORE_ASSET_ID; From 144605ee6290c39b612216399996590886a119bc Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Mon, 24 Jul 2023 11:57:59 +0200 Subject: [PATCH 004/138] update xcmp queue pallet --- Cargo.lock | 100 ++++++++++++++++++++++++++--------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 46cbcaac6..ba049b139 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1571,7 +1571,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "clap 4.3.9", "parity-scale-codec", @@ -1586,7 +1586,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1609,7 +1609,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1638,7 +1638,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1661,7 +1661,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1684,7 +1684,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1707,7 +1707,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -1730,7 +1730,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1758,7 +1758,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "frame-support", "frame-system", @@ -1774,7 +1774,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1791,7 +1791,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1820,7 +1820,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1831,7 +1831,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1847,7 +1847,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.2.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1869,7 +1869,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -1885,7 +1885,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1908,7 +1908,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "futures", @@ -1921,7 +1921,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1939,7 +1939,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1964,7 +1964,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1983,7 +1983,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "array-bytes 6.1.0", "async-trait", @@ -2023,7 +2023,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2052,7 +2052,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -6490,7 +6490,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "frame-benchmarking", "frame-support", @@ -7690,7 +7690,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -15052,124 +15052,124 @@ dependencies = [ [[patch.unused]] name = "asset-test-utils" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "bridge-hub-kusama-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "bridge-hub-polkadot-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "bridge-hub-rococo-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "collectives-polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "contracts-rococo-runtime" version = "0.2.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "cumulus-pallet-solo-to-para" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "cumulus-ping" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "cumulus-test-client" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "cumulus-test-relay-validation-worker-provider" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "cumulus-test-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "cumulus-test-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "pallet-template" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "parachain-template-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "parachain-template-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "penpal-runtime" version = "0.9.27" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "polkadot-parachain-bin" version = "0.9.380" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "rococo-parachain-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "seedling-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "shell-runtime" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "statemine-runtime" version = "2.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "statemint-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" [[patch.unused]] name = "westmint-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#a03c6bd502c64900c29df35c76ba1504debc5169" From a6ee5de050e9afa5745324b4d960bffe5e59429f Mon Sep 17 00:00:00 2001 From: dmoka Date: Tue, 8 Aug 2023 13:27:27 +0200 Subject: [PATCH 005/138] bump integration tests --- integration-tests/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 99e769eac..f987bbb40 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.8.1" +version = "1.8.2" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" From a931eb051a83a30d882af805bc0f54508cae95d5 Mon Sep 17 00:00:00 2001 From: dmoka Date: Tue, 8 Aug 2023 13:31:33 +0200 Subject: [PATCH 006/138] bump runtime version --- Cargo.lock | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 71535597b..9ca8d86d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3814,7 +3814,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "170.0.0" +version = "171.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index b69adf064..457d94637 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "170.0.0" +version = "171.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 049f94c98..da7b22b4a 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -95,7 +95,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 170, + spec_version: 171, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 21f58667f4687f7523a6aee25b3f4351de77ace1 Mon Sep 17 00:00:00 2001 From: dmoka Date: Tue, 8 Aug 2023 13:33:48 +0200 Subject: [PATCH 007/138] change function order to follow execution orders --- pallets/xcm-rate-limiter/src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pallets/xcm-rate-limiter/src/lib.rs b/pallets/xcm-rate-limiter/src/lib.rs index ec0fb0331..849faed2c 100644 --- a/pallets/xcm-rate-limiter/src/lib.rs +++ b/pallets/xcm-rate-limiter/src/lib.rs @@ -164,16 +164,6 @@ pub mod pallet { impl Pallet {} } -fn get_loc_and_amount(m: &MultiAsset) -> Option<(MultiLocation, u128)> { - match m.id { - AssetId::Concrete(location) => match m.fun { - Fungibility::Fungible(amount) => Some((location, amount)), - _ => None, - }, - _ => None, - } -} - impl Pallet { fn get_locations_and_amounts(instruction: &Instruction) -> Vec<(MultiLocation, u128)> { use Instruction::*; @@ -187,6 +177,16 @@ impl Pallet { } } +fn get_loc_and_amount(m: &MultiAsset) -> Option<(MultiLocation, u128)> { + match m.id { + AssetId::Concrete(location) => match m.fun { + Fungibility::Fungible(amount) => Some((location, amount)), + _ => None, + }, + _ => None, + } +} + impl XcmDeferFilter for Pallet { fn deferred_by( _para: polkadot_parachain::primitives::Id, From b743f7764dfe53ea987f4ba51d220b5d51f3e3cc Mon Sep 17 00:00:00 2001 From: dmoka Date: Tue, 8 Aug 2023 13:38:29 +0200 Subject: [PATCH 008/138] bump patch versions of touched packages --- Cargo.lock | 4 ++-- integration-tests/Cargo.toml | 2 +- pallets/xcm-rate-limiter/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9ca8d86d6..dc76c6838 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7632,7 +7632,7 @@ dependencies = [ [[package]] name = "pallet-xcm-rate-limiter" -version = "0.1.0" +version = "0.1.1" dependencies = [ "cumulus-pallet-xcmp-queue", "frame-benchmarking", @@ -10072,7 +10072,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.8.2" +version = "1.8.3" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index f987bbb40..b73796e61 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.8.2" +version = "1.8.3" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 7ac968e5b..170cb8d87 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xcm-rate-limiter" -version = "0.1.0" +version = "0.1.1" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" From c95d0e54f53d71f64b1015b565fb92ea19484575 Mon Sep 17 00:00:00 2001 From: dmoka Date: Tue, 8 Aug 2023 17:13:40 +0200 Subject: [PATCH 009/138] fix xcm rate limiter non deterministic tests as we use different relay block number provider in runtime benchmarks --- integration-tests/src/xcm_rate_limiter.rs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/integration-tests/src/xcm_rate_limiter.rs b/integration-tests/src/xcm_rate_limiter.rs index feb730643..9d77c85f6 100644 --- a/integration-tests/src/xcm_rate_limiter.rs +++ b/integration-tests/src/xcm_rate_limiter.rs @@ -42,6 +42,11 @@ fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { )); assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); + + //Set it to same as the relay block number should be in XcmDeferFilter + //since we use different RelayChainBlockNumberProvider in runtime-benchmark feature + //where we return frame_system current time + frame_system::Pallet::::set_block_number(4); }); let amount = 100 * UNITS; @@ -84,7 +89,7 @@ fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 1, + parachain_block_number: 4, relaychain_block_number: 5, } .into(), @@ -175,6 +180,11 @@ fn deferred_messages_should_be_executable_by_root() { )); assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); + + //Set it to same as the relay block number should be in XcmDeferFilter + //since we use different RelayChainBlockNumberProvider in runtime-benchmark feature + //where we return frame_system current time + frame_system::Pallet::::set_block_number(4); }); let amount = 100 * UNITS; @@ -218,7 +228,7 @@ fn deferred_messages_should_be_executable_by_root() { } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 1, + parachain_block_number: 4, relaychain_block_number: 5, } .into(), From 62ecd90baa40cc22f8f23d61199d560e1b73aef7 Mon Sep 17 00:00:00 2001 From: dmoka Date: Fri, 11 Aug 2023 16:12:10 +0200 Subject: [PATCH 010/138] bump versions --- Cargo.lock | 4 ++-- integration-tests/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4514a5a2d..ae8915758 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3817,7 +3817,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "171.0.0" +version = "172.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -10120,7 +10120,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.9.0" +version = "1.9.1" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 2c3891f56..271b47fa2 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.9.0" +version = "1.9.1" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 6aaa769a5..e11bb99bf 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "171.0.0" +version = "172.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 8c0203ab8..352216da3 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -94,7 +94,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 171, + spec_version: 172, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 04440f3638d232861eefc4d3fc45e2fa10047b2a Mon Sep 17 00:00:00 2001 From: dmoka Date: Mon, 14 Aug 2023 09:58:20 +0200 Subject: [PATCH 011/138] bump runtime version --- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index a028b6618..a90434dbb 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "172.0.0" +version = "173.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 2e8abe6c9..1b20f0b84 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -94,7 +94,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 172, + spec_version: 173, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 0671025a904da115247045e0c2cbab7811ccd568 Mon Sep 17 00:00:00 2001 From: dmoka Date: Mon, 14 Aug 2023 10:03:22 +0200 Subject: [PATCH 012/138] bump patch versions for touched packages --- integration-tests/Cargo.toml | 2 +- pallets/xcm-rate-limiter/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 7dbefb3ee..b3781b4d0 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.9.1" +version = "1.9.2" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 170cb8d87..764312eef 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xcm-rate-limiter" -version = "0.1.1" +version = "0.1.2" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" From 658b7bef3cf9ceba49d14deaf64ae13a5440c4a4 Mon Sep 17 00:00:00 2001 From: dmoka Date: Mon, 14 Aug 2023 22:38:29 +0200 Subject: [PATCH 013/138] update lock --- Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1829ee919..3f54ff143 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3817,7 +3817,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "172.0.0" +version = "173.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -7706,7 +7706,7 @@ dependencies = [ [[package]] name = "pallet-xcm-rate-limiter" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cumulus-pallet-xcmp-queue", "frame-benchmarking", @@ -10146,7 +10146,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.9.1" +version = "1.9.2" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", From 1f06cf5cad2ac284a6cca7324a59b8eb4f57bdc4 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sun, 15 Oct 2023 19:41:49 +0200 Subject: [PATCH 014/138] initial changes --- Cargo.lock | 6211 ++++++++++------- Cargo.toml | 347 +- integration-tests/Cargo.toml | 2 +- math/Cargo.toml | 6 +- math/src/ratio.rs | 4 +- node/Cargo.toml | 2 + node/src/chain_spec/mod.rs | 6 +- node/src/cli.rs | 6 +- node/src/command.rs | 48 +- node/src/service.rs | 88 +- pallets/asset-registry/Cargo.toml | 1 + pallets/asset-registry/src/lib.rs | 11 +- pallets/asset-registry/src/migration.rs | 1 - pallets/bonds/src/lib.rs | 1 - pallets/bonds/src/weights.rs | 8 +- pallets/circuit-breaker/src/lib.rs | 11 +- pallets/claims/Cargo.toml | 2 +- pallets/claims/src/lib.rs | 16 +- pallets/claims/src/traits.rs | 5 +- pallets/claims/src/weights.rs | 4 +- pallets/collator-rewards/src/migration.rs | 2 +- pallets/currencies/src/fungibles.rs | 113 +- pallets/currencies/src/lib.rs | 62 +- pallets/currencies/src/weights.rs | 10 +- pallets/dca/src/lib.rs | 47 +- pallets/dca/src/weights.rs | 20 +- pallets/democracy/src/lib.rs | 70 +- pallets/democracy/src/migrations.rs | 2 +- pallets/democracy/src/weights.rs | 64 +- pallets/duster/Cargo.toml | 3 +- pallets/duster/src/lib.rs | 16 +- pallets/duster/src/migration.rs | 1 - pallets/dynamic-fees/src/lib.rs | 8 +- pallets/ema-oracle/Cargo.toml | 1 + pallets/ema-oracle/src/lib.rs | 41 +- pallets/ema-oracle/src/weights.rs | 32 +- pallets/genesis-history/Cargo.toml | 3 +- pallets/genesis-history/src/lib.rs | 33 +- pallets/genesis-history/src/migration.rs | 1 - pallets/lbp/Cargo.toml | 2 +- pallets/lbp/src/lib.rs | 37 +- pallets/lbp/src/weights.rs | 48 +- pallets/liquidity-mining/src/lib.rs | 15 +- pallets/liquidity-mining/src/types.rs | 2 +- pallets/nft/src/lib.rs | 1 - pallets/nft/src/weights.rs | 20 +- pallets/omnipool-liquidity-mining/Cargo.toml | 1 + pallets/omnipool-liquidity-mining/src/lib.rs | 14 +- .../src/migration.rs | 1 - .../omnipool-liquidity-mining/src/weights.rs | 44 +- pallets/omnipool/src/lib.rs | 1 - pallets/omnipool/src/traits.rs | 2 +- pallets/omnipool/src/weights.rs | 60 +- pallets/otc/src/lib.rs | 1 - pallets/otc/src/weights.rs | 16 +- pallets/relaychain-info/src/lib.rs | 10 +- pallets/route-executor/src/lib.rs | 15 +- pallets/route-executor/src/weights.rs | 24 +- pallets/stableswap/src/lib.rs | 16 +- pallets/stableswap/src/weights.rs | 64 +- pallets/staking/src/lib.rs | 20 +- pallets/staking/src/types.rs | 2 +- pallets/staking/src/weights.rs | 20 +- pallets/transaction-multi-payment/src/lib.rs | 24 +- .../transaction-multi-payment/src/weights.rs | 16 +- pallets/transaction-pause/Cargo.toml | 1 + pallets/transaction-pause/src/lib.rs | 5 +- pallets/transaction-pause/src/migration.rs | 2 +- pallets/transaction-pause/src/weights.rs | 8 +- pallets/xcm-rate-limiter/Cargo.toml | 1 + pallets/xcm-rate-limiter/src/lib.rs | 16 +- pallets/xyk/Cargo.toml | 2 +- pallets/xyk/src/lib.rs | 3 +- pallets/xyk/src/weights.rs | 44 +- primitives/src/constants.rs | 2 +- runtime/adapters/src/inspect.rs | 22 +- runtime/adapters/src/lib.rs | 20 +- runtime/hydradx/Cargo.toml | 1 + runtime/hydradx/src/assets.rs | 19 +- runtime/hydradx/src/governance.rs | 10 +- runtime/hydradx/src/lib.rs | 8 + runtime/hydradx/src/system.rs | 16 +- runtime/hydradx/src/weights/balances.rs | 23 +- runtime/hydradx/src/weights/bonds.rs | 4 +- .../hydradx/src/weights/circuit_breaker.rs | 24 +- runtime/hydradx/src/weights/claims.rs | 2 +- .../hydradx/src/weights/collator_selection.rs | 28 +- runtime/hydradx/src/weights/council.rs | 60 +- runtime/hydradx/src/weights/currencies.rs | 10 +- runtime/hydradx/src/weights/dca.rs | 10 +- runtime/hydradx/src/weights/democracy.rs | 60 +- runtime/hydradx/src/weights/duster.rs | 6 +- runtime/hydradx/src/weights/ema_oracle.rs | 16 +- runtime/hydradx/src/weights/identity.rs | 80 +- runtime/hydradx/src/weights/lbp.rs | 24 +- runtime/hydradx/src/weights/omnipool.rs | 30 +- runtime/hydradx/src/weights/omnipool_lm.rs | 22 +- runtime/hydradx/src/weights/otc.rs | 8 +- runtime/hydradx/src/weights/payment.rs | 8 +- runtime/hydradx/src/weights/preimage.rs | 24 +- runtime/hydradx/src/weights/proxy.rs | 48 +- runtime/hydradx/src/weights/registry.rs | 8 +- runtime/hydradx/src/weights/route_executor.rs | 12 +- runtime/hydradx/src/weights/scheduler.rs | 36 +- runtime/hydradx/src/weights/stableswap.rs | 32 +- runtime/hydradx/src/weights/staking.rs | 10 +- runtime/hydradx/src/weights/system.rs | 25 +- .../hydradx/src/weights/technical_comittee.rs | 60 +- runtime/hydradx/src/weights/timestamp.rs | 4 +- runtime/hydradx/src/weights/tokens.rs | 10 +- .../hydradx/src/weights/transaction_pause.rs | 4 +- runtime/hydradx/src/weights/treasury.rs | 16 +- runtime/hydradx/src/weights/utility.rs | 16 +- runtime/hydradx/src/weights/vesting.rs | 10 +- runtime/hydradx/src/weights/xcm.rs | 33 +- runtime/hydradx/src/weights/xcmp_queue.rs | 28 +- runtime/hydradx/src/weights/xyk.rs | 22 +- runtime/hydradx/src/xcm.rs | 10 +- rust-toolchain | 2 +- traits/Cargo.toml | 4 +- traits/src/lib.rs | 6 +- traits/src/oracle.rs | 3 +- 122 files changed, 5099 insertions(+), 3704 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c27a34c6f..a7741eab3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,20 +14,20 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.17.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" dependencies = [ - "gimli 0.26.2", + "gimli 0.27.3", ] [[package]] name = "addr2line" -version = "0.19.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.27.3", + "gimli 0.28.0", ] [[package]] @@ -115,9 +115,9 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "209b47e8954a928e1d72e86eca7000ebb6655fe1436d33eefc2201cad027e237" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead 0.5.2", "aes 0.8.3", @@ -172,21 +172,18 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.20" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] [[package]] -name = "aho-corasick" -version = "1.0.2" +name = "allocator-api2" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" -dependencies = [ - "memchr", -] +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "always-assert" @@ -226,30 +223,29 @@ dependencies = [ [[package]] name = "anstream" -version = "0.3.2" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.1" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" [[package]] name = "anstyle-parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" +checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" dependencies = [ "utf8parse", ] @@ -265,9 +261,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" dependencies = [ "anstyle", "windows-sys 0.48.0", @@ -275,9 +271,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.71" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "approx" @@ -288,6 +284,20 @@ dependencies = [ "num-traits", ] +[[package]] +name = "aquamarine" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df752953c49ce90719c7bf1fc587bc8227aed04732ea0c0f85e5397d7fdbd1a1" +dependencies = [ + "include_dir", + "itertools 0.10.5", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "arc-swap" version = "1.6.0" @@ -295,10 +305,189 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" [[package]] -name = "array-bytes" -version = "4.2.0" +name = "ark-bls12-381" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", + "itertools 0.10.5", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", + "derivative", + "digest 0.10.7", + "itertools 0.10.5", + "num-bigint", + "num-traits", + "paste", + "rustc_version", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-scale" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", +] + +[[package]] +name = "ark-scale" +version = "0.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51bd73bb6ddb72630987d37fa963e99196896c0d0ea81b7c894567e74a2f83af" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "ark-transcript", + "digest 0.10.7", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3", +] [[package]] name = "array-bytes" @@ -312,6 +501,15 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] + [[package]] name = "arrayvec" version = "0.5.2" @@ -337,7 +535,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.22", + "time", ] [[package]] @@ -353,7 +551,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.22", + "time", ] [[package]] @@ -391,18 +589,49 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "asn1_der" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "155a5a185e42c6b77ac7b88a15143d930a9e9727a5b7b77eed417404ab15c247" - [[package]] name = "assert_matches" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "async-channel" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +dependencies = [ + "concurrent-queue", + "event-listener 2.5.3", + "futures-core", +] + +[[package]] +name = "async-executor" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499" +dependencies = [ + "async-lock", + "async-task", + "concurrent-queue", + "fastrand 2.0.1", + "futures-lite", + "slab", +] + +[[package]] +name = "async-fs" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" +dependencies = [ + "async-lock", + "autocfg", + "blocking", + "futures-lite", +] + [[package]] name = "async-io" version = "1.13.0" @@ -417,7 +646,7 @@ dependencies = [ "log", "parking", "polling", - "rustix 0.37.20", + "rustix 0.37.25", "slab", "socket2 0.4.9", "waker-fn", @@ -425,42 +654,111 @@ dependencies = [ [[package]] name = "async-lock" -version = "2.7.0" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +dependencies = [ + "event-listener 2.5.3", +] + +[[package]] +name = "async-net" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" +dependencies = [ + "async-io", + "blocking", + "futures-lite", +] + +[[package]] +name = "async-process" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +dependencies = [ + "async-io", + "async-lock", + "async-signal", + "blocking", + "cfg-if", + "event-listener 3.0.0", + "futures-lite", + "rustix 0.38.19", + "windows-sys 0.48.0", +] + +[[package]] +name = "async-recursion" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "async-signal" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" +checksum = "d2a5415b7abcdc9cd7d63d6badba5288b2ca017e3fbd4173b8f405449f1a2399" dependencies = [ - "event-listener", + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 0.38.19", + "signal-hook-registry", + "slab", + "windows-sys 0.48.0", ] +[[package]] +name = "async-task" +version = "4.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9441c6b2fe128a7c2bf680a44c34d0df31ce09e5b7e401fcca3faa483dbc921" + [[package]] name = "async-trait" -version = "0.1.68" +version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] name = "asynchronous-codec" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06a0daa378f5fd10634e44b0a29b2a87b890657658e072a30d6f26e57ddee182" +checksum = "4057f2c32adbb2fc158e22fb38433c8e9bbf76b75a4732c7c0cbaf695fb65568" dependencies = [ "bytes", "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", ] +[[package]] +name = "atomic-take" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8ab6b55fe97976e46f91ddbed8d147d966475dc29b2032757ba47e02376fbc3" + [[package]] name = "atomic-waker" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "atty" @@ -487,19 +785,41 @@ checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973" [[package]] name = "backtrace" -version = "0.3.67" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ - "addr2line 0.19.0", + "addr2line 0.21.0", "cc", "cfg-if", "libc", - "miniz_oxide 0.6.2", - "object 0.30.4", + "miniz_oxide", + "object 0.32.1", "rustc-demangle", ] +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.1" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff", + "ark-scale 0.0.11", + "ark-serialize", + "ark-std", + "dleq_vrf", + "fflonk", + "merlin 3.0.0", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "ring 0.1.0", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "base-x" version = "0.2.11" @@ -513,10 +833,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" [[package]] -name = "base58" +name = "base16ct" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] name = "base64" @@ -526,9 +846,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.2" +version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" +checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" [[package]] name = "base64ct" @@ -546,66 +866,12 @@ dependencies = [ ] [[package]] -name = "beefy-gadget" +name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "fnv", - "futures", + "hash-db", "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", - "sc-keystore", - "sc-network", - "sc-network-common", - "sc-network-gossip", - "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-beefy", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-keystore", - "sp-mmr-primitives", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", - "wasm-timer", -] - -[[package]] -name = "beefy-gadget-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "beefy-gadget", - "futures", - "jsonrpsee 0.16.2", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-rpc", - "serde", - "sp-beefy", - "sp-core", - "sp-runtime", - "thiserror", -] - -[[package]] -name = "beefy-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "sp-api", - "sp-beefy", - "sp-runtime", ] [[package]] @@ -619,22 +885,32 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.64.0" +version = "0.65.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" +checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cexpr", "clang-sys", "lazy_static", "lazycell", "peeking_take_while", + "prettyplease 0.2.15", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 1.0.109", + "syn 2.0.38", +] + +[[package]] +name = "bip39" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +dependencies = [ + "bitcoin_hashes", ] [[package]] @@ -652,12 +928,24 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +[[package]] +name = "bitcoin_hashes" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" + [[package]] name = "bitflags" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" + [[package]] name = "bitvec" version = "1.0.1" @@ -679,40 +967,49 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "blake2-rfc" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" +dependencies = [ + "arrayvec 0.4.12", + "constant_time_eq 0.1.5", +] + [[package]] name = "blake2b_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.3.0", ] [[package]] name = "blake2s_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" +checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.3.0", ] [[package]] name = "blake3" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "729b71f35bd3fa1a4c86b85d32c8b9069ea7fe14f7a53cfabb65f62d4265b888" +checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" dependencies = [ "arrayref", "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq", - "digest 0.10.7", + "constant_time_eq 0.3.0", ] [[package]] @@ -770,11 +1067,39 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" +[[package]] +name = "blocking" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c36a4d0d48574b3dd360b4b7d95cc651d2b6557b6402848a27d4b228a473e2a" +dependencies = [ + "async-channel", + "async-lock", + "async-task", + "fastrand 2.0.1", + "futures-io", + "futures-lite", + "piper", + "tracing", +] + +[[package]] +name = "bounded-collections" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "bounded-vec" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3372be4090bf9d4da36bd8ba7ce6ca1669503d0cf6e667236c6df7f053153eb6" +checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ "thiserror", ] @@ -785,11 +1110,20 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" +[[package]] +name = "bs58" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +dependencies = [ + "tinyvec", +] + [[package]] name = "bstr" -version = "1.5.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" +checksum = "c79ad7fb2dd38f3dabd76b09c6a5a20c038fc0213ef1e9afd30eb777f120f019" dependencies = [ "memchr", "serde", @@ -806,9 +1140,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byte-slice-cast" @@ -824,21 +1158,21 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.13.1" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" [[package]] name = "bzip2-sys" @@ -853,9 +1187,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" dependencies = [ "serde", ] @@ -870,30 +1204,31 @@ dependencies = [ "petgraph 0.5.1", "semver 0.9.0", "serde", - "toml", + "toml 0.5.11", "url", ] [[package]] name = "cargo-platform" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" +checksum = "12024c4645c97566567129c204f65d5815a8c9aecf30fcbe682b2fe034996d36" dependencies = [ "serde", ] [[package]] name = "cargo_metadata" -version = "0.14.2" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.17", + "semver 1.0.20", "serde", "serde_json", + "thiserror", ] [[package]] @@ -904,11 +1239,12 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.0.79" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ "jobserver", + "libc", ] [[package]] @@ -933,9 +1269,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.10.3" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db" +checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" dependencies = [ "smallvec", ] @@ -964,6 +1300,17 @@ dependencies = [ "zeroize", ] +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher 0.4.4", + "cpufeatures", +] + [[package]] name = "chacha20poly1305" version = "0.9.1" @@ -971,25 +1318,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" dependencies = [ "aead 0.4.3", - "chacha20", + "chacha20 0.8.2", "cipher 0.3.0", - "poly1305", + "poly1305 0.7.2", "zeroize", ] [[package]] name = "chrono" -version = "0.4.26" +version = "0.4.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" +checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", - "time 0.1.45", "wasm-bindgen", - "winapi", + "windows-targets 0.48.5", ] [[package]] @@ -1021,13 +1367,13 @@ dependencies = [ [[package]] name = "cid" -version = "0.8.6" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ed9c8b2d17acb8110c46f1da5bf4a696d745e1474a16db0cd2b49cd0249bf2" +checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash 0.16.3", + "multihash", "serde", "unsigned-varint", ] @@ -1087,7 +1433,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ "atty", - "bitflags", + "bitflags 1.3.2", "clap_derive 3.2.25", "clap_lex 0.2.4", "indexmap 1.9.3", @@ -1099,25 +1445,23 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.9" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bba77a07e4489fb41bd90e8d4201c3eb246b3c2c9ea2ba0bddd6c1d1df87db7d" +checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" dependencies = [ "clap_builder", - "clap_derive 4.3.2", - "once_cell", + "clap_derive 4.4.2", ] [[package]] name = "clap_builder" -version = "4.3.9" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9b4a88bb4bc35d3d6f65a21b0f0bafe9c894fa00978de242c555ec28bea1c0" +checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" dependencies = [ "anstream", "anstyle", - "bitflags", - "clap_lex 0.5.0", + "clap_lex 0.5.1", "strsim", ] @@ -1136,14 +1480,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.3.2" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f" +checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -1157,15 +1501,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" [[package]] name = "coarsetime" -version = "0.1.23" +version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a90d114103adbc625300f346d4d09dfb4ab1c4a8df6868435dd903392ecf4354" +checksum = "a73ef0d00d14301df35d0f13f5ea32344de6b00837485c358458f1e7f2d27db4" dependencies = [ "libc", "once_cell", @@ -1191,35 +1535,96 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "comfy-table" -version = "6.2.0" +version = "7.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e959d788268e3bf9d35ace83e81b124190378e4c91c9067524675e33394b8ba" +checksum = "9ab77dbd8adecaf3f0db40581631b995f312a8a5ae3aa9993188bb8f23d83a5b" dependencies = [ "strum", "strum_macros", "unicode-width", ] +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "fflonk", + "merlin 3.0.0", +] + +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + [[package]] name = "concurrent-queue" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" +checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" dependencies = [ "crossbeam-utils", ] +[[package]] +name = "console" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +dependencies = [ + "encode_unicode", + "lazy_static", + "libc", + "unicode-width", + "windows-sys 0.45.0", +] + [[package]] name = "const-oid" -version = "0.9.2" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" + +[[package]] +name = "const-random" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368a7a772ead6ce7e1de82bfb04c485f3db8ec744f72925af5735e29a22cc18e" +dependencies = [ + "const-random-macro", + "proc-macro-hack", +] + +[[package]] +name = "const-random-macro" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d7d6ab3c3a2282db210df5f02c4dab6e0a7057af0fb7ebd4070f30fe05c0ddb" +dependencies = [ + "getrandom 0.2.10", + "once_cell", + "proc-macro-hack", + "tiny-keccak", +] + +[[package]] +name = "constant_time_eq" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520fbf3c07483f94e3e3ca9d0cfd913d7718ef2483d2cfd91c0d9e91474ab913" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" [[package]] name = "convert_case" @@ -1273,36 +1678,36 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03e69e28e9f7f77debdedbaafa2866e1de9ba56df55a8bd7cfc724c25a09987c" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] [[package]] name = "cranelift-bforest" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd" +checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74" +checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" dependencies = [ - "arrayvec 0.7.4", "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", "cranelift-isle", - "gimli 0.26.2", + "gimli 0.27.3", + "hashbrown 0.13.2", "log", "regalloc2", "smallvec", @@ -1311,33 +1716,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f" +checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc" +checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" [[package]] name = "cranelift-entity" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34897538b36b216cc8dd324e73263596d51b8cf610da6498322838b2546baf8a" +checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" dependencies = [ "cranelift-codegen", "log", @@ -1347,15 +1752,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470" +checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" [[package]] name = "cranelift-native" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318" +checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" dependencies = [ "cranelift-codegen", "libc", @@ -1364,14 +1769,14 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.88.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b" +checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-frontend", - "itertools", + "itertools 0.10.5", "log", "smallvec", "wasmparser", @@ -1414,7 +1819,7 @@ dependencies = [ "ciborium", "clap 3.2.25", "criterion-plot", - "itertools", + "itertools 0.10.5", "lazy_static", "num-traits", "oorandom", @@ -1435,17 +1840,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" dependencies = [ "cast", - "itertools", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" -dependencies = [ - "cfg-if", - "crossbeam-utils", + "itertools 0.10.5", ] [[package]] @@ -1509,6 +1904,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "crypto-bigint" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "740fe28e594155f10cfc383984cbefd529d7396050557148f79cb0f621204124" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -1561,12 +1968,13 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "clap 4.3.9", + "clap 4.4.6", "parity-scale-codec", "sc-chain-spec", "sc-cli", + "sc-client-api", "sc-service", "sp-core", "sp-runtime", @@ -1576,7 +1984,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1599,18 +2007,29 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", + "cumulus-client-collator", "cumulus-client-consensus-common", + "cumulus-client-consensus-proposer", + "cumulus-primitives-aura", "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", "futures", "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", "sc-client-api", "sc-consensus", "sc-consensus-aura", + "sc-consensus-babe", "sc-consensus-slots", "sc-telemetry", + "schnellru", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -1621,6 +2040,8 @@ dependencies = [ "sp-inherents", "sp-keystore", "sp-runtime", + "sp-state-machine", + "sp-timestamp", "substrate-prometheus-endpoint", "tracing", ] @@ -1628,7 +2049,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1641,17 +2062,38 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "sc-consensus", + "sc-consensus-babe", + "schnellru", "sp-blockchain", "sp-consensus", + "sp-consensus-slots", + "sp-core", "sp-runtime", + "sp-timestamp", "sp-trie", + "substrate-prometheus-endpoint", "tracing", ] +[[package]] +name = "cumulus-client-consensus-proposer" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "anyhow", + "async-trait", + "cumulus-primitives-parachain-inherent", + "sp-consensus", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "thiserror", +] + [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1674,7 +2116,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1683,7 +2125,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "polkadot-node-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "sc-client-api", "sp-blockchain", @@ -1697,8 +2139,9 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures", @@ -1720,39 +2163,48 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", + "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", "futures", - "parking_lot 0.12.1", "polkadot-primitives", "sc-client-api", "sc-consensus", + "sc-network", + "sc-network-sync", + "sc-network-transactions", + "sc-rpc", "sc-service", "sc-sysinfo", "sc-telemetry", + "sc-transaction-pool", + "sc-utils", "sp-api", "sp-blockchain", "sp-consensus", "sp-core", "sp-runtime", + "sp-transaction-pool", ] [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "cumulus-pallet-parachain-system", "frame-support", "frame-system", "pallet-aura", + "pallet-timestamp", "parity-scale-codec", "scale-info", "sp-application-crypto", @@ -1764,7 +2216,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1775,13 +2227,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1793,7 +2245,7 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "scale-info", "sp-core", "sp-externalities", @@ -1804,24 +2256,25 @@ dependencies = [ "sp-std", "sp-trie", "sp-version", - "xcm", + "staging-xcm", + "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1831,13 +2284,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.2.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1848,39 +2301,53 @@ dependencies = [ "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-core", "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", +] + +[[package]] +name = "cumulus-primitives-aura" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-primitives", + "sp-api", + "sp-consensus-aura", + "sp-runtime", + "sp-std", ] [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", + "scale-info", "sp-api", "sp-runtime", "sp-std", "sp-trie", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "cumulus-test-relay-sproof-builder 0.1.0 (git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38)", + "cumulus-test-relay-sproof-builder", "parity-scale-codec", "sc-client-api", "scale-info", @@ -1898,7 +2365,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-primitives-core", "futures", @@ -1911,7 +2378,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1921,15 +2388,15 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1937,7 +2404,6 @@ dependencies = [ "futures", "futures-timer", "polkadot-cli", - "polkadot-client", "polkadot-service", "sc-cli", "sc-client-api", @@ -1954,12 +2420,12 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "cumulus-primitives-core", "futures", - "jsonrpsee-core 0.16.2", + "jsonrpsee-core 0.16.3", "parity-scale-codec", "polkadot-overseer", "sc-client-api", @@ -1967,74 +2433,77 @@ dependencies = [ "sp-blockchain", "sp-state-machine", "thiserror", - "tokio", ] [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 6.1.0", + "array-bytes", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", - "lru 0.9.0", + "polkadot-availability-recovery", + "polkadot-collator-protocol", "polkadot-core-primitives", - "polkadot-network-bridge 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", + "polkadot-network-bridge", + "polkadot-node-collation-generation", + "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "polkadot-service", "sc-authority-discovery", - "sc-client-api", - "sc-consensus", - "sc-keystore", "sc-network", "sc-network-common", "sc-service", - "sc-telemetry", "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-utils", + "schnellru", "sp-api", - "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-runtime", - "tokio", "tracing", - "url", ] [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", + "either", "futures", "futures-timer", - "jsonrpsee 0.16.2", - "lru 0.9.0", + "jsonrpsee 0.16.3", "parity-scale-codec", - "polkadot-service", + "pin-project", + "polkadot-overseer", + "rand 0.8.5", "sc-client-api", "sc-rpc-api", + "sc-service", + "schnellru", "serde", "serde_json", + "smoldot", + "smoldot-light", "sp-api", "sp-authority-discovery", "sp-consensus-babe", "sp-core", + "sp-runtime", "sp-state-machine", "sp-storage", + "thiserror", "tokio", + "tokio-util", "tracing", "url", ] @@ -2042,20 +2511,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" -dependencies = [ - "cumulus-primitives-core", - "parity-scale-codec", - "polkadot-primitives", - "sp-runtime", - "sp-state-machine", - "sp-std", -] - -[[package]] -name = "cumulus-test-relay-sproof-builder" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2063,6 +2519,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-std", + "sp-trie", ] [[package]] @@ -2093,23 +2550,50 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.0.0-rc.1" +version = "4.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16" +checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" dependencies = [ "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", "fiat-crypto", - "packed_simd_2", - "platforms 3.0.2", + "platforms 3.1.2", + "rustc_version", "subtle", "zeroize", ] +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "curve25519-dalek-ng" +version = "4.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" +dependencies = [ + "byteorder", + "digest 0.9.0", + "rand_core 0.6.4", + "subtle-ng", + "zeroize", +] + [[package]] name = "cxx" -version = "1.0.97" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88abab2f5abbe4c56e8f1fb431b784d710b709888f35755a160e62e33fe38e8" +checksum = "c390c123d671cc547244943ecad81bdaab756c6ea332d9ca9c1f48d952a24895" dependencies = [ "cc", "cxxbridge-flags", @@ -2119,9 +2603,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.97" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c0c11acd0e63bae27dcd2afced407063312771212b7a823b4fd72d633be30fb" +checksum = "00d3d3ac9ffb900304edf51ca719187c779f4001bb544f26c4511d621de905cf" dependencies = [ "cc", "codespan-reporting", @@ -2129,24 +2613,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] name = "cxxbridge-flags" -version = "1.0.97" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d3816ed957c008ccd4728485511e3d9aaf7db419aa321e3d2c5a2f3411e36c8" +checksum = "94415827ecfea0f0c74c8cad7d1a86ddb3f05354d6a6ddeda0adee5e875d2939" [[package]] name = "cxxbridge-macro" -version = "1.0.97" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26acccf6f445af85ea056362561a24ef56cdc15fcc685f03aec50b9c702cb6d" +checksum = "e33dbbe9f5621c9247f97ec14213b04f350bff4b6cebefe834c60055db266ecf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -2221,6 +2705,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +dependencies = [ + "const-oid", + "zeroize", +] + [[package]] name = "der-parser" version = "7.0.0" @@ -2249,6 +2743,12 @@ dependencies = [ "rusticata-macros", ] +[[package]] +name = "deranged" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" + [[package]] name = "derivative" version = "2.2.0" @@ -2352,6 +2852,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -2405,7 +2906,51 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", +] + +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-scale 0.0.10", + "ark-secret-scalar", + "ark-serialize", + "ark-std", + "ark-transcript", + "arrayvec 0.7.4", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "docify" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76ee528c501ddd15d5181997e9518e59024844eac44fd1e40cb20ddb2a8562fa" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ca01728ab2679c464242eca99f94e2ce0514b52ac9ad950e2ed03fca991231c" +dependencies = [ + "common-path", + "derive-syn-parse", + "once_cell", + "proc-macro2", + "quote", + "regex", + "syn 2.0.38", + "termcolor", + "toml 0.7.8", + "walkdir", ] [[package]] @@ -2422,9 +2967,9 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "dtoa" -version = "1.0.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65d09067bfacaa79114679b279d7f5885b53295b1e2cfb4e79c8e4bd3d633169" +checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" [[package]] name = "dyn-clonable" @@ -2449,9 +2994,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.11" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30" +checksum = "23d2f3407d9a573d666de4b5bdf10569d73ca9478087346697dcbae6244bfbcd" [[package]] name = "ecdsa" @@ -2459,32 +3004,47 @@ version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ - "der", - "elliptic-curve", - "rfc6979", - "signature", + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + +[[package]] +name = "ecdsa" +version = "0.16.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4b1e0c257a9e9f25f90ff76d7a68360ed497ee519c8e428d1825ef0000799d4" +dependencies = [ + "der 0.7.8", + "digest 0.10.7", + "elliptic-curve 0.13.6", + "rfc6979 0.4.0", + "signature 2.1.0", + "spki 0.7.2", ] [[package]] name = "ed25519" -version = "1.5.3" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" dependencies = [ - "signature", + "pkcs8 0.10.2", + "signature 2.1.0", ] [[package]] name = "ed25519-dalek" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" +checksum = "7277392b266383ef8396db7fdeb1e77b6c52fed775f5df15bb24f35b72156980" dependencies = [ - "curve25519-dalek 3.2.0", + "curve25519-dalek 4.1.1", "ed25519", - "rand 0.7.3", + "rand_core 0.6.4", "serde", - "sha2 0.9.9", + "sha2 0.10.8", "zeroize", ] @@ -2502,11 +3062,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ed25519-zebra" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +dependencies = [ + "curve25519-dalek 4.1.1", + "ed25519", + "hashbrown 0.14.1", + "hex", + "rand_core 0.6.4", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "either" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "elliptic-curve" @@ -2514,22 +3089,47 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ - "base16ct", - "crypto-bigint", - "der", + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", "digest 0.10.7", - "ff", + "ff 0.12.1", "generic-array 0.14.7", - "group", + "group 0.12.1", "hkdf", "pem-rfc7468", - "pkcs8", + "pkcs8 0.9.0", + "rand_core 0.6.4", + "sec1 0.3.0", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d97ca172ae9dc9f9b779a6e3a65d308f2af74e5b8c921299075bdb4a0370e914" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.3", + "digest 0.10.7", + "ff 0.13.0", + "generic-array 0.14.7", + "group 0.13.0", + "pkcs8 0.10.2", "rand_core 0.6.4", - "sec1", + "sec1 0.7.3", "subtle", "zeroize", ] +[[package]] +name = "encode_unicode" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + [[package]] name = "enum-as-inner" version = "0.5.1" @@ -2544,33 +3144,33 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" +checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" +checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] name = "enumn" -version = "0.1.8" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48016319042fb7c87b78d2993084a831793a897a5cd1a2a67cab9d1eeb4b7d76" +checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -2607,47 +3207,36 @@ checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" [[package]] name = "equivalent" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1" - -[[package]] -name = "errno" -version = "0.2.8" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" -dependencies = [ - "errno-dragonfly", - "libc", - "winapi", -] +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.1" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" +checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" dependencies = [ - "errno-dragonfly", "libc", "windows-sys 0.48.0", ] [[package]] -name = "errno-dragonfly" -version = "0.1.2" +name = "event-listener" +version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "2.5.3" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +checksum = "29e56284f00d94c1bc7fd3c77027b4623c88c1f53d8d2394c6199f2921dea325" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] [[package]] name = "exit-future" @@ -2680,7 +3269,19 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 1.0.109", +] + +[[package]] +name = "expander" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn 2.0.38", ] [[package]] @@ -2704,6 +3305,12 @@ dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" + [[package]] name = "fatality" version = "0.0.6" @@ -2748,11 +3355,34 @@ dependencies = [ "subtle", ] +[[package]] +name = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fflonk" +version = "0.1.0" +source = "git+https://github.com/w3f/fflonk#26a5045b24e169cffc1f9328ca83d71061145c40" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "merlin 3.0.0", +] + [[package]] name = "fiat-crypto" -version = "0.1.20" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" +checksum = "d0870c84016d4b481be5c9f323c24f65e31e901ae618f0e80f4308fb00de1d2d" [[package]] name = "file-per-thread-logger" @@ -2766,13 +3396,13 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.21" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" +checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.2.16", + "redox_syscall 0.3.5", "windows-sys 0.48.0", ] @@ -2831,13 +3461,13 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.26" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "libz-sys", - "miniz_oxide 0.7.1", + "miniz_oxide", ] [[package]] @@ -2858,7 +3488,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", ] @@ -2881,7 +3511,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-support-procedural", @@ -2906,19 +3536,19 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "Inflector", - "array-bytes 4.2.0", + "array-bytes", "chrono", - "clap 4.3.9", + "clap 4.4.6", "comfy-table", "frame-benchmarking", "frame-support", "frame-system", "gethostname", "handlebars", - "itertools", + "itertools 0.10.5", "lazy_static", "linked-hash-map", "log", @@ -2940,12 +3570,13 @@ dependencies = [ "sp-database", "sp-externalities", "sp-inherents", + "sp-io", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-std", "sp-storage", "sp-trie", + "sp-wasm-interface", "thiserror", "thousands", ] @@ -2953,18 +3584,18 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2981,11 +3612,12 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", "frame-try-runtime", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -2997,9 +3629,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "15.1.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3010,93 +3642,111 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "async-recursion", "futures", + "indicatif", + "jsonrpsee 0.16.3", "log", "parity-scale-codec", "serde", "sp-core", "sp-io", "sp-runtime", + "sp-state-machine", + "spinners", "substrate-rpc-client", "tokio", + "tokio-retry", ] [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "bitflags", + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", - "once_cell", + "macro_magic", "parity-scale-codec", "paste", "scale-info", "serde", + "serde_json", "smallvec", "sp-api", "sp-arithmetic", "sp-core", "sp-core-hashing-proc-macro", + "sp-debug-derive", + "sp-genesis-builder", "sp-inherents", "sp-io", + "sp-metadata-ir", "sp-runtime", "sp-staking", "sp-state-machine", "sp-std", "sp-tracing", "sp-weights", + "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", + "expander 2.0.0", "frame-support-procedural-tools", - "itertools", + "itertools 0.10.5", + "macro_magic", + "proc-macro-warning", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "cfg-if", "frame-support", "log", "parity-scale-codec", @@ -3113,7 +3763,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -3128,7 +3778,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "sp-api", @@ -3137,7 +3787,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "parity-scale-codec", @@ -3162,6 +3812,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "fs4" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" +dependencies = [ + "rustix 0.38.19", + "windows-sys 0.48.0", +] + [[package]] name = "funty" version = "2.0.0" @@ -3223,12 +3883,12 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ - "fastrand", + "fastrand 1.9.0", "futures-core", "futures-io", "memchr", "parking", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "waker-fn", ] @@ -3240,7 +3900,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -3250,8 +3910,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", - "rustls 0.20.8", - "webpki 0.22.0", + "rustls 0.20.9", + "webpki 0.22.4", ] [[package]] @@ -3285,7 +3945,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "pin-utils", "slab", ] @@ -3316,6 +3976,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -3372,9 +4033,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.26.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ "fallible-iterator", "indexmap 1.9.3", @@ -3383,9 +4044,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "glob" @@ -3395,11 +4056,11 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" +checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" dependencies = [ - "aho-corasick 0.7.20", + "aho-corasick", "bstr", "fnv", "log", @@ -3408,9 +4069,9 @@ dependencies = [ [[package]] name = "gmp-mpfr-sys" -version = "1.5.3" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13eabc29d16e4a621b495e3919c71ebb7caaed24380955671e7d417370fea95d" +checksum = "19c5c67d8c29fe87e3266e691dd60948e6e4df4496c53355ef3551142945721b" dependencies = [ "libc", "windows-sys 0.42.0", @@ -3422,7 +4083,18 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ - "ff", + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", "rand_core 0.6.4", "subtle", ] @@ -3449,9 +4121,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.20" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" +checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" dependencies = [ "bytes", "fnv", @@ -3474,9 +4146,9 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "handlebars" -version = "4.3.7" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" +checksum = "c39b3bc2a8f715298032cf5087e58573809374b08160aa7d750582bdb82d2683" dependencies = [ "log", "pest", @@ -3488,9 +4160,9 @@ dependencies = [ [[package]] name = "hash-db" -version = "0.15.2" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" [[package]] name = "hash256-std-hasher" @@ -3521,9 +4193,14 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" +dependencies = [ + "ahash 0.8.3", + "allocator-api2", + "serde", +] [[package]] name = "heck" @@ -3542,18 +4219,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.2.6" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" [[package]] name = "hex" @@ -3622,6 +4290,15 @@ dependencies = [ "hmac 0.8.1", ] +[[package]] +name = "home" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +dependencies = [ + "windows-sys 0.48.0", +] + [[package]] name = "hostname" version = "0.3.1" @@ -3652,14 +4329,14 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", ] [[package]] name = "http-range-header" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" +checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" [[package]] name = "httparse" @@ -3669,9 +4346,9 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" @@ -3712,7 +4389,7 @@ dependencies = [ name = "hydradx" version = "10.0.1" dependencies = [ - "clap 4.3.9", + "clap 4.4.6", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -3733,13 +4410,13 @@ dependencies = [ "hex-literal 0.3.4", "hydra-dx-build-script-utils", "hydradx-runtime", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "pallet-transaction-payment-rpc", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "polkadot-cli", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-service", "primitives", @@ -3753,6 +4430,8 @@ dependencies = [ "sc-keystore", "sc-network", "sc-network-common", + "sc-network-sync", + "sc-offchain", "sc-rpc", "sc-rpc-api", "sc-service", @@ -3815,7 +4494,7 @@ dependencies = [ "pallet-transaction-multi-payment", "pallet-uniques", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "pretty_assertions", "primitive-types", "primitives", @@ -3824,9 +4503,9 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] @@ -3908,7 +4587,7 @@ dependencies = [ "pallet-xyk", "parachain-info", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "primitive-types", "primitives", "scale-info", @@ -3924,15 +4603,16 @@ dependencies = [ "sp-offchain", "sp-runtime", "sp-session", + "sp-staking", "sp-std", "sp-transaction-pool", "sp-trie", "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "substrate-build-script-utils", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] @@ -3964,7 +4644,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "socket2 0.4.9", "tokio", "tower-service", @@ -3974,17 +4654,19 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.23.2" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" +checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" dependencies = [ + "futures-util", "http", "hyper", "log", - "rustls 0.20.8", + "rustls 0.21.7", "rustls-native-certs", "tokio", "tokio-rustls", + "webpki-roots 0.23.1", ] [[package]] @@ -4049,9 +4731,9 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9465340214b296cd17a0009acdb890d6160010b8adf8f78a00d0d7ab270f79f" +checksum = "bbb892e5777fe09e16f3d44de7802f4daa7267ecbe8c466f19d94e25bb0c303e" dependencies = [ "async-io", "core-foundation", @@ -4063,7 +4745,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows 0.34.0", + "windows 0.51.1", ] [[package]] @@ -4095,6 +4777,25 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "include_dir" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +dependencies = [ + "proc-macro2", + "quote", +] + [[package]] name = "indexmap" version = "1.9.3" @@ -4108,12 +4809,31 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" dependencies = [ "equivalent", - "hashbrown 0.14.0", + "hashbrown 0.14.1", +] + +[[package]] +name = "indexmap-nostd" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" + +[[package]] +name = "indicatif" +version = "0.17.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +dependencies = [ + "console", + "instant", + "number_prefix", + "portable-atomic", + "unicode-width", ] [[package]] @@ -4168,19 +4888,13 @@ dependencies = [ "webrtc-util", ] -[[package]] -name = "io-lifetimes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" - [[package]] name = "io-lifetimes" version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.1", + "hermit-abi 0.3.3", "libc", "windows-sys 0.48.0", ] @@ -4197,7 +4911,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.3", + "socket2 0.5.4", "widestring", "windows-sys 0.48.0", "winreg", @@ -4211,16 +4925,24 @@ checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" [[package]] name = "is-terminal" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.1", - "io-lifetimes 1.0.11", - "rustix 0.37.20", + "hermit-abi 0.3.3", + "rustix 0.38.19", "windows-sys 0.48.0", ] +[[package]] +name = "is_executable" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8" +dependencies = [ + "winapi", +] + [[package]] name = "itertools" version = "0.10.5" @@ -4230,17 +4952,26 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jobserver" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" +checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" dependencies = [ "libc", ] @@ -4270,28 +5001,29 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" +checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" dependencies = [ - "jsonrpsee-core 0.16.2", - "jsonrpsee-proc-macros 0.16.2", + "jsonrpsee-core 0.16.3", + "jsonrpsee-http-client", + "jsonrpsee-proc-macros 0.16.3", "jsonrpsee-server", - "jsonrpsee-types 0.16.2", + "jsonrpsee-types 0.16.3", "jsonrpsee-ws-client", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" +checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" dependencies = [ "futures-util", "http", - "jsonrpsee-core 0.16.2", - "jsonrpsee-types 0.16.2", + "jsonrpsee-core 0.16.3", + "jsonrpsee-types 0.16.3", "pin-project", "rustls-native-certs", "soketto", @@ -4300,7 +5032,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tracing", - "webpki-roots", + "webpki-roots 0.25.2", ] [[package]] @@ -4334,9 +5066,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" +checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" dependencies = [ "anyhow", "arrayvec 0.7.4", @@ -4348,7 +5080,7 @@ dependencies = [ "futures-util", "globset", "hyper", - "jsonrpsee-types 0.16.2", + "jsonrpsee-types 0.16.3", "parking_lot 0.12.1", "rand 0.8.5", "rustc-hash", @@ -4360,6 +5092,25 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-http-client" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +dependencies = [ + "async-trait", + "hyper", + "hyper-rustls", + "jsonrpsee-core 0.16.3", + "jsonrpsee-types 0.16.3", + "rustc-hash", + "serde", + "serde_json", + "thiserror", + "tokio", + "tracing", +] + [[package]] name = "jsonrpsee-http-server" version = "0.15.1" @@ -4392,9 +5143,9 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c" +checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" dependencies = [ "heck", "proc-macro-crate", @@ -4405,16 +5156,16 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" +checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" dependencies = [ "futures-channel", "futures-util", "http", "hyper", - "jsonrpsee-core 0.16.2", - "jsonrpsee-types 0.16.2", + "jsonrpsee-core 0.16.3", + "jsonrpsee-types 0.16.3", "serde", "serde_json", "soketto", @@ -4441,9 +5192,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c" +checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" dependencies = [ "anyhow", "beef", @@ -4455,14 +5206,14 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" +checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" dependencies = [ "http", "jsonrpsee-client-transport", - "jsonrpsee-core 0.16.2", - "jsonrpsee-types 0.16.2", + "jsonrpsee-core 0.16.3", + "jsonrpsee-types 0.16.3", ] [[package]] @@ -4487,14 +5238,15 @@ dependencies = [ [[package]] name = "k256" -version = "0.11.6" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" dependencies = [ "cfg-if", - "ecdsa", - "elliptic-curve", - "sha2 0.10.7", + "ecdsa 0.16.8", + "elliptic-curve 0.13.6", + "once_cell", + "sha2 0.10.8", ] [[package]] @@ -4506,107 +5258,10 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "kusama-runtime" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.3.4", - "kusama-runtime-constants", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy 4.0.0-dev", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-multisig", - "pallet-nis", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-ranked-collective", - "pallet-recovery", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-society", - "pallet-staking 4.0.0-dev", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-authority-discovery", - "sp-beefy", - "sp-block-builder", - "sp-consensus-babe", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-transaction-pool", - "sp-version", - "static_assertions", - "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", -] - [[package]] name = "kusama-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "polkadot-primitives", @@ -4638,9 +5293,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.17.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" +checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", @@ -4650,13 +5305,24 @@ dependencies = [ "smallvec", ] +[[package]] +name = "landlock" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520baa32708c4e957d2fc3a186bc5bd8d26637c33137f399ddfc202adb240068" +dependencies = [ + "enumflags2", + "libc", + "thiserror", +] + [[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" dependencies = [ - "spin", + "spin 0.5.2", ] [[package]] @@ -4667,9 +5333,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libloading" @@ -4683,34 +5349,30 @@ dependencies = [ [[package]] name = "libm" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" - -[[package]] -name = "libm" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" -version = "0.50.1" +version = "0.51.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7b0104790be871edcf97db9bd2356604984e623a08d825c3f27852290266b8" +checksum = "f210d259724eae82005b5c48078619b7745edb7b76de370b03f8ba59ea103097" dependencies = [ "bytes", "futures", "futures-timer", "getrandom 0.2.10", "instant", - "libp2p-core 0.38.0", + "libp2p-allow-block-list", + "libp2p-connection-limits", + "libp2p-core", "libp2p-dns", "libp2p-identify", + "libp2p-identity", "libp2p-kad", "libp2p-mdns", "libp2p-metrics", - "libp2p-mplex", "libp2p-noise", "libp2p-ping", "libp2p-quic", @@ -4721,44 +5383,32 @@ dependencies = [ "libp2p-webrtc", "libp2p-websocket", "libp2p-yamux", - "multiaddr 0.16.0", - "parking_lot 0.12.1", + "multiaddr", "pin-project", - "smallvec", ] [[package]] -name = "libp2p-core" -version = "0.38.0" +name = "libp2p-allow-block-list" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a8fcd392ff67af6cc3f03b1426c41f7f26b6b9aff2dc632c1c56dd649e571f" +checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" dependencies = [ - "asn1_der", - "bs58", - "ed25519-dalek", - "either", - "fnv", - "futures", - "futures-timer", - "instant", - "log", - "multiaddr 0.16.0", - "multihash 0.16.3", - "multistream-select", - "once_cell", - "parking_lot 0.12.1", - "pin-project", - "prost", - "prost-build", - "rand 0.8.5", - "rw-stream-sink", - "sec1", - "sha2 0.10.7", - "smallvec", - "thiserror", - "unsigned-varint", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "void", +] + +[[package]] +name = "libp2p-connection-limits" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" +dependencies = [ + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", "void", - "zeroize", ] [[package]] @@ -4774,8 +5424,8 @@ dependencies = [ "instant", "libp2p-identity", "log", - "multiaddr 0.17.1", - "multihash 0.17.0", + "multiaddr", + "multihash", "multistream-select", "once_cell", "parking_lot 0.12.1", @@ -4791,12 +5441,12 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e42a271c1b49f789b92f7fc87749fa79ce5c7bdc88cbdfacb818a4bca47fec5" +checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" dependencies = [ "futures", - "libp2p-core 0.38.0", + "libp2p-core", "log", "parking_lot 0.12.1", "smallvec", @@ -4805,20 +5455,21 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.41.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c052d0026f4817b44869bfb6810f4e1112f43aec8553f2cb38881c524b563abf" +checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" dependencies = [ "asynchronous-codec", + "either", "futures", "futures-timer", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "libp2p-swarm", "log", - "lru 0.8.1", - "prost", - "prost-build", - "prost-codec", + "lru 0.10.1", + "quick-protobuf", + "quick-protobuf-codec", "smallvec", "thiserror", "void", @@ -4826,27 +5477,27 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e2d584751cecb2aabaa56106be6be91338a60a0f4e420cf2af639204f596fc1" +checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ - "bs58", + "bs58 0.4.0", "ed25519-dalek", "log", - "multiaddr 0.17.1", - "multihash 0.17.0", + "multiaddr", + "multihash", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", "zeroize", ] [[package]] name = "libp2p-kad" -version = "0.42.1" +version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2766dcd2be8c87d5e1f35487deb22d765f49c6ae1251b3633efe3b25698bd3d2" +checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ "arrayvec 0.7.4", "asynchronous-codec", @@ -4856,13 +5507,13 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "libp2p-swarm", "log", - "prost", - "prost-build", + "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "smallvec", "thiserror", "uint", @@ -4872,14 +5523,15 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04f378264aade9872d6ccd315c0accc18be3a35d15fc1b9c36e5b6f983b62b5b" +checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" dependencies = [ "data-encoding", "futures", "if-watch", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "libp2p-swarm", "log", "rand 0.8.5", @@ -4892,11 +5544,11 @@ dependencies = [ [[package]] name = "libp2p-metrics" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad8a64f29da86005c86a4d2728b8a0719e9b192f4092b609fd8790acb9dec55" +checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" dependencies = [ - "libp2p-core 0.38.0", + "libp2p-core", "libp2p-identify", "libp2p-kad", "libp2p-ping", @@ -4904,40 +5556,22 @@ dependencies = [ "prometheus-client", ] -[[package]] -name = "libp2p-mplex" -version = "0.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03805b44107aa013e7cbbfa5627b31c36cbedfdfb00603c0311998882bc4bace" -dependencies = [ - "asynchronous-codec", - "bytes", - "futures", - "libp2p-core 0.38.0", - "log", - "nohash-hasher", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "unsigned-varint", -] - [[package]] name = "libp2p-noise" -version = "0.41.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a978cb57efe82e892ec6f348a536bfbd9fee677adbe5689d7a93ad3a9bffbf2e" +checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" dependencies = [ "bytes", "curve25519-dalek 3.2.0", "futures", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "log", "once_cell", - "prost", - "prost-build", + "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "snow", "static_assertions", "thiserror", @@ -4947,14 +5581,15 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.41.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "929fcace45a112536e22b3dcfd4db538723ef9c3cb79f672b98be2cc8e25f37f" +checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" dependencies = [ + "either", "futures", "futures-timer", "instant", - "libp2p-core 0.38.0", + "libp2p-core", "libp2p-swarm", "log", "rand 0.8.5", @@ -4963,70 +5598,68 @@ dependencies = [ [[package]] name = "libp2p-quic" -version = "0.7.0-alpha" +version = "0.7.0-alpha.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e7c867e95c8130667b24409d236d37598270e6da69b3baf54213ba31ffca59" +checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" dependencies = [ "bytes", "futures", "futures-timer", "if-watch", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "libp2p-tls", "log", "parking_lot 0.12.1", "quinn-proto", "rand 0.8.5", - "rustls 0.20.8", + "rustls 0.20.9", "thiserror", "tokio", ] [[package]] name = "libp2p-request-response" -version = "0.23.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3236168796727bfcf4927f766393415361e2c644b08bedb6a6b13d957c9a4884" +checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" dependencies = [ "async-trait", - "bytes", "futures", "instant", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "libp2p-swarm", - "log", "rand 0.8.5", "smallvec", - "unsigned-varint", ] [[package]] name = "libp2p-swarm" -version = "0.41.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a35472fe3276b3855c00f1c032ea8413615e030256429ad5349cdf67c6e1a0" +checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" dependencies = [ "either", "fnv", "futures", "futures-timer", "instant", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "libp2p-swarm-derive", "log", - "pin-project", "rand 0.8.5", "smallvec", - "thiserror", "tokio", "void", ] [[package]] name = "libp2p-swarm-derive" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d527d5827582abd44a6d80c07ff8b50b4ee238a8979e05998474179e79dc400" +checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ "heck", "quote", @@ -5035,15 +5668,15 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257baf6df8f2df39678b86c578961d48cc8b68642a12f0f763f56c8e5858d" +checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" dependencies = [ "futures", "futures-timer", "if-watch", "libc", - "libp2p-core 0.38.0", + "libp2p-core", "log", "socket2 0.4.9", "tokio", @@ -5057,26 +5690,26 @@ checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" dependencies = [ "futures", "futures-rustls", - "libp2p-core 0.39.2", + "libp2p-core", "libp2p-identity", "rcgen 0.10.0", - "ring", - "rustls 0.20.8", + "ring 0.16.20", + "rustls 0.20.9", "thiserror", - "webpki 0.22.0", + "webpki 0.22.4", "x509-parser 0.14.0", "yasna", ] [[package]] name = "libp2p-wasm-ext" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb1a35299860e0d4b3c02a3e74e3b293ad35ae0cee8a056363b0c862d082069" +checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" dependencies = [ "futures", "js-sys", - "libp2p-core 0.38.0", + "libp2p-core", "parity-send-wrapper", "wasm-bindgen", "wasm-bindgen-futures", @@ -5084,9 +5717,9 @@ dependencies = [ [[package]] name = "libp2p-webrtc" -version = "0.4.0-alpha" +version = "0.4.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb6cd86dd68cba72308ea05de1cebf3ba0ae6e187c40548167955d4e3970f6a" +checksum = "dba48592edbc2f60b4bc7c10d65445b0c3964c07df26fdf493b6880d33be36f8" dependencies = [ "async-trait", "asynchronous-codec", @@ -5095,13 +5728,13 @@ dependencies = [ "futures-timer", "hex", "if-watch", - "libp2p-core 0.38.0", + "libp2p-core", + "libp2p-identity", "libp2p-noise", "log", - "multihash 0.16.3", - "prost", - "prost-build", - "prost-codec", + "multihash", + "quick-protobuf", + "quick-protobuf-codec", "rand 0.8.5", "rcgen 0.9.3", "serde", @@ -5115,42 +5748,41 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.40.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d705506030d5c0aaf2882437c70dab437605f21c5f9811978f694e6917a3b54" +checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" dependencies = [ "either", "futures", "futures-rustls", - "libp2p-core 0.38.0", + "libp2p-core", "log", "parking_lot 0.12.1", "quicksink", "rw-stream-sink", "soketto", "url", - "webpki-roots", + "webpki-roots 0.22.6", ] [[package]] name = "libp2p-yamux" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f63594a0aa818642d9d4915c791945053877253f08a3626f13416b5cd928a29" +checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" dependencies = [ "futures", - "libp2p-core 0.38.0", + "libp2p-core", "log", - "parking_lot 0.12.1", "thiserror", "yamux", ] [[package]] name = "librocksdb-sys" -version = "0.8.3+7.4.4" +version = "0.11.0+8.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "557b255ff04123fcc176162f56ed0c9cd42d8f357cf55b3fabeb60f7413741b3" +checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" dependencies = [ "bindgen", "bzip2-sys", @@ -5211,9 +5843,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.9" +version = "1.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db" +checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" dependencies = [ "cc", "pkg-config", @@ -5222,9 +5854,9 @@ dependencies = [ [[package]] name = "link-cplusplus" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" +checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" dependencies = [ "cc", ] @@ -5246,19 +5878,18 @@ dependencies = [ [[package]] name = "linregress" -version = "0.4.4" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ "nalgebra", - "statrs", ] [[package]] name = "linux-raw-sys" -version = "0.0.46" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" @@ -5266,6 +5897,12 @@ version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +[[package]] +name = "linux-raw-sys" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" + [[package]] name = "lock_api" version = "0.4.10" @@ -5284,21 +5921,18 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "lru" -version = "0.8.1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" dependencies = [ - "hashbrown 0.12.3", + "hashbrown 0.13.2", ] [[package]] name = "lru" -version = "0.9.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71e7d46de488603ffdd5f30afbc64fbba2378214a2c3a2fb83abf3d33126df17" -dependencies = [ - "hashbrown 0.13.2", -] +checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" [[package]] name = "lru-cache" @@ -5338,6 +5972,60 @@ dependencies = [ "libc", ] +[[package]] +name = "macro_magic" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +dependencies = [ + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "macro_magic_core" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +dependencies = [ + "const-random", + "derive-syn-parse", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "macro_magic_core_macros" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "macro_magic_macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +dependencies = [ + "macro_magic_core", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + [[package]] name = "match_cfg" version = "0.1.0" @@ -5350,7 +6038,7 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" dependencies = [ - "regex-automata", + "regex-automata 0.1.10", ] [[package]] @@ -5361,9 +6049,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" dependencies = [ "autocfg", "rawpointer", @@ -5371,26 +6059,27 @@ dependencies = [ [[package]] name = "md-5" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" +checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ + "cfg-if", "digest 0.10.7", ] [[package]] name = "memchr" -version = "2.5.0" +version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" [[package]] name = "memfd" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.37.20", + "rustix 0.38.19", ] [[package]] @@ -5413,9 +6102,9 @@ dependencies = [ [[package]] name = "memoffset" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ "autocfg", ] @@ -5431,20 +6120,13 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ "hash-db", - "hashbrown 0.12.3", ] -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - [[package]] name = "merlin" version = "2.0.1" @@ -5457,6 +6139,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", +] + [[package]] name = "mick-jaeger" version = "0.1.8" @@ -5474,15 +6168,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - [[package]] name = "miniz_oxide" version = "0.7.1" @@ -5506,7 +6191,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "log", @@ -5514,9 +6199,9 @@ dependencies = [ "sc-client-api", "sc-offchain", "sp-api", - "sp-beefy", "sp-blockchain", "sp-consensus", + "sp-consensus-beefy", "sp-core", "sp-mmr-primitives", "sp-runtime", @@ -5525,10 +6210,10 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "anyhow", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "parity-scale-codec", "serde", "sp-api", @@ -5565,24 +6250,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "multiaddr" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aebdb21e90f81d13ed01dc84123320838e53963c2ca94b60b305d3fa64f31e" -dependencies = [ - "arrayref", - "byteorder", - "data-encoding", - "multibase", - "multihash 0.16.3", - "percent-encoding", - "serde", - "static_assertions", - "unsigned-varint", - "url", -] - [[package]] name = "multiaddr" version = "0.17.1" @@ -5594,7 +6261,7 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash 0.17.0", + "multihash", "percent-encoding", "serde", "static_assertions", @@ -5615,9 +6282,9 @@ dependencies = [ [[package]] name = "multihash" -version = "0.16.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c346cf9999c631f002d8f977c4eaeaa0e6386f16007202308d0b3757522c2cc" +checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" dependencies = [ "blake2b_simd", "blake2s_simd", @@ -5625,22 +6292,11 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive", - "sha2 0.10.7", + "sha2 0.10.8", "sha3", "unsigned-varint", ] -[[package]] -name = "multihash" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" -dependencies = [ - "core2", - "multihash-derive", - "unsigned-varint", -] - [[package]] name = "multihash-derive" version = "0.8.0" @@ -5677,9 +6333,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.27.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" dependencies = [ "approx", "matrixmultiply", @@ -5687,17 +6343,15 @@ dependencies = [ "num-complex", "num-rational", "num-traits", - "rand 0.8.5", - "rand_distr", "simba", "typenum", ] [[package]] name = "nalgebra-macros" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" dependencies = [ "proc-macro2", "quote", @@ -5738,7 +6392,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" dependencies = [ "anyhow", - "bitflags", + "bitflags 1.3.2", "byteorder", "libc", "netlink-packet-core", @@ -5791,25 +6445,23 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", "memoffset 0.6.5", ] [[package]] -name = "nix" -version = "0.26.2" +name = "no-std-net" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" -dependencies = [ - "bitflags", - "cfg-if", - "libc", - "memoffset 0.7.1", - "pin-utils", - "static_assertions", -] +checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" [[package]] name = "nohash-hasher" @@ -5835,9 +6487,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num-bigint" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" +checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ "autocfg", "num-integer", @@ -5846,9 +6498,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ "num-traits", ] @@ -5887,41 +6539,47 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.15" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" dependencies = [ "autocfg", - "libm 0.2.7", + "libm", ] [[package]] name = "num_cpus" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.2.6", + "hermit-abi 0.3.3", "libc", ] +[[package]] +name = "number_prefix" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" + [[package]] name = "object" -version = "0.29.0" +version = "0.30.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" dependencies = [ "crc32fast", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "indexmap 1.9.3", "memchr", ] [[package]] name = "object" -version = "0.30.4" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ "memchr", ] @@ -5976,9 +6634,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "orchestra" -version = "0.0.4" +version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17e7d5b6bb115db09390bed8842c94180893dd83df3dfce7354f2a2aa090a4ee" +checksum = "227585216d05ba65c7ab0a0450a3cf2cbd81a98862a54c4df8e14d5ac6adb015" dependencies = [ "async-trait", "dyn-clonable", @@ -5993,13 +6651,13 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.0.4" +version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2af4dabb2286b0be0e9711d2d24e25f6217048b71210cffd3daddc3b5c84e1f" +checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" dependencies = [ "expander 0.0.6", - "itertools", - "petgraph 0.6.3", + "itertools 0.10.5", + "petgraph 0.6.4", "proc-macro-crate", "proc-macro2", "quote", @@ -6018,7 +6676,7 @@ dependencies = [ [[package]] name = "orml-benchmarking" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6038,7 +6696,7 @@ dependencies = [ [[package]] name = "orml-currencies" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "frame-system", @@ -6054,14 +6712,16 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "frame-system", + "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", + "sp-arithmetic", "sp-runtime", "sp-std", ] @@ -6069,26 +6729,27 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities", "parity-scale-codec", + "paste", "scale-info", "serde", "sp-core", "sp-io", "sp-runtime", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "orml-unknown-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "frame-system", @@ -6097,18 +6758,19 @@ dependencies = [ "scale-info", "serde", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -6117,7 +6779,7 @@ dependencies = [ [[package]] name = "orml-vesting" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "frame-system", @@ -6132,7 +6794,7 @@ dependencies = [ [[package]] name = "orml-xcm" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "frame-system", @@ -6140,31 +6802,32 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "frame-support", "orml-traits", "parity-scale-codec", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", + "log", "orml-traits", "orml-xcm-support", "pallet-xcm", @@ -6174,8 +6837,8 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] @@ -6190,9 +6853,9 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ - "ecdsa", - "elliptic-curve", - "sha2 0.10.7", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.8", ] [[package]] @@ -6201,19 +6864,9 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ - "ecdsa", - "elliptic-curve", - "sha2 0.10.7", -] - -[[package]] -name = "packed_simd_2" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" -dependencies = [ - "cfg-if", - "libm 0.1.4", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.8", ] [[package]] @@ -6225,6 +6878,7 @@ dependencies = [ "frame-system", "frame-system-benchmarking", "hydradx-traits", + "log", "orml-traits", "parity-scale-codec", "primitive-types", @@ -6236,18 +6890,53 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "staging-xcm", "substrate-wasm-builder", "test-utils", - "xcm", +] + +[[package]] +name = "pallet-asset-tx-payment" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-assets" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", + "log", "pallet-timestamp", "parity-scale-codec", "scale-info", @@ -6260,7 +6949,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", @@ -6276,7 +6965,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", @@ -6290,7 +6979,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6303,7 +6992,7 @@ dependencies = [ "scale-info", "sp-application-crypto", "sp-consensus-babe", - "sp-consensus-vrf", + "sp-core", "sp-io", "sp-runtime", "sp-session", @@ -6314,8 +7003,10 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "aquamarine", + "docify", "frame-benchmarking", "frame-election-provider-support", "frame-support", @@ -6334,7 +7025,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6349,26 +7040,30 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", + "log", + "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-beefy", + "sp-consensus-beefy", "sp-runtime", + "sp-session", + "sp-staking", "sp-std", ] [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", - "beefy-merkle-tree", + "array-bytes", + "binary-merkle-tree", "frame-support", "frame-system", "log", @@ -6378,10 +7073,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-beefy", + "sp-api", + "sp-consensus-beefy", "sp-core", "sp-io", "sp-runtime", + "sp-state-machine", "sp-std", ] @@ -6413,7 +7110,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6431,7 +7128,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6468,7 +7165,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "test-case 3.1.0", + "test-case 3.2.1", "test-utils", ] @@ -6527,7 +7224,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6546,7 +7243,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6563,7 +7260,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6640,7 +7337,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6685,6 +7382,7 @@ dependencies = [ "frame-system-benchmarking", "hydradx-traits", "lazy_static", + "log", "orml-tokens", "orml-traits", "pallet-balances", @@ -6724,7 +7422,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6747,7 +7445,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6755,12 +7453,13 @@ dependencies = [ "parity-scale-codec", "sp-npos-elections", "sp-runtime", + "sp-std", ] [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6772,6 +7471,7 @@ dependencies = [ "sp-io", "sp-npos-elections", "sp-runtime", + "sp-staking", "sp-std", ] @@ -6795,14 +7495,16 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-io", + "sp-runtime", "sp-std", ] [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "docify", "frame-benchmarking", "frame-election-provider-support", "frame-support", @@ -6824,6 +7526,7 @@ dependencies = [ "frame-support", "frame-system", "hex-literal 0.4.1", + "log", "parity-scale-codec", "scale-info", "serde", @@ -6836,7 +7539,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6847,8 +7550,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-application-crypto", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-io", "sp-runtime", "sp-session", @@ -6859,7 +7562,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6875,7 +7578,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6895,7 +7598,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6965,7 +7668,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6979,14 +7682,34 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-message-queue" +version = "7.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", +] + [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -6999,7 +7722,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7015,7 +7738,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7031,11 +7754,12 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", "sp-core", @@ -7043,12 +7767,13 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-std", + "sp-tracing", ] [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7068,8 +7793,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "pallet-nomination-pools", "parity-scale-codec", "sp-api", "sp-std", @@ -7078,7 +7804,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", @@ -7095,7 +7821,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7120,7 +7846,7 @@ dependencies = [ name = "pallet-omnipool" version = "3.2.3" dependencies = [ - "bitflags", + "bitflags 1.3.2", "frame-benchmarking", "frame-support", "frame-system", @@ -7147,12 +7873,13 @@ dependencies = [ name = "pallet-omnipool-liquidity-mining" version = "2.0.11" dependencies = [ - "bitflags", + "bitflags 1.3.2", "frame-benchmarking", "frame-support", "frame-system", "hydra-dx-math", "hydradx-traits", + "log", "orml-tokens", "orml-traits", "pallet-balances", @@ -7197,7 +7924,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7214,7 +7941,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7229,7 +7956,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7247,7 +7974,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7262,7 +7989,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7320,8 +8047,9 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -7337,7 +8065,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", @@ -7351,6 +8079,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", + "sp-state-machine", "sp-std", "sp-trie", ] @@ -7358,13 +8087,14 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", "pallet-staking 4.0.0-dev", + "parity-scale-codec", "rand 0.8.5", "sp-runtime", "sp-session", @@ -7374,13 +8104,17 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", + "sp-arithmetic", + "sp-io", "sp-runtime", "sp-std", ] @@ -7389,7 +8123,7 @@ dependencies = [ name = "pallet-stableswap" version = "3.3.1" dependencies = [ - "bitflags", + "bitflags 1.3.2", "frame-benchmarking", "frame-support", "frame-system", @@ -7436,7 +8170,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7459,27 +8193,36 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "log", "sp-arithmetic", ] +[[package]] +name = "pallet-staking-runtime-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "parity-scale-codec", + "sp-api", +] + [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7496,8 +8239,9 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", @@ -7510,7 +8254,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7522,13 +8266,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-storage", "sp-timestamp", ] [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7574,6 +8319,7 @@ dependencies = [ "frame-support", "frame-system", "frame-system-benchmarking", + "log", "orml-tokens", "orml-traits", "pallet-balances", @@ -7590,7 +8336,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "frame-system", @@ -7606,9 +8352,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -7622,7 +8368,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7634,7 +8380,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7651,7 +8397,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7666,7 +8412,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7682,7 +8428,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7697,7 +8443,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7711,9 +8457,10 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", @@ -7725,14 +8472,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7743,9 +8490,9 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] @@ -7753,6 +8500,7 @@ name = "pallet-xcm-rate-limiter" version = "0.1.1" dependencies = [ "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", "frame-benchmarking", "frame-support", "frame-system", @@ -7764,7 +8512,7 @@ dependencies = [ "pallet-omnipool", "parity-scale-codec", "polkadot-core-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "pretty_assertions", "scale-info", "serde", @@ -7772,9 +8520,9 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "test-case 3.1.0", + "staging-xcm", + "test-case 3.2.1", "test-utils", - "xcm", ] [[package]] @@ -7809,20 +8557,58 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "parachains-common" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "cumulus-primitives-core", + "cumulus-primitives-utility", "frame-support", "frame-system", + "kusama-runtime-constants", + "log", + "num-traits", + "pallet-asset-tx-payment", + "pallet-assets", + "pallet-authorship", + "pallet-balances", + "pallet-collator-selection", "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-primitives", + "polkadot-runtime-constants", + "rococo-runtime-constants", "scale-info", + "smallvec", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", + "westend-runtime-constants", ] [[package]] name = "parity-db" -version = "0.4.8" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4890dcb9556136a4ec2b0c51fa4a08c8b733b829506af8fff2e853f3a065985b" +checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" dependencies = [ "blake2", "crc32fast", @@ -7840,9 +8626,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.1" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2287753623c76f953acd29d15d8100bcab84d29db78fb6f352adb3c53e83b967" +checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -7855,9 +8641,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.1" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b6937b5e67bfba3351b87b040d48352a2fcb6ad72f81855412ce97b45c8f110" +checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7879,9 +8665,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" +checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" [[package]] name = "parking_lot" @@ -7928,14 +8714,20 @@ dependencies = [ "libc", "redox_syscall 0.3.5", "smallvec", - "windows-targets", + "windows-targets 0.48.5", ] +[[package]] +name = "partial_sort" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" + [[package]] name = "paste" -version = "1.0.12" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pbkdf2" @@ -7955,6 +8747,15 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest 0.10.7", +] + [[package]] name = "peeking_take_while" version = "0.1.2" @@ -7987,19 +8788,20 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" -version = "2.7.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73935e4d55e2abf7f130186537b19e7a4abc886a0252380b59248af473a3fc9" +checksum = "c022f1e7b65d6a24c0dbbd5fb344c66881bc01f3e5ae74a1c8100f2f985d98a4" dependencies = [ + "memchr", "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aef623c9bbfa0eedf5a0efba11a5ee83209c326653ca31ff019bec3a95bfff2b" +checksum = "35513f630d46400a977c4cb58f78e1bfbe01434316e60c37d27b9ad6139c66d8" dependencies = [ "pest", "pest_generator", @@ -8007,26 +8809,26 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3e8cba4ec22bada7fc55ffe51e2deb6a0e0db2d0b7ab0b103acc80d2510c190" +checksum = "bc9fc1b9e7057baba189b5c626e2d6f40681ae5b6eb064dc7c7834101ec8123a" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] name = "pest_meta" -version = "2.7.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01f71cb40bd8bb94232df14b946909e14660e33fc05db3e50ae2a82d7ea0ca0" +checksum = "1df74e9e7ec4053ceb980e7c0c8bd3594e977fde1af91daba9c928e8e8c6708d" dependencies = [ "once_cell", "pest", - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -8041,32 +8843,32 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset 0.4.2", - "indexmap 1.9.3", + "indexmap 2.0.2", ] [[package]] name = "pin-project" -version = "1.1.0" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" +checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.0" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" +checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -8077,9 +8879,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" [[package]] name = "pin-utils" @@ -8087,14 +8889,35 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "piper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +dependencies = [ + "atomic-waker", + "fastrand 2.0.1", + "futures-io", +] + [[package]] name = "pkcs8" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ - "der", - "spki", + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.8", + "spki 0.7.2", ] [[package]] @@ -8111,15 +8934,9 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "platforms" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" - -[[package]] -name = "platforms" -version = "3.0.2" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" +checksum = "4503fa043bf02cee09a9582e9554b4c6403b2ef55e4612e96561d294419429f8" [[package]] name = "plotters" @@ -8151,42 +8968,46 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "futures-timer", + "polkadot-node-jaeger", + "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "always-assert", "futures", + "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "derive_more", "fatality", "futures", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8195,20 +9016,20 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", + "schnellru", "sp-core", "sp-keystore", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-availability-recovery" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "fatality", "futures", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8218,22 +9039,21 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "sc-network", + "schnellru", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-cli" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "clap 4.3.9", + "clap 4.4.6", "frame-benchmarking-cli", "futures", "log", - "polkadot-client", - "polkadot-node-core-pvf", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-metrics", "polkadot-performance-test", "polkadot-service", "sc-cli", @@ -8245,59 +9065,17 @@ dependencies = [ "sp-core", "sp-io", "sp-keyring", + "sp-maybe-compressed-blob", "substrate-build-script-utils", "thiserror", "try-runtime-cli", ] -[[package]] -name = "polkadot-client" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "async-trait", - "frame-benchmarking", - "frame-benchmarking-cli", - "frame-system", - "frame-system-rpc-runtime-api", - "futures", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "polkadot-core-primitives", - "polkadot-node-core-parachains-inherent", - "polkadot-primitives", - "polkadot-runtime", - "polkadot-runtime-common", - "sc-client-api", - "sc-consensus", - "sc-executor", - "sc-service", - "sp-api", - "sp-authority-discovery", - "sp-beefy", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-babe", - "sp-core", - "sp-finality-grandpa", - "sp-inherents", - "sp-keyring", - "sp-mmr-primitives", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-storage", - "sp-timestamp", - "sp-transaction-pool", -] - [[package]] name = "polkadot-collator-protocol" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "always-assert", "bitvec", "fatality", "futures", @@ -8311,13 +9089,14 @@ dependencies = [ "sp-keystore", "sp-runtime", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tokio-util", + "tracing-gum", ] [[package]] name = "polkadot-core-primitives" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "scale-info", @@ -8328,15 +9107,14 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", "indexmap 1.9.3", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8345,16 +9123,17 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", + "schnellru", "sp-application-crypto", "sp-keystore", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-erasure-coding" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8367,8 +9146,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "futures-timer", @@ -8379,40 +9158,17 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sc-network", + "sc-network-common", "sp-application-crypto", "sp-core", "sp-keystore", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", -] - -[[package]] -name = "polkadot-network-bridge" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "always-assert", - "async-trait", - "bytes", - "fatality", - "futures", - "parity-scale-codec", - "parking_lot 0.12.1", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", - "polkadot-node-network-protocol", - "polkadot-node-subsystem", - "polkadot-overseer", - "polkadot-primitives", - "sc-network", - "sc-network-common", - "sp-consensus", - "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "always-assert", "async-trait", @@ -8421,22 +9177,21 @@ dependencies = [ "futures", "parity-scale-codec", "parking_lot 0.12.1", - "polkadot-node-metrics 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", + "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", "sc-network", - "sc-network-common", "sp-consensus", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", + "tracing-gum", ] [[package]] name = "polkadot-node-collation-generation" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "parity-scale-codec", @@ -8448,42 +9203,42 @@ dependencies = [ "sp-core", "sp-maybe-compressed-blob", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", "kvdb", - "lru 0.9.0", - "merlin", + "merlin 2.0.1", "parity-scale-codec", - "polkadot-node-jaeger 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", "sc-keystore", - "schnorrkel", + "schnellru", + "schnorrkel 0.9.1", "sp-application-crypto", "sp-consensus", "sp-consensus-slots", "sp-runtime", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bitvec", "futures", @@ -8491,19 +9246,21 @@ dependencies = [ "kvdb", "parity-scale-codec", "polkadot-erasure-coding", + "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "sp-consensus", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bitvec", "fatality", @@ -8516,13 +9273,13 @@ dependencies = [ "polkadot-statement-table", "sp-keystore", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "polkadot-node-subsystem", @@ -8530,48 +9287,50 @@ dependencies = [ "polkadot-primitives", "sp-keystore", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", "wasm-timer", ] [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", "futures-timer", "parity-scale-codec", "polkadot-node-core-pvf", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-metrics", "polkadot-node-primitives", "polkadot-node-subsystem", - "polkadot-parachain", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-parachain-primitives", "polkadot-primitives", "sp-maybe-compressed-blob", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-primitives", "sc-client-api", "sc-consensus-babe", "sp-blockchain", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "futures-timer", @@ -8582,32 +9341,32 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "fatality", "futures", "kvdb", - "lru 0.9.0", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", "sc-keystore", + "schnellru", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", @@ -8618,13 +9377,30 @@ dependencies = [ "sp-blockchain", "sp-inherents", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", +] + +[[package]] +name = "polkadot-node-core-prospective-parachains" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "bitvec", + "fatality", + "futures", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "thiserror", + "tracing-gum", ] [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bitvec", "fatality", @@ -8634,47 +9410,42 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "always-assert", - "assert_matches", - "cpu-time", "futures", "futures-timer", + "libc", "parity-scale-codec", "pin-project", "polkadot-core-primitives", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", - "polkadot-parachain", + "polkadot-node-core-pvf-common", + "polkadot-node-metrics", + "polkadot-node-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", "rand 0.8.5", - "rayon", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", "slotmap", "sp-core", - "sp-externalities", - "sp-io", "sp-maybe-compressed-blob", - "sp-tracing", "sp-wasm-interface", + "substrate-build-script-utils", "tempfile", "tokio", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "polkadot-node-primitives", @@ -8684,46 +9455,74 @@ dependencies = [ "polkadot-primitives", "sp-keystore", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-runtime-api" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +name = "polkadot-node-core-pvf-common" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "cpu-time", "futures", - "lru 0.9.0", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", - "polkadot-node-subsystem", - "polkadot-node-subsystem-types", + "landlock", + "libc", + "parity-scale-codec", + "polkadot-parachain-primitives", "polkadot-primitives", - "sp-consensus-babe", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", -] - -[[package]] -name = "polkadot-node-jaeger" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" + "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", + "sp-core", + "sp-externalities", + "sp-io", + "sp-tracing", + "tokio", + "tracing-gum", +] + +[[package]] +name = "polkadot-node-core-pvf-prepare-worker" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "lazy_static", - "log", - "mick-jaeger", + "futures", + "libc", "parity-scale-codec", - "parking_lot 0.12.1", - "polkadot-node-primitives", + "polkadot-node-core-pvf-common", + "polkadot-parachain-primitives", "polkadot-primitives", - "sc-network", - "sp-core", - "thiserror", + "rayon", + "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", + "sp-io", + "sp-maybe-compressed-blob", + "sp-tracing", + "tikv-jemalloc-ctl", "tokio", + "tracing-gum", +] + +[[package]] +name = "polkadot-node-core-runtime-api" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "futures", + "polkadot-node-metrics", + "polkadot-node-subsystem", + "polkadot-node-subsystem-types", + "polkadot-primitives", + "schnellru", + "sp-consensus-babe", + "tracing-gum", ] [[package]] name = "polkadot-node-jaeger" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "lazy_static", "log", @@ -8740,29 +9539,10 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "bs58", - "futures", - "futures-timer", - "log", - "parity-scale-codec", - "polkadot-primitives", - "prioritized-metered-channel", - "sc-cli", - "sc-service", - "sc-tracing", - "substrate-prometheus-endpoint", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", -] - -[[package]] -name = "polkadot-node-metrics" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "bs58", + "bs58 0.5.0", "futures", "futures-timer", "log", @@ -8773,79 +9553,81 @@ dependencies = [ "sc-service", "sc-tracing", "substrate-prometheus-endpoint", - "tracing-gum 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", + "tracing-gum", ] [[package]] name = "polkadot-node-network-protocol" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "async-channel", "async-trait", + "bitvec", "derive_more", "fatality", "futures", "hex", "parity-scale-codec", - "polkadot-node-jaeger 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", "rand 0.8.5", "sc-authority-discovery", "sc-network", - "sc-network-common", "strum", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-node-primitives" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bounded-vec", "futures", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", - "schnorrkel", + "schnorrkel 0.9.1", "serde", "sp-application-crypto", "sp-consensus-babe", - "sp-consensus-vrf", "sp-core", "sp-keystore", "sp-maybe-compressed-blob", + "sp-runtime", "thiserror", - "zstd", + "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "polkadot-node-jaeger 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-jaeger", "polkadot-node-subsystem-types", "polkadot-overseer", ] [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "derive_more", "futures", "orchestra", - "polkadot-node-jaeger 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-primitives", "polkadot-statement-table", "sc-network", + "sc-transaction-pool-api", "smallvec", "sp-api", "sp-authority-discovery", @@ -8856,23 +9638,22 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "derive_more", "fatality", "futures", "futures-channel", - "itertools", + "itertools 0.10.5", "kvdb", - "lru 0.9.0", "parity-db", "parity-scale-codec", "parking_lot 0.11.2", "pin-project", - "polkadot-node-jaeger 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-jaeger", + "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8880,41 +9661,43 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", + "schnellru", "sp-application-crypto", "sp-core", "sp-keystore", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-overseer" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", "futures-timer", - "lru 0.9.0", "orchestra", "parking_lot 0.12.1", - "polkadot-node-metrics 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", + "schnellru", "sp-api", "sp-core", "tikv-jemalloc-ctl", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] -name = "polkadot-parachain" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +name = "polkadot-parachain-primitives" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "bounded-collections", "derive_more", "frame-support", "parity-scale-codec", @@ -8928,29 +9711,32 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "env_logger 0.9.3", - "kusama-runtime", "log", "polkadot-erasure-coding", - "polkadot-node-core-pvf", + "polkadot-node-core-pvf-prepare-worker", "polkadot-node-primitives", + "polkadot-primitives", "quote", + "sc-executor-common", + "sp-maybe-compressed-blob", + "staging-kusama-runtime", "thiserror", ] [[package]] name = "polkadot-primitives" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bitvec", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "parity-scale-codec", "polkadot-core-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "scale-info", "serde", "sp-api", @@ -8969,12 +9755,10 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "beefy-gadget", - "beefy-gadget-rpc", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", @@ -8982,9 +9766,11 @@ dependencies = [ "sc-client-api", "sc-consensus-babe", "sc-consensus-babe-rpc", + "sc-consensus-beefy", + "sc-consensus-beefy-rpc", "sc-consensus-epochs", - "sc-finality-grandpa", - "sc-finality-grandpa-rpc", + "sc-consensus-grandpa", + "sc-consensus-grandpa-rpc", "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", @@ -9001,8 +9787,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bitvec", "frame-benchmarking", @@ -9013,7 +9799,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "log", "pallet-authority-discovery", "pallet-authorship", @@ -9023,6 +9809,7 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy 4.0.0-dev", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", @@ -9033,6 +9820,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-message-queue", "pallet-multisig", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", @@ -9041,11 +9829,13 @@ dependencies = [ "pallet-offences-benchmarking", "pallet-preimage", "pallet-proxy", + "pallet-referenda", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", "pallet-staking 4.0.0-dev", "pallet-staking-reward-curve", + "pallet-staking-runtime-api", "pallet-timestamp", "pallet-tips", "pallet-transaction-payment", @@ -9053,7 +9843,9 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-common", @@ -9065,10 +9857,11 @@ dependencies = [ "serde_derive", "smallvec", "sp-api", + "sp-arithmetic", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", @@ -9079,19 +9872,20 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "sp-storage", "sp-transaction-pool", "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] name = "polkadot-runtime-common" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bitvec", "frame-benchmarking", @@ -9103,9 +9897,7 @@ dependencies = [ "log", "pallet-authorship", "pallet-babe", - "pallet-bags-list", "pallet-balances", - "pallet-beefy-mmr", "pallet-election-provider-multi-phase", "pallet-fast-unstake", "pallet-session", @@ -9124,7 +9916,6 @@ dependencies = [ "serde_derive", "slot-range-helper", "sp-api", - "sp-beefy", "sp-core", "sp-inherents", "sp-io", @@ -9133,14 +9924,14 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "staging-xcm", "static_assertions", - "xcm", ] [[package]] name = "polkadot-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "polkadot-primitives", @@ -9153,10 +9944,11 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "bs58", + "bs58 0.5.0", + "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", "sp-std", @@ -9165,25 +9957,28 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "bitflags", + "bitflags 1.3.2", "bitvec", "derive_more", "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-message-queue", "pallet-session", "pallet-staking 4.0.0-dev", "pallet-timestamp", "pallet-vesting", "parity-scale-codec", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", "rand 0.8.5", @@ -9201,43 +9996,45 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "staging-xcm", + "staging-xcm-executor", "static_assertions", - "xcm", - "xcm-executor", ] [[package]] name = "polkadot-service" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", - "beefy-gadget", + "frame-benchmarking", "frame-benchmarking-cli", "frame-support", + "frame-system", "frame-system-rpc-runtime-api", "futures", - "hex-literal 0.3.4", - "kusama-runtime", + "hex-literal 0.4.1", + "is_executable", "kvdb", "kvdb-rocksdb", "log", - "lru 0.9.0", "mmr-gadget", "pallet-babe", "pallet-im-online", "pallet-staking 4.0.0-dev", + "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "parity-db", + "parity-scale-codec", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", "polkadot-availability-recovery", - "polkadot-client", "polkadot-collator-protocol", + "polkadot-core-primitives", "polkadot-dispute-distribution", "polkadot-gossip-support", - "polkadot-network-bridge 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "polkadot-network-bridge", "polkadot-node-collation-generation", "polkadot-node-core-approval-voting", "polkadot-node-core-av-store", @@ -9248,7 +10045,9 @@ dependencies = [ "polkadot-node-core-chain-selection", "polkadot-node-core-dispute-coordinator", "polkadot-node-core-parachains-inherent", + "polkadot-node-core-prospective-parachains", "polkadot-node-core-provisioner", + "polkadot-node-core-pvf", "polkadot-node-core-pvf-checker", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", @@ -9257,11 +10056,11 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-rpc", "polkadot-runtime", - "polkadot-runtime-constants", + "polkadot-runtime-common", "polkadot-runtime-parachains", "polkadot-statement-distribution", "rococo-runtime", @@ -9273,31 +10072,36 @@ dependencies = [ "sc-client-db", "sc-consensus", "sc-consensus-babe", + "sc-consensus-beefy", + "sc-consensus-grandpa", "sc-consensus-slots", "sc-executor", - "sc-finality-grandpa", "sc-keystore", "sc-network", "sc-network-common", + "sc-network-sync", "sc-offchain", "sc-service", "sc-sync-state-rpc", "sc-sysinfo", "sc-telemetry", "sc-transaction-pool", + "sc-transaction-pool-api", + "schnellru", "serde", "serde_json", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-inherents", "sp-io", + "sp-keyring", "sp-keystore", "sp-mmr-primitives", "sp-offchain", @@ -9307,38 +10111,43 @@ dependencies = [ "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-trie", + "sp-version", + "sp-weights", + "staging-kusama-runtime", "substrate-prometheus-endpoint", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", "westend-runtime", ] [[package]] name = "polkadot-statement-distribution" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "arrayvec 0.5.2", + "arrayvec 0.7.4", + "bitvec", "fatality", "futures", + "futures-timer", "indexmap 1.9.3", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore", "sp-staking", "thiserror", - "tracing-gum 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", + "tracing-gum", ] [[package]] name = "polkadot-statement-table" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9352,12 +10161,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ "autocfg", - "bitflags", + "bitflags 1.3.2", "cfg-if", "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "windows-sys 0.48.0", ] @@ -9372,6 +10181,17 @@ dependencies = [ "universal-hash 0.4.1", ] +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures", + "opaque-debug 0.3.0", + "universal-hash 0.5.1", +] + [[package]] name = "polyval" version = "0.5.3" @@ -9396,6 +10216,12 @@ dependencies = [ "universal-hash 0.5.1", ] +[[package]] +name = "portable-atomic" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -9410,7 +10236,7 @@ checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" dependencies = [ "difflib", "float-cmp", - "itertools", + "itertools 0.10.5", "normalize-line-endings", "predicates-core", "regex", @@ -9452,11 +10278,21 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prettyplease" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +dependencies = [ + "proc-macro2", + "syn 2.0.38", +] + [[package]] name = "primitive-types" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec", @@ -9530,11 +10366,28 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-hack" +version = "0.5.20+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" + +[[package]] +name = "proc-macro-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "proc-macro2" -version = "1.0.63" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" +checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" dependencies = [ "unicode-ident", ] @@ -9555,42 +10408,42 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.18.1" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83cd1b99916654a69008fd66b4f9397fbe08e6e51dfe23d4417acf5d3b8cb87c" +checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", "parking_lot 0.12.1", - "prometheus-client-derive-text-encode", + "prometheus-client-derive-encode", ] [[package]] -name = "prometheus-client-derive-text-encode" -version = "0.3.0" +name = "prometheus-client-derive-encode" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a455fbcb954c1a7decf3c586e860fd7889cddf4b8e164be736dbac95a953cd" +checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "proptest" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e35c06b98bf36aba164cc17cb25f7e232f5c4aeea73baa14b8a9f0d92dbfa65" +checksum = "7c003ac8c77cb07bb74f5f198bce836a689bcd5a42574612bf14d17bfd08c20e" dependencies = [ "bit-set", - "bitflags", - "byteorder", + "bit-vec", + "bitflags 2.4.0", "lazy_static", "num-traits", "rand 0.8.5", "rand_chacha 0.3.1", "rand_xorshift", - "regex-syntax 0.6.29", + "regex-syntax 0.7.5", "rusty-fork", "tempfile", "unarray", @@ -9614,12 +10467,12 @@ checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", "heck", - "itertools", + "itertools 0.10.5", "lazy_static", "log", "multimap", - "petgraph 0.6.3", - "prettyplease", + "petgraph 0.6.4", + "prettyplease 0.1.25", "prost", "prost-types", "regex", @@ -9628,19 +10481,6 @@ dependencies = [ "which", ] -[[package]] -name = "prost-codec" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc34979ff898b6e141106178981ce2596c387ea6e62533facfc61a37fc879c0" -dependencies = [ - "asynchronous-codec", - "bytes", - "prost", - "thiserror", - "unsigned-varint", -] - [[package]] name = "prost-derive" version = "0.11.9" @@ -9648,7 +10488,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ "anyhow", - "itertools", + "itertools 0.10.5", "proc-macro2", "quote", "syn 1.0.109", @@ -9687,6 +10527,19 @@ dependencies = [ "byteorder", ] +[[package]] +name = "quick-protobuf-codec" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" +dependencies = [ + "asynchronous-codec", + "bytes", + "quick-protobuf", + "thiserror", + "unsigned-varint", +] + [[package]] name = "quicksink" version = "0.1.2" @@ -9700,27 +10553,27 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.9.3" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c10f662eee9c94ddd7135043e544f3c82fa839a1e7b865911331961b53186c" +checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", "rand 0.8.5", - "ring", + "ring 0.16.20", "rustc-hash", - "rustls 0.20.8", + "rustls 0.20.9", "slab", "thiserror", "tinyvec", "tracing", - "webpki 0.22.0", + "webpki 0.22.4", ] [[package]] name = "quote" -version = "1.0.29" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -9793,16 +10646,6 @@ dependencies = [ "getrandom 0.2.10", ] -[[package]] -name = "rand_distr" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - [[package]] name = "rand_hc" version = "0.2.0" @@ -9847,9 +10690,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" dependencies = [ "either", "rayon-core", @@ -9857,14 +10700,12 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -9874,8 +10715,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", - "ring", - "time 0.3.22", + "ring 0.16.20", + "time", "x509-parser 0.13.2", "yasna", ] @@ -9887,8 +10728,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", - "ring", - "time 0.3.22", + "ring 0.16.20", + "time", "yasna", ] @@ -9898,7 +10739,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -9907,7 +10748,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -9923,42 +10764,42 @@ dependencies = [ [[package]] name = "reed-solomon-novelpoly" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bd8f48b2066e9f69ab192797d66da804d1935bf22763204ed3675740cb0f221" +checksum = "58130877ca403ab42c864fbac74bb319a0746c07a634a92a5cfc7f54af272582" dependencies = [ "derive_more", "fs-err", - "itertools", - "static_init 0.5.2", + "itertools 0.11.0", + "static_init", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.16" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43faa91b1c8b36841ee70e97188a869d37ae21759da6846d4be66de5bf7b12c" +checksum = "acde58d073e9c79da00f2b5b84eed919c8326832648a5b109b3fce1bb1175280" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.16" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" +checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] name = "regalloc2" -version = "0.3.2" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779" +checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" dependencies = [ "fxhash", "log", @@ -9968,13 +10809,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.4" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f" +checksum = "d119d7c7ca818f8a53c300863d4f87566aac09943aef5b355bb83969dae75d87" dependencies = [ - "aho-corasick 1.0.2", + "aho-corasick", "memchr", - "regex-syntax 0.7.2", + "regex-automata 0.4.1", + "regex-syntax 0.8.1", ] [[package]] @@ -9986,6 +10828,17 @@ dependencies = [ "regex-syntax 0.6.29", ] +[[package]] +name = "regex-automata" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "465c6fc0621e4abc4187a2bda0937bfd4f722c2730b29562e19689ea796c9a4b" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.8.1", +] + [[package]] name = "regex-syntax" version = "0.6.29" @@ -9994,9 +10847,15 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.2" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" + +[[package]] +name = "regex-syntax" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" +checksum = "56d84fdd47036b038fc80dd333d10b6aab10d5d31f4a366e20014def75328d33" [[package]] name = "resolv-conf" @@ -10014,11 +10873,36 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ - "crypto-bigint", + "crypto-bigint 0.4.9", "hmac 0.12.1", "zeroize", ] +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + +[[package]] +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "common", + "fflonk", + "merlin 3.0.0", +] + [[package]] name = "ring" version = "0.16.20" @@ -10028,17 +10912,31 @@ dependencies = [ "cc", "libc", "once_cell", - "spin", - "untrusted", + "spin 0.5.2", + "untrusted 0.7.1", "web-sys", "winapi", ] +[[package]] +name = "ring" +version = "0.17.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9babe80d5c16becf6594aa32ad2be8fe08498e7ae60b77de8df700e67f191d7e" +dependencies = [ + "cc", + "getrandom 0.2.10", + "libc", + "spin 0.9.8", + "untrusted 0.9.0", + "windows-sys 0.48.0", +] + [[package]] name = "rocksdb" -version = "0.19.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" +checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" dependencies = [ "libc", "librocksdb-sys", @@ -10046,10 +10944,10 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "beefy-merkle-tree", + "binary-merkle-tree", "frame-benchmarking", "frame-executive", "frame-support", @@ -10057,7 +10955,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "log", "pallet-authority-discovery", "pallet-authorship", @@ -10075,6 +10973,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-message-queue", "pallet-mmr", "pallet-multisig", "pallet-nis", @@ -10098,7 +10997,7 @@ dependencies = [ "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -10109,9 +11008,9 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", @@ -10121,19 +11020,20 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "sp-storage", "sp-transaction-pool", "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] name = "rococo-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "polkadot-primitives", @@ -10176,7 +11076,7 @@ dependencies = [ "log", "netlink-packet-route", "netlink-proto", - "nix 0.24.3", + "nix", "thiserror", "tokio", ] @@ -10207,9 +11107,9 @@ dependencies = [ [[package]] name = "rug" -version = "1.19.2" +version = "1.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555e8b44763d034526db899c88cd56ccc4486cd38b444c8aa0e79d4e70ae5a34" +checksum = "5a118f8296241f6952511e8f9ab5b8a759c0d9ed902159b0aeed82d902e84ca6" dependencies = [ "az", "gmp-mpfr-sys", @@ -10231,7 +11131,7 @@ dependencies = [ "cumulus-primitives-parachain-inherent", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "cumulus-test-relay-sproof-builder 0.1.0 (git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.38)", + "cumulus-test-relay-sproof-builder", "frame-benchmarking", "frame-executive", "frame-remote-externalities", @@ -10288,7 +11188,7 @@ dependencies = [ "pallet-xcm", "pallet-xyk", "parachain-info", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime", "polkadot-runtime-parachains", @@ -10310,11 +11210,11 @@ dependencies = [ "sp-transaction-pool", "sp-trie", "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "tokio", - "xcm", - "xcm-builder", "xcm-emulator", - "xcm-executor", ] [[package]] @@ -10341,7 +11241,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.17", + "semver 1.0.20", ] [[package]] @@ -10355,55 +11255,80 @@ dependencies = [ [[package]] name = "rustix" -version = "0.35.13" +version = "0.36.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" +checksum = "6da3636faa25820d8648e0e31c5d519bbb01f72fdf57131f0f5f7da5fed36eab" dependencies = [ - "bitflags", - "errno 0.2.8", - "io-lifetimes 0.7.5", + "bitflags 1.3.2", + "errno", + "io-lifetimes", "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", ] [[package]] name = "rustix" -version = "0.37.20" +version = "0.37.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0" +checksum = "d4eb579851244c2c03e7c24f501c3432bed80b8f720af1d6e5b0e0f01555a035" dependencies = [ - "bitflags", - "errno 0.3.1", - "io-lifetimes 1.0.11", + "bitflags 1.3.2", + "errno", + "io-lifetimes", "libc", "linux-raw-sys 0.3.8", "windows-sys 0.48.0", ] [[package]] -name = "rustls" -version = "0.19.1" +name = "rustix" +version = "0.38.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" +dependencies = [ + "bitflags 2.4.0", + "errno", + "libc", + "linux-raw-sys 0.4.10", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustls" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ "base64 0.13.1", "log", - "ring", + "ring 0.16.20", "sct 0.6.1", "webpki 0.21.4", ] [[package]] name = "rustls" -version = "0.20.8" +version = "0.20.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" +dependencies = [ + "log", + "ring 0.16.20", + "sct 0.7.0", + "webpki 0.22.4", +] + +[[package]] +name = "rustls" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" +checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" dependencies = [ "log", - "ring", + "ring 0.16.20", + "rustls-webpki 0.101.6", "sct 0.7.0", - "webpki 0.22.0", ] [[package]] @@ -10424,14 +11349,34 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "base64 0.21.2", + "base64 0.21.4", +] + +[[package]] +name = "rustls-webpki" +version = "0.100.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6a5fc258f1c1276dfe3016516945546e2d5383911efc0fc4f1cdc5df3a4ae3" +dependencies = [ + "ring 0.16.20", + "untrusted 0.7.1", +] + +[[package]] +name = "rustls-webpki" +version = "0.101.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c7d5dece342910d9ba34d259310cae3e0154b873b35408b787b59bce53d34fe" +dependencies = [ + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] name = "rustversion" -version = "1.0.12" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "rusty-fork" @@ -10445,6 +11390,17 @@ dependencies = [ "wait-timeout", ] +[[package]] +name = "ruzstd" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3ffab8f9715a0d455df4bbb9d21e91135aab3cd3ca187af0cd0c3c3f868fdc" +dependencies = [ + "byteorder", + "thiserror-core", + "twox-hash", +] + [[package]] name = "rw-stream-sink" version = "0.3.0" @@ -10458,9 +11414,18 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.13" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" + +[[package]] +name = "safe_arch" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +dependencies = [ + "bytemuck", +] [[package]] name = "same-file" @@ -10474,7 +11439,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "log", "sp-core", @@ -10485,7 +11450,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", @@ -10493,12 +11458,13 @@ dependencies = [ "ip_network", "libp2p", "log", + "multihash", "parity-scale-codec", "prost", "prost-build", "rand 0.8.5", "sc-client-api", - "sc-network-common", + "sc-network", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -10512,7 +11478,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "futures-timer", @@ -10535,7 +11501,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10545,46 +11511,49 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-state-machine", ] [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "memmap2", "sc-chain-spec-derive", - "sc-network-common", + "sc-client-api", + "sc-executor", + "sc-network", "sc-telemetry", "serde", "serde_json", + "sp-blockchain", "sp-core", "sp-runtime", + "sp-state-machine", ] [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", "chrono", - "clap 4.3.9", + "clap 4.4.6", "fdlimit", "futures", - "libp2p", + "libp2p-identity", "log", "names", "parity-scale-codec", @@ -10595,7 +11564,6 @@ dependencies = [ "sc-client-db", "sc-keystore", "sc-network", - "sc-network-common", "sc-service", "sc-telemetry", "sc-tracing", @@ -10617,7 +11585,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "fnv", "futures", @@ -10633,9 +11601,9 @@ dependencies = [ "sp-core", "sp-database", "sp-externalities", - "sp-keystore", "sp-runtime", "sp-state-machine", + "sp-statement-store", "sp-storage", "substrate-prometheus-endpoint", ] @@ -10643,7 +11611,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "hash-db", "kvdb", @@ -10669,12 +11637,12 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", "futures-timer", - "libp2p", + "libp2p-identity", "log", "mockall", "parking_lot 0.12.1", @@ -10694,7 +11662,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", @@ -10723,13 +11691,12 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "fork-tree", "futures", "log", - "merlin", "num-bigint", "num-rational", "num-traits", @@ -10739,9 +11706,9 @@ dependencies = [ "sc-consensus", "sc-consensus-epochs", "sc-consensus-slots", - "sc-keystore", "sc-telemetry", - "schnorrkel", + "sc-transaction-pool-api", + "scale-info", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -10749,7 +11716,6 @@ dependencies = [ "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-consensus-vrf", "sp-core", "sp-inherents", "sp-keystore", @@ -10761,10 +11727,10 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", @@ -10781,115 +11747,78 @@ dependencies = [ ] [[package]] -name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "fork-tree", - "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sc-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "array-bytes", + "async-channel", "async-trait", + "fnv", "futures", - "futures-timer", "log", "parity-scale-codec", + "parking_lot 0.12.1", "sc-client-api", "sc-consensus", - "sc-telemetry", + "sc-network", + "sc-network-gossip", + "sc-network-sync", + "sc-utils", + "sp-api", + "sp-application-crypto", "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-consensus-slots", + "sp-consensus-beefy", "sp-core", - "sp-inherents", + "sp-keystore", + "sp-mmr-primitives", "sp-runtime", - "sp-state-machine", + "substrate-prometheus-endpoint", + "thiserror", + "wasm-timer", ] [[package]] -name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sc-consensus-beefy-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "lru 0.8.1", + "futures", + "jsonrpsee 0.16.3", + "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor-common", - "sc-executor-wasmi", - "sc-executor-wasmtime", - "sp-api", + "sc-consensus-beefy", + "sc-rpc", + "serde", + "sp-consensus-beefy", "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", - "sp-wasm-interface", - "tracing", - "wasmi", -] - -[[package]] -name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-runtime", "thiserror", - "wasm-instrument", - "wasmi", -] - -[[package]] -name = "sc-executor-wasmi" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "log", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", - "wasmi", ] [[package]] -name = "sc-executor-wasmtime" +name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "cfg-if", - "libc", - "log", - "once_cell", - "rustix 0.35.13", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", - "wasmtime", + "fork-tree", + "parity-scale-codec", + "sc-client-api", + "sc-consensus", + "sp-blockchain", + "sp-runtime", ] [[package]] -name = "sc-finality-grandpa" +name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "ahash 0.8.3", - "array-bytes 4.2.0", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", @@ -10908,6 +11837,7 @@ dependencies = [ "sc-network-common", "sc-network-gossip", "sc-telemetry", + "sc-transaction-pool-api", "sc-utils", "serde_json", "sp-api", @@ -10915,8 +11845,8 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-consensus", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -10924,17 +11854,17 @@ dependencies = [ ] [[package]] -name = "sc-finality-grandpa-rpc" +name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "finality-grandpa", "futures", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "parity-scale-codec", "sc-client-api", - "sc-finality-grandpa", + "sc-consensus-grandpa", "sc-rpc", "serde", "sp-blockchain", @@ -10943,16 +11873,91 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-consensus-slots" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-consensus", + "sc-telemetry", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", +] + +[[package]] +name = "sc-executor" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-executor-common", + "sc-executor-wasmtime", + "schnellru", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", + "tracing", +] + +[[package]] +name = "sc-executor-common" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "sc-allocator", + "sp-maybe-compressed-blob", + "sp-wasm-interface", + "thiserror", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "rustix 0.36.16", + "sc-allocator", + "sc-executor-common", + "sp-runtime-interface", + "sp-wasm-interface", + "wasmtime", +] + [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "ansi_term", "futures", "futures-timer", "log", "sc-client-api", + "sc-network", "sc-network-common", "sp-blockchain", "sp-runtime", @@ -10961,10 +11966,9 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", - "async-trait", + "array-bytes", "parking_lot 0.12.1", "serde_json", "sp-application-crypto", @@ -10976,12 +11980,12 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", + "async-channel", "async-trait", "asynchronous-codec", - "backtrace", "bytes", "either", "fnv", @@ -10989,45 +11993,45 @@ dependencies = [ "futures-timer", "ip_network", "libp2p", + "linked_hash_set", "log", - "lru 0.8.1", + "mockall", "parity-scale-codec", "parking_lot 0.12.1", + "partial_sort", "pin-project", "rand 0.8.5", - "sc-block-builder", "sc-client-api", - "sc-consensus", "sc-network-common", - "sc-peerset", "sc-utils", "serde", "serde_json", "smallvec", "sp-arithmetic", "sp-blockchain", - "sp-consensus", "sp-core", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", + "wasm-timer", "zeroize", ] [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "async-channel", "cid", "futures", - "libp2p", + "libp2p-identity", "log", "prost", "prost-build", "sc-client-api", - "sc-network-common", + "sc-network", "sp-blockchain", "sp-runtime", "thiserror", @@ -11037,42 +12041,33 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", - "bitflags", - "bytes", + "bitflags 1.3.2", "futures", - "futures-timer", - "libp2p", - "linked_hash_set", + "libp2p-identity", "parity-scale-codec", "prost-build", "sc-consensus", - "sc-peerset", - "serde", - "smallvec", - "sp-blockchain", "sp-consensus", - "sp-finality-grandpa", + "sp-consensus-grandpa", "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "ahash 0.8.3", "futures", "futures-timer", "libp2p", "log", - "lru 0.8.1", + "sc-network", "sc-network-common", - "sc-peerset", + "schnellru", "sp-runtime", "substrate-prometheus-endpoint", "tracing", @@ -11081,18 +12076,18 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", + "async-channel", "futures", - "libp2p", + "libp2p-identity", "log", "parity-scale-codec", "prost", "prost-build", "sc-client-api", - "sc-network-common", - "sc-peerset", + "sc-network", "sp-blockchain", "sp-core", "sp-runtime", @@ -11102,30 +12097,32 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", + "async-channel", "async-trait", "fork-tree", "futures", + "futures-timer", "libp2p", "log", - "lru 0.8.1", "mockall", "parity-scale-codec", "prost", "prost-build", "sc-client-api", "sc-consensus", + "sc-network", "sc-network-common", - "sc-peerset", "sc-utils", + "schnellru", "smallvec", "sp-arithmetic", "sp-blockchain", "sp-consensus", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -11134,16 +12131,15 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", "futures", "libp2p", "log", "parity-scale-codec", - "pin-project", + "sc-network", "sc-network-common", - "sc-peerset", "sc-utils", "sp-consensus", "sp-runtime", @@ -11153,9 +12149,9 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", "bytes", "fnv", "futures", @@ -11163,40 +12159,31 @@ dependencies = [ "hyper", "hyper-rustls", "libp2p", + "log", "num_cpus", "once_cell", "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", "sc-client-api", + "sc-network", "sc-network-common", - "sc-peerset", + "sc-transaction-pool-api", "sc-utils", "sp-api", "sp-core", + "sp-externalities", + "sp-keystore", "sp-offchain", "sp-runtime", "threadpool", "tracing", ] -[[package]] -name = "sc-peerset" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "futures", - "libp2p", - "log", - "sc-utils", - "serde_json", - "wasm-timer", -] - [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11205,10 +12192,10 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -11228,6 +12215,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-session", + "sp-statement-store", "sp-version", "tokio", ] @@ -11235,9 +12223,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "parity-scale-codec", "sc-chain-spec", "sc-transaction-pool-api", @@ -11254,10 +12242,10 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "http", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "serde_json", "substrate-prometheus-endpoint", @@ -11269,19 +12257,20 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", "futures", "futures-util", "hex", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "parity-scale-codec", "parking_lot 0.12.1", "sc-chain-spec", "sc-client-api", "sc-transaction-pool-api", + "sc-utils", "serde", "sp-api", "sp-blockchain", @@ -11289,20 +12278,21 @@ dependencies = [ "sp-runtime", "sp-version", "thiserror", + "tokio", "tokio-stream", ] [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -11322,11 +12312,9 @@ dependencies = [ "sc-network-light", "sc-network-sync", "sc-network-transactions", - "sc-offchain", "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", - "sc-storage-monitor", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -11349,7 +12337,7 @@ dependencies = [ "sp-transaction-storage-proof", "sp-trie", "sp-version", - "static_init 1.0.3", + "static_init", "substrate-prometheus-endpoint", "tempfile", "thiserror", @@ -11361,7 +12349,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "log", "parity-scale-codec", @@ -11372,14 +12360,12 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "clap 4.3.9", - "futures", + "clap 4.4.6", + "fs4", "log", - "nix 0.26.2", "sc-client-db", - "sc-utils", "sp-core", "thiserror", "tokio", @@ -11388,15 +12374,15 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "parity-scale-codec", "sc-chain-spec", "sc-client-api", "sc-consensus-babe", "sc-consensus-epochs", - "sc-finality-grandpa", + "sc-consensus-grandpa", "serde", "serde_json", "sp-blockchain", @@ -11407,7 +12393,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "libc", @@ -11426,7 +12412,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "chrono", "futures", @@ -11445,7 +12431,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "ansi_term", "atty", @@ -11453,12 +12439,10 @@ dependencies = [ "lazy_static", "libc", "log", - "once_cell", "parking_lot 0.12.1", "regex", "rustc-hash", "sc-client-api", - "sc-rpc-server", "sc-tracing-proc-macro", "serde", "sp-api", @@ -11476,25 +12460,24 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", "futures-timer", "linked-hash-map", "log", - "num-traits", "parity-scale-codec", "parking_lot 0.12.1", "sc-client-api", @@ -11514,13 +12497,15 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", "log", + "parity-scale-codec", "serde", "sp-blockchain", + "sp-core", "sp-runtime", "thiserror", ] @@ -11528,22 +12513,23 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "backtrace", + "async-channel", "futures", "futures-timer", "lazy_static", "log", "parking_lot 0.12.1", "prometheus", + "sp-arithmetic", ] [[package]] name = "scale-info" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad560913365790f17cbf12479491169f01b9d46d29cfc7422bf8c64bdc61b731" +checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" dependencies = [ "bitvec", "cfg-if", @@ -11555,9 +12541,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19df9bd9ace6cc2fe19387c96ce677e823e07d017ceed253e7bb3d1d1bd9c73b" +checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11567,11 +12553,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.21" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] @@ -11595,7 +12581,7 @@ dependencies = [ "arrayvec 0.5.2", "curve25519-dalek 2.1.3", "getrandom 0.1.16", - "merlin", + "merlin 2.0.1", "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", @@ -11603,11 +12589,27 @@ dependencies = [ "zeroize", ] +[[package]] +name = "schnorrkel" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek-ng", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.9.9", + "subtle-ng", + "zeroize", +] + [[package]] name = "scopeguard" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" @@ -11627,9 +12629,9 @@ dependencies = [ [[package]] name = "scratch" -version = "1.0.5" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" +checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" [[package]] name = "sct" @@ -11637,8 +12639,8 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] @@ -11647,8 +12649,8 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] @@ -11669,10 +12671,24 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ - "base16ct", - "der", + "base16ct 0.1.1", + "der 0.6.1", + "generic-array 0.14.7", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.8", "generic-array 0.14.7", - "pkcs8", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -11706,11 +12722,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.1" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -11719,9 +12735,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.0" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" dependencies = [ "core-foundation-sys", "libc", @@ -11748,9 +12764,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.17" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" dependencies = [ "serde", ] @@ -11763,35 +12779,44 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.164" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d" +checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.164" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68" +checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] name = "serde_json" -version = "1.0.99" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "itoa", "ryu", "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" +dependencies = [ + "serde", +] + [[package]] name = "sha-1" version = "0.9.8" @@ -11807,9 +12832,9 @@ dependencies = [ [[package]] name = "sha1" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", "cpufeatures", @@ -11843,9 +12868,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", @@ -11864,18 +12889,18 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ "lazy_static", ] [[package]] name = "shlex" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" [[package]] name = "signal-hook-registry" @@ -11896,29 +12921,40 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "signature" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + [[package]] name = "simba" -version = "0.5.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ "approx", "num-complex", "num-traits", "paste", + "wide", ] [[package]] name = "siphasher" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "slab" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ "autocfg", ] @@ -11931,8 +12967,8 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "enumn", "parity-scale-codec", @@ -11952,9 +12988,116 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.10.0" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" + +[[package]] +name = "smol" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13f2b548cd8447f8de0fdf1c592929f70f4fc7039a05e47404b0d096ec6987a1" +dependencies = [ + "async-channel", + "async-executor", + "async-fs", + "async-io", + "async-lock", + "async-net", + "async-process", + "blocking", + "futures-lite", +] + +[[package]] +name = "smoldot" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" +dependencies = [ + "arrayvec 0.7.4", + "async-lock", + "atomic-take", + "base64 0.21.4", + "bip39", + "blake2-rfc", + "bs58 0.5.0", + "chacha20 0.9.1", + "crossbeam-queue", + "derive_more", + "ed25519-zebra 4.0.3", + "either", + "event-listener 2.5.3", + "fnv", + "futures-lite", + "futures-util", + "hashbrown 0.14.1", + "hex", + "hmac 0.12.1", + "itertools 0.11.0", + "libsecp256k1", + "merlin 3.0.0", + "no-std-net", + "nom", + "num-bigint", + "num-rational", + "num-traits", + "pbkdf2 0.12.2", + "pin-project", + "poly1305 0.8.0", + "rand 0.8.5", + "rand_chacha 0.3.1", + "ruzstd", + "schnorrkel 0.10.2", + "serde", + "serde_json", + "sha2 0.10.8", + "sha3", + "siphasher", + "slab", + "smallvec", + "soketto", + "twox-hash", + "wasmi", + "x25519-dalek 2.0.0", + "zeroize", +] + +[[package]] +name = "smoldot-light" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" +dependencies = [ + "async-channel", + "async-lock", + "base64 0.21.4", + "blake2-rfc", + "derive_more", + "either", + "event-listener 2.5.3", + "fnv", + "futures-channel", + "futures-lite", + "futures-util", + "hashbrown 0.14.1", + "hex", + "itertools 0.11.0", + "log", + "lru 0.11.1", + "no-std-net", + "parking_lot 0.12.1", + "pin-project", + "rand 0.8.5", + "rand_chacha 0.3.1", + "serde", + "serde_json", + "siphasher", + "slab", + "smol", + "smoldot", + "zeroize", +] [[package]] name = "snap" @@ -11964,18 +13107,18 @@ checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" [[package]] name = "snow" -version = "0.9.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ccba027ba85743e09d15c03296797cad56395089b832b48b5a5217880f57733" +checksum = "0c9d1425eb528a21de2755c75af4c9b5d57f50a0d4c3b7f1828a4cd03f8ba155" dependencies = [ "aes-gcm 0.9.4", "blake2", "chacha20poly1305", - "curve25519-dalek 4.0.0-rc.1", + "curve25519-dalek 4.1.1", "rand_core 0.6.4", - "ring", + "ring 0.16.20", "rustc_version", - "sha2 0.10.7", + "sha2 0.10.8", "subtle", ] @@ -11991,9 +13134,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" dependencies = [ "libc", "windows-sys 0.48.0", @@ -12019,13 +13162,16 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "hash-db", "log", "parity-scale-codec", + "scale-info", "sp-api-proc-macro", "sp-core", + "sp-externalities", + "sp-metadata-ir", "sp-runtime", "sp-state-machine", "sp-std", @@ -12037,19 +13183,21 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "Inflector", "blake2", + "expander 2.0.0", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "scale-info", @@ -12061,8 +13209,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "integer-sqrt", "num-traits", @@ -12076,7 +13224,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "scale-info", @@ -12086,29 +13234,11 @@ dependencies = [ "sp-std", ] -[[package]] -name = "sp-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", -] - [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "parity-scale-codec", "sp-api", "sp-inherents", "sp-runtime", @@ -12118,13 +13248,13 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "futures", "log", - "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", + "schnellru", "sp-api", "sp-consensus", "sp-database", @@ -12136,32 +13266,28 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "futures", "log", - "parity-scale-codec", "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-std", - "sp-version", "thiserror", ] [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", - "sp-consensus", "sp-consensus-slots", "sp-inherents", "sp-runtime", @@ -12172,62 +13298,85 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", - "merlin", "parity-scale-codec", "scale-info", "serde", "sp-api", "sp-application-crypto", - "sp-consensus", "sp-consensus-slots", - "sp-consensus-vrf", "sp-core", "sp-inherents", - "sp-keystore", "sp-runtime", "sp-std", "sp-timestamp", ] [[package]] -name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "lazy_static", "parity-scale-codec", "scale-info", "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", "sp-std", - "sp-timestamp", + "strum", ] [[package]] -name = "sp-consensus-vrf" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-consensus-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "finality-grandpa", + "log", "parity-scale-codec", "scale-info", - "schnorrkel", + "serde", + "sp-api", + "sp-application-crypto", "sp-core", + "sp-keystore", "sp-runtime", "sp-std", ] +[[package]] +name = "sp-consensus-slots" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-std", + "sp-timestamp", +] + [[package]] name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags", + "array-bytes", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", "blake2", + "bounded-collections", + "bs58 0.5.0", "dyn-clonable", - "ed25519-zebra", + "ed25519-zebra 3.1.0", "futures", "hash-db", "hash256-std-hasher", @@ -12235,14 +13384,15 @@ dependencies = [ "lazy_static", "libsecp256k1", "log", - "merlin", + "merlin 2.0.1", "parity-scale-codec", "parking_lot 0.12.1", + "paste", "primitive-types", "rand 0.8.5", "regex", "scale-info", - "schnorrkel", + "schnorrkel 0.9.1", "secp256k1", "secrecy", "serde", @@ -12256,38 +13406,37 @@ dependencies = [ "substrate-bip39", "thiserror", "tiny-bip39", + "tracing", "zeroize", ] [[package]] name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "blake2", + "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.7", + "sha2 0.10.8", "sha3", - "sp-std", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "proc-macro2", "quote", "sp-core-hashing", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -12295,18 +13444,18 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "environmental", "parity-scale-codec", @@ -12315,19 +13464,12 @@ dependencies = [ ] [[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-genesis-builder" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", + "serde_json", "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", "sp-runtime", "sp-std", ] @@ -12335,12 +13477,12 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core", + "scale-info", "sp-runtime", "sp-std", "thiserror", @@ -12348,16 +13490,15 @@ dependencies = [ [[package]] name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bytes", - "ed25519", "ed25519-dalek", - "futures", "libsecp256k1", "log", "parity-scale-codec", + "rustversion", "secp256k1", "sp-core", "sp-externalities", @@ -12373,8 +13514,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "lazy_static", "sp-core", @@ -12384,16 +13525,11 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "0.27.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "async-trait", - "futures", - "merlin", "parity-scale-codec", "parking_lot 0.12.1", - "schnorrkel", - "serde", "sp-core", "sp-externalities", "thiserror", @@ -12402,16 +13538,27 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "thiserror", - "zstd", + "zstd 0.12.4", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std", ] [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -12429,7 +13576,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "scale-info", @@ -12443,7 +13590,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "sp-api", "sp-core", @@ -12452,8 +13599,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "backtrace", "lazy_static", @@ -12463,7 +13610,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "rustc-hash", "serde", @@ -12472,8 +13619,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "either", "hash256-std-hasher", @@ -12494,8 +13641,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12512,25 +13659,26 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-core", + "sp-keystore", "sp-runtime", "sp-staking", "sp-std", @@ -12539,10 +13687,12 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "impl-trait-for-tuples", "parity-scale-codec", "scale-info", + "serde", "sp-core", "sp-runtime", "sp-std", @@ -12550,8 +13700,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "0.28.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "hash-db", "log", @@ -12566,17 +13716,42 @@ dependencies = [ "sp-trie", "thiserror", "tracing", + "trie-db", +] + +[[package]] +name = "sp-statement-store" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "aes-gcm 0.10.3", + "curve25519-dalek 4.1.1", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "sha2 0.10.8", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "thiserror", + "x25519-dalek 2.0.0", ] [[package]] name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" [[package]] name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12589,11 +13764,9 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", - "futures-timer", - "log", "parity-scale-codec", "sp-inherents", "sp-runtime", @@ -12603,8 +13776,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "parity-scale-codec", "sp-std", @@ -12616,7 +13789,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "sp-api", "sp-runtime", @@ -12625,10 +13798,9 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", - "log", "parity-scale-codec", "scale-info", "sp-core", @@ -12640,12 +13812,12 @@ dependencies = [ [[package]] name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "ahash 0.8.3", "hash-db", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -12655,151 +13827,318 @@ dependencies = [ "schnellru", "sp-core", "sp-std", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "thiserror", + "tracing", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-version" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", + "thiserror", +] + +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std", + "wasmtime", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic", + "sp-core", + "sp-debug-derive", + "sp-std", +] + +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spinners" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08615eea740067d9899969bc2891c68a19c315cb1f66640af9a9ecb91b13bcab" +dependencies = [ + "lazy_static", + "maplit", + "strum", +] + +[[package]] +name = "spki" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" +dependencies = [ + "base64ct", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" +dependencies = [ + "base64ct", + "der 0.7.8", +] + +[[package]] +name = "ss58-registry" +version = "1.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6915280e2d0db8911e5032a5c275571af6bdded2916abd691a659be25d3439" +dependencies = [ + "Inflector", + "num-format", + "proc-macro2", + "quote", + "serde", + "serde_json", + "unicode-xid", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "staging-kusama-runtime" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +dependencies = [ + "binary-merkle-tree", + "bitvec", + "frame-benchmarking", + "frame-election-provider-support", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "hex-literal 0.4.1", + "kusama-runtime-constants", + "log", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-bags-list", + "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", + "pallet-bounties", + "pallet-child-bounties", + "pallet-collective", + "pallet-conviction-voting", + "pallet-democracy 4.0.0-dev", + "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", + "pallet-elections-phragmen", + "pallet-fast-unstake", + "pallet-grandpa", + "pallet-identity", + "pallet-im-online", + "pallet-indices", + "pallet-membership", + "pallet-message-queue", + "pallet-mmr", + "pallet-multisig", + "pallet-nis", + "pallet-nomination-pools", + "pallet-nomination-pools-benchmarking", + "pallet-nomination-pools-runtime-api", + "pallet-offences", + "pallet-offences-benchmarking", + "pallet-preimage", + "pallet-proxy", + "pallet-ranked-collective", + "pallet-recovery", + "pallet-referenda", + "pallet-scheduler", + "pallet-session", + "pallet-session-benchmarking", + "pallet-society", + "pallet-staking 4.0.0-dev", + "pallet-staking-runtime-api", + "pallet-state-trie-migration", + "pallet-timestamp", + "pallet-tips", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-treasury", + "pallet-utility", + "pallet-vesting", + "pallet-whitelist", + "pallet-xcm", + "pallet-xcm-benchmarks", + "parity-scale-codec", + "polkadot-primitives", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "smallvec", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-core", + "sp-inherents", + "sp-io", + "sp-mmr-primitives", + "sp-npos-elections", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-storage", + "sp-transaction-pool", + "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "static_assertions", + "substrate-wasm-builder", ] [[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "staging-xcm" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "impl-serde", + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", "parity-scale-codec", - "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", - "thiserror", -] - -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", + "sp-weights", + "xcm-procedural", ] [[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "staging-xcm-builder" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", + "pallet-transaction-payment", "parity-scale-codec", + "polkadot-parachain-primitives", + "scale-info", + "sp-arithmetic", + "sp-io", + "sp-runtime", "sp-std", - "wasmi", - "wasmtime", + "sp-weights", + "staging-xcm", + "staging-xcm-executor", ] [[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "staging-xcm-executor" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "environmental", + "frame-benchmarking", + "frame-support", + "impl-trait-for-tuples", + "log", "parity-scale-codec", - "scale-info", - "serde", - "smallvec", "sp-arithmetic", "sp-core", - "sp-debug-derive", + "sp-io", + "sp-runtime", "sp-std", + "sp-weights", + "staging-xcm", ] -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "spki" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "ss58-registry" -version = "1.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb47a8ad42e5fc72d5b1eb104a5546937eaf39843499948bb666d6e93c62423b" -dependencies = [ - "Inflector", - "num-format", - "proc-macro2", - "quote", - "serde", - "serde_json", - "unicode-xid", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - [[package]] name = "static_assertions" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "static_init" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11b73400442027c4adedda20a9f9b7945234a5bd8d5f7e86da22bd5d0622369c" -dependencies = [ - "cfg_aliases", - "libc", - "parking_lot 0.11.2", - "static_init_macro 0.5.0", -] - [[package]] name = "static_init" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg_aliases", "libc", "parking_lot 0.11.2", "parking_lot_core 0.8.6", - "static_init_macro 1.0.2", + "static_init_macro", "winapi", ] -[[package]] -name = "static_init_macro" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2261c91034a1edc3fc4d1b80e89d82714faede0515c14a75da10cb941546bbf" -dependencies = [ - "cfg_aliases", - "memchr", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "static_init_macro" version = "1.0.2" @@ -12813,19 +14152,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra", - "num-traits", - "rand 0.8.5", -] - [[package]] name = "strsim" version = "0.10.0" @@ -12865,7 +14191,7 @@ dependencies = [ "lazy_static", "md-5", "rand 0.8.5", - "ring", + "ring 0.16.20", "subtle", "thiserror", "tokio", @@ -12881,7 +14207,7 @@ checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel", + "schnorrkel 0.9.1", "sha2 0.9.9", "zeroize", ] @@ -12889,19 +14215,16 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "platforms 2.0.0", -] +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "parity-scale-codec", "sc-rpc-api", @@ -12916,7 +14239,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "hyper", "log", @@ -12928,10 +14251,10 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "async-trait", - "jsonrpsee 0.16.2", + "jsonrpsee 0.16.3", "log", "sc-rpc-api", "serde", @@ -12941,14 +14264,12 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "jsonrpsee 0.16.2", - "log", + "jsonrpsee 0.16.3", "parity-scale-codec", "sc-client-api", "sc-rpc-api", - "scale-info", "serde", "sp-core", "sp-runtime", @@ -12960,16 +14281,17 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "ansi_term", "build-helper", "cargo_metadata", "filetime", + "parity-wasm", "sp-maybe-compressed-blob", "strum", "tempfile", - "toml", + "toml 0.7.8", "walkdir", "wasm-opt", ] @@ -12989,6 +14311,12 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +[[package]] +name = "subtle-ng" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" + [[package]] name = "syn" version = "1.0.109" @@ -13002,9 +14330,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.22" +version = "2.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2efbeae7acf4eabd6bcdcbd11c92f45231ddda7539edc7806bd1a04a03b24616" +checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" dependencies = [ "proc-macro2", "quote", @@ -13029,7 +14357,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "system-configuration-sys", ] @@ -13052,29 +14380,28 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.8" +version = "0.12.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1c7f239eb94671427157bd93b3694320f3668d4e1eff08c7285366fd777fac" +checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] name = "tempfile" -version = "3.6.0" +version = "3.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" +checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ - "autocfg", "cfg-if", - "fastrand", + "fastrand 2.0.1", "redox_syscall 0.3.5", - "rustix 0.37.20", + "rustix 0.38.19", "windows-sys 0.48.0", ] [[package]] name = "termcolor" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" +checksum = "6093bad37da69aab9d123a8091e4be0aa4a03e4d601ec641c327398315f62b64" dependencies = [ "winapi-util", ] @@ -13096,24 +14423,24 @@ dependencies = [ [[package]] name = "test-case" -version = "3.1.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a1d6e7bde536b0412f20765b76e921028059adfd1b90d8974d33fd3c91b25df" +checksum = "c8f1e820b7f1d95a0cdbf97a5df9de10e1be731983ab943e56703ac1b8e9d425" dependencies = [ - "test-case-macros 3.1.0", + "test-case-macros 3.2.1", ] [[package]] name = "test-case-core" -version = "3.1.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d10394d5d1e27794f772b6fc854c7e91a2dc26e2cbf807ad523370c2a59c0cee" +checksum = "54c25e2cb8f5fcd7318157634e8838aa6f7e4715c96637f969fabaccd1ef5462" dependencies = [ "cfg-if", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] @@ -13131,14 +14458,14 @@ dependencies = [ [[package]] name = "test-case-macros" -version = "3.1.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeb9a44b1c6a54c1ba58b152797739dba2a83ca74e18168a68c980eb142f9404" +checksum = "37cfd7bbc88a0104e304229fba519bdc45501a30b760fb72240342f1289ad257" dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", "test-case-core", ] @@ -13158,22 +14485,42 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.40" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" dependencies = [ "thiserror-impl", ] +[[package]] +name = "thiserror-core" +version = "1.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d97345f6437bb2004cd58819d8a9ef8e36cdd7661c2abc4bbde0a7c40d9f497" +dependencies = [ + "thiserror-core-impl", +] + +[[package]] +name = "thiserror-core-impl" +version = "1.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10ac1c5050e43014d16b2f94d0d2ce79e65ffdd8b38d8048f9c8f6a8a6da62ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -13216,9 +14563,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-ctl" -version = "0.5.0" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e37706572f4b151dff7a0146e040804e9c26fe3a3118591112f05cf12a4216c1" +checksum = "619bfed27d807b54f7f776b9430d4f8060e66ee138a28632ca898584d462c31c" dependencies = [ "libc", "paste", @@ -13227,9 +14574,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-sys" -version = "0.5.3+5.3.0-patched" +version = "0.5.4+5.3.0-patched" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a678df20055b43e57ef8cddde41cdfda9a3c1a060b67f4c5836dfb1d78543ba8" +checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" dependencies = [ "cc", "libc", @@ -13237,21 +14584,11 @@ dependencies = [ [[package]] name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.22" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea9e1b3cf1243ae005d9e74085d4d542f3125458f3a81af210d901dcd7411efd" +checksum = "426f806f4089c493dcac0d24c29c01e2c38baf8e30f1b716ee37e83d200b18fe" dependencies = [ + "deranged", "itoa", "serde", "time-core", @@ -13260,15 +14597,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.9" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b" +checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" dependencies = [ "time-core", ] @@ -13285,13 +14622,22 @@ dependencies = [ "pbkdf2 0.11.0", "rand 0.8.5", "rustc-hash", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", "unicode-normalization", "wasm-bindgen", "zeroize", ] +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + [[package]] name = "tinytemplate" version = "1.2.1" @@ -13319,20 +14665,19 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.29.0" +version = "1.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374442f06ee49c3a28a8fc9f01a2596fed7559c6b99b31279c3261778e77d84f" +checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" dependencies = [ - "autocfg", "backtrace", "bytes", "libc", "mio", "num_cpus", "parking_lot 0.12.1", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "signal-hook-registry", - "socket2 0.4.9", + "socket2 0.5.4", "tokio-macros", "windows-sys 0.48.0", ] @@ -13345,18 +14690,28 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", +] + +[[package]] +name = "tokio-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +dependencies = [ + "pin-project", + "rand 0.8.5", + "tokio", ] [[package]] name = "tokio-rustls" -version = "0.23.4" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.20.8", + "rustls 0.21.7", "tokio", - "webpki 0.22.0", ] [[package]] @@ -13366,22 +14721,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "tokio", "tokio-util", ] [[package]] name = "tokio-util" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" +checksum = "1d68074620f57a0b21594d9735eb2e98ab38b17f80d3fcb189fca266771ca60d" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "tokio", "tracing", ] @@ -13395,19 +14750,36 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + [[package]] name = "toml_datetime" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +dependencies = [ + "serde", +] [[package]] name = "toml_edit" -version = "0.19.11" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266f016b7f039eec8a1a80dfe6156b633d208b9fccca5e4db1d6775b0c4e34a7" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.0.0", + "indexmap 2.0.2", + "serde", + "serde_spanned", "toml_datetime", "winnow", ] @@ -13425,18 +14797,18 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.3.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" +checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags", + "bitflags 2.4.0", "bytes", "futures-core", "futures-util", "http", "http-body", "http-range-header", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "tower-layer", "tower-service", ] @@ -13461,7 +14833,7 @@ checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if", "log", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.13", "tracing-attributes", "tracing-core", ] @@ -13474,7 +14846,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -13499,48 +14871,26 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "polkadot-node-jaeger 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", - "polkadot-primitives", - "tracing", - "tracing-gum-proc-macro 0.9.38 (git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38)", -] - -[[package]] -name = "tracing-gum" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "polkadot-node-jaeger 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", + "coarsetime", + "polkadot-node-jaeger", "polkadot-primitives", "tracing", - "tracing-gum-proc-macro 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", -] - -[[package]] -name = "tracing-gum-proc-macro" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "expander 0.0.6", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", + "tracing-gum-proc-macro", ] [[package]] name = "tracing-gum-proc-macro" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "expander 0.0.6", + "expander 2.0.0", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] @@ -13589,12 +14939,12 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.24.0" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ "hash-db", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -13602,9 +14952,9 @@ dependencies = [ [[package]] name = "trie-root" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ "hash-db", ] @@ -13664,9 +15014,10 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "clap 4.3.9", + "async-trait", + "clap 4.4.6", "frame-remote-externalities", "frame-try-runtime", "hex", @@ -13674,22 +15025,26 @@ dependencies = [ "parity-scale-codec", "sc-cli", "sc-executor", - "sc-service", "serde", "serde_json", "sp-api", + "sp-consensus-aura", + "sp-consensus-babe", "sp-core", "sp-debug-derive", "sp-externalities", + "sp-inherents", "sp-io", "sp-keystore", "sp-rpc", "sp-runtime", "sp-state-machine", + "sp-timestamp", + "sp-transaction-storage-proof", "sp-version", "sp-weights", "substrate-rpc-client", - "zstd", + "zstd 0.12.4", ] [[package]] @@ -13710,7 +15065,7 @@ dependencies = [ "log", "md-5", "rand 0.8.5", - "ring", + "ring 0.16.20", "stun", "thiserror", "tokio", @@ -13731,15 +15086,15 @@ dependencies = [ [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] name = "uint" @@ -13761,9 +15116,9 @@ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" [[package]] name = "unicase" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" +checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" dependencies = [ "version_check", ] @@ -13776,9 +15131,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.9" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" @@ -13791,9 +15146,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" @@ -13823,9 +15178,9 @@ dependencies = [ [[package]] name = "unsigned-varint" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" +checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ "asynchronous-codec", "bytes", @@ -13835,15 +15190,21 @@ dependencies = [ [[package]] name = "untrusted" -version = "0.7.1" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[package]] +name = "untrusted" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" +checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" dependencies = [ "form_urlencoded", "idna 0.4.0", @@ -13858,9 +15219,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d023da39d1fde5a8a3fe1f3e01ca9632ada0a63e9797de55a879d6e2236277be" +checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ "getrandom 0.2.10", ] @@ -13909,15 +15270,15 @@ dependencies = [ [[package]] name = "waker-fn" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "walkdir" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" dependencies = [ "same-file", "winapi-util", @@ -13938,12 +15299,6 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -13971,7 +15326,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", "wasm-bindgen-shared", ] @@ -14005,7 +15360,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -14027,9 +15382,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.111.0" +version = "0.114.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a303793cbc01fb96551badfc7367db6007396bba6bac97936b3c8b6f7fdb41" +checksum = "4d005a95f934878a1fb446a816d51c3601a0120ff929005ba3bab3c749cfd1c7" dependencies = [ "anyhow", "libc", @@ -14043,9 +15398,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.111.0" +version = "0.114.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c9deb56f8a9f2ec177b3bd642a8205621835944ed5da55f2388ef216aca5a4" +checksum = "6d04e240598162810fad3b2e96fa0dec6dba1eb65a03f3bd99a9248ab8b56caa" dependencies = [ "anyhow", "cxx", @@ -14055,15 +15410,14 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.111.0" +version = "0.114.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4432e28b542738a9776cedf92e8a99d8991c7b4667ee2c7ccddfb479dd2856a7" +checksum = "2efd2aaca519d64098c4faefc8b7433a97ed511caf4c9e516384eb6aef1ff4f9" dependencies = [ "anyhow", "cc", "cxx", "cxx-build", - "regex", ] [[package]] @@ -14083,51 +15437,59 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.13.2" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c326c93fbf86419608361a2c925a31754cf109da1b8b55737070b4d6669422" +checksum = "1f341edb80021141d4ae6468cbeefc50798716a347d4085c3811900049ea8945" dependencies = [ - "parity-wasm", - "wasmi-validation", + "smallvec", + "spin 0.9.8", + "wasmi_arena", "wasmi_core", + "wasmparser-nostd", ] [[package]] -name = "wasmi-validation" -version = "0.5.0" +name = "wasmi_arena" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ff416ad1ff0c42e5a926ed5d5fab74c0f098749aa0ad8b2a34b982ce0e867b" -dependencies = [ - "parity-wasm", -] +checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" [[package]] name = "wasmi_core" -version = "0.2.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" +checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" dependencies = [ "downcast-rs", - "libm 0.2.7", - "memory_units", - "num-rational", + "libm", "num-traits", + "paste", ] [[package]] name = "wasmparser" -version = "0.89.1" +version = "0.102.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" +checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" dependencies = [ "indexmap 1.9.3", + "url", +] + +[[package]] +name = "wasmparser-nostd" +version = "0.100.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" +dependencies = [ + "indexmap-nostd", ] [[package]] name = "wasmtime" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" dependencies = [ "anyhow", "bincode", @@ -14135,7 +15497,7 @@ dependencies = [ "indexmap 1.9.3", "libc", "log", - "object 0.29.0", + "object 0.30.4", "once_cell", "paste", "psm", @@ -14148,43 +15510,43 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-asm-macros" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" +checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cache" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882" +checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.13.1", + "base64 0.21.4", "bincode", "directories-next", "file-per-thread-logger", "log", - "rustix 0.35.13", + "rustix 0.36.16", "serde", - "sha2 0.9.9", - "toml", - "windows-sys 0.36.1", - "zstd", + "sha2 0.10.8", + "toml 0.5.11", + "windows-sys 0.45.0", + "zstd 0.11.2+zstd.1.5.2", ] [[package]] name = "wasmtime-cranelift" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6" +checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" dependencies = [ "anyhow", "cranelift-codegen", @@ -14192,27 +15554,43 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.26.2", + "gimli 0.27.3", "log", - "object 0.29.0", + "object 0.30.4", "target-lexicon", "thiserror", "wasmparser", + "wasmtime-cranelift-shared", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-native", + "gimli 0.27.3", + "object 0.30.4", + "target-lexicon", "wasmtime-environ", ] [[package]] name = "wasmtime-environ" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" +checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" dependencies = [ "anyhow", "cranelift-entity", - "gimli 0.26.2", + "gimli 0.27.3", "indexmap 1.9.3", "log", - "object 0.29.0", + "object 0.30.4", "serde", "target-lexicon", "thiserror", @@ -14222,45 +15600,55 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681" +checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" dependencies = [ - "addr2line 0.17.0", + "addr2line 0.19.0", "anyhow", "bincode", "cfg-if", "cpp_demangle", - "gimli 0.26.2", + "gimli 0.27.3", "log", - "object 0.29.0", + "object 0.30.4", "rustc-demangle", - "rustix 0.35.13", "serde", "target-lexicon", - "thiserror", "wasmtime-environ", "wasmtime-jit-debug", + "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-jit-debug" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ - "object 0.29.0", + "object 0.30.4", "once_cell", - "rustix 0.35.13", + "rustix 0.36.16", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-runtime" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" dependencies = [ "anyhow", "cc", @@ -14270,22 +15658,21 @@ dependencies = [ "log", "mach", "memfd", - "memoffset 0.6.5", + "memoffset 0.8.0", "paste", "rand 0.8.5", - "rustix 0.35.13", - "thiserror", + "rustix 0.36.16", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys 0.36.1", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-types" -version = "1.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ "cranelift-entity", "serde", @@ -14309,18 +15696,18 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] name = "webpki" -version = "0.22.0" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" +checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring", - "untrusted", + "ring 0.17.3", + "untrusted 0.9.0", ] [[package]] @@ -14329,9 +15716,24 @@ version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ - "webpki 0.22.0", + "webpki 0.22.4", +] + +[[package]] +name = "webpki-roots" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" +dependencies = [ + "rustls-webpki 0.100.3", ] +[[package]] +name = "webpki-roots" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" + [[package]] name = "webrtc" version = "0.6.0" @@ -14348,17 +15750,17 @@ dependencies = [ "rand 0.8.5", "rcgen 0.9.3", "regex", - "ring", + "ring 0.16.20", "rtcp", "rtp", "rustls 0.19.1", "sdp", "serde", "serde_json", - "sha2 0.10.7", + "sha2 0.10.8", "stun", "thiserror", - "time 0.3.22", + "time", "tokio", "turn", "url", @@ -14390,12 +15792,12 @@ dependencies = [ [[package]] name = "webrtc-dtls" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942be5bd85f072c3128396f6e5a9bfb93ca8c1939ded735d177b7bcba9a13d05" +checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" dependencies = [ "aes 0.6.0", - "aes-gcm 0.10.2", + "aes-gcm 0.10.3", "async-trait", "bincode", "block-modes", @@ -14403,29 +15805,28 @@ dependencies = [ "ccm", "curve25519-dalek 3.2.0", "der-parser 8.2.0", - "elliptic-curve", + "elliptic-curve 0.12.3", "hkdf", "hmac 0.12.1", "log", - "oid-registry 0.6.1", "p256", "p384", "rand 0.8.5", "rand_core 0.6.4", - "rcgen 0.9.3", - "ring", + "rcgen 0.10.0", + "ring 0.16.20", "rustls 0.19.1", - "sec1", + "sec1 0.3.0", "serde", "sha1", - "sha2 0.10.7", - "signature", + "sha2 0.10.8", + "signature 1.6.4", "subtle", "thiserror", "tokio", "webpki 0.21.4", "webrtc-util", - "x25519-dalek 2.0.0-pre.1", + "x25519-dalek 2.0.0", "x509-parser 0.13.2", ] @@ -14527,14 +15928,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f1db1727772c05cf7a2cfece52c3aca8045ca1e176cd517d323489aa3c6d87" dependencies = [ "async-trait", - "bitflags", + "bitflags 1.3.2", "bytes", "cc", "ipnet", "lazy_static", "libc", "log", - "nix 0.24.3", + "nix", "rand 0.8.5", "thiserror", "tokio", @@ -14543,9 +15944,10 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ + "binary-merkle-tree", "bitvec", "frame-benchmarking", "frame-election-provider-support", @@ -14555,13 +15957,15 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "log", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", "pallet-bags-list", "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", "pallet-collective", "pallet-democracy 4.0.0-dev", "pallet-election-provider-multi-phase", @@ -14573,6 +15977,8 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-message-queue", + "pallet-mmr", "pallet-multisig", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", @@ -14588,6 +15994,7 @@ dependencies = [ "pallet-society", "pallet-staking 4.0.0-dev", "pallet-staking-reward-curve", + "pallet-staking-runtime-api", "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", @@ -14599,7 +16006,7 @@ dependencies = [ "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -14609,10 +16016,11 @@ dependencies = [ "serde_derive", "smallvec", "sp-api", + "sp-application-crypto", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", @@ -14623,19 +16031,20 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "sp-storage", "sp-transaction-pool", "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] name = "westend-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "frame-support", "polkadot-primitives", @@ -14648,13 +16057,24 @@ dependencies = [ [[package]] name = "which" -version = "4.4.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" dependencies = [ "either", - "libc", + "home", "once_cell", + "rustix 0.38.19", +] + +[[package]] +name = "wide" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebecebefc38ff1860b4bc47550bbfa63af5746061cf0d29fcd7fa63171602598" +dependencies = [ + "bytemuck", + "safe_arch", ] [[package]] @@ -14681,9 +16101,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ "winapi", ] @@ -14696,37 +16116,30 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.34.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f" +checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows_aarch64_msvc 0.34.0", - "windows_i686_gnu 0.34.0", - "windows_i686_msvc 0.34.0", - "windows_x86_64_gnu 0.34.0", - "windows_x86_64_msvc 0.34.0", + "windows-targets 0.48.5", ] [[package]] name = "windows" -version = "0.48.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-targets", + "windows-core", + "windows-targets 0.48.5", ] [[package]] -name = "windows-sys" -version = "0.36.1" +name = "windows-core" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", + "windows-targets 0.48.5", ] [[package]] @@ -14746,51 +16159,63 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.48.0" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" dependencies = [ - "windows-targets", + "windows-targets 0.42.2", ] [[package]] -name = "windows-targets" -version = "0.48.1" +name = "windows-sys" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", + "windows-targets 0.48.5", ] [[package]] -name = "windows_aarch64_gnullvm" +name = "windows-targets" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" +name = "windows-targets" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] [[package]] -name = "windows_aarch64_msvc" -version = "0.34.0" +name = "windows_aarch64_gnullvm" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" +name = "windows_aarch64_gnullvm" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_msvc" @@ -14800,21 +16225,9 @@ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - -[[package]] -name = "windows_i686_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" - -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_i686_gnu" @@ -14824,21 +16237,9 @@ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - -[[package]] -name = "windows_i686_msvc" -version = "0.34.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_msvc" @@ -14848,21 +16249,9 @@ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_x86_64_gnu" @@ -14872,9 +16261,9 @@ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnullvm" @@ -14884,21 +16273,9 @@ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_msvc" @@ -14908,15 +16285,15 @@ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "winnow" -version = "0.4.7" +version = "0.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca0ace3845f0d96209f0375e6d367e3eb87eb65d27d445bdc9f1843a26f39448" +checksum = "037711d82167854aff2018dfd193aa0fef5370f456732f0d5a0c59b0f1b4b907" dependencies = [ "memchr", ] @@ -14953,12 +16330,13 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0-pre.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5da623d8af10a62342bcbbb230e33e58a63255a58012f8653c578e54bab48df" +checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" dependencies = [ - "curve25519-dalek 3.2.0", + "curve25519-dalek 4.1.1", "rand_core 0.6.4", + "serde", "zeroize", ] @@ -14975,10 +16353,10 @@ dependencies = [ "lazy_static", "nom", "oid-registry 0.4.0", - "ring", + "ring 0.16.20", "rusticata-macros", "thiserror", - "time 0.3.22", + "time", ] [[package]] @@ -14996,101 +16374,50 @@ dependencies = [ "oid-registry 0.6.1", "rusticata-macros", "thiserror", - "time 0.3.22", -] - -[[package]] -name = "xcm" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "derivative", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-weights", - "xcm-procedural", -] - -[[package]] -name = "xcm-builder" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-transaction-payment", - "parity-scale-codec", - "polkadot-parachain", - "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", - "xcm", - "xcm-executor", + "time", ] [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/shaunxw/xcm-simulator?rev=754f3b90ecc65af735a6c9a2e1792c5253926ff6#754f3b90ecc65af735a6c9a2e1792c5253926ff6" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ - "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", - "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", - "cumulus-test-relay-sproof-builder 0.1.0 (git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.38)", + "cumulus-test-relay-sproof-builder", "frame-support", "frame-system", - "parachain-info", + "impl-trait-for-tuples", + "lazy_static", + "log", + "pallet-balances", + "pallet-message-queue", + "parachains-common", "parity-scale-codec", "paste", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-parachains", - "quote", - "sp-arithmetic", - "sp-io", - "sp-std", - "xcm", - "xcm-executor", -] - -[[package]] -name = "xcm-executor" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" -dependencies = [ - "environmental", - "frame-benchmarking", - "frame-support", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", "sp-std", - "sp-weights", - "xcm", + "sp-tracing", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "xcm-procedural" -version = "0.9.38" -source = "git+https://github.com/galacticcouncil/polkadot?branch=fix-xcm-executor-atomicity-9-38#a225599ab533bb5f7913429690e5c12ee3cff5ba" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] @@ -15119,7 +16446,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.22", + "time", ] [[package]] @@ -15139,7 +16466,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn 2.0.38", ] [[package]] @@ -15148,7 +16475,16 @@ version = "0.11.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" dependencies = [ - "zstd-safe", + "zstd-safe 5.0.2+zstd.1.5.2", +] + +[[package]] +name = "zstd" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +dependencies = [ + "zstd-safe 6.0.6", ] [[package]] @@ -15161,13 +16497,22 @@ dependencies = [ "zstd-sys", ] +[[package]] +name = "zstd-safe" +version = "6.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +dependencies = [ + "libc", + "zstd-sys", +] + [[package]] name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" +version = "2.0.9+zstd.1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" dependencies = [ "cc", - "libc", "pkg-config", ] diff --git a/Cargo.toml b/Cargo.toml index f4554dcd7..bbe3e9556 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ 'pallets/dca', 'primitives', 'utils/build-script-utils', - 'integration-tests', + 'integration-tests', 'pallets/circuit-breaker', 'pallets/xcm-rate-limiter', 'pallets/omnipool-liquidity-mining', @@ -38,6 +38,7 @@ members = [ ] [workspace.dependencies] +log = "0.4.20" hydra-dx-math = { path = "math", default-features = false } hydradx = { path = "node", default-features = false } hydradx-traits = { path = "traits", default-features = false } @@ -86,188 +87,192 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" primitive-types = { version = "0.12.0", default-features = false } # Frame -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # Substrate Pallets -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-uniques = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -substrate-rpc-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +try-runtime-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # ORML dependencies -orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-utilities = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-vesting = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +# TODO replace with orml repo +orml-benchmarking = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-currencies = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-tokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-traits = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-utilities = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-vesting = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-xcm = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-unknown-tokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-xcm = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-xcm-support = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-xtokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-client-collator = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.38", default-features = false } +cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false, features = [ +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false, features = [ "wasm-api", ]} -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-xcm = { package = "xcm", git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +polkadot-xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -[patch."https://github.com/paritytech/polkadot"] -kusama-runtime = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-client = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-parachain = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -xcm = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -xcm-builder = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } -xcm-executor = { git = "https://github.com/galacticcouncil/polkadot", branch = "fix-xcm-executor-atomicity-9-38" } +# [patch."https://github.com/paritytech/polkadot"] // TODO +kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# xcm-builder = { packege = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# xcm-executor = { packege = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -[patch."https://github.com/paritytech/cumulus"] -cumulus-client-cli = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } -parachain-info = { git = "https://github.com/galacticcouncil/cumulus.git", branch = "feat/xcmp-defer-xcm-v9-38" } +# [patch."https://github.com/paritytech/cumulus"] // TODO +# cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +# parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 427cb6e53..0c6bd365b 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -120,7 +120,7 @@ polkadot-runtime = { workspace = true } hex-literal = "0.4.1" pretty_assertions = "1.2.1" pallet-relaychain-info = { workspace = true } -xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "754f3b90ecc65af735a6c9a2e1792c5253926ff6" } +xcm-emulator = { workspace = true } [features] default = ["std"] diff --git a/math/Cargo.toml b/math/Cargo.toml index 2604df0de..eca89d4e8 100644 --- a/math/Cargo.toml +++ b/math/Cargo.toml @@ -17,9 +17,7 @@ codec = { package = "parity-scale-codec", version = "3.4.0", default-features = scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } sp-arithmetic = { workspace = true } sp-std = { workspace = true } - -# Added optional serde support for (de-)serializing `Ratio` -serde = { version = "1.0.136", optional = true } +serde = { version = "1.0.136", default-features = false } [dev-dependencies] approx = "0.5.1" @@ -32,7 +30,7 @@ test-case = "2.2.1" [features] default = ["std"] -std = ["codec/std", "serde", "sp-arithmetic/std", "sp-std/std"] +std = ["codec/std", "serde/std", "sp-arithmetic/std", "sp-std/std"] runtime-benchmarks = [] [[bench]] diff --git a/math/src/ratio.rs b/math/src/ratio.rs index c6c9fba46..d5b7f4848 100644 --- a/math/src/ratio.rs +++ b/math/src/ratio.rs @@ -2,13 +2,11 @@ use codec::{Decode, Encode, MaxEncodedLen}; use core::cmp::{Ord, Ordering, PartialOrd}; use num_traits::Zero; use scale_info::TypeInfo; -#[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_arithmetic::helpers_128bit; /// A rational number represented by a `n`umerator and `d`enominator. -#[derive(Clone, Copy, Default, PartialEq, Eq, Encode, Decode, TypeInfo, MaxEncodedLen)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive(Clone, Copy, Default, PartialEq, Eq, Encode, Decode, Serialize, Deserialize, TypeInfo, MaxEncodedLen)] pub struct Ratio { pub n: u128, pub d: u128, diff --git a/node/Cargo.toml b/node/Cargo.toml index ef67a465f..0c1857f8e 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -64,10 +64,12 @@ sp-trie = { workspace = true } sp-storage = { workspace = true } substrate-frame-rpc-system = { workspace = true } sc-network = { workspace = true } +sc-network-sync = { workspace = true } sc-network-common = { workspace = true } sp-keystore = { workspace = true } sp-session = { workspace = true } sp-offchain = { workspace = true } +sc-offchain = { workspace = true } sp-io = { workspace = true } substrate-prometheus-endpoint = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index da280c343..b0d441b1f 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -107,6 +107,7 @@ pub fn parachain_genesis( system: SystemConfig { // Add Wasm runtime to storage. code: wasm_binary.to_vec(), + ..Default::default() }, session: SessionConfig { keys: initial_authorities @@ -175,7 +176,10 @@ pub fn parachain_genesis( genesis_history: GenesisHistoryConfig::default(), claims: ClaimsConfig { claims: claims_data }, - parachain_info: ParachainInfoConfig { parachain_id }, + parachain_info: ParachainInfoConfig { + parachain_id, + ..Default::default() + }, aura_ext: Default::default(), polkadot_xcm: Default::default(), ema_oracle: Default::default(), diff --git a/node/src/cli.rs b/node/src/cli.rs index fd0481bac..90a529371 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -57,11 +57,11 @@ impl RelayChainCli { ) -> Self { let extension = chain_spec::Extensions::try_get(¶_config.chain_spec); let chain_id = extension.map(|e| e.relay_chain.clone()); - let base_path = para_config.base_path.as_ref().map(|x| x.path().join("polkadot")); + let base_path = para_config.base_path.path().join("polkadot"); Self { - base_path, - chain_id, base: polkadot_cli::RunCmd::parse_from(relay_chain_args), + chain_id, + base_path: Some(base_path), } } } diff --git a/node/src/command.rs b/node/src/command.rs index 53ae913d8..bab7836ae 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -30,6 +30,7 @@ use sc_cli::{ RuntimeVersion, SharedParams, SubstrateCli, }; use sc_service::config::{BasePath, PrometheusConfig}; +use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; use sp_core::hexdisplay::HexDisplay; use sp_runtime::traits::AccountIdConversion; use sp_runtime::traits::Block as BlockT; @@ -81,10 +82,6 @@ impl SubstrateCli for Cli { path => Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?), }) } - - fn native_runtime_version(_spec: &Box) -> &'static RuntimeVersion { - &hydradx_runtime::VERSION - } } impl SubstrateCli for RelayChainCli { @@ -115,10 +112,6 @@ impl SubstrateCli for RelayChainCli { fn load_spec(&self, id: &str) -> std::result::Result, String> { polkadot_cli::Cli::from_iter([RelayChainCli::executable_name()].iter()).load_spec(id) } - - fn native_runtime_version(chain_spec: &Box) -> &'static RuntimeVersion { - polkadot_cli::Cli::native_runtime_version(chain_spec) - } } #[allow(clippy::borrowed_box)] @@ -198,7 +191,10 @@ pub fn run() -> sc_cli::Result<()> { match cmd { BenchmarkCmd::Pallet(cmd) => { if cfg!(feature = "runtime-benchmarks") { - runner.sync_run(|config| cmd.run::(config)) + runner.sync_run(|config| cmd.run::::ExtendHostFunctions, + >>(config)) } else { Err("Benchmarking wasn't enabled when building the node. \ You can enable it with `--features runtime-benchmarks`." @@ -237,7 +233,7 @@ pub fn run() -> sc_cli::Result<()> { let _ = builder.init(); let spec = load_spec(¶ms.shared_params.chain.clone().unwrap_or_default())?; - let state_version = Cli::native_runtime_version(&spec).state_version(); + let state_version = Cli::runtime_version(&spec).state_version(); let block: Block = generate_genesis_block(&*spec, state_version)?; let raw_header = block.header().encode(); @@ -323,9 +319,9 @@ pub fn run() -> sc_cli::Result<()> { let id = ParaId::from(para_id); let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + AccountIdConversion::::into_account_truncating(&id); - let state_version = Cli::native_runtime_version(&config.chain_spec).state_version(); + let state_version = Cli::runtime_version(&config.chain_spec).state_version(); let block: Block = generate_genesis_block(&*config.chain_spec, state_version).map_err(|e| format!("{e:?}"))?; @@ -359,14 +355,10 @@ impl DefaultConfigurationValues for RelayChainCli { 30334 } - fn rpc_ws_listen_port() -> u16 { + fn rpc_listen_port() -> u16 { 9945 } - fn rpc_http_listen_port() -> u16 { - 9934 - } - fn prometheus_listen_port() -> u16 { 9616 } @@ -396,18 +388,6 @@ impl CliConfiguration for RelayChainCli { .or_else(|| self.base_path.clone().map(Into::into))) } - fn rpc_http(&self, default_listen_port: u16) -> Result> { - self.base.base.rpc_http(default_listen_port) - } - - fn rpc_ipc(&self) -> Result> { - self.base.base.rpc_ipc() - } - - fn rpc_ws(&self, default_listen_port: u16) -> Result> { - self.base.base.rpc_ws(default_listen_port) - } - fn prometheus_config( &self, default_listen_port: u16, @@ -451,10 +431,6 @@ impl CliConfiguration for RelayChainCli { self.base.base.rpc_methods() } - fn rpc_ws_max_connections(&self) -> Result> { - self.base.base.rpc_ws_max_connections() - } - fn rpc_cors(&self, is_dev: bool) -> Result>> { self.base.base.rpc_cors(is_dev) } @@ -483,3 +459,9 @@ impl CliConfiguration for RelayChainCli { self.base.base.telemetry_endpoints(chain_spec) } } + +impl Cli { + fn runtime_version(spec: &Box) -> &'static RuntimeVersion { + &hydradx_runtime::VERSION + } +} \ No newline at end of file diff --git a/node/src/service.rs b/node/src/service.rs index 0273cbb26..5eada98f9 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -22,25 +22,27 @@ use cumulus_client_cli::CollatorOptions; use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use cumulus_client_consensus_common::{ParachainBlockImport as TParachainBlockImport, ParachainConsensus}; -use cumulus_client_network::BlockAnnounceValidator; +use cumulus_client_network::RequireSecondedInBlockAnnounce; use cumulus_client_service::{ prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, }; use cumulus_primitives_core::{CollectCollationInfo, ParaId}; use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain; use cumulus_relay_chain_interface::{RelayChainInterface, RelayChainResult}; -use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node; +use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node_with_rpc; use jsonrpsee::RpcModule; use polkadot_service::CollatorPair; use primitives::{AccountId, Balance, Block, Index}; use sc_consensus::ImportQueue; use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch, NativeVersion}; -use sc_network::NetworkService; -use sc_network_common::service::NetworkBlock; +use sc_network::NetworkBlock; +use sc_network_sync::SyncingService; use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; +use sc_transaction_pool_api::OffchainTransactionPoolFactory; +use sc_client_api::Backend; use sp_api::ConstructRuntimeApi; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use std::{sync::Arc, time::Duration}; use substrate_prometheus_endpoint::Registry; type Hash = sp_core::H256; @@ -73,12 +75,11 @@ pub fn parachain_build_import_queue( config: &Configuration, telemetry: Option, task_manager: &TaskManager, -) -> Result>, sc_service::Error> +) -> Result, sc_service::Error> where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - // + sp_api::ApiExt - + sp_api::ApiExt> + + sp_api::ApiExt + sp_block_builder::BlockBuilder + frame_system_rpc_runtime_api::AccountNonceApi + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi @@ -119,7 +120,7 @@ pub fn new_partial( TFullClient>, TFullBackend, (), - sc_consensus::DefaultImportQueue>, + sc_consensus::DefaultImportQueue, sc_transaction_pool::FullPool>, (Option, Option), >, @@ -128,8 +129,7 @@ pub fn new_partial( where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - // + sp_api::ApiExt - + sp_api::ApiExt> + + sp_api::ApiExt + sp_block_builder::BlockBuilder + frame_system_rpc_runtime_api::AccountNonceApi + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi @@ -212,8 +212,11 @@ async fn build_relay_chain_interface( task_manager: &mut TaskManager, collator_options: CollatorOptions, ) -> RelayChainResult<(Arc<(dyn RelayChainInterface + 'static)>, Option)> { - if !collator_options.relay_chain_rpc_urls.is_empty() { - build_minimal_relay_chain_node(polkadot_config, task_manager, collator_options.relay_chain_rpc_urls).await + if let cumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) = + collator_options.relay_chain_mode + { + build_minimal_relay_chain_node_with_rpc(polkadot_config, task_manager, rpc_target_urls) + .await } else { build_inprocess_relay_chain( polkadot_config, @@ -240,8 +243,7 @@ where RpcBuilder: Fn(Arc>) -> Result, sc_service::Error> + Send + 'static, RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - // + sp_api::ApiExt - + sp_api::ApiExt> + + sp_api::ApiExt + sp_block_builder::BlockBuilder + frame_system_rpc_runtime_api::AccountNonceApi + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi @@ -259,8 +261,8 @@ where &TaskManager, Arc, Arc>>, - Arc>, - SyncCryptoStorePtr, + Arc>, + KeystorePtr, bool, ) -> Result>, sc_service::Error>, { @@ -282,22 +284,25 @@ where .await .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; - let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), para_id); + let block_announce_validator = RequireSecondedInBlockAnnounce::new(relay_chain_interface.clone(), para_id); let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); - let (network, system_rpc_tx, tx_handler_controller, start_network) = + let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); + + let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { config: ¶chain_config, + net_config, client: client.clone(), transaction_pool: transaction_pool.clone(), spawn_handle: task_manager.spawn_handle(), import_queue: params.import_queue, block_announce_validator_builder: Some(Box::new(|_| Box::new(block_announce_validator))), - warp_sync: None, + warp_sync_params: None, })?; let rpc_builder = { @@ -316,11 +321,23 @@ where }; if parachain_config.offchain_worker.enabled { - sc_service::build_offchain_workers( - ¶chain_config, - task_manager.spawn_handle(), - client.clone(), - network.clone(), + use futures::FutureExt; + + task_manager.spawn_handle().spawn( + "offchain-workers-runner", + "offchain-work", + sc_offchain::OffchainWorkers::new(sc_offchain::OffchainWorkerOptions { + runtime_api_provider: client.clone(), + keystore: Some(params.keystore_container.keystore()), + offchain_db: backend.offchain_storage(), + transaction_pool: Some(OffchainTransactionPoolFactory::new(transaction_pool.clone())), + network_provider: network.clone(), + is_validator: parachain_config.role.is_authority(), + enable_http_requests: false, + custom_extensions: move |_| vec![], + }) + .run(client.clone(), task_manager.spawn_handle()) + .boxed(), ); }; @@ -330,21 +347,26 @@ where transaction_pool: transaction_pool.clone(), task_manager: &mut task_manager, config: parachain_config, - keystore: params.keystore_container.sync_keystore(), + keystore: params.keystore_container.keystore(), backend: backend.clone(), network: network.clone(), system_rpc_tx, tx_handler_controller, telemetry: telemetry.as_mut(), + sync_service: sync_service.clone(), })?; let announce_block = { - let network = network.clone(); - Arc::new(move |hash, data| network.announce_block(hash, data)) - }; + let sync_service = sync_service.clone(); + Arc::new(move |hash, data| sync_service.announce_block(hash, data)) + }; let relay_chain_slot_duration = Duration::from_secs(6); + let overseer_handle = relay_chain_interface + .overseer_handle() + .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + if validator { let parachain_consensus = build_consensus( client.clone(), @@ -354,8 +376,8 @@ where &task_manager, relay_chain_interface.clone(), transaction_pool, - network, - params.keystore_container.sync_keystore(), + sync_service.clone(), + params.keystore_container.keystore(), force_authoring, )?; @@ -373,6 +395,8 @@ where import_queue: import_queue_service, collator_key: collator_key.expect("Command line arguments do not allow this. qed"), relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle), + sync_service: sync_service.clone(), }; start_collator(params).await?; @@ -385,6 +409,8 @@ where relay_chain_interface, relay_chain_slot_duration, import_queue: import_queue_service, + recovery_handle: Box::new(overseer_handle), + sync_service: sync_service.clone(), }; start_full_node(params)?; diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 4508e98d9..9126c5861 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -18,6 +18,7 @@ codec = { default-features = false, features = ["derive", "max-encoded-len"], pa scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } primitive-types = { default-features = false, version = "0.12.0" } serde = { features = ["derive"], optional = true, version = "1.0.137" } +log = { workspace = true } # ORML dependencies orml-traits = { workspace = true } diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index 162b9d697..bbc90b497 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -17,7 +17,7 @@ #![cfg_attr(not(feature = "std"), no_std)] -use frame_support::dispatch::DispatchError; +use sp_runtime::DispatchError; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::CheckedAdd; use frame_system::pallet_prelude::*; @@ -104,7 +104,7 @@ pub mod pallet { pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::error] pub enum Error { @@ -176,18 +176,17 @@ pub mod pallet { pub native_existential_deposit: T::Balance, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { GenesisConfig:: { - registered_assets: vec![], - native_asset_name: b"BSX".to_vec(), + registered_assets: sp_std::vec![], + native_asset_name: b"HDX".to_vec(), native_existential_deposit: Default::default(), } } } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { // Register native asset first // It is to make sure that native is registered as any other asset diff --git a/pallets/asset-registry/src/migration.rs b/pallets/asset-registry/src/migration.rs index c3a1e278d..26fc5986d 100644 --- a/pallets/asset-registry/src/migration.rs +++ b/pallets/asset-registry/src/migration.rs @@ -17,7 +17,6 @@ use crate::{AssetDetails, AssetType, Assets, Config, Pallet}; use frame_support::{ - log, traits::{Get, StorageVersion}, weights::Weight, }; diff --git a/pallets/bonds/src/lib.rs b/pallets/bonds/src/lib.rs index bc064be8e..fd3132122 100644 --- a/pallets/bonds/src/lib.rs +++ b/pallets/bonds/src/lib.rs @@ -76,7 +76,6 @@ pub mod pallet { use frame_support::pallet_prelude::*; #[pallet::pallet] - #[pallet::generate_store(pub(crate) trait Store)] pub struct Pallet(_); #[pallet::config] diff --git a/pallets/bonds/src/weights.rs b/pallets/bonds/src/weights.rs index 52726b15b..8f03ca4b8 100644 --- a/pallets/bonds/src/weights.rs +++ b/pallets/bonds/src/weights.rs @@ -80,7 +80,7 @@ impl WeightInfo for HydraWeight { // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn issue() -> Weight { // Minimum execution time: 154_679 nanoseconds. - Weight::from_ref_time(159_169_000 as u64) + Weight::from_parts(159_169_000, 0) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(10 as u64)) } @@ -100,7 +100,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn redeem() -> Weight { // Minimum execution time: 114_799 nanoseconds. - Weight::from_ref_time(116_103_000 as u64) + Weight::from_parts(116_103_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -132,7 +132,7 @@ impl WeightInfo for () { // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn issue() -> Weight { // Minimum execution time: 154_679 nanoseconds. - Weight::from_ref_time(159_169_000) + Weight::from_parts(159_169_000, 0) .saturating_add(RocksDbWeight::get().reads(11)) .saturating_add(RocksDbWeight::get().writes(10)) } @@ -152,7 +152,7 @@ impl WeightInfo for () { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn redeem() -> Weight { // Minimum execution time: 114_799 nanoseconds. - Weight::from_ref_time(116_103_000) + Weight::from_parts(116_103_000, 0) .saturating_add(RocksDbWeight::get().reads(7)) .saturating_add(RocksDbWeight::get().writes(5)) } diff --git a/pallets/circuit-breaker/src/lib.rs b/pallets/circuit-breaker/src/lib.rs index 77da3acd1..7962ec812 100644 --- a/pallets/circuit-breaker/src/lib.rs +++ b/pallets/circuit-breaker/src/lib.rs @@ -18,11 +18,11 @@ #![cfg_attr(not(feature = "std"), no_std)] use codec::{Decode, Encode}; -use frame_support::dispatch::Weight; +use frame_support::weights::Weight; use frame_support::traits::{Contains, EnsureOrigin}; use frame_support::{ensure, pallet_prelude::DispatchResult, traits::Get}; use frame_system::ensure_signed_or_root; -use frame_system::pallet_prelude::OriginFor; +use frame_system::pallet_prelude::{OriginFor, BlockNumberFor}; use scale_info::TypeInfo; use sp_core::MaxEncodedLen; use sp_runtime::traits::{AtLeast32BitUnsigned, CheckedAdd, CheckedDiv, CheckedMul, CheckedSub, Zero}; @@ -132,12 +132,12 @@ pub mod pallet { use frame_support::traits::Contains; #[pallet::hooks] - impl Hooks for Pallet { - fn on_initialize(_n: T::BlockNumber) -> Weight { + impl Hooks> for Pallet { + fn on_initialize(_n: BlockNumberFor) -> Weight { T::WeightInfo::on_finalize(0, 0) } - fn on_finalize(_n: T::BlockNumber) { + fn on_finalize(_n: BlockNumberFor) { let _ = >::clear(u32::MAX, None); let _ = >::clear(u32::MAX, None); let _ = >::clear(u32::MAX, None); @@ -225,7 +225,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// Default maximum net trade volume limit per block diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index e90065bcd..cbd17c2fb 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -14,7 +14,7 @@ targets = ['x86_64-unknown-linux-gnu'] [dependencies] scale-info = { version = "2.3.1", default-features = false, features = ["derive"] } codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" } -serde = {optional = true, version = '1.0.136', features = ['derive']} +serde = { version = '1.0.136', default-features = false, features = ['derive']} hex = {default-features = false, version = "0.4.3"} hex-literal = '0.3.4' lazy_static = {features = ['spin_no_std'], version = "1.4.0"} diff --git a/pallets/claims/src/lib.rs b/pallets/claims/src/lib.rs index 1c704cb20..1d7bd581c 100644 --- a/pallets/claims/src/lib.rs +++ b/pallets/claims/src/lib.rs @@ -19,8 +19,9 @@ #![allow(clippy::unused_unit)] use codec::{Decode, Encode}; +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::{ - dispatch::{DispatchClass, DispatchError, DispatchResult, Pays}, + dispatch::{DispatchClass, DispatchResult, Pays}, ensure, sp_runtime::{ traits::{DispatchInfoOf, SignedExtension}, @@ -28,6 +29,7 @@ use frame_support::{ }, traits::{Currency, Get, Imbalance, IsSubType}, }; +use sp_runtime::DispatchError; use frame_system::ensure_signed; use primitives::Balance; use scale_info::TypeInfo; @@ -61,7 +63,7 @@ pub mod pallet { pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::config] pub trait Config: frame_system::Config { @@ -100,19 +102,13 @@ pub mod pallet { pub type Claims = StorageMap<_, Blake2_128Concat, EthereumAddress, BalanceOf, ValueQuery>; #[pallet::genesis_config] + #[derive(frame_support::DefaultNoBound)] pub struct GenesisConfig { pub claims: Vec<(EthereumAddress, BalanceOf)>, } - #[cfg(feature = "std")] - impl Default for GenesisConfig { - fn default() -> Self { - GenesisConfig { claims: vec![] } - } - } - #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.claims.iter().for_each(|(eth_address, initial_balance)| { Claims::::mutate(eth_address, |amount| *amount += *initial_balance) diff --git a/pallets/claims/src/traits.rs b/pallets/claims/src/traits.rs index a06c8bc9d..31afe9b26 100644 --- a/pallets/claims/src/traits.rs +++ b/pallets/claims/src/traits.rs @@ -23,14 +23,14 @@ use sp_io::{crypto::secp256k1_ecdsa_recover, hashing::keccak_256}; use sp_std::vec::Vec; use scale_info::TypeInfo; +use scale_info::prelude::string::String; +use scale_info::prelude::format; -#[cfg(feature = "std")] use serde::{Deserialize, Deserializer, Serialize, Serializer}; #[derive(Clone, Copy, PartialEq, Eq, Encode, Decode, Default, Debug, TypeInfo, MaxEncodedLen)] pub struct EthereumAddress(pub [u8; 20]); -#[cfg(feature = "std")] impl Serialize for EthereumAddress { fn serialize(&self, serializer: S) -> Result where @@ -41,7 +41,6 @@ impl Serialize for EthereumAddress { } } -#[cfg(feature = "std")] impl<'de> Deserialize<'de> for EthereumAddress { fn deserialize(deserializer: D) -> Result where diff --git a/pallets/claims/src/weights.rs b/pallets/claims/src/weights.rs index 2adc8ed31..c562ae289 100644 --- a/pallets/claims/src/weights.rs +++ b/pallets/claims/src/weights.rs @@ -54,7 +54,7 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { fn claim() -> Weight { - Weight::from_ref_time(248_181_000 as u64) + Weight::from_parts(248_181_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -63,7 +63,7 @@ impl WeightInfo for HydraWeight { // For backwards compatibility and tests impl WeightInfo for () { fn claim() -> Weight { - Weight::from_ref_time(248_181_000 as u64) + Weight::from_parts(248_181_000, 0) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/pallets/collator-rewards/src/migration.rs b/pallets/collator-rewards/src/migration.rs index 1ccf29a5d..6617f1f87 100644 --- a/pallets/collator-rewards/src/migration.rs +++ b/pallets/collator-rewards/src/migration.rs @@ -17,7 +17,7 @@ use super::*; use frame_support::{ - log, storage_alias, + storage_alias, traits::{Get, StorageVersion}, weights::Weight, }; diff --git a/pallets/currencies/src/fungibles.rs b/pallets/currencies/src/fungibles.rs index 107f57443..e8f5a03a2 100644 --- a/pallets/currencies/src/fungibles.rs +++ b/pallets/currencies/src/fungibles.rs @@ -1,7 +1,6 @@ use crate::module::{BalanceOf, CurrencyIdOf}; use crate::{Config, Pallet}; -use frame_support::dispatch::DispatchResult; -use frame_support::traits::tokens::{fungible, fungibles, DepositConsequence, WithdrawConsequence}; +use frame_support::traits::tokens::{fungible, fungibles, DepositConsequence, WithdrawConsequence, Preservation, Precision, Fortitude, Provenance}; use orml_traits::MultiCurrency; use sp_runtime::traits::Get; use sp_runtime::DispatchError; @@ -32,6 +31,10 @@ where >::minimum_balance(asset) } + fn total_balance(asset: Self::AssetId, who: &T::AccountId) -> Self::Balance { + >::total_balance(asset, who) + } + fn balance(asset: Self::AssetId, who: &T::AccountId) -> Self::Balance { if asset == T::GetNativeCurrencyId::get() { >::balance(who).into() @@ -40,20 +43,20 @@ where } } - fn reducible_balance(asset: Self::AssetId, who: &T::AccountId, keep_alive: bool) -> Self::Balance { + fn reducible_balance(asset: Self::AssetId, who: &T::AccountId, preservation: Preservation, force: Fortitude) -> Self::Balance { if asset == T::GetNativeCurrencyId::get() { - >::reducible_balance(who, keep_alive).into() + >::reducible_balance(who, preservation, force).into() } else { - >::reducible_balance(asset.into(), who, keep_alive) + >::reducible_balance(asset.into(), who, preservation, force) .into() } } - fn can_deposit(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance, mint: bool) -> DepositConsequence { + fn can_deposit(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance, provenance: Provenance) -> DepositConsequence { if asset == T::GetNativeCurrencyId::get() { - >::can_deposit(who, amount.into(), mint) + >::can_deposit(who, amount.into(), provenance) } else { - >::can_deposit(asset.into(), who, amount.into(), mint) + >::can_deposit(asset.into(), who, amount.into(), provenance) } } @@ -79,49 +82,73 @@ where } } -impl fungibles::Mutate for FungibleCurrencies +impl fungibles::Unbalanced + for FungibleCurrencies where - T::MultiCurrency: fungibles::Inspect + fungibles::Mutate, + T::MultiCurrency: fungibles::Unbalanced, + T::NativeCurrency: fungible::Unbalanced,// + fungible::Inspect, + T::MultiCurrency: fungibles::Inspect, >::AssetId: From>, >::Balance: Into> + From>, WithdrawConsequence>: From>::Balance>>, - T::NativeCurrency: fungible::Inspect + fungible::Mutate, + T::NativeCurrency: fungible::Inspect, >::Balance: Into> + From>, WithdrawConsequence>: From>::Balance>>, - Result: - From>::Balance, DispatchError>>, - Result: - From>::Balance, DispatchError>>, { - fn mint_into(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance) -> DispatchResult { - >::deposit(asset, who, amount) + fn handle_dust(dust: fungibles::Dust) { + let asset= dust.0; + if asset == T::GetNativeCurrencyId::get() { + >::handle_dust(fungible::Dust(dust.1.into())) + } else { + >::handle_dust(fungibles::Dust(dust.0.into(), dust.1.into())) + } } - fn burn_from( - asset: Self::AssetId, - who: &T::AccountId, - amount: Self::Balance, - ) -> Result { + fn write_balance(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance) -> Result, DispatchError> { if asset == T::GetNativeCurrencyId::get() { - >::burn_from(who, amount.into()).into() + let result = >::write_balance(who, amount.into())?; + Ok(result.map(|balance| balance.into())) } else { - >::burn_from(asset.into(), who, amount.into()).into() + let result = >::write_balance(asset.into(), who, amount.into())?; + Ok(result.map(|balance| balance.into())) + } + } + + fn set_total_issuance(asset: Self::AssetId, amount: Self::Balance) { + if asset == T::GetNativeCurrencyId::get() { + >::set_total_issuance(amount.into()) + } else { + >::set_total_issuance(asset.into(), amount.into()) + } + } + + fn deactivate(asset: Self::AssetId, amount: Self::Balance) { + if asset == T::GetNativeCurrencyId::get() { + >::deactivate(amount.into()) + } else { + >::deactivate(asset.into(), amount.into()) + } + } + + fn reactivate(asset: Self::AssetId, amount: Self::Balance) { + if asset == T::GetNativeCurrencyId::get() { + >::reactivate(amount.into()) + } else { + >::reactivate(asset.into(), amount.into()) } } } -impl fungibles::Transfer for FungibleCurrencies +impl fungibles::Mutate for FungibleCurrencies where - T::MultiCurrency: - fungibles::Inspect + fungibles::Mutate + fungibles::Transfer, + T::MultiCurrency: fungibles::Inspect + fungibles::Mutate, >::AssetId: From>, >::Balance: Into> + From>, WithdrawConsequence>: From>::Balance>>, - T::NativeCurrency: - fungible::Inspect + fungible::Mutate + fungible::Transfer, + T::NativeCurrency: fungible::Inspect + fungible::Mutate, >::Balance: Into> + From>, WithdrawConsequence>: From>::Balance>>, @@ -130,25 +157,25 @@ where Result: From>::Balance, DispatchError>>, { - fn transfer( + fn mint_into(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance) -> Result { + if asset == T::GetNativeCurrencyId::get() { + >::mint_into(who, amount.into()).into() + } else { + >::mint_into(asset.into(), who, amount.into()).into() + } + } + + fn burn_from( asset: Self::AssetId, - source: &T::AccountId, - dest: &T::AccountId, + who: &T::AccountId, amount: Self::Balance, - keep_alive: bool, + precision: Precision, + force: Fortitude, ) -> Result { if asset == T::GetNativeCurrencyId::get() { - >::transfer(source, dest, amount.into(), keep_alive) - .into() + >::burn_from(who, amount.into(), precision, force).into() } else { - >::transfer( - asset.into(), - source, - dest, - amount.into(), - keep_alive, - ) - .into() + >::burn_from(asset.into(), who, amount.into(), precision, force).into() } } } diff --git a/pallets/currencies/src/lib.rs b/pallets/currencies/src/lib.rs index 8273cf866..81fc9e14d 100644 --- a/pallets/currencies/src/lib.rs +++ b/pallets/currencies/src/lib.rs @@ -152,7 +152,7 @@ pub mod module { pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::call] impl Pallet { @@ -354,7 +354,7 @@ impl MultiCurrencyExtended for Pallet { } impl MultiLockableCurrency for Pallet { - type Moment = T::BlockNumber; + type Moment = BlockNumberFor; fn set_lock( lock_id: LockIdentifier, @@ -584,7 +584,7 @@ where T: Config, GetCurrencyId: Get>, { - type Moment = T::BlockNumber; + type Moment = BlockNumberFor; fn set_lock(lock_id: LockIdentifier, who: &T::AccountId, amount: Self::Balance) -> DispatchResult { as MultiLockableCurrency>::set_lock(lock_id, GetCurrencyId::get(), who, amount) @@ -850,8 +850,8 @@ impl TransferAll for Pallet { } } -use frame_support::traits::fungible::{Inspect, Mutate, Transfer}; -use frame_support::traits::tokens::{DepositConsequence, WithdrawConsequence}; +use frame_support::traits::fungible::{Dust, Inspect, Mutate, Unbalanced}; +use frame_support::traits::tokens::{DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence}; impl Inspect for BasicCurrencyAdapter @@ -864,20 +864,25 @@ where >::total_issuance() } + fn minimum_balance() -> Self::Balance { >::minimum_balance() } + fn total_balance(who: &AccountId) -> Self::Balance { + >::total_balance(who) + } + fn balance(who: &AccountId) -> Self::Balance { >::balance(who) } - fn reducible_balance(who: &AccountId, keep_alive: bool) -> Self::Balance { - >::reducible_balance(who, keep_alive) + fn reducible_balance(who: &AccountId, preservation: Preservation, force: Fortitude) -> Self::Balance { + >::reducible_balance(who, preservation, force) } - fn can_deposit(who: &AccountId, amount: Self::Balance, mint: bool) -> DepositConsequence { - >::can_deposit(who, amount, mint) + fn can_deposit(who: &AccountId, amount: Self::Balance, provenance: Provenance) -> DepositConsequence { + >::can_deposit(who, amount, provenance) } fn can_withdraw(who: &AccountId, amount: Self::Balance) -> WithdrawConsequence { @@ -885,31 +890,42 @@ where } } -impl Mutate +impl Unbalanced for BasicCurrencyAdapter where Currency: Mutate, { - fn mint_into(who: &AccountId, amount: Self::Balance) -> DispatchResult { - >::mint_into(who, amount) + fn handle_dust(dust: Dust) { + >::handle_dust(Dust(dust.0)) + } + + fn write_balance(who: &AccountId, amount: Self::Balance) -> Result, DispatchError> { + >::write_balance(who, amount) + } + + fn set_total_issuance(amount: Self::Balance) { + >::set_total_issuance(amount) } - fn burn_from(who: &AccountId, amount: Self::Balance) -> Result { - >::burn_from(who, amount) + fn deactivate(amount: Self::Balance) { + >::deactivate(amount) + } + + fn reactivate(amount: Self::Balance) { + >::reactivate(amount) } } -impl Transfer +impl Mutate for BasicCurrencyAdapter where - Currency: Transfer, + Currency: Mutate, { - fn transfer( - source: &AccountId, - dest: &AccountId, - amount: Self::Balance, - keep_alive: bool, - ) -> Result { - >::transfer(source, dest, amount, keep_alive) + fn mint_into(who: &AccountId, amount: Self::Balance) -> Result { + >::mint_into(who, amount) + } + + fn burn_from(who: &AccountId, amount: Self::Balance, precision: Precision, force: Fortitude) -> Result { + >::burn_from(who, amount, precision, force) } } diff --git a/pallets/currencies/src/weights.rs b/pallets/currencies/src/weights.rs index ec30a258d..d6119781f 100644 --- a/pallets/currencies/src/weights.rs +++ b/pallets/currencies/src/weights.rs @@ -40,27 +40,27 @@ pub trait WeightInfo { /// Default weights. impl WeightInfo for () { fn transfer_non_native_currency() -> Weight { - Weight::from_ref_time(60_000_000 as u64) + Weight::from_parts(60_000_000, 0) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } fn transfer_native_currency() -> Weight { - Weight::from_ref_time(60_000_000 as u64) + Weight::from_parts(60_000_000, 0) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } fn update_balance_non_native_currency() -> Weight { - Weight::from_ref_time(29_000_000 as u64) + Weight::from_parts(29_000_000, 0) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } fn update_balance_native_currency_creating() -> Weight { - Weight::from_ref_time(31_000_000 as u64) + Weight::from_parts(31_000_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } fn update_balance_native_currency_killing() -> Weight { - Weight::from_ref_time(37_000_000 as u64) + Weight::from_parts(37_000_000, 0) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/pallets/dca/src/lib.rs b/pallets/dca/src/lib.rs index 1008a1b3f..306253c88 100644 --- a/pallets/dca/src/lib.rs +++ b/pallets/dca/src/lib.rs @@ -71,7 +71,7 @@ use frame_support::{ transactional, weights::WeightToFee as FrameSupportWeight, }; -use frame_system::{ensure_signed, pallet_prelude::OriginFor, Origin}; +use frame_system::{ensure_signed, pallet_prelude::{BlockNumberFor, OriginFor}, Origin}; use hydradx_adapters::RelayChainBlockHashProvider; use hydradx_traits::router::{AmmTradeWeights, AmountInAndOut, RouterT, Trade}; use hydradx_traits::{NativePriceOracle, OraclePeriod, PriceOracle}; @@ -99,8 +99,6 @@ pub use pallet::*; use crate::types::*; -type BlockNumberFor = ::BlockNumber; - pub const SHORT_ORACLE_BLOCK_PERIOD: u32 = 10; pub const MAX_NUMBER_OF_RETRY_FOR_RESCHEDULING: u32 = 10; pub const FEE_MULTIPLIER_FOR_MIN_TRADE_LIMIT: Balance = 20; @@ -117,12 +115,11 @@ pub mod pallet { use orml_traits::NamedMultiReservableCurrency; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet { - fn on_initialize(current_blocknumber: T::BlockNumber) -> Weight { + impl Hooks> for Pallet { + fn on_initialize(current_blocknumber: BlockNumberFor) -> Weight { let mut weight = ::WeightInfo::on_initialize_with_empty_block(); let mut randomness_generator = Self::get_randomness_generator(current_blocknumber, None); @@ -556,7 +553,7 @@ pub mod pallet { } impl Pallet { - fn get_randomness_generator(current_blocknumber: T::BlockNumber, salt: Option) -> StdRng { + fn get_randomness_generator(current_blocknumber: BlockNumberFor, salt: Option) -> StdRng { match T::RandomnessProvider::generator(salt) { Ok(generator) => generator, Err(err) => { @@ -577,10 +574,10 @@ impl Pallet { None => { let current_block_number = frame_system::Pallet::::current_block_number(); let next_block_number = current_block_number - .checked_add(&T::BlockNumber::one()) + .checked_add(&BlockNumberFor::::one()) .ok_or(ArithmeticError::Overflow)?; - Ok::(next_block_number) + Ok::, ArithmeticError>(next_block_number) } }?; @@ -588,10 +585,10 @@ impl Pallet { } fn prepare_schedule( - current_blocknumber: T::BlockNumber, + current_blocknumber: BlockNumberFor, weight_for_dca_execution: Weight, schedule_id: ScheduleId, - schedule: &Schedule, + schedule: &Schedule>, randomness_generator: &mut StdRng, ) -> DispatchResult { Self::take_transaction_fee_from_user(schedule_id, schedule, weight_for_dca_execution)?; @@ -613,7 +610,7 @@ impl Pallet { #[transactional] pub fn execute_trade( schedule_id: ScheduleId, - schedule: &Schedule, + schedule: &Schedule>, ) -> Result, DispatchError> { let origin: OriginFor = Origin::::Signed(schedule.owner.clone()).into(); @@ -697,8 +694,8 @@ impl Pallet { fn replan_or_complete( schedule_id: ScheduleId, - schedule: &Schedule, - current_blocknumber: T::BlockNumber, + schedule: &Schedule>, + current_blocknumber: BlockNumberFor, amounts: AmountInAndOut, randomness_generator: &mut StdRng, ) -> DispatchResult { @@ -745,8 +742,8 @@ impl Pallet { fn retry_schedule( schedule_id: ScheduleId, - schedule: &Schedule, - current_blocknumber: T::BlockNumber, + schedule: &Schedule>, + current_blocknumber: BlockNumberFor, randomness_generator: &mut StdRng, ) -> DispatchResult { let number_of_retries = Self::retries_on_error(schedule_id); @@ -774,7 +771,7 @@ impl Pallet { Ok(()) } - fn is_price_unstable(schedule: &Schedule) -> bool { + fn is_price_unstable(schedule: &Schedule>) -> bool { let route = match &schedule.order { Order::Sell { route, .. } | Order::Buy { route, .. } => route, }; @@ -837,7 +834,7 @@ impl Pallet { fn unallocate_amount( schedule_id: ScheduleId, - schedule: &Schedule, + schedule: &Schedule>, amount_to_unreserve: Balance, ) -> DispatchResult { RemainingAmounts::::try_mutate_exists(schedule_id, |maybe_remaining_amount| -> DispatchResult { @@ -870,7 +867,7 @@ impl Pallet { #[transactional] fn take_transaction_fee_from_user( schedule_id: ScheduleId, - schedule: &Schedule, + schedule: &Schedule>, weight_to_charge: Weight, ) -> DispatchResult { let fee_currency = schedule.order.get_asset_in(); @@ -890,7 +887,7 @@ impl Pallet { fn terminate_schedule( schedule_id: ScheduleId, - schedule: &Schedule, + schedule: &Schedule>, error: DispatchError, ) { Self::try_unreserve_all(schedule_id, schedule); @@ -904,7 +901,7 @@ impl Pallet { }); } - fn complete_schedule(schedule_id: ScheduleId, schedule: &Schedule) { + fn complete_schedule(schedule_id: ScheduleId, schedule: &Schedule>) { Self::try_unreserve_all(schedule_id, schedule); Self::remove_schedule_from_storages(&schedule.owner, schedule_id); @@ -915,7 +912,7 @@ impl Pallet { }); } - fn try_unreserve_all(schedule_id: ScheduleId, schedule: &Schedule) { + fn try_unreserve_all(schedule_id: ScheduleId, schedule: &Schedule>) { let sold_currency = schedule.order.get_asset_in(); let Some(remaining_amount) = RemainingAmounts::::get(schedule_id) else { @@ -940,7 +937,7 @@ impl Pallet { fn plan_schedule_for_block( who: &T::AccountId, - blocknumber: T::BlockNumber, + blocknumber: BlockNumberFor, schedule_id: ScheduleId, randomness_generator: &mut StdRng, ) -> DispatchResult { @@ -965,9 +962,9 @@ impl Pallet { } fn find_next_free_block( - blocknumber: T::BlockNumber, + blocknumber: BlockNumberFor, randomness_generator: &mut StdRng, - ) -> Result { + ) -> Result, DispatchError> { let mut next_execution_block = blocknumber; for i in 0..=MAX_NUMBER_OF_RETRY_FOR_RESCHEDULING { diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index 4e47c3c52..74a93f44d 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -73,7 +73,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) fn on_initialize_with_buy_trade() -> Weight { // Minimum execution time: 202_152 nanoseconds. - Weight::from_ref_time(205_108_000 as u64) + Weight::from_parts(205_108_000, 0) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -91,7 +91,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) fn on_initialize_with_sell_trade() -> Weight { // Minimum execution time: 200_514 nanoseconds. - Weight::from_ref_time(204_215_000 as u64) + Weight::from_parts(204_215_000, 0) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -99,7 +99,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) fn on_initialize_with_empty_block() -> Weight { // Minimum execution time: 18_232 nanoseconds. - Weight::from_ref_time(18_655_000 as u64).saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_parts(18_655_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: DCA ScheduleIdSequencer (r:1 w:1) // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -119,7 +119,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) fn schedule() -> Weight { // Minimum execution time: 133_110 nanoseconds. - Weight::from_ref_time(134_484_000 as u64) + Weight::from_parts(134_484_000, 0) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -139,7 +139,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) fn terminate() -> Weight { // Minimum execution time: 74_610 nanoseconds. - Weight::from_ref_time(75_402_000 as u64) + Weight::from_parts(75_402_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -161,7 +161,7 @@ impl WeightInfo for () { // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) fn on_initialize_with_buy_trade() -> Weight { // Minimum execution time: 202_152 nanoseconds. - Weight::from_ref_time(205_108_000 as u64) + Weight::from_parts(205_108_000, 0) .saturating_add(RocksDbWeight::get().reads(17 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -179,7 +179,7 @@ impl WeightInfo for () { // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) fn on_initialize_with_sell_trade() -> Weight { // Minimum execution time: 200_514 nanoseconds. - Weight::from_ref_time(204_215_000 as u64) + Weight::from_parts(204_215_000, 0) .saturating_add(RocksDbWeight::get().reads(17 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -187,7 +187,7 @@ impl WeightInfo for () { // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) fn on_initialize_with_empty_block() -> Weight { // Minimum execution time: 18_232 nanoseconds. - Weight::from_ref_time(18_655_000 as u64).saturating_add(RocksDbWeight::get().reads(1 as u64)) + Weight::from_parts(18_655_000, 0).saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: DCA ScheduleIdSequencer (r:1 w:1) // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -207,7 +207,7 @@ impl WeightInfo for () { // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) fn schedule() -> Weight { // Minimum execution time: 133_110 nanoseconds. - Weight::from_ref_time(134_484_000 as u64) + Weight::from_parts(134_484_000 as u64, 0) .saturating_add(RocksDbWeight::get().reads(14 as u64)) .saturating_add(RocksDbWeight::get().writes(8 as u64)) } @@ -227,7 +227,7 @@ impl WeightInfo for () { // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) fn terminate() -> Weight { // Minimum execution time: 74_610 nanoseconds. - Weight::from_ref_time(75_402_000 as u64) + Weight::from_parts(75_402_000, 0) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 66fbbf4c0..3b7c817c8 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -168,6 +168,7 @@ use sp_runtime::{ traits::{Bounded as ArithBounded, One, Saturating, StaticLookup, Zero}, ArithmeticError, DispatchError, DispatchResult, }; +use frame_system::pallet_prelude::BlockNumberFor; use sp_std::prelude::*; use sp_std::vec; @@ -220,7 +221,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); @@ -230,14 +230,14 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// The Scheduler. - type Scheduler: ScheduleNamed, Self::PalletsOrigin>; + type Scheduler: ScheduleNamed, CallOf, Self::PalletsOrigin>; /// The Preimage provider. type Preimages: QueryPreimage + StorePreimage; /// Currency type for this pallet. type Currency: ReservableCurrency - + LockableCurrency; + + LockableCurrency>; /// The period between a proposal being approved and enacted. /// @@ -245,22 +245,22 @@ pub mod pallet { /// voting stakers have an opportunity to remove themselves from the system in the case /// where they are on the losing side of a vote. #[pallet::constant] - type EnactmentPeriod: Get; + type EnactmentPeriod: Get>; /// How often (in blocks) new public referenda are launched. #[pallet::constant] - type LaunchPeriod: Get; + type LaunchPeriod: Get>; /// How often (in blocks) to check for new votes. #[pallet::constant] - type VotingPeriod: Get; + type VotingPeriod: Get>; /// The minimum period of vote locking. /// /// It should be no shorter than enactment period to ensure that in the case of an approval, /// those successful voters are locked into the consequences that their votes entail. #[pallet::constant] - type VoteLockingPeriod: Get; + type VoteLockingPeriod: Get>; /// The minimum amount to be used as a deposit for a public referendum proposal. #[pallet::constant] @@ -274,11 +274,11 @@ pub mod pallet { /// Minimum voting period allowed for a fast-track referendum. #[pallet::constant] - type FastTrackVotingPeriod: Get; + type FastTrackVotingPeriod: Get>; /// Period in blocks where an external proposal may not be re-submitted after being vetoed. #[pallet::constant] - type CooloffPeriod: Get; + type CooloffPeriod: Get>; /// The maximum number of votes for an account. /// @@ -380,7 +380,7 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn referendum_info)] pub type ReferendumInfoOf = - StorageMap<_, Twox64Concat, ReferendumIndex, ReferendumInfo, BalanceOf>>; + StorageMap<_, Twox64Concat, ReferendumIndex, ReferendumInfo, BoundedCallOf, BalanceOf>>; /// All votes for a particular voter. We store the balance for the number of votes that we /// have recorded. The second item is the total amount of delegations, that will be added. @@ -391,7 +391,7 @@ pub mod pallet { _, Twox64Concat, T::AccountId, - Voting, T::AccountId, T::BlockNumber, T::MaxVotes>, + Voting, T::AccountId, BlockNumberFor, T::MaxVotes>, ValueQuery, >; @@ -411,7 +411,7 @@ pub mod pallet { /// (until when it may not be resubmitted) and who vetoed it. #[pallet::storage] pub type Blacklist = - StorageMap<_, Identity, H256, (T::BlockNumber, BoundedVec)>; + StorageMap<_, Identity, H256, (BlockNumberFor, BoundedVec)>; /// Record of all proposals that have been subject to emergency cancellation. #[pallet::storage] @@ -432,7 +432,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { PublicPropCount::::put(0 as PropIndex); ReferendumCount::::put(0 as ReferendumIndex); @@ -474,7 +474,7 @@ pub mod pallet { Vetoed { who: T::AccountId, proposal_hash: H256, - until: T::BlockNumber, + until: BlockNumberFor, }, /// A proposal_hash has been blacklisted permanently. Blacklisted { proposal_hash: H256 }, @@ -547,7 +547,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { /// Weight: see `begin_block` - fn on_initialize(n: T::BlockNumber) -> Weight { + fn on_initialize(n: BlockNumberFor) -> Weight { Self::begin_block(n) } } @@ -747,8 +747,8 @@ pub mod pallet { pub fn fast_track( origin: OriginFor, proposal_hash: H256, - voting_period: T::BlockNumber, - delay: T::BlockNumber, + voting_period: BlockNumberFor, + delay: BlockNumberFor, ) -> DispatchResult { // Rather complicated bit of code to ensure that either: // - `voting_period` is at least `FastTrackVotingPeriod` and `origin` is @@ -766,7 +766,7 @@ pub mod pallet { ensure!(T::InstantAllowed::get(), Error::::InstantNotAllowed); } - ensure!(voting_period > T::BlockNumber::zero(), Error::::VotingPeriodLow); + ensure!(voting_period > BlockNumberFor::::zero(), Error::::VotingPeriodLow); let (ext_proposal, threshold) = >::get().ok_or(Error::::ProposalMissing)?; ensure!( threshold != VoteThreshold::SuperMajorityApprove, @@ -1021,7 +1021,7 @@ pub mod pallet { T::BlacklistOrigin::ensure_origin(origin)?; // Insert the proposal into the blacklist. - let permanent = (T::BlockNumber::max_value(), BoundedVec::::default()); + let permanent = (BlockNumberFor::::max_value(), BoundedVec::::default()); Blacklist::::insert(&proposal_hash, permanent); // Remove the queued proposal, if it's there. @@ -1109,10 +1109,10 @@ impl Pallet { /// Get all referenda ready for tally at block `n`. pub fn maturing_referenda_at( - n: T::BlockNumber, + n: BlockNumberFor, ) -> Vec<( ReferendumIndex, - ReferendumStatus, BalanceOf>, + ReferendumStatus, BoundedCallOf, BalanceOf>, )> { let next = Self::lowest_unbaked(); let last = Self::referendum_count(); @@ -1120,11 +1120,11 @@ impl Pallet { } fn maturing_referenda_at_inner( - n: T::BlockNumber, + n: BlockNumberFor, range: core::ops::Range, ) -> Vec<( ReferendumIndex, - ReferendumStatus, BalanceOf>, + ReferendumStatus, BoundedCallOf, BalanceOf>, )> { range .into_iter() @@ -1143,7 +1143,7 @@ impl Pallet { pub fn internal_start_referendum( proposal: BoundedCallOf, threshold: VoteThreshold, - delay: T::BlockNumber, + delay: BlockNumberFor, ) -> ReferendumIndex { >::inject_referendum( >::block_number().saturating_add(T::VotingPeriod::get()), @@ -1163,8 +1163,8 @@ impl Pallet { /// Ok if the given referendum is active, Err otherwise fn ensure_ongoing( - r: ReferendumInfo, BalanceOf>, - ) -> Result, BalanceOf>, DispatchError> { + r: ReferendumInfo, BoundedCallOf, BalanceOf>, + ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> { match r { ReferendumInfo::Ongoing(s) => Ok(s), _ => Err(Error::::ReferendumInvalid.into()), @@ -1173,7 +1173,7 @@ impl Pallet { fn referendum_status( ref_index: ReferendumIndex, - ) -> Result, BalanceOf>, DispatchError> { + ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> { let info = ReferendumInfoOf::::get(ref_index).ok_or(Error::::ReferendumInvalid)?; Self::ensure_ongoing(info) } @@ -1435,10 +1435,10 @@ impl Pallet { /// Start a referendum fn inject_referendum( - end: T::BlockNumber, + end: BlockNumberFor, proposal: BoundedCallOf, threshold: VoteThreshold, - delay: T::BlockNumber, + delay: BlockNumberFor, ) -> ReferendumIndex { let ref_index = Self::referendum_count(); ReferendumCount::::put(ref_index + 1); @@ -1456,7 +1456,7 @@ impl Pallet { } /// Table the next waiting proposal for a vote. - fn launch_next(now: T::BlockNumber) -> DispatchResult { + fn launch_next(now: BlockNumberFor) -> DispatchResult { if LastTabledWasExternal::::take() { Self::launch_public(now).or_else(|_| Self::launch_external(now)) } else { @@ -1466,7 +1466,7 @@ impl Pallet { } /// Table the waiting external proposal for a vote, if there is one. - fn launch_external(now: T::BlockNumber) -> DispatchResult { + fn launch_external(now: BlockNumberFor) -> DispatchResult { if let Some((proposal, threshold)) = >::take() { LastTabledWasExternal::::put(true); Self::deposit_event(Event::::ExternalTabled); @@ -1483,7 +1483,7 @@ impl Pallet { } /// Table the waiting public proposal with the highest backing for a vote. - fn launch_public(now: T::BlockNumber) -> DispatchResult { + fn launch_public(now: BlockNumberFor) -> DispatchResult { let mut public_props = Self::public_props(); if let Some((winner_index, _)) = public_props.iter().enumerate().max_by_key( // defensive only: All current public proposals have an amount locked @@ -1515,9 +1515,9 @@ impl Pallet { } fn bake_referendum( - now: T::BlockNumber, + now: BlockNumberFor, index: ReferendumIndex, - status: ReferendumStatus, BalanceOf>, + status: ReferendumStatus, BoundedCallOf, BalanceOf>, ) -> bool { let total_issuance = T::Currency::total_issuance(); let approved = status.threshold.approved(status.tally, total_issuance); @@ -1563,7 +1563,7 @@ impl Pallet { /// - Db writes: `PublicProps`, `account`, `ReferendumCount`, `DepositOf`, `ReferendumInfoOf` /// - Db reads per R: `DepositOf`, `ReferendumInfoOf` /// # - fn begin_block(now: T::BlockNumber) -> Weight { + fn begin_block(now: BlockNumberFor) -> Weight { let max_block_weight = T::BlockWeights::get().max_block; let mut weight = Weight::zero(); diff --git a/pallets/democracy/src/migrations.rs b/pallets/democracy/src/migrations.rs index d9e13cdb8..3ca3a8d66 100644 --- a/pallets/democracy/src/migrations.rs +++ b/pallets/democracy/src/migrations.rs @@ -85,7 +85,7 @@ pub mod v1 { return weight; } - ReferendumInfoOf::::translate(|index, old: ReferendumInfo>| { + ReferendumInfoOf::::translate(|index, old: ReferendumInfo, T::Hash, BalanceOf>| { weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1)); log::info!(target: TARGET, "migrating referendum #{:?}", &index); Some(match old { diff --git a/pallets/democracy/src/weights.rs b/pallets/democracy/src/weights.rs index 985fe8fbd..a9995925d 100644 --- a/pallets/democracy/src/weights.rs +++ b/pallets/democracy/src/weights.rs @@ -187,7 +187,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_320 nanoseconds. - Weight::from_ref_time(3_513_000) + Weight::from_parts(3_513_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:0 w:1) @@ -197,7 +197,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_407 nanoseconds. - Weight::from_ref_time(3_565_000) + Weight::from_parts(3_565_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) @@ -250,7 +250,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 8_582 nanoseconds. - Weight::from_ref_time(8_754_000) + Weight::from_parts(8_754_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy LowestUnbaked (r:1 w:1) @@ -267,11 +267,11 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 6_665 nanoseconds. Weight::from_parts(9_219_932, 998) // Standard Error: 4_236 - .saturating_add(Weight::from_ref_time(2_194_623).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(2_194_623, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy LowestUnbaked (r:1 w:1) /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -293,11 +293,11 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 9_842 nanoseconds. Weight::from_parts(11_932_535, 19318) // Standard Error: 4_413 - .saturating_add(Weight::from_ref_time(2_199_644).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(2_199_644, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy VotingOf (r:3 w:3) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) @@ -313,12 +313,12 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 34_740 nanoseconds. Weight::from_parts(38_366_374, 22584) // Standard Error: 4_868 - .saturating_add(Weight::from_ref_time(3_286_516).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(3_286_516, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy VotingOf (r:2 w:2) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) @@ -332,12 +332,12 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 19_516 nanoseconds. Weight::from_parts(21_629_605, 12540) // Standard Error: 4_401 - .saturating_add(Weight::from_ref_time(3_238_187).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(3_238_187, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy PublicProps (r:0 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -346,7 +346,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_291 nanoseconds. - Weight::from_ref_time(3_485_000) + Weight::from_parts(3_485_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy VotingOf (r:1 w:1) @@ -363,7 +363,7 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 19_357 nanoseconds. Weight::from_parts(24_014_517, 12647) // Standard Error: 994 - .saturating_add(Weight::from_ref_time(17_096).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(17_096, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -381,7 +381,7 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 22_340 nanoseconds. Weight::from_parts(23_355_734, 12647) // Standard Error: 548 - .saturating_add(Weight::from_ref_time(64_308).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(64_308, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -397,7 +397,7 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 14_542 nanoseconds. Weight::from_parts(16_411_916, 8946) // Standard Error: 839 - .saturating_add(Weight::from_ref_time(73_268).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(73_268, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -413,7 +413,7 @@ impl WeightInfo for SubstrateWeight { // Minimum execution time: 14_463 nanoseconds. Weight::from_parts(16_302_901, 8946) // Standard Error: 809 - .saturating_add(Weight::from_ref_time(73_692).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(73_692, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -533,7 +533,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_320 nanoseconds. - Weight::from_ref_time(3_513_000) + Weight::from_parts(3_513_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:0 w:1) @@ -543,7 +543,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_407 nanoseconds. - Weight::from_ref_time(3_565_000) + Weight::from_parts(3_565_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) @@ -596,7 +596,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 8_582 nanoseconds. - Weight::from_ref_time(8_754_000) + Weight::from_parts(8_754_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: Democracy LowestUnbaked (r:1 w:1) @@ -613,11 +613,11 @@ impl WeightInfo for () { // Minimum execution time: 6_665 nanoseconds. Weight::from_parts(9_219_932, 998) // Standard Error: 4_236 - .saturating_add(Weight::from_ref_time(2_194_623).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(2_194_623, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy LowestUnbaked (r:1 w:1) /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -639,11 +639,11 @@ impl WeightInfo for () { // Minimum execution time: 9_842 nanoseconds. Weight::from_parts(11_932_535, 19318) // Standard Error: 4_413 - .saturating_add(Weight::from_ref_time(2_199_644).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(2_199_644, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy VotingOf (r:3 w:3) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) @@ -659,12 +659,12 @@ impl WeightInfo for () { // Minimum execution time: 34_740 nanoseconds. Weight::from_parts(38_366_374, 22584) // Standard Error: 4_868 - .saturating_add(Weight::from_ref_time(3_286_516).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(3_286_516, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy VotingOf (r:2 w:2) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) @@ -678,12 +678,12 @@ impl WeightInfo for () { // Minimum execution time: 19_516 nanoseconds. Weight::from_parts(21_629_605, 12540) // Standard Error: 4_401 - .saturating_add(Weight::from_ref_time(3_238_187).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(3_238_187, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy PublicProps (r:0 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -692,7 +692,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_291 nanoseconds. - Weight::from_ref_time(3_485_000) + Weight::from_parts(3_485_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: Democracy VotingOf (r:1 w:1) @@ -709,7 +709,7 @@ impl WeightInfo for () { // Minimum execution time: 19_357 nanoseconds. Weight::from_parts(24_014_517, 12647) // Standard Error: 994 - .saturating_add(Weight::from_ref_time(17_096).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(17_096, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -727,7 +727,7 @@ impl WeightInfo for () { // Minimum execution time: 22_340 nanoseconds. Weight::from_parts(23_355_734, 12647) // Standard Error: 548 - .saturating_add(Weight::from_ref_time(64_308).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(64_308, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -743,7 +743,7 @@ impl WeightInfo for () { // Minimum execution time: 14_542 nanoseconds. Weight::from_parts(16_411_916, 8946) // Standard Error: 839 - .saturating_add(Weight::from_ref_time(73_268).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(73_268, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -759,7 +759,7 @@ impl WeightInfo for () { // Minimum execution time: 14_463 nanoseconds. Weight::from_parts(16_302_901, 8946) // Standard Error: 809 - .saturating_add(Weight::from_ref_time(73_692).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(73_692, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/pallets/duster/Cargo.toml b/pallets/duster/Cargo.toml index 10ea84758..97faaabcf 100644 --- a/pallets/duster/Cargo.toml +++ b/pallets/duster/Cargo.toml @@ -18,6 +18,7 @@ substrate-wasm-builder = { workspace = true } codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } serde = { features = ["derive"], optional = true, version = "1.0.136" } +log = { workspace = true } hydradx-traits = { workspace = true } @@ -26,6 +27,7 @@ orml-traits = { workspace = true } # Substrate dependencies sp-std = { workspace = true } +sp-runtime = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } @@ -36,7 +38,6 @@ frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] lazy_static = { features = ["spin_no_std"], version = "1.4.0" } sp-io = { workspace = true } -sp-runtime = { workspace = true } sp-core = { workspace = true } pallet-balances = { workspace = true } pallet-currencies = { workspace = true } diff --git a/pallets/duster/src/lib.rs b/pallets/duster/src/lib.rs index 6716d5bbd..030d14d1a 100644 --- a/pallets/duster/src/lib.rs +++ b/pallets/duster/src/lib.rs @@ -48,12 +48,12 @@ pub mod pallet { use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::AtLeast32BitUnsigned; use frame_system::pallet_prelude::{BlockNumberFor, OriginFor}; + use sp_std::vec::Vec; /// The current storage version. const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); @@ -129,25 +129,15 @@ pub mod pallet { } #[pallet::genesis_config] + #[derive(frame_support::DefaultNoBound)] pub struct GenesisConfig { pub account_blacklist: Vec, pub reward_account: Option, pub dust_account: Option, } - #[cfg(feature = "std")] - impl Default for GenesisConfig { - fn default() -> Self { - GenesisConfig { - account_blacklist: vec![], - reward_account: None, - dust_account: None, - } - } - } - #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.account_blacklist.iter().for_each(|account_id| { AccountBlacklist::::insert(account_id, ()); diff --git a/pallets/duster/src/migration.rs b/pallets/duster/src/migration.rs index c7c91e16b..dc14df649 100644 --- a/pallets/duster/src/migration.rs +++ b/pallets/duster/src/migration.rs @@ -21,7 +21,6 @@ use sp_std::vec::Vec; pub mod v1 { use super::*; - use frame_support::log; use frame_support::traits::{Get, GetStorageVersion, PalletInfoAccess, StorageVersion}; pub fn pre_migrate() { diff --git a/pallets/dynamic-fees/src/lib.rs b/pallets/dynamic-fees/src/lib.rs index d9f9e20cd..64a1ded2f 100644 --- a/pallets/dynamic-fees/src/lib.rs +++ b/pallets/dynamic-fees/src/lib.rs @@ -55,6 +55,7 @@ #![cfg_attr(not(feature = "std"), no_std)] +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::traits::Get; use orml_traits::GetByKey; use sp_runtime::traits::{BlockNumberProvider, Saturating}; @@ -84,7 +85,6 @@ pub mod pallet { use sp_runtime::traits::{BlockNumberProvider, Zero}; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::storage] @@ -92,14 +92,14 @@ pub mod pallet { /// Stores last calculated fee of an asset and block number in which it was changed.. /// Stored as (Asset fee, Protocol fee, Block number) pub type AssetFee = - StorageMap<_, Twox64Concat, T::AssetId, FeeEntry, OptionQuery>; + StorageMap<_, Twox64Concat, T::AssetId, FeeEntry>, OptionQuery>; #[pallet::config] pub trait Config: frame_system::Config { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Provider for the current block number. - type BlockNumberProvider: BlockNumberProvider; + type BlockNumberProvider: BlockNumberProvider>; /// Fee PerThing type type Fee: Parameter + MaybeSerializeDeserialize + MaxEncodedLen + PerThing; @@ -164,7 +164,7 @@ where let current_fee_entry = Self::current_fees(asset_id).unwrap_or(FeeEntry { asset_fee: asset_fee_params.min_fee, protocol_fee: protocol_fee_params.min_fee, - timestamp: T::BlockNumber::default(), + timestamp: BlockNumberFor::::default(), }); // Update only if it has not yet been updated this block diff --git a/pallets/ema-oracle/Cargo.toml b/pallets/ema-oracle/Cargo.toml index e713d37c7..8b53a3ac6 100644 --- a/pallets/ema-oracle/Cargo.toml +++ b/pallets/ema-oracle/Cargo.toml @@ -27,6 +27,7 @@ frame-system-benchmarking = { workspace = true, optional = true } sp-arithmetic = { workspace = true } sp-core = { workspace = true } sp-std = { workspace = true } +sp-runtime = { workspace = true } log = { version = "0.4.14", default-features = false } diff --git a/pallets/ema-oracle/src/lib.rs b/pallets/ema-oracle/src/lib.rs index 75405b7b4..71bc3e979 100644 --- a/pallets/ema-oracle/src/lib.rs +++ b/pallets/ema-oracle/src/lib.rs @@ -66,6 +66,7 @@ #![cfg_attr(not(feature = "std"), no_std)] +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::{BlockNumberProvider, One, Zero}; use hydradx_traits::{ @@ -116,7 +117,7 @@ pub mod pallet { type WeightInfo: WeightInfo; /// Provider for the current block number. - type BlockNumberProvider: BlockNumberProvider; + type BlockNumberProvider: BlockNumberProvider>; /// The periods supported by the pallet. I.e. which oracles to track. type SupportedPeriods: Get>>; @@ -140,7 +141,7 @@ pub mod pallet { #[pallet::getter(fn accumulator)] pub type Accumulator = StorageValue< _, - BoundedBTreeMap<(Source, (AssetId, AssetId)), OracleEntry, T::MaxUniqueEntries>, + BoundedBTreeMap<(Source, (AssetId, AssetId)), OracleEntry>, T::MaxUniqueEntries>, ValueQuery, >; @@ -156,26 +157,28 @@ pub mod pallet { NMapKey, NMapKey, ), - (OracleEntry, T::BlockNumber), + (OracleEntry>, BlockNumberFor), OptionQuery, >; #[pallet::genesis_config] - #[derive(Default)] - pub struct GenesisConfig { + #[derive(frame_support::DefaultNoBound)] + pub struct GenesisConfig { pub initial_data: Vec<(Source, (AssetId, AssetId), Price, Liquidity)>, + #[serde(skip)] + pub _marker: PhantomData, } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { for &(source, (asset_a, asset_b), price, liquidity) in self.initial_data.iter() { - let entry: OracleEntry = { + let entry: OracleEntry> = { let e = OracleEntry { price, volume: Volume::default(), liquidity, - updated_at: T::BlockNumber::zero(), + updated_at: BlockNumberFor::::zero(), }; if ordered_pair(asset_a, asset_b) == (asset_a, asset_b) { e @@ -220,7 +223,7 @@ impl Pallet { pub(crate) fn on_entry( src: Source, assets: (AssetId, AssetId), - oracle_entry: OracleEntry, + oracle_entry: OracleEntry>, ) -> Result<(), ()> { Accumulator::::mutate(|accumulator| { if let Some(entry) = accumulator.get_mut(&(src, assets)) { @@ -240,7 +243,7 @@ impl Pallet { pub(crate) fn on_trade( src: Source, assets: (AssetId, AssetId), - oracle_entry: OracleEntry, + oracle_entry: OracleEntry>, ) -> Result { let weight = OnActivityHandler::::on_trade_weight(); Self::on_entry(src, assets, oracle_entry) @@ -253,7 +256,7 @@ impl Pallet { pub(crate) fn on_liquidity_changed( src: Source, assets: (AssetId, AssetId), - oracle_entry: OracleEntry, + oracle_entry: OracleEntry>, ) -> Result { let weight = OnActivityHandler::::on_liquidity_changed_weight(); Self::on_entry(src, assets, oracle_entry) @@ -265,8 +268,8 @@ impl Pallet { pub(crate) fn last_block_oracle( source: Source, assets: (AssetId, AssetId), - block: T::BlockNumber, - ) -> Option<(OracleEntry, T::BlockNumber)> { + block: BlockNumberFor, + ) -> Option<(OracleEntry>, BlockNumberFor)> { Self::oracle((source, assets, LastBlock)).map(|(mut last_block, init)| { // update the `LastBlock` oracle to the last block if it hasn't been updated for a while // price and liquidity stay constant, volume becomes zero @@ -295,7 +298,7 @@ impl Pallet { src: Source, assets: (AssetId, AssetId), period: OraclePeriod, - incoming_entry: OracleEntry, + incoming_entry: OracleEntry>, ) { Oracles::::mutate((src, assets, period), |oracle| { // initialize the oracle entry if it doesn't exist @@ -340,7 +343,7 @@ impl Pallet { src: Source, assets: (AssetId, AssetId), period: OraclePeriod, - ) -> Option<(OracleEntry, T::BlockNumber)> { + ) -> Option<(OracleEntry>, BlockNumberFor)> { let parent = T::BlockNumberProvider::current_block_number().saturating_sub(One::one()); // First get the `LastBlock` oracle to calculate the updated values for the others. let (last_block, last_block_init) = Self::last_block_oracle(src, assets, parent)?; @@ -513,7 +516,7 @@ pub enum OracleError { SameAsset, } -impl AggregatedOracle for Pallet { +impl AggregatedOracle, Price> for Pallet { type Error = OracleError; /// Returns the entry corresponding to the given assets and period. @@ -526,7 +529,7 @@ impl AggregatedOracle for Pa asset_b: AssetId, period: OraclePeriod, source: Source, - ) -> Result, OracleError> { + ) -> Result, Price>, OracleError> { if asset_a == asset_b { return Err(OracleError::SameAsset); }; @@ -547,7 +550,7 @@ impl AggregatedOracle for Pa } } -impl AggregatedPriceOracle for Pallet { +impl AggregatedPriceOracle, Price> for Pallet { type Error = OracleError; fn get_price( @@ -555,7 +558,7 @@ impl AggregatedPriceOracle for Pallet asset_b: AssetId, period: OraclePeriod, source: Source, - ) -> Result<(Price, T::BlockNumber), Self::Error> { + ) -> Result<(Price, BlockNumberFor), Self::Error> { Self::get_entry(asset_a, asset_b, period, source) .map(|AggregatedEntry { price, oracle_age, .. }| (price, oracle_age)) } diff --git a/pallets/ema-oracle/src/weights.rs b/pallets/ema-oracle/src/weights.rs index bf68cbc0f..4702951d3 100644 --- a/pallets/ema-oracle/src/weights.rs +++ b/pallets/ema-oracle/src/weights.rs @@ -62,7 +62,7 @@ impl WeightInfo for BasiliskWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn on_finalize_no_entry() -> Weight { // Minimum execution time: 3_226 nanoseconds. - Weight::from_ref_time(3_325_000 as u64).saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_parts(3_325_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: EmaOracle Accumulator (r:1 w:1) // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) @@ -71,8 +71,8 @@ impl WeightInfo for BasiliskWeight { /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 44_637 nanoseconds. - Weight::from_ref_time(9_798_669 as u64) // Standard Error: 47_796 - .saturating_add(Weight::from_ref_time(33_611_646 as u64).saturating_mul(b as u64)) + Weight::from_parts(9_798_669, 0) // Standard Error: 47_796 + .saturating_add(Weight::from_parts(33_611_646, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -83,8 +83,8 @@ impl WeightInfo for BasiliskWeight { /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 10_368 nanoseconds. - Weight::from_ref_time(10_544_600 as u64) // Standard Error: 2_268 - .saturating_add(Weight::from_ref_time(432_909 as u64).saturating_mul(b as u64)) + Weight::from_parts(10_544_600, 0) // Standard Error: 2_268 + .saturating_add(Weight::from_parts(432_909, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -93,8 +93,8 @@ impl WeightInfo for BasiliskWeight { /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 10_369 nanoseconds. - Weight::from_ref_time(10_608_047 as u64) // Standard Error: 2_062 - .saturating_add(Weight::from_ref_time(432_350 as u64).saturating_mul(b as u64)) + Weight::from_parts(10_608_047, 0) // Standard Error: 2_062 + .saturating_add(Weight::from_parts(432_350, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -102,7 +102,7 @@ impl WeightInfo for BasiliskWeight { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn get_entry() -> Weight { // Minimum execution time: 17_936 nanoseconds. - Weight::from_ref_time(18_521_000 as u64).saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_parts(18_521_000, 0).saturating_add(T::DbWeight::get().reads(2 as u64)) } } @@ -112,7 +112,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn on_finalize_no_entry() -> Weight { // Minimum execution time: 3_226 nanoseconds. - Weight::from_ref_time(3_325_000 as u64).saturating_add(RocksDbWeight::get().reads(1 as u64)) + Weight::from_parts(3_325_000, 0).saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: EmaOracle Accumulator (r:1 w:1) // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) @@ -121,8 +121,8 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 44_637 nanoseconds. - Weight::from_ref_time(9_798_669 as u64) // Standard Error: 47_796 - .saturating_add(Weight::from_ref_time(33_611_646 as u64).saturating_mul(b as u64)) + Weight::from_parts(9_798_669, 0) // Standard Error: 47_796 + .saturating_add(Weight::from_parts(33_611_646, 0).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(b as u64))) .saturating_add(RocksDbWeight::get().writes(1 as u64)) @@ -133,8 +133,8 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 10_368 nanoseconds. - Weight::from_ref_time(10_544_600 as u64) // Standard Error: 2_268 - .saturating_add(Weight::from_ref_time(432_909 as u64).saturating_mul(b as u64)) + Weight::from_parts(10_544_600, 0) // Standard Error: 2_268 + .saturating_add(Weight::from_parts(432_909, 0).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -143,8 +143,8 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 10_369 nanoseconds. - Weight::from_ref_time(10_608_047 as u64) // Standard Error: 2_062 - .saturating_add(Weight::from_ref_time(432_350 as u64).saturating_mul(b as u64)) + Weight::from_parts(10_608_047, 0) // Standard Error: 2_062 + .saturating_add(Weight::from_parts(432_350, 0).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -152,6 +152,6 @@ impl WeightInfo for () { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn get_entry() -> Weight { // Minimum execution time: 17_936 nanoseconds. - Weight::from_ref_time(18_521_000 as u64).saturating_add(RocksDbWeight::get().reads(2 as u64)) + Weight::from_parts(18_521_000, 0).saturating_add(RocksDbWeight::get().reads(2 as u64)) } } diff --git a/pallets/genesis-history/Cargo.toml b/pallets/genesis-history/Cargo.toml index f0075ce1a..0b7457b54 100644 --- a/pallets/genesis-history/Cargo.toml +++ b/pallets/genesis-history/Cargo.toml @@ -12,10 +12,11 @@ repository = "https://github.com/paritytech/substrate/" targets = ['x86_64-unknown-linux-gnu'] [dependencies] -serde = { features = ["derive"], optional = true, version = "1.0.136" } +serde = { features = ["derive"], default-features = false, version = "1.0.136" } codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" } scale-info = { version = "2.3.1", default-features = false, features = ["derive"] } derive_more = "0.99.17" +log = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } diff --git a/pallets/genesis-history/src/lib.rs b/pallets/genesis-history/src/lib.rs index 636c340c9..ded84152b 100644 --- a/pallets/genesis-history/src/lib.rs +++ b/pallets/genesis-history/src/lib.rs @@ -17,9 +17,6 @@ #![cfg_attr(not(feature = "std"), no_std)] use codec::{Decode, Encode}; -#[cfg(feature = "std")] -use frame_support::traits::GenesisBuild; -#[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_core::RuntimeDebug; @@ -34,8 +31,7 @@ mod tests; pub mod migration; -#[derive(Encode, Decode, Clone, Default, PartialEq, Eq, RuntimeDebug, MaxEncodedLen, TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive(Encode, Decode, Serialize, Deserialize, Clone, Default, PartialEq, Eq, RuntimeDebug, MaxEncodedLen, TypeInfo)] pub struct Chain { pub genesis_hash: H256, pub last_block_hash: H256, @@ -54,7 +50,6 @@ pub mod pallet { pub trait Config: frame_system::Config {} #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::storage] @@ -62,37 +57,19 @@ pub mod pallet { pub type PreviousChain = StorageValue<_, Chain, ValueQuery>; #[pallet::genesis_config] - pub struct GenesisConfig { + #[derive(frame_support::DefaultNoBound)] + pub struct GenesisConfig { pub previous_chain: Chain, + pub _phantom: PhantomData, } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { PreviousChain::::put(self.previous_chain.clone()); } } - #[cfg(feature = "std")] - impl Default for GenesisConfig { - fn default() -> Self { - GenesisConfig { - previous_chain: { Chain::default() }, - } - } - } - - #[cfg(feature = "std")] - impl GenesisConfig { - pub fn build_storage(&self) -> Result { - >::build_storage(self) - } - - pub fn assimilate_storage(&self, storage: &mut sp_runtime::Storage) -> Result<(), String> { - >::assimilate_storage(self, storage) - } - } - #[pallet::hooks] impl Hooks> for Pallet {} diff --git a/pallets/genesis-history/src/migration.rs b/pallets/genesis-history/src/migration.rs index b2e563694..fcb1d17e7 100644 --- a/pallets/genesis-history/src/migration.rs +++ b/pallets/genesis-history/src/migration.rs @@ -17,7 +17,6 @@ pub use crate::*; pub use frame_support::{ - log, traits::{Get, StorageVersion}, weights::Weight, }; diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 72c7b5861..36e83019d 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/galacticcouncil/hydradx-node" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +substrate-wasm-builder = { workspace = true } [dependencies] codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" } diff --git a/pallets/lbp/src/lib.rs b/pallets/lbp/src/lib.rs index 01a551dc5..ae2a3c555 100644 --- a/pallets/lbp/src/lib.rs +++ b/pallets/lbp/src/lib.rs @@ -33,6 +33,7 @@ use frame_support::{ transactional, }; use frame_system::ensure_signed; +use frame_system::pallet_prelude::BlockNumberFor; use hydra_dx_math::types::LBPWeight; use hydradx_traits::{AMMTransfer, AssetPairAccountIdFor, CanCreatePool, LockedBalance, AMM}; use orml_traits::{MultiCurrency, MultiCurrencyExtended, MultiLockableCurrency}; @@ -198,7 +199,7 @@ pub mod pallet { type CreatePoolOrigin: EnsureOrigin; /// Function for calculation of LBP weights - type LBPWeightFunction: LBPWeightCalculation; + type LBPWeightFunction: LBPWeightCalculation>; /// Mapping of asset pairs to unique pool identities type AssetPairAccountId: AssetPairAccountIdFor>; @@ -223,11 +224,11 @@ pub mod pallet { type MaxOutRatio: Get; /// The block number provider - type BlockNumberProvider: BlockNumberProvider; + type BlockNumberProvider: BlockNumberProvider>; } #[pallet::hooks] - impl Hooks for Pallet { + impl Hooks> for Pallet { fn integrity_test() { // The exponentiation used in the math can overflow for values smaller than 3 assert!(T::MaxInRatio::get() >= 3, "LBP: MaxInRatio is set to invalid value."); @@ -314,13 +315,13 @@ pub mod pallet { /// Pool was created by the `CreatePool` origin. PoolCreated { pool: PoolId, - data: Pool, + data: Pool>, }, /// Pool data were updated. PoolUpdated { pool: PoolId, - data: Pool, + data: Pool>, }, /// New liquidity was provided to the pool. @@ -368,7 +369,7 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn pool_data)] pub type PoolData = - StorageMap<_, Blake2_128Concat, PoolId, Pool, OptionQuery>; + StorageMap<_, Blake2_128Concat, PoolId, Pool>, OptionQuery>; /// Storage used for tracking existing fee collectors /// Not more than one fee collector per asset possible @@ -527,8 +528,8 @@ pub mod pallet { origin: OriginFor, pool_id: PoolId, pool_owner: Option, - start: Option, - end: Option, + start: Option>, + end: Option>, initial_weight: Option, final_weight: Option, fee: Option<(u32, u32)>, @@ -769,8 +770,8 @@ pub mod pallet { impl Pallet { fn calculate_weights( - pool_data: &Pool, - at: T::BlockNumber, + pool_data: &Pool>, + at: BlockNumberFor, ) -> Result<(LBPWeight, LBPWeight), DispatchError> { let weight_a = T::LBPWeightFunction::calculate_weight( pool_data.weight_curve, @@ -787,7 +788,7 @@ impl Pallet { Ok((weight_a, weight_b)) } - fn validate_pool_data(pool_data: &Pool) -> DispatchResult { + fn validate_pool_data(pool_data: &Pool>) -> DispatchResult { let now = T::BlockNumberProvider::current_block_number(); ensure!( @@ -831,8 +832,8 @@ impl Pallet { fn get_sorted_weight( asset_in: AssetId, - now: T::BlockNumber, - pool_data: &Pool, + now: BlockNumberFor, + pool_data: &Pool>, ) -> Result<(LBPWeight, LBPWeight), Error> { match Self::calculate_weights(pool_data, now) { Ok(weights) => { @@ -848,7 +849,7 @@ impl Pallet { } /// return true if now is in interval - fn is_pool_running(pool_data: &Pool) -> bool { + fn is_pool_running(pool_data: &Pool>) -> bool { let now = T::BlockNumberProvider::current_block_number(); match (pool_data.start, pool_data.end) { (Some(start), Some(end)) => start <= now && now <= end, @@ -857,7 +858,7 @@ impl Pallet { } /// return true if now is > pool.start and pool has been initialized - fn has_pool_started(pool_data: &Pool) -> bool { + fn has_pool_started(pool_data: &Pool>) -> bool { let now = T::BlockNumberProvider::current_block_number(); match pool_data.start { Some(start) => start <= now, @@ -867,12 +868,12 @@ impl Pallet { /// returns fees collected and locked in the fee collector account /// note: after LBP finishes and liquidity is removed this will be 0 - fn collected_fees(pool: &Pool) -> BalanceOf { + fn collected_fees(pool: &Pool>) -> BalanceOf { T::LockedBalance::get_by_lock(COLLECTOR_LOCK_ID, pool.assets.0, pool.fee_collector.clone()) } /// repay fee is applied until repay target amount is reached - fn is_repay_fee_applied(pool: &Pool) -> bool { + fn is_repay_fee_applied(pool: &Pool>) -> bool { Self::collected_fees(pool) < pool.repay_target } @@ -914,7 +915,7 @@ impl Pallet { /// determines fee rate and applies it to the amount fn calculate_fees( - pool: &Pool, + pool: &Pool>, amount: BalanceOf, ) -> Result, DispatchError> { let fee = if Self::is_repay_fee_applied(pool) { diff --git a/pallets/lbp/src/weights.rs b/pallets/lbp/src/weights.rs index 1c326bcfc..dc3a329b4 100644 --- a/pallets/lbp/src/weights.rs +++ b/pallets/lbp/src/weights.rs @@ -78,7 +78,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 141_654 nanoseconds. - Weight::from_ref_time(143_331_000 as u64) + Weight::from_parts(143_331_000, 0) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -88,7 +88,7 @@ impl WeightInfo for HydraWeight { // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn update_pool_data() -> Weight { // Minimum execution time: 30_269 nanoseconds. - Weight::from_ref_time(30_677_000 as u64) + Weight::from_parts(30_677_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -102,7 +102,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 98_867 nanoseconds. - Weight::from_ref_time(100_102_000 as u64) + Weight::from_parts(100_102_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -122,7 +122,7 @@ impl WeightInfo for HydraWeight { // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 125_051 nanoseconds. - Weight::from_ref_time(126_556_000 as u64) + Weight::from_parts(126_556_000, 0) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -138,7 +138,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 217_207 nanoseconds. - Weight::from_ref_time(218_401_000 as u64) + Weight::from_parts(218_401_000, 0) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -154,7 +154,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 211_853 nanoseconds. - Weight::from_ref_time(213_114_000 as u64) + Weight::from_parts(213_114_000, 0) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -172,10 +172,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 66_725 nanoseconds. - Weight::from_ref_time(67_159_000 as u64) // Standard Error: 592_525 - .saturating_add(Weight::from_ref_time(2_278_417 as u64).saturating_mul(c as u64)) + Weight::from_parts(67_159_000, 0) // Standard Error: 592_525 + .saturating_add(Weight::from_parts(2_278_417, 0).saturating_mul(c as u64)) // Standard Error: 1_300_761 - .saturating_add(Weight::from_ref_time(151_794_260 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(151_794_260, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) @@ -194,10 +194,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 118_181 nanoseconds. - Weight::from_ref_time(118_740_000 as u64) // Standard Error: 769_691 - .saturating_add(Weight::from_ref_time(3_767_843 as u64).saturating_mul(c as u64)) + Weight::from_parts(118_740_000, 0) // Standard Error: 769_691 + .saturating_add(Weight::from_parts(3_767_843, 0).saturating_mul(c as u64)) // Standard Error: 2_541_567 - .saturating_add(Weight::from_ref_time(124_213_432 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(124_213_432, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) @@ -222,7 +222,7 @@ impl WeightInfo for () { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 141_654 nanoseconds. - Weight::from_ref_time(143_331_000 as u64) + Weight::from_parts(143_331_000, 0) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().writes(8 as u64)) } @@ -232,7 +232,7 @@ impl WeightInfo for () { // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn update_pool_data() -> Weight { // Minimum execution time: 30_269 nanoseconds. - Weight::from_ref_time(30_677_000 as u64) + Weight::from_parts(30_677_000, 0) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -246,7 +246,7 @@ impl WeightInfo for () { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 98_867 nanoseconds. - Weight::from_ref_time(100_102_000 as u64) + Weight::from_parts(100_102_000, 0) .saturating_add(RocksDbWeight::get().reads(8 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -266,7 +266,7 @@ impl WeightInfo for () { // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 125_051 nanoseconds. - Weight::from_ref_time(126_556_000 as u64) + Weight::from_parts(126_556_000, 0) .saturating_add(RocksDbWeight::get().reads(10 as u64)) .saturating_add(RocksDbWeight::get().writes(8 as u64)) } @@ -282,7 +282,7 @@ impl WeightInfo for () { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 217_207 nanoseconds. - Weight::from_ref_time(218_401_000 as u64) + Weight::from_parts(218_401_000, 0) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -298,7 +298,7 @@ impl WeightInfo for () { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 211_853 nanoseconds. - Weight::from_ref_time(213_114_000 as u64) + Weight::from_parts(213_114_000, 0) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -316,10 +316,10 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 66_725 nanoseconds. - Weight::from_ref_time(67_159_000 as u64) // Standard Error: 592_525 - .saturating_add(Weight::from_ref_time(2_278_417 as u64).saturating_mul(c as u64)) + Weight::from_parts(67_159_000, 0) // Standard Error: 592_525 + .saturating_add(Weight::from_parts(2_278_417, 0).saturating_mul(c as u64)) // Standard Error: 1_300_761 - .saturating_add(Weight::from_ref_time(151_794_260 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(151_794_260, 0).saturating_mul(e as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((9 as u64).saturating_mul(e as u64))) .saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(e as u64))) @@ -338,10 +338,10 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 118_181 nanoseconds. - Weight::from_ref_time(118_740_000 as u64) // Standard Error: 769_691 - .saturating_add(Weight::from_ref_time(3_767_843 as u64).saturating_mul(c as u64)) + Weight::from_parts(118_740_000, 0) // Standard Error: 769_691 + .saturating_add(Weight::from_parts(3_767_843, 0).saturating_mul(c as u64)) // Standard Error: 2_541_567 - .saturating_add(Weight::from_ref_time(124_213_432 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(124_213_432, 0).saturating_mul(e as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((9 as u64).saturating_mul(e as u64))) .saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(e as u64))) diff --git a/pallets/liquidity-mining/src/lib.rs b/pallets/liquidity-mining/src/lib.rs index 70384b119..b446113f7 100644 --- a/pallets/liquidity-mining/src/lib.rs +++ b/pallets/liquidity-mining/src/lib.rs @@ -128,7 +128,7 @@ use sp_std::{ vec::Vec, }; -type PeriodOf = ::BlockNumber; +type PeriodOf = BlockNumberFor; //WARN: MIN_YIELD_FARM_MULTIPLIER.check_mul_int(MIN_DEPOSIT) >= 1. This rule is important otherwise //non-zero deposit can result in a zero stake in global-farm and farm can be falsely identified as @@ -143,7 +143,6 @@ pub mod pallet { use super::*; #[pallet::pallet] - #[pallet::generate_store(pub(crate) trait Store)] pub struct Pallet(PhantomData<(T, I)>); #[pallet::hooks] @@ -157,11 +156,13 @@ pub mod pallet { } #[pallet::genesis_config] - #[cfg_attr(feature = "std", derive(Default))] - pub struct GenesisConfig {} + #[derive(frame_support::DefaultNoBound)] + pub struct GenesisConfig, I: 'static = ()> { + pub _phantom: PhantomData<(T, I)>, + } #[pallet::genesis_build] - impl, I: 'static> GenesisBuild for GenesisConfig { + impl, I: 'static> BuildGenesisConfig for GenesisConfig { fn build(&self) { let pot = >::pot_account_id().unwrap(); @@ -189,10 +190,10 @@ pub mod pallet { /// Minimum number of periods to run liquidity mining program. #[pallet::constant] - type MinPlannedYieldingPeriods: Get; + type MinPlannedYieldingPeriods: Get>; /// The block number provider - type BlockNumberProvider: BlockNumberProvider; + type BlockNumberProvider: BlockNumberProvider>; /// Id used to identify amm pool in liquidity mining pallet. type AmmPoolId: Parameter + Member + Clone + FullCodec + MaxEncodedLen; diff --git a/pallets/liquidity-mining/src/types.rs b/pallets/liquidity-mining/src/types.rs index b08ce4378..b16af7452 100644 --- a/pallets/liquidity-mining/src/types.rs +++ b/pallets/liquidity-mining/src/types.rs @@ -78,7 +78,7 @@ impl, I: 'static> GlobalFarmData { reward_currency: T::AssetId, yield_per_period: Perquintill, planned_yielding_periods: PeriodOf, - blocks_per_period: T::BlockNumber, + blocks_per_period: BlockNumberFor, owner: T::AccountId, incentivized_asset: T::AssetId, max_reward_per_period: Balance, diff --git a/pallets/nft/src/lib.rs b/pallets/nft/src/lib.rs index 32c3c3f99..152c8fa3d 100644 --- a/pallets/nft/src/lib.rs +++ b/pallets/nft/src/lib.rs @@ -67,7 +67,6 @@ pub mod pallet { #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::config] diff --git a/pallets/nft/src/weights.rs b/pallets/nft/src/weights.rs index 406e41ce9..2e3e255e9 100644 --- a/pallets/nft/src/weights.rs +++ b/pallets/nft/src/weights.rs @@ -58,27 +58,27 @@ pub struct BasiliskWeight(PhantomData); impl WeightInfo for BasiliskWeight { fn create_collection() -> Weight { - Weight::from_ref_time(26_000_000 as u64) + Weight::from_parts(26_000_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } fn mint() -> Weight { - Weight::from_ref_time(34_000_000 as u64) + Weight::from_parts(34_000_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } fn transfer() -> Weight { - Weight::from_ref_time(29_000_000 as u64) + Weight::from_parts(29_000_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } fn destroy_collection() -> Weight { - Weight::from_ref_time(40_000_000 as u64) + Weight::from_parts(40_000_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } fn burn() -> Weight { - Weight::from_ref_time(36_000_000 as u64) + Weight::from_parts(36_000_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -87,27 +87,27 @@ impl WeightInfo for BasiliskWeight { // For backwards compatibility and tests impl WeightInfo for () { fn create_collection() -> Weight { - Weight::from_ref_time(26_000_000 as u64) + Weight::from_parts(26_000_000, 0) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } fn mint() -> Weight { - Weight::from_ref_time(34_000_000 as u64) + Weight::from_parts(34_000_000, 0) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } fn transfer() -> Weight { - Weight::from_ref_time(29_000_000 as u64) + Weight::from_parts(29_000_000, 0) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } fn destroy_collection() -> Weight { - Weight::from_ref_time(40_000_000 as u64) + Weight::from_parts(40_000_000, 0) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } fn burn() -> Weight { - Weight::from_ref_time(36_000_000 as u64) + Weight::from_parts(36_000_000, 0) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index a327bf927..d61bf67b8 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] # parity scale-info = { version = "2.3.1", default-features = false, features = ["derive"] } codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" } +log = { workspace = true } # local primitives = { workspace = true } diff --git a/pallets/omnipool-liquidity-mining/src/lib.rs b/pallets/omnipool-liquidity-mining/src/lib.rs index 49662556a..f30f6f689 100644 --- a/pallets/omnipool-liquidity-mining/src/lib.rs +++ b/pallets/omnipool-liquidity-mining/src/lib.rs @@ -54,7 +54,7 @@ use frame_support::{ }, PalletId, }; -use frame_system::{ensure_signed, pallet_prelude::OriginFor}; +use frame_system::{ensure_signed, pallet_prelude::{OriginFor, BlockNumberFor}}; use hydra_dx_math::ema::EmaPrice as Price; use hydradx_traits::{ liquidity_mining::{GlobalFarmId, Mutate as LiquidityMiningMutate, YieldFarmId}, @@ -73,7 +73,7 @@ pub use pallet::*; pub use weights::WeightInfo; type OmnipoolPallet = pallet_omnipool::Pallet; -type PeriodOf = ::BlockNumber; +type PeriodOf = BlockNumberFor; #[frame_support::pallet] #[allow(clippy::too_many_arguments)] @@ -83,15 +83,17 @@ pub mod pallet { use frame_system::pallet_prelude::*; #[pallet::pallet] - #[pallet::generate_store(pub(crate) trait Store)] pub struct Pallet(_); #[pallet::genesis_config] - #[cfg_attr(feature = "std", derive(Default))] - pub struct GenesisConfig {} + #[derive(frame_support::DefaultNoBound)] + pub struct GenesisConfig { + #[serde(skip)] + pub _marker: PhantomData, + } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { let pallet_account = >::account_id(); diff --git a/pallets/omnipool-liquidity-mining/src/migration.rs b/pallets/omnipool-liquidity-mining/src/migration.rs index 54a3245f4..e94a068a5 100644 --- a/pallets/omnipool-liquidity-mining/src/migration.rs +++ b/pallets/omnipool-liquidity-mining/src/migration.rs @@ -15,7 +15,6 @@ use super::*; use frame_support::{ - log, traits::{Get, GetStorageVersion, PalletInfoAccess, StorageVersion}, weights::Weight, }; diff --git a/pallets/omnipool-liquidity-mining/src/weights.rs b/pallets/omnipool-liquidity-mining/src/weights.rs index 4e49a37de..74ace84f6 100644 --- a/pallets/omnipool-liquidity-mining/src/weights.rs +++ b/pallets/omnipool-liquidity-mining/src/weights.rs @@ -64,57 +64,57 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { fn create_global_farm() -> Weight { - Weight::from_ref_time(86_884_000 as u64) + Weight::from_parts(86_884_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } fn terminate_global_farm() -> Weight { - Weight::from_ref_time(85_822_000 as u64) + Weight::from_parts(85_822_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } fn create_yield_farm() -> Weight { - Weight::from_ref_time(110_999_000 as u64) + Weight::from_parts(110_999_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } fn update_yield_farm() -> Weight { - Weight::from_ref_time(114_095_000 as u64) + Weight::from_parts(114_095_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } fn stop_yield_farm() -> Weight { - Weight::from_ref_time(107_221_000 as u64) + Weight::from_parts(107_221_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } fn resume_yield_farm() -> Weight { - Weight::from_ref_time(111_089_000 as u64) + Weight::from_parts(111_089_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } fn terminate_yield_farm() -> Weight { - Weight::from_ref_time(78_328_000 as u64) + Weight::from_parts(78_328_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } fn deposit_shares() -> Weight { - Weight::from_ref_time(183_245_000 as u64) + Weight::from_parts(183_245_000, 0) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } fn redeposit_shares() -> Weight { - Weight::from_ref_time(152_727_000 as u64) + Weight::from_parts(152_727_000, 0) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } fn claim_rewards() -> Weight { - Weight::from_ref_time(156_835_000 as u64) + Weight::from_parts(156_835_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } fn withdraw_shares() -> Weight { - Weight::from_ref_time(236_615_000 as u64) + Weight::from_parts(236_615_000, 0) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } @@ -123,57 +123,57 @@ impl WeightInfo for HydraWeight { // For backwards compatibility and tests impl WeightInfo for () { fn create_global_farm() -> Weight { - Weight::from_ref_time(86_884_000 as u64) + Weight::from_parts(86_884_000, 0) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } fn terminate_global_farm() -> Weight { - Weight::from_ref_time(85_822_000 as u64) + Weight::from_parts(85_822_000, 0) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } fn create_yield_farm() -> Weight { - Weight::from_ref_time(110_999_000 as u64) + Weight::from_parts(110_999_000, 0) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } fn update_yield_farm() -> Weight { - Weight::from_ref_time(114_095_000 as u64) + Weight::from_parts(114_095_000, 0) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } fn stop_yield_farm() -> Weight { - Weight::from_ref_time(107_221_000 as u64) + Weight::from_parts(107_221_000, 0) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } fn resume_yield_farm() -> Weight { - Weight::from_ref_time(111_089_000 as u64) + Weight::from_parts(111_089_000, 0) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } fn terminate_yield_farm() -> Weight { - Weight::from_ref_time(78_328_000 as u64) + Weight::from_parts(78_328_000, 0) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } fn deposit_shares() -> Weight { - Weight::from_ref_time(183_245_000 as u64) + Weight::from_parts(183_245_000, 0) .saturating_add(RocksDbWeight::get().reads(14 as u64)) .saturating_add(RocksDbWeight::get().writes(14 as u64)) } fn redeposit_shares() -> Weight { - Weight::from_ref_time(152_727_000 as u64) + Weight::from_parts(152_727_000, 0) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } fn claim_rewards() -> Weight { - Weight::from_ref_time(156_835_000 as u64) + Weight::from_parts(156_835_000, 0) .saturating_add(RocksDbWeight::get().reads(8 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } fn withdraw_shares() -> Weight { - Weight::from_ref_time(236_615_000 as u64) + Weight::from_parts(236_615_000, 0) .saturating_add(RocksDbWeight::get().reads(13 as u64)) .saturating_add(RocksDbWeight::get().writes(15 as u64)) } diff --git a/pallets/omnipool/src/lib.rs b/pallets/omnipool/src/lib.rs index 586ff528e..5eb749bc3 100644 --- a/pallets/omnipool/src/lib.rs +++ b/pallets/omnipool/src/lib.rs @@ -117,7 +117,6 @@ pub mod pallet { use sp_runtime::ArithmeticError; #[pallet::pallet] - #[pallet::generate_store(pub(crate) trait Store)] pub struct Pallet(_); #[pallet::config] diff --git a/pallets/omnipool/src/traits.rs b/pallets/omnipool/src/traits.rs index e31c1f3a1..3fc215f7c 100644 --- a/pallets/omnipool/src/traits.rs +++ b/pallets/omnipool/src/traits.rs @@ -1,5 +1,5 @@ use crate::types::AssetReserveState; -use frame_support::dispatch::fmt::Debug; +use sp_std::fmt::Debug; use frame_support::ensure; use frame_support::traits::Contains; use frame_support::weights::Weight; diff --git a/pallets/omnipool/src/weights.rs b/pallets/omnipool/src/weights.rs index bb6597f5c..153e530f7 100644 --- a/pallets/omnipool/src/weights.rs +++ b/pallets/omnipool/src/weights.rs @@ -88,7 +88,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool HubAssetTradability (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) fn initialize_pool() -> Weight { // Minimum execution time: 149_531 nanoseconds. - Weight::from_ref_time(150_484_000 as u64) + Weight::from_parts(150_484_000, 0) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -120,7 +120,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) fn add_token() -> Weight { // Minimum execution time: 148_641 nanoseconds. - Weight::from_ref_time(150_420_000 as u64) + Weight::from_parts(150_420_000, 0) .saturating_add(T::DbWeight::get().reads(15 as u64)) .saturating_add(T::DbWeight::get().writes(10 as u64)) } @@ -164,7 +164,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 233_542 nanoseconds. - Weight::from_ref_time(235_489_000 as u64) + Weight::from_parts(235_489_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } @@ -208,7 +208,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 295_371 nanoseconds. - Weight::from_ref_time(297_465_000 as u64) + Weight::from_parts(297_465_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } @@ -244,7 +244,7 @@ impl WeightInfo for HydraWeight { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 258_297 nanoseconds. - Weight::from_ref_time(260_217_000 as u64) + Weight::from_parts(260_217_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } @@ -280,7 +280,7 @@ impl WeightInfo for HydraWeight { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 279_260 nanoseconds. - Weight::from_ref_time(280_777_000 as u64) + Weight::from_parts(280_777_000, 0) .saturating_add(T::DbWeight::get().reads(24 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } @@ -288,7 +288,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) fn set_asset_tradable_state() -> Weight { // Minimum execution time: 33_892 nanoseconds. - Weight::from_ref_time(34_292_000 as u64) + Weight::from_parts(34_292_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -306,7 +306,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn refund_refused_asset() -> Weight { // Minimum execution time: 109_440 nanoseconds. - Weight::from_ref_time(110_207_000 as u64) + Weight::from_parts(110_207_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -324,7 +324,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn sacrifice_position() -> Weight { // Minimum execution time: 77_870 nanoseconds. - Weight::from_ref_time(78_533_000 as u64) + Weight::from_parts(78_533_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -332,7 +332,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) fn set_asset_weight_cap() -> Weight { // Minimum execution time: 34_229 nanoseconds. - Weight::from_ref_time(34_689_000 as u64) + Weight::from_parts(34_689_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -370,10 +370,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 54_153 nanoseconds. - Weight::from_ref_time(40_444_373 as u64) // Standard Error: 79_703 - .saturating_add(Weight::from_ref_time(14_755_626 as u64).saturating_mul(c as u64)) + Weight::from_parts(40_444_373, 0) // Standard Error: 79_703 + .saturating_add(Weight::from_parts(14_755_626, 0).saturating_mul(c as u64)) // Standard Error: 79_703 - .saturating_add(Weight::from_ref_time(219_012_766 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(219_012_766, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().reads((16 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((14 as u64).saturating_mul(e as u64))) @@ -412,8 +412,8 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32) -> Weight { // Minimum execution time: 277_855 nanoseconds. - Weight::from_ref_time(269_412_275 as u64) // Standard Error: 112_640 - .saturating_add(Weight::from_ref_time(12_219_983 as u64).saturating_mul(c as u64)) + Weight::from_parts(269_412_275, 0) // Standard Error: 112_640 + .saturating_add(Weight::from_parts(12_219_983, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(24 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } @@ -443,7 +443,7 @@ impl WeightInfo for () { // Proof: Omnipool HubAssetTradability (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) fn initialize_pool() -> Weight { // Minimum execution time: 149_531 nanoseconds. - Weight::from_ref_time(150_484_000 as u64) + Weight::from_parts(150_484_000, 0) .saturating_add(RocksDbWeight::get().reads(11 as u64)) .saturating_add(RocksDbWeight::get().writes(8 as u64)) } @@ -475,7 +475,7 @@ impl WeightInfo for () { // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) fn add_token() -> Weight { // Minimum execution time: 148_641 nanoseconds. - Weight::from_ref_time(150_420_000 as u64) + Weight::from_parts(150_420_000, 0) .saturating_add(RocksDbWeight::get().reads(15 as u64)) .saturating_add(RocksDbWeight::get().writes(10 as u64)) } @@ -519,7 +519,7 @@ impl WeightInfo for () { // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 233_542 nanoseconds. - Weight::from_ref_time(235_489_000 as u64) + Weight::from_parts(235_489_000, 0) .saturating_add(RocksDbWeight::get().reads(23 as u64)) .saturating_add(RocksDbWeight::get().writes(14 as u64)) } @@ -563,7 +563,7 @@ impl WeightInfo for () { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 295_371 nanoseconds. - Weight::from_ref_time(297_465_000 as u64) + Weight::from_parts(297_465_000, 0) .saturating_add(RocksDbWeight::get().reads(23 as u64)) .saturating_add(RocksDbWeight::get().writes(16 as u64)) } @@ -599,7 +599,7 @@ impl WeightInfo for () { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 258_297 nanoseconds. - Weight::from_ref_time(260_217_000 as u64) + Weight::from_parts(260_217_000, 0) .saturating_add(RocksDbWeight::get().reads(23 as u64)) .saturating_add(RocksDbWeight::get().writes(14 as u64)) } @@ -635,7 +635,7 @@ impl WeightInfo for () { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 279_260 nanoseconds. - Weight::from_ref_time(280_777_000 as u64) + Weight::from_parts(280_777_000, 0) .saturating_add(RocksDbWeight::get().reads(24 as u64)) .saturating_add(RocksDbWeight::get().writes(15 as u64)) } @@ -643,7 +643,7 @@ impl WeightInfo for () { // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) fn set_asset_tradable_state() -> Weight { // Minimum execution time: 33_892 nanoseconds. - Weight::from_ref_time(34_292_000 as u64) + Weight::from_parts(34_292_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -661,7 +661,7 @@ impl WeightInfo for () { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn refund_refused_asset() -> Weight { // Minimum execution time: 109_440 nanoseconds. - Weight::from_ref_time(110_207_000 as u64) + Weight::from_parts(110_207_000, 0) .saturating_add(RocksDbWeight::get().reads(8 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } @@ -679,7 +679,7 @@ impl WeightInfo for () { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn sacrifice_position() -> Weight { // Minimum execution time: 77_870 nanoseconds. - Weight::from_ref_time(78_533_000 as u64) + Weight::from_parts(78_533_000, 0) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } @@ -687,7 +687,7 @@ impl WeightInfo for () { // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) fn set_asset_weight_cap() -> Weight { // Minimum execution time: 34_229 nanoseconds. - Weight::from_ref_time(34_689_000 as u64) + Weight::from_parts(34_689_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -725,10 +725,10 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 54_153 nanoseconds. - Weight::from_ref_time(40_444_373 as u64) // Standard Error: 79_703 - .saturating_add(Weight::from_ref_time(14_755_626 as u64).saturating_mul(c as u64)) + Weight::from_parts(40_444_373, 0) // Standard Error: 79_703 + .saturating_add(Weight::from_parts(14_755_626, 0).saturating_mul(c as u64)) // Standard Error: 79_703 - .saturating_add(Weight::from_ref_time(219_012_766 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(219_012_766, 0).saturating_mul(e as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().reads((16 as u64).saturating_mul(e as u64))) .saturating_add(RocksDbWeight::get().writes((14 as u64).saturating_mul(e as u64))) @@ -767,8 +767,8 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32) -> Weight { // Minimum execution time: 277_855 nanoseconds. - Weight::from_ref_time(269_412_275 as u64) // Standard Error: 112_640 - .saturating_add(Weight::from_ref_time(12_219_983 as u64).saturating_mul(c as u64)) + Weight::from_parts(269_412_275, 0) // Standard Error: 112_640 + .saturating_add(Weight::from_parts(12_219_983, 0).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(24 as u64)) .saturating_add(RocksDbWeight::get().writes(15 as u64)) } diff --git a/pallets/otc/src/lib.rs b/pallets/otc/src/lib.rs index 0926af109..feedc8e05 100644 --- a/pallets/otc/src/lib.rs +++ b/pallets/otc/src/lib.rs @@ -79,7 +79,6 @@ pub mod pallet { use codec::HasCompact; #[pallet::pallet] - #[pallet::generate_store(pub(crate) trait Store)] pub struct Pallet(_); #[pallet::config] diff --git a/pallets/otc/src/weights.rs b/pallets/otc/src/weights.rs index 76f1ad1bf..0007c7831 100644 --- a/pallets/otc/src/weights.rs +++ b/pallets/otc/src/weights.rs @@ -58,22 +58,22 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { fn place_order() -> Weight { - Weight::from_ref_time(69_013_000 as u64) + Weight::from_parts(69_013_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } fn partial_fill_order() -> Weight { - Weight::from_ref_time(125_008_000 as u64) + Weight::from_parts(125_008_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } fn fill_order() -> Weight { - Weight::from_ref_time(120_345_000 as u64) + Weight::from_parts(120_345_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } fn cancel_order() -> Weight { - Weight::from_ref_time(55_731_000 as u64) + Weight::from_parts(55_731_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -82,22 +82,22 @@ impl WeightInfo for HydraWeight { // For backwards compatibility and tests impl WeightInfo for () { fn place_order() -> Weight { - Weight::from_ref_time(69_013_000 as u64) + Weight::from_parts(69_013_000, 0) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } fn partial_fill_order() -> Weight { - Weight::from_ref_time(125_008_000 as u64) + Weight::from_parts(125_008_000, 0) .saturating_add(RocksDbWeight::get().reads(8 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } fn fill_order() -> Weight { - Weight::from_ref_time(120_345_000 as u64) + Weight::from_parts(120_345_000, 0) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } fn cancel_order() -> Weight { - Weight::from_ref_time(55_731_000 as u64) + Weight::from_parts(55_731_000, 0) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } diff --git a/pallets/relaychain-info/src/lib.rs b/pallets/relaychain-info/src/lib.rs index e9eb0d3f2..5f2256749 100644 --- a/pallets/relaychain-info/src/lib.rs +++ b/pallets/relaychain-info/src/lib.rs @@ -25,22 +25,22 @@ pub use pallet::*; #[frame_support::pallet] pub mod pallet { + use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::BlockNumberProvider; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::config] pub trait Config: frame_system::Config { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Provider of relay chain block number - type RelaychainBlockNumberProvider: BlockNumberProvider; + type RelaychainBlockNumberProvider: BlockNumberProvider>; } #[pallet::error] @@ -52,8 +52,8 @@ pub mod pallet { /// Current block numbers /// [ Parachain block number, Relaychain Block number ] CurrentBlockNumbers { - parachain_block_number: T::BlockNumber, - relaychain_block_number: T::BlockNumber, + parachain_block_number: BlockNumberFor, + relaychain_block_number: BlockNumberFor, }, } diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index 69cac495d..d6d495cfe 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -31,6 +31,7 @@ pub use hydradx_traits::router::{ use orml_traits::arithmetic::{CheckedAdd, CheckedSub}; use sp_runtime::{ArithmeticError, DispatchError}; use sp_std::{vec, vec::Vec}; +use frame_support::traits::tokens::{Fortitude, Preservation}; #[cfg(test)] mod tests; @@ -143,8 +144,8 @@ pub mod pallet { let who = ensure_signed(origin.clone())?; Self::ensure_route_size(route.len())?; - let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(asset_in, &who, false); - let user_balance_of_asset_out_before_trade = T::Currency::reducible_balance(asset_out, &who, false); + let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(asset_in, &who, Preservation::Expendable, Fortitude::Polite); + let user_balance_of_asset_out_before_trade = T::Currency::reducible_balance(asset_out, &who, Preservation::Expendable, Fortitude::Polite); ensure!( user_balance_of_asset_in_before_trade >= amount_in, Error::::InsufficientBalance @@ -159,7 +160,7 @@ pub mod pallet { ); for (trade_amount, trade) in trade_amounts.iter().zip(route) { - let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(trade.asset_in, &who, true); + let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(trade.asset_in, &who, Preservation::Preserve, Fortitude::Polite); let execution_result = T::AMM::execute_sell( origin.clone(), @@ -222,7 +223,7 @@ pub mod pallet { let who = ensure_signed(origin.clone())?; Self::ensure_route_size(route.len())?; - let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(asset_in, &who, true); + let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(asset_in, &who, Preservation::Preserve, Fortitude::Polite); let trade_amounts = Self::calculate_buy_trade_amounts(&route, amount_out)?; @@ -234,7 +235,7 @@ pub mod pallet { for (trade_amount, trade) in trade_amounts.iter().rev().zip(route) { let user_balance_of_asset_out_before_trade = - T::Currency::reducible_balance(trade.asset_out, &who, false); + T::Currency::reducible_balance(trade.asset_out, &who, Preservation::Expendable, Fortitude::Polite); let execution_result = T::AMM::execute_buy( origin.clone(), @@ -291,7 +292,7 @@ impl Pallet { user_balance_of_asset_out_before_trade: T::Balance, received_amount: T::Balance, ) -> Result<(), DispatchError> { - let user_balance_of_asset_out_after_trade = T::Currency::reducible_balance(asset_out, &who, false); + let user_balance_of_asset_out_after_trade = T::Currency::reducible_balance(asset_out, &who, Preservation::Expendable, Fortitude::Polite); let user_expected_balance_of_asset_out_after_trade = user_balance_of_asset_out_before_trade .checked_add(&received_amount) .ok_or(ArithmeticError::Overflow)?; @@ -311,7 +312,7 @@ impl Pallet { spent_amount: T::Balance, ) -> Result<(), DispatchError> { if spent_amount < user_balance_of_asset_in_before_trade { - let user_balance_of_asset_in_after_trade = T::Currency::reducible_balance(asset_in, &who, true); + let user_balance_of_asset_in_after_trade = T::Currency::reducible_balance(asset_in, &who, Preservation::Preserve, Fortitude::Polite); ensure!( user_balance_of_asset_in_before_trade - spent_amount == user_balance_of_asset_in_after_trade, diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index fd5a731ac..6aa50af33 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -70,10 +70,10 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, s: u32) -> Weight { // Minimum execution time: 74_851 nanoseconds. - Weight::from_ref_time(26_266_260 as u64) // Standard Error: 251_240 - .saturating_add(Weight::from_ref_time(49_596_533 as u64).saturating_mul(c as u64)) + Weight::from_parts(26_266_260, 0) // Standard Error: 251_240 + .saturating_add(Weight::from_parts(49_596_533, 0).saturating_mul(c as u64)) // Standard Error: 251_240 - .saturating_add(Weight::from_ref_time(252_604_739 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(252_604_739, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(s as u64))) @@ -92,10 +92,10 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Minimum execution time: 73_996 nanoseconds. - Weight::from_ref_time(74_590_000 as u64) // Standard Error: 576_133 - .saturating_add(Weight::from_ref_time(2_213_808 as u64).saturating_mul(c as u64)) + Weight::from_parts(74_590_000, 0) // Standard Error: 576_133 + .saturating_add(Weight::from_parts(2_213_808, 0).saturating_mul(c as u64)) // Standard Error: 1_264_777 - .saturating_add(Weight::from_ref_time(205_965_931 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(205_965_931, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(b as u64))) @@ -118,10 +118,10 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, s: u32) -> Weight { // Minimum execution time: 74_851 nanoseconds. - Weight::from_ref_time(26_266_260 as u64) // Standard Error: 251_240 - .saturating_add(Weight::from_ref_time(49_596_533 as u64).saturating_mul(c as u64)) + Weight::from_parts(26_266_260, 0) // Standard Error: 251_240 + .saturating_add(Weight::from_parts(49_596_533, 0).saturating_mul(c as u64)) // Standard Error: 251_240 - .saturating_add(Weight::from_ref_time(252_604_739 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(252_604_739, 0).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((5 as u64).saturating_mul(s as u64))) .saturating_add(RocksDbWeight::get().writes((6 as u64).saturating_mul(s as u64))) @@ -140,10 +140,10 @@ impl WeightInfo for () { /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Minimum execution time: 73_996 nanoseconds. - Weight::from_ref_time(74_590_000 as u64) // Standard Error: 576_133 - .saturating_add(Weight::from_ref_time(2_213_808 as u64).saturating_mul(c as u64)) + Weight::from_parts(74_590_000, 0) // Standard Error: 576_133 + .saturating_add(Weight::from_parts(2_213_808, 0).saturating_mul(c as u64)) // Standard Error: 1_264_777 - .saturating_add(Weight::from_ref_time(205_965_931 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(205_965_931, 0).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((5 as u64).saturating_mul(b as u64))) .saturating_add(RocksDbWeight::get().writes((6 as u64).saturating_mul(b as u64))) diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index 77f98ddaf..781f3ca96 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -42,6 +42,7 @@ extern crate core; +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::{DispatchResult, Get}; use frame_support::{ensure, require_transactional, transactional}; use hydradx_traits::{registry::InspectRegistry, AccountIdFor}; @@ -97,7 +98,6 @@ pub mod pallet { use sp_std::num::NonZeroU16; #[pallet::pallet] - #[pallet::generate_store(pub(crate) trait Store)] pub struct Pallet(_); #[pallet::config] @@ -106,7 +106,7 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Provider for the current block number. - type BlockNumberProvider: BlockNumberProvider; + type BlockNumberProvider: BlockNumberProvider>; /// Identifier for the class of asset. type AssetId: Member @@ -159,7 +159,7 @@ pub mod pallet { /// Existing pools #[pallet::storage] #[pallet::getter(fn pools)] - pub type Pools = StorageMap<_, Blake2_128Concat, T::AssetId, PoolInfo>; + pub type Pools = StorageMap<_, Blake2_128Concat, T::AssetId, PoolInfo>>; /// Tradability state of pool assets. #[pallet::storage] @@ -227,8 +227,8 @@ pub mod pallet { pool_id: T::AssetId, current_amplification: NonZeroU16, final_amplification: NonZeroU16, - start_block: T::BlockNumber, - end_block: T::BlockNumber, + start_block: BlockNumberFor, + end_block: BlockNumberFor, }, } @@ -409,8 +409,8 @@ pub mod pallet { origin: OriginFor, pool_id: T::AssetId, final_amplification: u16, - start_block: T::BlockNumber, - end_block: T::BlockNumber, + start_block: BlockNumberFor, + end_block: BlockNumberFor, ) -> DispatchResult { T::AuthorityOrigin::ensure_origin(origin)?; @@ -1259,7 +1259,7 @@ impl Pallet { } #[inline] - pub(crate) fn get_amplification(pool: &PoolInfo) -> u128 { + pub(crate) fn get_amplification(pool: &PoolInfo>) -> u128 { hydra_dx_math::stableswap::calculate_amplification( pool.initial_amplification.get().into(), pool.final_amplification.get().into(), diff --git a/pallets/stableswap/src/weights.rs b/pallets/stableswap/src/weights.rs index c2f22cafd..1c47a54fd 100644 --- a/pallets/stableswap/src/weights.rs +++ b/pallets/stableswap/src/weights.rs @@ -74,7 +74,7 @@ impl WeightInfo for HydraWeight { // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 50_068 nanoseconds. - Weight::from_ref_time(50_557_000 as u64) + Weight::from_parts(50_557_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -100,7 +100,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 1_140_516 nanoseconds. - Weight::from_ref_time(1_143_845_000 as u64) + Weight::from_parts(1_143_845_000, 0) .saturating_add(T::DbWeight::get().reads(33 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } @@ -124,7 +124,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity_shares() -> Weight { // Minimum execution time: 783_827 nanoseconds. - Weight::from_ref_time(787_422_000 as u64) + Weight::from_parts(787_422_000, 0) .saturating_add(T::DbWeight::get().reads(20 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -150,7 +150,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn remove_liquidity_one_asset() -> Weight { // Minimum execution time: 817_053 nanoseconds. - Weight::from_ref_time(821_506_000 as u64) + Weight::from_parts(821_506_000, 0) .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -176,7 +176,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn withdraw_asset_amount() -> Weight { // Minimum execution time: 1_124_456 nanoseconds. - Weight::from_ref_time(1_133_226_000 as u64) + Weight::from_parts(1_133_226_000, 0) .saturating_add(T::DbWeight::get().reads(22 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -202,7 +202,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 768_776 nanoseconds. - Weight::from_ref_time(772_108_000 as u64) + Weight::from_parts(772_108_000, 0) .saturating_add(T::DbWeight::get().reads(22 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -228,7 +228,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 747_434 nanoseconds. - Weight::from_ref_time(751_463_000 as u64) + Weight::from_parts(751_463_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -238,7 +238,7 @@ impl WeightInfo for HydraWeight { // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) fn set_asset_tradable_state() -> Weight { // Minimum execution time: 24_470 nanoseconds. - Weight::from_ref_time(24_889_000 as u64) + Weight::from_parts(24_889_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -246,7 +246,7 @@ impl WeightInfo for HydraWeight { // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) fn update_pool_fee() -> Weight { // Minimum execution time: 22_217 nanoseconds. - Weight::from_ref_time(22_890_000 as u64) + Weight::from_parts(22_890_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -254,7 +254,7 @@ impl WeightInfo for HydraWeight { // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) fn update_amplification() -> Weight { // Minimum execution time: 24_168 nanoseconds. - Weight::from_ref_time(24_902_000 as u64) + Weight::from_parts(24_902_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -282,10 +282,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 333_504 nanoseconds. - Weight::from_ref_time(30_352_727 as u64) // Standard Error: 262_827 - .saturating_add(Weight::from_ref_time(304_810_632 as u64).saturating_mul(c as u64)) + Weight::from_parts(30_352_727, 0) // Standard Error: 262_827 + .saturating_add(Weight::from_parts(304_810_632, 0).saturating_mul(c as u64)) // Standard Error: 262_827 - .saturating_add(Weight::from_ref_time(742_434_706 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(742_434_706, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().reads((11 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) @@ -314,10 +314,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 333_253 nanoseconds. - Weight::from_ref_time(334_206_000 as u64) // Standard Error: 3_608_102 - .saturating_add(Weight::from_ref_time(13_465_646 as u64).saturating_mul(c as u64)) + Weight::from_parts(334_206_000, 0) // Standard Error: 3_608_102 + .saturating_add(Weight::from_parts(13_465_646, 0).saturating_mul(c as u64)) // Standard Error: 7_920_813 - .saturating_add(Weight::from_ref_time(456_375_218 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(456_375_218, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().reads((12 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(e as u64))) @@ -334,7 +334,7 @@ impl WeightInfo for () { // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 50_068 nanoseconds. - Weight::from_ref_time(50_557_000 as u64) + Weight::from_parts(50_557_000, 0) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } @@ -360,7 +360,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 1_140_516 nanoseconds. - Weight::from_ref_time(1_143_845_000 as u64) + Weight::from_parts(1_143_845_000, 0) .saturating_add(RocksDbWeight::get().reads(33 as u64)) .saturating_add(RocksDbWeight::get().writes(14 as u64)) } @@ -384,7 +384,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity_shares() -> Weight { // Minimum execution time: 783_827 nanoseconds. - Weight::from_ref_time(787_422_000 as u64) + Weight::from_parts(787_422_000, 0) .saturating_add(RocksDbWeight::get().reads(20 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } @@ -410,7 +410,7 @@ impl WeightInfo for () { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn remove_liquidity_one_asset() -> Weight { // Minimum execution time: 817_053 nanoseconds. - Weight::from_ref_time(821_506_000 as u64) + Weight::from_parts(821_506_000, 0) .saturating_add(RocksDbWeight::get().reads(21 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -436,7 +436,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn withdraw_asset_amount() -> Weight { // Minimum execution time: 1_124_456 nanoseconds. - Weight::from_ref_time(1_133_226_000 as u64) + Weight::from_parts(1_133_226_000, 0) .saturating_add(RocksDbWeight::get().reads(22 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } @@ -462,7 +462,7 @@ impl WeightInfo for () { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 768_776 nanoseconds. - Weight::from_ref_time(772_108_000 as u64) + Weight::from_parts(772_108_000, 0) .saturating_add(RocksDbWeight::get().reads(22 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -488,7 +488,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 747_434 nanoseconds. - Weight::from_ref_time(751_463_000 as u64) + Weight::from_parts(751_463_000, 0) .saturating_add(RocksDbWeight::get().reads(23 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } @@ -498,7 +498,7 @@ impl WeightInfo for () { // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) fn set_asset_tradable_state() -> Weight { // Minimum execution time: 24_470 nanoseconds. - Weight::from_ref_time(24_889_000 as u64) + Weight::from_parts(24_889_000, 0) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -506,7 +506,7 @@ impl WeightInfo for () { // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) fn update_pool_fee() -> Weight { // Minimum execution time: 22_217 nanoseconds. - Weight::from_ref_time(22_890_000 as u64) + Weight::from_parts(22_890_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -514,7 +514,7 @@ impl WeightInfo for () { // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) fn update_amplification() -> Weight { // Minimum execution time: 24_168 nanoseconds. - Weight::from_ref_time(24_902_000 as u64) + Weight::from_parts(24_902_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -542,10 +542,10 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 333_504 nanoseconds. - Weight::from_ref_time(30_352_727 as u64) // Standard Error: 262_827 - .saturating_add(Weight::from_ref_time(304_810_632 as u64).saturating_mul(c as u64)) + Weight::from_parts(30_352_727, 0) // Standard Error: 262_827 + .saturating_add(Weight::from_parts(304_810_632, 0).saturating_mul(c as u64)) // Standard Error: 262_827 - .saturating_add(Weight::from_ref_time(742_434_706 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(742_434_706, 0).saturating_mul(e as u64)) .saturating_add(RocksDbWeight::get().reads(11 as u64)) .saturating_add(RocksDbWeight::get().reads((11 as u64).saturating_mul(e as u64))) .saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(e as u64))) @@ -574,10 +574,10 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 333_253 nanoseconds. - Weight::from_ref_time(334_206_000 as u64) // Standard Error: 3_608_102 - .saturating_add(Weight::from_ref_time(13_465_646 as u64).saturating_mul(c as u64)) + Weight::from_parts(334_206_000, 0) // Standard Error: 3_608_102 + .saturating_add(Weight::from_parts(13_465_646, 0).saturating_mul(c as u64)) // Standard Error: 7_920_813 - .saturating_add(Weight::from_ref_time(456_375_218 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(456_375_218, 0).saturating_mul(e as u64)) .saturating_add(RocksDbWeight::get().reads(11 as u64)) .saturating_add(RocksDbWeight::get().reads((12 as u64).saturating_mul(e as u64))) .saturating_add(RocksDbWeight::get().writes((6 as u64).saturating_mul(e as u64))) diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 1015dd663..01471fe7f 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -19,6 +19,7 @@ use crate::traits::{ActionData, DemocracyReferendum, PayablePercentage, VestingDetails}; use crate::types::{Action, Balance, Period, Point, Position, StakingData, Voting}; +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::ensure; use frame_support::{ pallet_prelude::DispatchResult, @@ -70,7 +71,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); @@ -96,7 +96,7 @@ pub mod pallet { /// Staking period length in blocks. #[pallet::constant] - type PeriodLength: Get; + type PeriodLength: Get>; /// Pallet id. #[pallet::constant] @@ -144,7 +144,7 @@ pub mod pallet { type PayablePercentage: PayablePercentage; /// Block number provider. - type BlockNumberProvider: BlockNumberProvider; + type BlockNumberProvider: BlockNumberProvider>; /// Position identifier type. type PositionItemId: Member + Parameter + Default + Copy + HasCompact + AtLeast32BitUnsigned + MaxEncodedLen; @@ -188,7 +188,7 @@ pub mod pallet { #[pallet::storage] /// User's position state. #[pallet::getter(fn positions)] - pub(super) type Positions = StorageMap<_, Blake2_128Concat, T::PositionItemId, Position>; + pub(super) type Positions = StorageMap<_, Blake2_128Concat, T::PositionItemId, Position>>; #[pallet::storage] /// Position ids sequencer. @@ -739,7 +739,7 @@ impl Pallet { fn ensure_stakeable_balance( who: &T::AccountId, stake: Balance, - position: Option<&Position>, + position: Option<&Position>>, ) -> Result<(), DispatchError> { let free_balance = T::Currency::free_balance(T::NativeAssetId::get(), who); let staked = position @@ -859,7 +859,7 @@ impl Pallet { /// Slash points are subtracted from returned value. #[inline] fn get_points( - position: &Position, + position: &Position>, current_period: Period, position_created_at: Period, ) -> Option { @@ -880,7 +880,7 @@ impl Pallet { } #[inline] - fn get_period_number(block: T::BlockNumber) -> Option { + fn get_period_number(block: BlockNumberFor) -> Option { Some(math::calculate_period_number( NonZeroU128::try_from(T::PeriodLength::get().saturated_into::()).ok()?, block.saturated_into(), @@ -896,7 +896,7 @@ impl Pallet { /// /// Return `(claimable, claimable_unpaid, unpaid, payable_percentage)` fn calculate_rewards( - position: &Position, + position: &Position>, accumulated_reward_per_stake: FixedU128, current_period: Period, position_created_at: Period, @@ -943,7 +943,7 @@ impl Pallet { pub(crate) fn process_votes( position_id: T::PositionItemId, - position: &mut Position, + position: &mut Position>, ) -> DispatchResult { PositionVotes::::mutate(position_id, |voting| { let max_position_vote = Conviction::max_multiplier().saturating_mul_int(position.stake); @@ -982,7 +982,7 @@ impl Pallet { } impl Pallet { - pub fn get_position(position_id: T::PositionItemId) -> Option> { + pub fn get_position(position_id: T::PositionItemId) -> Option>> { Positions::::get(position_id) } diff --git a/pallets/staking/src/types.rs b/pallets/staking/src/types.rs index 3472dda82..dc4d505ba 100644 --- a/pallets/staking/src/types.rs +++ b/pallets/staking/src/types.rs @@ -1,6 +1,6 @@ use crate::traits::ActionData; use codec::{Decode, Encode, MaxEncodedLen}; -use frame_support::RuntimeDebug; +use sp_runtime::RuntimeDebug; use pallet_democracy::ReferendumIndex; use scale_info::TypeInfo; use sp_core::bounded::BoundedVec; diff --git a/pallets/staking/src/weights.rs b/pallets/staking/src/weights.rs index 1afa9f821..de15341df 100644 --- a/pallets/staking/src/weights.rs +++ b/pallets/staking/src/weights.rs @@ -69,7 +69,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ClassAccount (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) fn initialize_staking() -> Weight { // Minimum execution time: 45_493 nanoseconds. - Weight::from_ref_time(46_285_000 as u64) + Weight::from_parts(46_285_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -93,7 +93,7 @@ impl WeightInfo for HydraWeight { // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn stake() -> Weight { // Minimum execution time: 93_365 nanoseconds. - Weight::from_ref_time(94_660_000 as u64) + Weight::from_parts(94_660_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -113,7 +113,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn increase_stake() -> Weight { // Minimum execution time: 206_722 nanoseconds. - Weight::from_ref_time(209_665_000 as u64) + Weight::from_parts(209_665_000, 0) .saturating_add(T::DbWeight::get().reads(107 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -133,7 +133,7 @@ impl WeightInfo for HydraWeight { // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim() -> Weight { // Minimum execution time: 225_912 nanoseconds. - Weight::from_ref_time(227_912_000 as u64) + Weight::from_parts(227_912_000, 0) .saturating_add(T::DbWeight::get().reads(107 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -159,7 +159,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn unstake() -> Weight { // Minimum execution time: 246_989 nanoseconds. - Weight::from_ref_time(249_570_000 as u64) + Weight::from_parts(249_570_000, 0) .saturating_add(T::DbWeight::get().reads(108 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -177,7 +177,7 @@ impl WeightInfo for () { // Proof: Uniques ClassAccount (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) fn initialize_staking() -> Weight { // Minimum execution time: 45_493 nanoseconds. - Weight::from_ref_time(46_285_000 as u64) + Weight::from_parts(46_285_000, 0) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -201,7 +201,7 @@ impl WeightInfo for () { // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn stake() -> Weight { // Minimum execution time: 93_365 nanoseconds. - Weight::from_ref_time(94_660_000 as u64) + Weight::from_parts(94_660_000, 0) .saturating_add(RocksDbWeight::get().reads(9 as u64)) .saturating_add(RocksDbWeight::get().writes(8 as u64)) } @@ -221,7 +221,7 @@ impl WeightInfo for () { // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn increase_stake() -> Weight { // Minimum execution time: 206_722 nanoseconds. - Weight::from_ref_time(209_665_000 as u64) + Weight::from_parts(209_665_000, 0) .saturating_add(RocksDbWeight::get().reads(107 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -241,7 +241,7 @@ impl WeightInfo for () { // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim() -> Weight { // Minimum execution time: 225_912 nanoseconds. - Weight::from_ref_time(227_912_000 as u64) + Weight::from_parts(227_912_000, 0) .saturating_add(RocksDbWeight::get().reads(107 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } @@ -267,7 +267,7 @@ impl WeightInfo for () { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn unstake() -> Weight { // Minimum execution time: 246_989 nanoseconds. - Weight::from_ref_time(249_570_000 as u64) + Weight::from_parts(249_570_000, 0) .saturating_add(RocksDbWeight::get().reads(108 as u64)) .saturating_add(RocksDbWeight::get().writes(9 as u64)) } diff --git a/pallets/transaction-multi-payment/src/lib.rs b/pallets/transaction-multi-payment/src/lib.rs index 1a3f4170c..49c28f509 100644 --- a/pallets/transaction-multi-payment/src/lib.rs +++ b/pallets/transaction-multi-payment/src/lib.rs @@ -30,7 +30,7 @@ mod tests; mod traits; use frame_support::{dispatch::DispatchResult, ensure, traits::Get, weights::Weight}; -use frame_system::ensure_signed; +use frame_system::{ensure_signed, pallet_prelude::BlockNumberFor}; use sp_runtime::{ traits::{DispatchInfoOf, One, PostDispatchInfoOf, Saturating, Zero}, transaction_validity::{InvalidTransaction, TransactionValidityError}, @@ -67,12 +67,11 @@ pub mod pallet { use frame_system::pallet_prelude::OriginFor; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet { - fn on_initialize(_n: T::BlockNumber) -> Weight { + impl Hooks> for Pallet { + fn on_initialize(_n: BlockNumberFor) -> Weight { let native_asset = T::NativeAssetId::get(); let mut weight: u64 = 0; @@ -87,10 +86,10 @@ pub mod pallet { weight += T::WeightInfo::get_spot_price().ref_time(); } - Weight::from_ref_time(weight) + Weight::from_parts(weight, 0) } - fn on_finalize(_n: T::BlockNumber) { + fn on_finalize(_n: BlockNumberFor) { let _ = >::clear(u32::MAX, None); } } @@ -189,23 +188,14 @@ pub mod pallet { pub type AcceptedCurrencyPrice = StorageMap<_, Twox64Concat, AssetIdOf, Price, OptionQuery>; #[pallet::genesis_config] + #[derive(frame_support::DefaultNoBound)] pub struct GenesisConfig { pub currencies: Vec<(AssetIdOf, Price)>, pub account_currencies: Vec<(T::AccountId, AssetIdOf)>, } - #[cfg(feature = "std")] - impl Default for GenesisConfig { - fn default() -> Self { - GenesisConfig { - currencies: vec![], - account_currencies: vec![], - } - } - } - #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { for (asset, price) in &self.currencies { AcceptedCurrencies::::insert(asset, price); diff --git a/pallets/transaction-multi-payment/src/weights.rs b/pallets/transaction-multi-payment/src/weights.rs index b29a2eb59..d837cd134 100644 --- a/pallets/transaction-multi-payment/src/weights.rs +++ b/pallets/transaction-multi-payment/src/weights.rs @@ -57,22 +57,22 @@ pub struct BasiliskWeight(PhantomData); impl WeightInfo for BasiliskWeight { fn get_spot_price() -> Weight { - Weight::from_ref_time(87_521_000 as u64) + Weight::from_parts(87_521_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn set_currency() -> Weight { - Weight::from_ref_time(105_284_000 as u64) + Weight::from_parts(105_284_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } fn add_currency() -> Weight { - Weight::from_ref_time(17_506_000 as u64) + Weight::from_parts(17_506_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn remove_currency() -> Weight { - Weight::from_ref_time(18_324_000 as u64) + Weight::from_parts(18_324_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -81,22 +81,22 @@ impl WeightInfo for BasiliskWeight { // For backwards compatibility and tests impl WeightInfo for () { fn get_spot_price() -> Weight { - Weight::from_ref_time(87_521_000 as u64) + Weight::from_parts(87_521_000, 0) .saturating_add(RocksDbWeight::get().reads(9 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } fn set_currency() -> Weight { - Weight::from_ref_time(105_284_000 as u64) + Weight::from_parts(105_284_000, 0) .saturating_add(RocksDbWeight::get().reads(9 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } fn add_currency() -> Weight { - Weight::from_ref_time(17_506_000 as u64) + Weight::from_parts(17_506_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } fn remove_currency() -> Weight { - Weight::from_ref_time(18_324_000 as u64) + Weight::from_parts(18_324_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 0756c989b..47027fc74 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -11,6 +11,7 @@ sp-runtime = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } sp-std = { workspace = true } +log = { workspace = true } # Optionals frame-system-benchmarking = { workspace = true, optional = true } diff --git a/pallets/transaction-pause/src/lib.rs b/pallets/transaction-pause/src/lib.rs index 7f154d279..ef4348422 100644 --- a/pallets/transaction-pause/src/lib.rs +++ b/pallets/transaction-pause/src/lib.rs @@ -20,9 +20,8 @@ #![allow(clippy::unused_unit)] use frame_support::{ - dispatch::{CallMetadata, GetCallMetadata}, pallet_prelude::*, - traits::{Contains, PalletInfoAccess}, + traits::{Contains, CallMetadata, GetCallMetadata, PalletInfoAccess}, BoundedVec, }; use frame_system::pallet_prelude::*; @@ -93,7 +92,7 @@ pub mod pallet { pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::call] impl Pallet { diff --git a/pallets/transaction-pause/src/migration.rs b/pallets/transaction-pause/src/migration.rs index 569da8a5a..63a4218f0 100644 --- a/pallets/transaction-pause/src/migration.rs +++ b/pallets/transaction-pause/src/migration.rs @@ -17,7 +17,7 @@ use super::*; use frame_support::{ - log, storage_alias, + storage_alias, traits::{Get, OnRuntimeUpgrade, StorageVersion}, weights::Weight, }; diff --git a/pallets/transaction-pause/src/weights.rs b/pallets/transaction-pause/src/weights.rs index d1a15961a..944f0ec2b 100644 --- a/pallets/transaction-pause/src/weights.rs +++ b/pallets/transaction-pause/src/weights.rs @@ -55,12 +55,12 @@ pub trait WeightInfo { pub struct AcalaWeight(PhantomData); impl WeightInfo for AcalaWeight { fn pause_transaction() -> Weight { - Weight::from_ref_time(25_798_000 as u64) + Weight::from_parts(25_798_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn unpause_transaction() -> Weight { - Weight::from_ref_time(25_355_000 as u64) + Weight::from_parts(25_355_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -69,12 +69,12 @@ impl WeightInfo for AcalaWeight { // For backwards compatibility and tests impl WeightInfo for () { fn pause_transaction() -> Weight { - Weight::from_ref_time (25_798_000 as u64) + Weight::from_parts (25_798_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } fn unpause_transaction() -> Weight { - Weight::from_ref_time (25_355_000 as u64) + Weight::from_parts (25_355_000, 0) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 170cb8d87..018df7695 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -36,6 +36,7 @@ polkadot-parachain = { workspace = true } # Cumulus cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } # orml orml-traits = { workspace = true } diff --git a/pallets/xcm-rate-limiter/src/lib.rs b/pallets/xcm-rate-limiter/src/lib.rs index ec0fb0331..d9eb775ac 100644 --- a/pallets/xcm-rate-limiter/src/lib.rs +++ b/pallets/xcm-rate-limiter/src/lib.rs @@ -64,8 +64,19 @@ #![cfg_attr(not(feature = "std"), no_std)] use codec::{Decode, Encode}; -use cumulus_pallet_xcmp_queue::XcmDeferFilter; +// use cumulus_pallet_xcmp_queue::XcmDeferFilter; +// TODO: remove cumulus-primitives-core dependency +// TODO: +use cumulus_primitives_core::{ParaId, relay_chain::BlockNumber as RelayBlockNumber}; +pub trait XcmDeferFilter { + fn deferred_by( + para: ParaId, + sent_at: RelayBlockNumber, + xcm: &VersionedXcm, + ) -> (Weight, Option); +} +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::Weight; use frame_support::traits::Get; use hydra_dx_math::rate_limiter::{calculate_deferred_duration, calculate_new_accumulated_amount}; @@ -107,7 +118,7 @@ pub mod pallet { use xcm::lts::MultiLocation; #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::config] pub trait Config: frame_system::Config { @@ -144,7 +155,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::storage] diff --git a/pallets/xyk/Cargo.toml b/pallets/xyk/Cargo.toml index 4c88f9acc..c993cff21 100644 --- a/pallets/xyk/Cargo.toml +++ b/pallets/xyk/Cargo.toml @@ -12,7 +12,7 @@ repository = 'https://github.com/galacticcouncil/hydradx-node' targets = ['x86_64-unknown-linux-gnu'] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +substrate-wasm-builder = { workspace = true } [dependencies] codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.1.5" } diff --git a/pallets/xyk/src/lib.rs b/pallets/xyk/src/lib.rs index 9e442e140..40fedaa63 100644 --- a/pallets/xyk/src/lib.rs +++ b/pallets/xyk/src/lib.rs @@ -28,6 +28,7 @@ #![allow(clippy::unused_unit)] #![allow(clippy::upper_case_acronyms)] +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::sp_runtime::{traits::Zero, DispatchError}; use frame_support::{dispatch::DispatchResult, ensure, traits::Get, transactional}; use frame_system::ensure_signed; @@ -72,7 +73,7 @@ pub mod pallet { pub struct Pallet(_); #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::config] pub trait Config: frame_system::Config { diff --git a/pallets/xyk/src/weights.rs b/pallets/xyk/src/weights.rs index f8ddf13e4..1eb9c21a1 100644 --- a/pallets/xyk/src/weights.rs +++ b/pallets/xyk/src/weights.rs @@ -89,7 +89,7 @@ impl WeightInfo for HydraWeight { // Proof: XYK PoolAssets (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 190_185 nanoseconds. - Weight::from_ref_time(192_567_000 as u64) + Weight::from_parts(192_567_000, 0) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } @@ -111,7 +111,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 164_323 nanoseconds. - Weight::from_ref_time(165_841_000 as u64) + Weight::from_parts(165_841_000, 0) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -131,7 +131,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 155_404 nanoseconds. - Weight::from_ref_time(156_560_000 as u64) + Weight::from_parts(156_560_000, 0) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -147,7 +147,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 119_610 nanoseconds. - Weight::from_ref_time(120_418_000 as u64) + Weight::from_parts(120_418_000, 0) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -163,7 +163,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 119_865 nanoseconds. - Weight::from_ref_time(120_541_000 as u64) + Weight::from_parts(120_541_000, 0) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -181,10 +181,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 20_906 nanoseconds. - Weight::from_ref_time(8_365_948 as u64) // Standard Error: 43_229 - .saturating_add(Weight::from_ref_time(6_554_981 as u64).saturating_mul(c as u64)) + Weight::from_parts(8_365_948, 0) // Standard Error: 43_229 + .saturating_add(Weight::from_parts(6_554_981, 0).saturating_mul(c as u64)) // Standard Error: 43_229 - .saturating_add(Weight::from_ref_time(105_218_621 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(105_218_621, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) @@ -203,10 +203,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 27_261 nanoseconds. - Weight::from_ref_time(7_044_054 as u64) // Standard Error: 46_197 - .saturating_add(Weight::from_ref_time(7_022_106 as u64).saturating_mul(c as u64)) + Weight::from_parts(7_044_054, 0) // Standard Error: 46_197 + .saturating_add(Weight::from_parts(7_022_106, 0).saturating_mul(c as u64)) // Standard Error: 78_379 - .saturating_add(Weight::from_ref_time(105_927_586 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(105_927_586, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) @@ -243,7 +243,7 @@ impl WeightInfo for () { // Proof: XYK PoolAssets (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 190_185 nanoseconds. - Weight::from_ref_time(192_567_000 as u64) + Weight::from_parts(192_567_000, 0) .saturating_add(RocksDbWeight::get().reads(17 as u64)) .saturating_add(RocksDbWeight::get().writes(16 as u64)) } @@ -265,7 +265,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 164_323 nanoseconds. - Weight::from_ref_time(165_841_000 as u64) + Weight::from_parts(165_841_000, 0) .saturating_add(RocksDbWeight::get().reads(14 as u64)) .saturating_add(RocksDbWeight::get().writes(9 as u64)) } @@ -285,7 +285,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 155_404 nanoseconds. - Weight::from_ref_time(156_560_000 as u64) + Weight::from_parts(156_560_000, 0) .saturating_add(RocksDbWeight::get().reads(13 as u64)) .saturating_add(RocksDbWeight::get().writes(8 as u64)) } @@ -301,7 +301,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 119_610 nanoseconds. - Weight::from_ref_time(120_418_000 as u64) + Weight::from_parts(120_418_000, 0) .saturating_add(RocksDbWeight::get().reads(10 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } @@ -317,7 +317,7 @@ impl WeightInfo for () { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 119_865 nanoseconds. - Weight::from_ref_time(120_541_000 as u64) + Weight::from_parts(120_541_000, 0) .saturating_add(RocksDbWeight::get().reads(10 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } @@ -335,10 +335,10 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 20_906 nanoseconds. - Weight::from_ref_time(8_365_948 as u64) // Standard Error: 43_229 - .saturating_add(Weight::from_ref_time(6_554_981 as u64).saturating_mul(c as u64)) + Weight::from_parts(8_365_948, 0) // Standard Error: 43_229 + .saturating_add(Weight::from_parts(6_554_981, 0).saturating_mul(c as u64)) // Standard Error: 43_229 - .saturating_add(Weight::from_ref_time(105_218_621 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(105_218_621, 0).saturating_mul(e as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(e as u64))) .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(e as u64))) @@ -357,10 +357,10 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 27_261 nanoseconds. - Weight::from_ref_time(7_044_054 as u64) // Standard Error: 46_197 - .saturating_add(Weight::from_ref_time(7_022_106 as u64).saturating_mul(c as u64)) + Weight::from_parts(7_044_054, 0) // Standard Error: 46_197 + .saturating_add(Weight::from_parts(7_022_106, 0).saturating_mul(c as u64)) // Standard Error: 78_379 - .saturating_add(Weight::from_ref_time(105_927_586 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(105_927_586, 0).saturating_mul(e as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(e as u64))) .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(e as u64))) diff --git a/primitives/src/constants.rs b/primitives/src/constants.rs index 53f22ac52..195bbcfa8 100644 --- a/primitives/src/constants.rs +++ b/primitives/src/constants.rs @@ -88,7 +88,7 @@ pub mod chain { /// We allow for 0.5 seconds of compute pub const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( WEIGHT_REF_TIME_PER_SECOND.saturating_div(2), - polkadot_primitives::v2::MAX_POV_SIZE as u64, + polkadot_primitives::v5::MAX_POV_SIZE as u64, ); /// The source of the data for the oracle. diff --git a/runtime/adapters/src/inspect.rs b/runtime/adapters/src/inspect.rs index b5010cc42..138e6f841 100644 --- a/runtime/adapters/src/inspect.rs +++ b/runtime/adapters/src/inspect.rs @@ -1,7 +1,7 @@ use frame_support::pallet_prelude::Get; use frame_support::traits::fungible::Inspect as FungibleInspect; use frame_support::traits::fungibles::Inspect as FungiblesInspect; -use frame_support::traits::tokens::{DepositConsequence, WithdrawConsequence}; +use frame_support::traits::tokens::{DepositConsequence, Fortitude, Preservation, Provenance, WithdrawConsequence}; /// An adapter to use inspect functionality for both native and multi currency pub struct MultiInspectAdapter( @@ -43,6 +43,14 @@ where } } + fn total_balance(asset: Self::AssetId, who: &AccountId) -> Self::Balance { + if GetNativeCurrencyId::get() == asset { + NativeCurrency::total_balance(who) + } else { + MultiCurrency::total_balance(asset, who) + } + } + fn balance(asset: Self::AssetId, who: &AccountId) -> Self::Balance { if GetNativeCurrencyId::get() == asset { NativeCurrency::balance(who) @@ -51,19 +59,19 @@ where } } - fn reducible_balance(asset: Self::AssetId, who: &AccountId, keep_alive: bool) -> Self::Balance { + fn reducible_balance(asset: Self::AssetId, who: &AccountId, preservation: Preservation, force: Fortitude) -> Self::Balance { if GetNativeCurrencyId::get() == asset { - NativeCurrency::reducible_balance(who, keep_alive) + NativeCurrency::reducible_balance(who, preservation, force) } else { - MultiCurrency::reducible_balance(asset, who, keep_alive) + MultiCurrency::reducible_balance(asset, who, preservation, force) } } - fn can_deposit(asset: Self::AssetId, who: &AccountId, amount: Self::Balance, mint: bool) -> DepositConsequence { + fn can_deposit(asset: Self::AssetId, who: &AccountId, amount: Self::Balance, provenance: Provenance) -> DepositConsequence { if GetNativeCurrencyId::get() == asset { - NativeCurrency::can_deposit(who, amount, mint) + NativeCurrency::can_deposit(who, amount, provenance) } else { - MultiCurrency::can_deposit(asset, who, amount, mint) + MultiCurrency::can_deposit(asset, who, amount, provenance) } } diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index 4bfb7fb5d..eee30cd77 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -56,7 +56,7 @@ use sp_std::{collections::btree_map::BTreeMap, fmt::Debug, marker::PhantomData}; use warehouse_liquidity_mining::GlobalFarmData; use xcm_builder::TakeRevenue; use xcm_executor::{ - traits::{Convert as MoreConvert, MatchesFungible, TransactAsset, WeightTrader}, + traits::{ConvertLocation, MatchesFungible, TransactAsset, WeightTrader}, Assets, }; @@ -146,7 +146,7 @@ impl< /// per buy. /// The fee is determined by `ConvertWeightToFee` in combination with the price determined by /// `AcceptedCurrencyPrices`. - fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result { + fn buy_weight(&mut self, weight: Weight, payment: Assets, _context: &XcmContext) -> Result { log::trace!( target: "xcm::weight", "MultiCurrencyTrader::buy_weight weight: {:?}, payment: {:?}", weight, payment @@ -169,7 +169,7 @@ impl< } /// Will refund up to `weight` from the first asset tracked by the trader. - fn refund_weight(&mut self, weight: Weight) -> Option { + fn refund_weight(&mut self, weight: Weight, _context: &XcmContext) -> Option { log::trace!( target: "xcm::weight", "MultiCurrencyTrader::refund_weight weight: {:?}, paid_assets: {:?}", weight, self.paid_assets @@ -666,7 +666,7 @@ impl< UnknownAsset: UnknownAssetT, Match: MatchesFungible, AccountId: sp_std::fmt::Debug + Clone, - AccountIdConvert: MoreConvert, + AccountIdConvert: ConvertLocation, CurrencyId: FullCodec + Eq + PartialEq + Copy + MaybeSerializeDeserialize + Debug, CurrencyIdConvert: Convert>, DepositFailureHandler: OnDepositFail, @@ -688,12 +688,12 @@ impl< { fn deposit_asset(asset: &MultiAsset, location: &MultiLocation, _context: &XcmContext) -> Result<(), XcmError> { match ( - AccountIdConvert::convert_ref(location), + AccountIdConvert::convert_location(location), CurrencyIdConvert::convert(asset.clone()), Match::matches_fungible(asset), ) { // known asset - (Ok(who), Some(currency_id), Some(amount)) => { + (Some(who), Some(currency_id), Some(amount)) => { if RerouteFilter::contains(&(currency_id, who.clone())) { MultiCurrency::deposit(currency_id, &RerouteDestination::get(), amount) .or_else(|err| DepositFailureHandler::on_deposit_currency_fail(err, currency_id, &who, amount)) @@ -714,8 +714,8 @@ impl< _maybe_context: Option<&XcmContext>, ) -> Result { UnknownAsset::withdraw(asset, location).or_else(|_| { - let who = AccountIdConvert::convert_ref(location) - .map_err(|_| XcmError::from(Error::AccountIdConversionFailed))?; + let who = AccountIdConvert::convert_location(location) + .ok_or_else(|| XcmError::from(Error::AccountIdConversionFailed))?; let currency_id = CurrencyIdConvert::convert(asset.clone()) .ok_or_else(|| XcmError::from(Error::CurrencyIdConversionFailed))?; let amount: MultiCurrency::Balance = Match::matches_fungible(asset) @@ -734,9 +734,9 @@ impl< _context: &XcmContext, ) -> Result { let from_account = - AccountIdConvert::convert_ref(from).map_err(|_| XcmError::from(Error::AccountIdConversionFailed))?; + AccountIdConvert::convert_location(from).ok_or_else(|| XcmError::from(Error::AccountIdConversionFailed))?; let to_account = - AccountIdConvert::convert_ref(to).map_err(|_| XcmError::from(Error::AccountIdConversionFailed))?; + AccountIdConvert::convert_location(to).ok_or_else(|| XcmError::from(Error::AccountIdConversionFailed))?; let currency_id = CurrencyIdConvert::convert(asset.clone()) .ok_or_else(|| XcmError::from(Error::CurrencyIdConversionFailed))?; let to_account = if RerouteFilter::contains(&(currency_id, to_account.clone())) { diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 4d36357fe..5963b3e5a 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -125,6 +125,7 @@ sp-offchain = { workspace = true } sp-runtime = { workspace = true } sp-session = { workspace = true } sp-std = { workspace = true } +sp-staking = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } sp-trie = { workspace = true } diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index f8c922620..b28c87f9e 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -47,7 +47,7 @@ use frame_support::{ sp_runtime::app_crypto::sp_core::crypto::UncheckedFrom, sp_runtime::traits::{One, PhantomData}, sp_runtime::{FixedU128, Perbill, Permill}, - traits::{AsEnsureOriginWithArg, ConstU32, Contains, EnsureOrigin, NeverEnsureOrigin}, + traits::{AsEnsureOriginWithArg, ConstU32, Contains, Currency, EnsureOrigin, NeverEnsureOrigin, Imbalance, OnUnbalanced}, BoundedVec, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned, RawOrigin}; @@ -68,9 +68,20 @@ parameter_types! { pub const MaxReserves: u32 = 50; } +// pallet-treasury did not impl OnUnbalanced, need an adapter to handle dust. +type CreditOf = frame_support::traits::fungible::Credit<::AccountId, Balances>; +type NegativeImbalance = >::NegativeImbalance; +pub struct DustRemovalAdapter; +impl OnUnbalanced for DustRemovalAdapter { + fn on_nonzero_unbalanced(amount: CreditOf) { + let new_amount = NegativeImbalance::new(amount.peek()); + Treasury::on_nonzero_unbalanced(new_amount); + } +} + impl pallet_balances::Config for Runtime { type Balance = Balance; - type DustRemoval = Treasury; + type DustRemoval = DustRemovalAdapter; type RuntimeEvent = RuntimeEvent; type ExistentialDeposit = NativeExistentialDeposit; type AccountStore = System; @@ -78,6 +89,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = MaxLocks; type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } pub struct CurrencyHooks; diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index cefe0c8cc..a5df0799c 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -24,9 +24,10 @@ use primitives::constants::{ use frame_support::{ parameter_types, sp_runtime::{Perbill, Percent, Permill}, - traits::{ConstU32, EitherOfDiverse, LockIdentifier, NeverEnsureOrigin, PrivilegeCmp, U128CurrencyToVote}, + traits::{ConstU32, EitherOfDiverse, LockIdentifier, NeverEnsureOrigin, PrivilegeCmp}, PalletId, }; +use sp_staking::currency_to_vote::U128CurrencyToVote; use frame_system::EnsureRoot; use sp_std::cmp::Ordering; @@ -118,6 +119,7 @@ parameter_types! { pub const CouncilMaxProposals: u32 = 30; pub const CouncilMaxMembers: u32 = 13; pub const CouncilMotionDuration: BlockNumber = 5 * DAYS; + pub MaxProposalWeight: Weight = Perbill::from_percent(50) * BlockWeights::get().max_block; } pub type CouncilCollective = pallet_collective::Instance1; @@ -130,6 +132,8 @@ impl pallet_collective::Config for Runtime { type MaxMembers = CouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = weights::council::HydraWeight; + type MaxProposalWeight = MaxProposalWeight; + type SetMembersOrigin = EnsureRoot; } parameter_types! { @@ -148,6 +152,8 @@ impl pallet_collective::Config for Runtime { type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = weights::technical_comittee::HydraWeight; + type MaxProposalWeight = MaxProposalWeight; + type SetMembersOrigin = EnsureRoot; } #[cfg(test)] @@ -263,6 +269,7 @@ parameter_types! { pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect"; pub const MaxElectionCandidates: u32 = 1_000; pub const MaxElectionVoters: u32 = 10_000; + pub const MaxVotesPerVoter: u32 = 5; } impl pallet_elections_phragmen::Config for Runtime { @@ -284,6 +291,7 @@ impl pallet_elections_phragmen::Config for Runtime { type MaxCandidates = MaxElectionCandidates; type MaxVoters = MaxElectionVoters; type WeightInfo = (); + type MaxVotesPerVoter = MaxVotesPerVoter; } parameter_types! { diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index c7ffe6dd6..4c4dc93f7 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -258,6 +258,14 @@ impl_runtime_apis! { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index aaec4e0c8..7c652d7c4 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -29,14 +29,15 @@ use codec::{Decode, Encode, MaxEncodedLen}; use frame_support::{ dispatch::DispatchClass, parameter_types, - sp_runtime::{traits::IdentityLookup, FixedPointNumber, Perbill, Perquintill}, + sp_runtime::{traits::{ConstU32, IdentityLookup}, RuntimeDebug, FixedPointNumber, Perbill, Perquintill}, traits::{Contains, InstanceFilter}, weights::{ constants::{BlockExecutionWeight, RocksDbWeight}, ConstantMultiplier, WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, }, - PalletId, RuntimeDebug, + PalletId, }; +use frame_support::traits::ConstBool; use hydradx_adapters::RelayChainBlockNumberProvider; use scale_info::TypeInfo; @@ -145,9 +146,9 @@ impl frame_system::Config for Runtime { /// The aggregated dispatch type that is available for extrinsics. type RuntimeCall = RuntimeCall; /// The index type for storing how many extrinsics an account has signed. - type Index = Index; + type Nonce = Index; /// The index type for blocks. - type BlockNumber = BlockNumber; + type Block = Block; /// The type for hashing blocks and tries. type Hash = Hash; /// The hashing algorithm used. @@ -156,8 +157,6 @@ impl frame_system::Config for Runtime { type AccountId = AccountId; /// The lookup mechanism to get account ID from whatever is passed in dispatchers. type Lookup = IdentityLookup; - /// The header type. - type Header = generic::Header; /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; /// Maximum number of block number to block hash mappings to keep (oldest pruned first). @@ -216,12 +215,14 @@ impl cumulus_pallet_parachain_system::Config for Runtime { parameter_types! { pub const MaxAuthorities: u32 = 50; + pub const AllowMultipleBlocksPerSlot: bool = false; } impl pallet_aura::Config for Runtime { type AuthorityId = AuraId; type MaxAuthorities = MaxAuthorities; type DisabledValidators = (); + type AllowMultipleBlocksPerSlot = ConstBool; } impl parachain_info::Config for Runtime {} @@ -236,7 +237,6 @@ impl pallet_authorship::Config for Runtime { parameter_types! { pub const PotId: PalletId = PalletId(*b"PotStake"); pub const MaxCandidates: u32 = 0; - pub const MinCandidates: u32 = 0; pub const MaxInvulnerables: u32 = 50; } @@ -246,7 +246,6 @@ impl pallet_collator_selection::Config for Runtime { type UpdateOrigin = MoreThanHalfCouncil; type PotId = PotId; type MaxCandidates = MaxCandidates; - type MinCandidates = MinCandidates; type MaxInvulnerables = MaxInvulnerables; // should be a multiple of session or things will get inconsistent type KickThreshold = Period; @@ -254,6 +253,7 @@ impl pallet_collator_selection::Config for Runtime { type ValidatorIdOf = pallet_collator_selection::IdentityCollator; type ValidatorRegistration = Session; type WeightInfo = weights::collator_selection::HydraWeight; + type MinEligibleCollators = ConstU32<4>; } parameter_types! { diff --git a/runtime/hydradx/src/weights/balances.rs b/runtime/hydradx/src/weights/balances.rs index 8bcbc679a..5cc0e10e5 100644 --- a/runtime/hydradx/src/weights/balances.rs +++ b/runtime/hydradx/src/weights/balances.rs @@ -56,9 +56,9 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { // Storage: System Account (r:2 w:2) // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Minimum execution time: 74_451 nanoseconds. - Weight::from_ref_time(75_188_000 as u64) + Weight::from_parts(75_188_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -66,23 +66,23 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Minimum execution time: 47_136 nanoseconds. - Weight::from_ref_time(47_791_000 as u64) + Weight::from_parts(47_791_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Minimum execution time: 34_683 nanoseconds. - Weight::from_ref_time(34_991_000 as u64) + Weight::from_parts(34_991_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Minimum execution time: 39_349 nanoseconds. - Weight::from_ref_time(39_994_000 as u64) + Weight::from_parts(39_994_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -90,7 +90,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Minimum execution time: 72_499 nanoseconds. - Weight::from_ref_time(73_570_000 as u64) + Weight::from_parts(73_570_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -98,7 +98,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Minimum execution time: 56_555 nanoseconds. - Weight::from_ref_time(57_161_000 as u64) + Weight::from_parts(57_161_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -106,8 +106,11 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Minimum execution time: 31_280 nanoseconds. - Weight::from_ref_time(31_829_000 as u64) + Weight::from_parts(31_829_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + fn upgrade_accounts(_u: u32) -> Weight { + Weight::zero() + } } diff --git a/runtime/hydradx/src/weights/bonds.rs b/runtime/hydradx/src/weights/bonds.rs index 1ebc76393..1eb3fa8c4 100644 --- a/runtime/hydradx/src/weights/bonds.rs +++ b/runtime/hydradx/src/weights/bonds.rs @@ -76,7 +76,7 @@ impl WeightInfo for HydraWeight { // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn issue() -> Weight { // Minimum execution time: 154_679 nanoseconds. - Weight::from_ref_time(159_169_000 as u64) + Weight::from_parts(159_169_000, 0) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(10 as u64)) } @@ -96,7 +96,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn redeem() -> Weight { // Minimum execution time: 114_799 nanoseconds. - Weight::from_ref_time(116_103_000 as u64) + Weight::from_parts(116_103_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } diff --git a/runtime/hydradx/src/weights/circuit_breaker.rs b/runtime/hydradx/src/weights/circuit_breaker.rs index ec1c94cc9..6bc5f77e3 100644 --- a/runtime/hydradx/src/weights/circuit_breaker.rs +++ b/runtime/hydradx/src/weights/circuit_breaker.rs @@ -58,40 +58,40 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[0, 400]`. fn on_finalize(n: u32, m: u32) -> Weight { // Minimum execution time: 310_147 nanoseconds. - Weight::from_ref_time(314_819_000 as u64) // Standard Error: 32_862 - .saturating_add(Weight::from_ref_time(290_334 as u64).saturating_mul(n as u64)) + Weight::from_parts(314_819_000, 0) // Standard Error: 32_862 + .saturating_add(Weight::from_parts(290_334, 0).saturating_mul(n as u64)) // Standard Error: 32_862 - .saturating_add(Weight::from_ref_time(1_084_558 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(1_084_558, 0).saturating_mul(m as u64)) } fn on_finalize_single_liquidity_limit_entry() -> Weight { // Minimum execution time: 8_356 nanoseconds. - Weight::from_ref_time(8_620_000 as u64) + Weight::from_parts(8_620_000, 0) } fn on_finalize_single_trade_limit_entry() -> Weight { // Minimum execution time: 8_409 nanoseconds. - Weight::from_ref_time(8_627_000 as u64) + Weight::from_parts(8_627_000, 0) } fn on_finalize_empty() -> Weight { // Minimum execution time: 8_492 nanoseconds. - Weight::from_ref_time(8_759_000 as u64) + Weight::from_parts(8_759_000, 0) } // Storage: CircuitBreaker TradeVolumeLimitPerAsset (r:0 w:1) // Proof: CircuitBreaker TradeVolumeLimitPerAsset (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn set_trade_volume_limit() -> Weight { // Minimum execution time: 12_557 nanoseconds. - Weight::from_ref_time(12_852_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(12_852_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:0 w:1) // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) fn set_add_liquidity_limit() -> Weight { // Minimum execution time: 12_968 nanoseconds. - Weight::from_ref_time(13_333_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(13_333_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:0 w:1) // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) fn set_remove_liquidity_limit() -> Weight { // Minimum execution time: 12_822 nanoseconds. - Weight::from_ref_time(13_140_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(13_140_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) @@ -103,7 +103,7 @@ impl WeightInfo for HydraWeight { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn ensure_add_liquidity_limit() -> Weight { // Minimum execution time: 19_815 nanoseconds. - Weight::from_ref_time(20_251_000 as u64) + Weight::from_parts(20_251_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -117,7 +117,7 @@ impl WeightInfo for HydraWeight { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn ensure_remove_liquidity_limit() -> Weight { // Minimum execution time: 18_011 nanoseconds. - Weight::from_ref_time(18_202_000 as u64) + Weight::from_parts(18_202_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -127,7 +127,7 @@ impl WeightInfo for HydraWeight { // Proof: CircuitBreaker TradeVolumeLimitPerAsset (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn ensure_pool_state_change_limit() -> Weight { // Minimum execution time: 18_080 nanoseconds. - Weight::from_ref_time(18_365_000 as u64) + Weight::from_parts(18_365_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/hydradx/src/weights/claims.rs b/runtime/hydradx/src/weights/claims.rs index 1f3cdd455..aeb81caa2 100644 --- a/runtime/hydradx/src/weights/claims.rs +++ b/runtime/hydradx/src/weights/claims.rs @@ -60,7 +60,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim() -> Weight { // Minimum execution time: 79_271 nanoseconds. - Weight::from_ref_time(79_837_000 as u64) + Weight::from_parts(79_837_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/hydradx/src/weights/collator_selection.rs b/runtime/hydradx/src/weights/collator_selection.rs index ec6f219b1..53436d559 100644 --- a/runtime/hydradx/src/weights/collator_selection.rs +++ b/runtime/hydradx/src/weights/collator_selection.rs @@ -50,38 +50,44 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { fn set_invulnerables(b: u32) -> Weight { - Weight::from_ref_time(12_265_000 as u64) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(b as u64)) + Weight::from_parts(12_265_000, 0) // Standard Error: 7_000 + .saturating_add(Weight::from_parts(87_000, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn set_desired_candidates() -> Weight { - Weight::from_ref_time(15_221_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(15_221_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } fn set_candidacy_bond() -> Weight { - Weight::from_ref_time(11_762_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(11_762_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } fn register_as_candidate(c: u32) -> Weight { - Weight::from_ref_time(47_945_000 as u64) // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(459_000 as u64).saturating_mul(c as u64)) + Weight::from_parts(47_945_000, 0) // Standard Error: 8_000 + .saturating_add(Weight::from_parts(459_000, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn leave_intent(c: u32) -> Weight { - Weight::from_ref_time(34_269_000 as u64) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(488_000 as u64).saturating_mul(c as u64)) + Weight::from_parts(34_269_000, 0) // Standard Error: 7_000 + .saturating_add(Weight::from_parts(488_000, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn note_author() -> Weight { - Weight::from_ref_time(43_846_000 as u64) + Weight::from_parts(43_846_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } fn new_session(r: u32, c: u32) -> Weight { Weight::zero() - .saturating_add(Weight::from_ref_time(4_049_000 as u64).saturating_mul(r as u64)) // Standard Error: 1_694_000 - .saturating_add(Weight::from_ref_time(18_735_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_parts(4_049_000, 0).saturating_mul(r as u64)) // Standard Error: 1_694_000 + .saturating_add(Weight::from_parts(18_735_000, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } + fn add_invulnerable(_b: u32, _c: u32) -> Weight { + Weight::zero() + } + fn remove_invulnerable(_b: u32) -> Weight { + Weight::zero() + } } diff --git a/runtime/hydradx/src/weights/council.rs b/runtime/hydradx/src/weights/council.rs index 8dde72be7..c2b3f9982 100644 --- a/runtime/hydradx/src/weights/council.rs +++ b/runtime/hydradx/src/weights/council.rs @@ -67,10 +67,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[0, 30]`. fn set_members(m: u32, _n: u32, p: u32) -> Weight { // Minimum execution time: 12_853 nanoseconds. - Weight::from_ref_time(12_991_000 as u64) // Standard Error: 401_781 - .saturating_add(Weight::from_ref_time(4_277_402 as u64).saturating_mul(m as u64)) + Weight::from_parts(12_991_000, 0) // Standard Error: 401_781 + .saturating_add(Weight::from_parts(4_277_402, 0).saturating_mul(m as u64)) // Standard Error: 175_085 - .saturating_add(Weight::from_ref_time(3_794_778 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(3_794_778, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) @@ -84,10 +84,10 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[1, 13]`. fn execute(b: u32, m: u32) -> Weight { // Minimum execution time: 20_787 nanoseconds. - Weight::from_ref_time(20_730_060 as u64) // Standard Error: 72 - .saturating_add(Weight::from_ref_time(2_261 as u64).saturating_mul(b as u64)) + Weight::from_parts(20_730_060, 0) // Standard Error: 72 + .saturating_add(Weight::from_parts(2_261, 0).saturating_mul(b as u64)) // Standard Error: 6_152 - .saturating_add(Weight::from_ref_time(58_987 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(58_987, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Council Members (r:1 w:0) @@ -98,10 +98,10 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[1, 13]`. fn propose_execute(b: u32, m: u32) -> Weight { // Minimum execution time: 24_302 nanoseconds. - Weight::from_ref_time(24_951_667 as u64) // Standard Error: 86 - .saturating_add(Weight::from_ref_time(1_343 as u64).saturating_mul(b as u64)) + Weight::from_parts(24_951_667, 0) // Standard Error: 86 + .saturating_add(Weight::from_parts(1_343, 0).saturating_mul(b as u64)) // Standard Error: 7_360 - .saturating_add(Weight::from_ref_time(20_953 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(20_953, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Council Members (r:1 w:0) @@ -119,12 +119,12 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { // Minimum execution time: 31_619 nanoseconds. - Weight::from_ref_time(30_180_102 as u64) // Standard Error: 218 - .saturating_add(Weight::from_ref_time(2_703 as u64).saturating_mul(b as u64)) + Weight::from_parts(30_180_102, 0) // Standard Error: 218 + .saturating_add(Weight::from_parts(2_703, 0).saturating_mul(b as u64)) // Standard Error: 19_537 - .saturating_add(Weight::from_ref_time(4_352 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(4_352, 0).saturating_mul(m as u64)) // Standard Error: 7_637 - .saturating_add(Weight::from_ref_time(330_522 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(330_522, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -135,8 +135,8 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[5, 13]`. fn vote(m: u32) -> Weight { // Minimum execution time: 26_243 nanoseconds. - Weight::from_ref_time(26_642_125 as u64) // Standard Error: 10_747 - .saturating_add(Weight::from_ref_time(71_975 as u64).saturating_mul(m as u64)) + Weight::from_parts(26_642_125, 0) // Standard Error: 10_747 + .saturating_add(Weight::from_parts(71_975, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -152,10 +152,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_early_disapproved(m: u32, p: u32) -> Weight { // Minimum execution time: 32_335 nanoseconds. - Weight::from_ref_time(33_245_498 as u64) // Standard Error: 21_775 - .saturating_add(Weight::from_ref_time(40_033 as u64).saturating_mul(m as u64)) + Weight::from_parts(33_245_498, 0) // Standard Error: 21_775 + .saturating_add(Weight::from_parts(40_033, 0).saturating_mul(m as u64)) // Standard Error: 6_878 - .saturating_add(Weight::from_ref_time(235_827 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(235_827, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -172,10 +172,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_early_approved(b: u32, _m: u32, p: u32) -> Weight { // Minimum execution time: 46_776 nanoseconds. - Weight::from_ref_time(46_992_416 as u64) // Standard Error: 233 - .saturating_add(Weight::from_ref_time(1_496 as u64).saturating_mul(b as u64)) + Weight::from_parts(46_992_416, 0) // Standard Error: 233 + .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(b as u64)) // Standard Error: 8_179 - .saturating_add(Weight::from_ref_time(299_666 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(299_666, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -193,10 +193,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_disapproved(m: u32, p: u32) -> Weight { // Minimum execution time: 35_291 nanoseconds. - Weight::from_ref_time(35_123_811 as u64) // Standard Error: 23_526 - .saturating_add(Weight::from_ref_time(98_965 as u64).saturating_mul(m as u64)) + Weight::from_parts(35_123_811, 0) // Standard Error: 23_526 + .saturating_add(Weight::from_parts(98_965, 0).saturating_mul(m as u64)) // Standard Error: 7_431 - .saturating_add(Weight::from_ref_time(265_357 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(265_357, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -215,12 +215,12 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_approved(b: u32, m: u32, p: u32) -> Weight { // Minimum execution time: 49_663 nanoseconds. - Weight::from_ref_time(49_410_369 as u64) // Standard Error: 264 - .saturating_add(Weight::from_ref_time(1_643 as u64).saturating_mul(b as u64)) + Weight::from_parts(49_410_369, 0) // Standard Error: 264 + .saturating_add(Weight::from_parts(1_643, 0).saturating_mul(b as u64)) // Standard Error: 29_184 - .saturating_add(Weight::from_ref_time(20_684 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(20_684, 0).saturating_mul(m as u64)) // Standard Error: 9_235 - .saturating_add(Weight::from_ref_time(310_205 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(310_205, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -233,8 +233,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn disapprove_proposal(p: u32) -> Weight { // Minimum execution time: 20_691 nanoseconds. - Weight::from_ref_time(21_989_046 as u64) // Standard Error: 11_768 - .saturating_add(Weight::from_ref_time(205_589 as u64).saturating_mul(p as u64)) + Weight::from_parts(21_989_046, 0) // Standard Error: 11_768 + .saturating_add(Weight::from_parts(205_589, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/hydradx/src/weights/currencies.rs b/runtime/hydradx/src/weights/currencies.rs index 371079407..8dee8eaa2 100644 --- a/runtime/hydradx/src/weights/currencies.rs +++ b/runtime/hydradx/src/weights/currencies.rs @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn transfer_non_native_currency() -> Weight { // Minimum execution time: 91_916 nanoseconds. - Weight::from_ref_time(92_767_000 as u64) + Weight::from_parts(92_767_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -74,7 +74,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_native_currency() -> Weight { // Minimum execution time: 58_008 nanoseconds. - Weight::from_ref_time(58_773_000 as u64) + Weight::from_parts(58_773_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -92,7 +92,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn update_balance_non_native_currency() -> Weight { // Minimum execution time: 70_841 nanoseconds. - Weight::from_ref_time(71_599_000 as u64) + Weight::from_parts(71_599_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -100,7 +100,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn update_balance_native_currency_creating() -> Weight { // Minimum execution time: 48_914 nanoseconds. - Weight::from_ref_time(49_984_000 as u64) + Weight::from_parts(49_984_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -108,7 +108,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn update_balance_native_currency_killing() -> Weight { // Minimum execution time: 46_369 nanoseconds. - Weight::from_ref_time(46_855_000 as u64) + Weight::from_parts(46_855_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/hydradx/src/weights/dca.rs b/runtime/hydradx/src/weights/dca.rs index fc6665253..d5d891396 100644 --- a/runtime/hydradx/src/weights/dca.rs +++ b/runtime/hydradx/src/weights/dca.rs @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) fn on_initialize_with_buy_trade() -> Weight { // Minimum execution time: 202_152 nanoseconds. - Weight::from_ref_time(205_108_000 as u64) + Weight::from_parts(205_108_000, 0) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -84,7 +84,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) fn on_initialize_with_sell_trade() -> Weight { // Minimum execution time: 200_514 nanoseconds. - Weight::from_ref_time(204_215_000 as u64) + Weight::from_parts(204_215_000, 0) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -92,7 +92,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) fn on_initialize_with_empty_block() -> Weight { // Minimum execution time: 18_232 nanoseconds. - Weight::from_ref_time(18_655_000 as u64).saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_parts(18_655_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: DCA ScheduleIdSequencer (r:1 w:1) // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -112,7 +112,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) fn schedule() -> Weight { // Minimum execution time: 133_110 nanoseconds. - Weight::from_ref_time(134_484_000 as u64) + Weight::from_parts(134_484_000, 0) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -132,7 +132,7 @@ impl WeightInfo for HydraWeight { // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) fn terminate() -> Weight { // Minimum execution time: 74_610 nanoseconds. - Weight::from_ref_time(75_402_000 as u64) + Weight::from_parts(75_402_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/hydradx/src/weights/democracy.rs b/runtime/hydradx/src/weights/democracy.rs index 113a03179..62a0625a6 100644 --- a/runtime/hydradx/src/weights/democracy.rs +++ b/runtime/hydradx/src/weights/democracy.rs @@ -62,7 +62,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Minimum execution time: 45_683 nanoseconds. - Weight::from_ref_time(46_213_000 as u64) + Weight::from_parts(46_213_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -70,7 +70,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Minimum execution time: 41_709 nanoseconds. - Weight::from_ref_time(42_180_000 as u64) + Weight::from_parts(42_180_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -88,7 +88,7 @@ impl WeightInfo for HydraWeight { // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) fn vote_new() -> Weight { // Minimum execution time: 416_420 nanoseconds. - Weight::from_ref_time(420_164_000 as u64) + Weight::from_parts(420_164_000, 0) .saturating_add(T::DbWeight::get().reads(106 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -106,7 +106,7 @@ impl WeightInfo for HydraWeight { // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Minimum execution time: 415_618 nanoseconds. - Weight::from_ref_time(418_917_000 as u64) + Weight::from_parts(418_917_000, 0) .saturating_add(T::DbWeight::get().reads(106 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -116,7 +116,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Minimum execution time: 22_130 nanoseconds. - Weight::from_ref_time(22_516_000 as u64) + Weight::from_parts(22_516_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -134,7 +134,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Minimum execution time: 102_512 nanoseconds. - Weight::from_ref_time(103_621_000 as u64) + Weight::from_parts(103_621_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -144,7 +144,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Minimum execution time: 15_705 nanoseconds. - Weight::from_ref_time(16_110_000 as u64) + Weight::from_parts(16_110_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -152,13 +152,13 @@ impl WeightInfo for HydraWeight { // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) fn external_propose_majority() -> Weight { // Minimum execution time: 5_151 nanoseconds. - Weight::from_ref_time(5_478_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(5_478_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) fn external_propose_default() -> Weight { // Minimum execution time: 5_449 nanoseconds. - Weight::from_ref_time(5_654_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(5_654_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -168,7 +168,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track() -> Weight { // Minimum execution time: 21_249 nanoseconds. - Weight::from_ref_time(21_560_000 as u64) + Weight::from_parts(21_560_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -178,7 +178,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn veto_external() -> Weight { // Minimum execution time: 27_789 nanoseconds. - Weight::from_ref_time(28_426_000 as u64) + Weight::from_parts(28_426_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -190,7 +190,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Minimum execution time: 81_206 nanoseconds. - Weight::from_ref_time(81_785_000 as u64) + Weight::from_parts(81_785_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -198,7 +198,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum() -> Weight { // Minimum execution time: 12_168 nanoseconds. - Weight::from_ref_time(12_379_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(12_379_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy LowestUnbaked (r:1 w:1) // Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -209,8 +209,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32) -> Weight { // Minimum execution time: 6_027 nanoseconds. - Weight::from_ref_time(7_967_274 as u64) // Standard Error: 15_297 - .saturating_add(Weight::from_ref_time(3_181_785 as u64).saturating_mul(r as u64)) + Weight::from_parts(7_967_274, 0) // Standard Error: 15_297 + .saturating_add(Weight::from_parts(3_181_785, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -230,8 +230,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32) -> Weight { // Minimum execution time: 9_463 nanoseconds. - Weight::from_ref_time(11_351_448 as u64) // Standard Error: 20_855 - .saturating_add(Weight::from_ref_time(3_232_061 as u64).saturating_mul(r as u64)) + Weight::from_parts(11_351_448, 0) // Standard Error: 20_855 + .saturating_add(Weight::from_parts(3_232_061, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -245,8 +245,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32) -> Weight { // Minimum execution time: 44_617 nanoseconds. - Weight::from_ref_time(48_848_842 as u64) // Standard Error: 13_644 - .saturating_add(Weight::from_ref_time(4_709_492 as u64).saturating_mul(r as u64)) + Weight::from_parts(48_848_842, 0) // Standard Error: 13_644 + .saturating_add(Weight::from_parts(4_709_492, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -259,8 +259,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32) -> Weight { // Minimum execution time: 25_601 nanoseconds. - Weight::from_ref_time(28_142_536 as u64) // Standard Error: 15_036 - .saturating_add(Weight::from_ref_time(4_603_513 as u64).saturating_mul(r as u64)) + Weight::from_parts(28_142_536, 0) // Standard Error: 15_036 + .saturating_add(Weight::from_parts(4_603_513, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -270,7 +270,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) fn clear_public_proposals() -> Weight { // Minimum execution time: 5_167 nanoseconds. - Weight::from_ref_time(5_294_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(5_294_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) @@ -281,8 +281,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32) -> Weight { // Minimum execution time: 23_905 nanoseconds. - Weight::from_ref_time(27_865_439 as u64) // Standard Error: 10_086 - .saturating_add(Weight::from_ref_time(82_552 as u64).saturating_mul(r as u64)) + Weight::from_parts(27_865_439, 0) // Standard Error: 10_086 + .saturating_add(Weight::from_parts(82_552, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32) -> Weight { // Minimum execution time: 31_411 nanoseconds. - Weight::from_ref_time(31_838_954 as u64) // Standard Error: 803 - .saturating_add(Weight::from_ref_time(61_046 as u64).saturating_mul(r as u64)) + Weight::from_parts(31_838_954, 0) // Standard Error: 803 + .saturating_add(Weight::from_parts(61_046, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -311,8 +311,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32) -> Weight { // Minimum execution time: 40_945 nanoseconds. - Weight::from_ref_time(43_077_999 as u64) // Standard Error: 5_059 - .saturating_add(Weight::from_ref_time(121_781 as u64).saturating_mul(r as u64)) + Weight::from_parts(43_077_999, 0) // Standard Error: 5_059 + .saturating_add(Weight::from_parts(121_781, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -327,8 +327,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32) -> Weight { // Minimum execution time: 41_589 nanoseconds. - Weight::from_ref_time(43_200_170 as u64) // Standard Error: 4_502 - .saturating_add(Weight::from_ref_time(122_627 as u64).saturating_mul(r as u64)) + Weight::from_parts(43_200_170, 0) // Standard Error: 4_502 + .saturating_add(Weight::from_parts(122_627, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/hydradx/src/weights/duster.rs b/runtime/hydradx/src/weights/duster.rs index 264e78c70..f0aab1b23 100644 --- a/runtime/hydradx/src/weights/duster.rs +++ b/runtime/hydradx/src/weights/duster.rs @@ -70,7 +70,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn dust_account() -> Weight { // Minimum execution time: 89_223 nanoseconds. - Weight::from_ref_time(89_896_000 as u64) + Weight::from_parts(89_896_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -78,13 +78,13 @@ impl WeightInfo for HydraWeight { // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) fn add_nondustable_account() -> Weight { // Minimum execution time: 22_009 nanoseconds. - Weight::from_ref_time(22_568_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(22_568_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Duster AccountBlacklist (r:1 w:1) // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) fn remove_nondustable_account() -> Weight { // Minimum execution time: 27_278 nanoseconds. - Weight::from_ref_time(27_648_000 as u64) + Weight::from_parts(27_648_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/hydradx/src/weights/ema_oracle.rs b/runtime/hydradx/src/weights/ema_oracle.rs index 398c8725a..38eab2260 100644 --- a/runtime/hydradx/src/weights/ema_oracle.rs +++ b/runtime/hydradx/src/weights/ema_oracle.rs @@ -56,7 +56,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn on_finalize_no_entry() -> Weight { // Minimum execution time: 3_226 nanoseconds. - Weight::from_ref_time(3_325_000 as u64).saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_parts(3_325_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: EmaOracle Accumulator (r:1 w:1) // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) @@ -65,8 +65,8 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 44_637 nanoseconds. - Weight::from_ref_time(9_798_669 as u64) // Standard Error: 47_796 - .saturating_add(Weight::from_ref_time(33_611_646 as u64).saturating_mul(b as u64)) + Weight::from_parts(9_798_669, 0) // Standard Error: 47_796 + .saturating_add(Weight::from_parts(33_611_646, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -77,8 +77,8 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 10_368 nanoseconds. - Weight::from_ref_time(10_544_600 as u64) // Standard Error: 2_268 - .saturating_add(Weight::from_ref_time(432_909 as u64).saturating_mul(b as u64)) + Weight::from_parts(10_544_600, 0) // Standard Error: 2_268 + .saturating_add(Weight::from_parts(432_909, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -87,8 +87,8 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { // Minimum execution time: 10_369 nanoseconds. - Weight::from_ref_time(10_608_047 as u64) // Standard Error: 2_062 - .saturating_add(Weight::from_ref_time(432_350 as u64).saturating_mul(b as u64)) + Weight::from_parts(10_608_047, 0) // Standard Error: 2_062 + .saturating_add(Weight::from_parts(432_350, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -96,6 +96,6 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn get_entry() -> Weight { // Minimum execution time: 17_936 nanoseconds. - Weight::from_ref_time(18_521_000 as u64).saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_parts(18_521_000, 0).saturating_add(T::DbWeight::get().reads(2 as u64)) } } diff --git a/runtime/hydradx/src/weights/identity.rs b/runtime/hydradx/src/weights/identity.rs index 890585f8e..47ac84359 100644 --- a/runtime/hydradx/src/weights/identity.rs +++ b/runtime/hydradx/src/weights/identity.rs @@ -59,8 +59,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32) -> Weight { // Minimum execution time: 15_326 nanoseconds. - Weight::from_ref_time(15_582_094 as u64) // Standard Error: 4_653 - .saturating_add(Weight::from_ref_time(176_404 as u64).saturating_mul(r as u64)) + Weight::from_parts(15_582_094, 0) // Standard Error: 4_653 + .saturating_add(Weight::from_parts(176_404, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -70,10 +70,10 @@ impl WeightInfo for HydraWeight { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32) -> Weight { // Minimum execution time: 38_131 nanoseconds. - Weight::from_ref_time(37_398_023 as u64) // Standard Error: 7_257 - .saturating_add(Weight::from_ref_time(69_908 as u64).saturating_mul(r as u64)) + Weight::from_parts(37_398_023, 0) // Standard Error: 7_257 + .saturating_add(Weight::from_parts(69_908, 0).saturating_mul(r as u64)) // Standard Error: 1_408 - .saturating_add(Weight::from_ref_time(531_880 as u64).saturating_mul(x as u64)) + .saturating_add(Weight::from_parts(531_880, 0).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -86,8 +86,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32) -> Weight { // Minimum execution time: 13_176 nanoseconds. - Weight::from_ref_time(20_572_660 as u64) // Standard Error: 21_203 - .saturating_add(Weight::from_ref_time(3_483_533 as u64).saturating_mul(s as u64)) + Weight::from_parts(20_572_660, 0) // Standard Error: 21_203 + .saturating_add(Weight::from_parts(3_483_533, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -102,8 +102,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32) -> Weight { // Minimum execution time: 12_990 nanoseconds. - Weight::from_ref_time(20_453_420 as u64) // Standard Error: 21_437 - .saturating_add(Weight::from_ref_time(1_463_947 as u64).saturating_mul(p as u64)) + Weight::from_parts(20_453_420, 0) // Standard Error: 21_437 + .saturating_add(Weight::from_parts(1_463_947, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) @@ -119,12 +119,12 @@ impl WeightInfo for HydraWeight { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32) -> Weight { // Minimum execution time: 60_648 nanoseconds. - Weight::from_ref_time(33_396_832 as u64) // Standard Error: 15_990 - .saturating_add(Weight::from_ref_time(90_628 as u64).saturating_mul(r as u64)) + Weight::from_parts(33_396_832, 0) // Standard Error: 15_990 + .saturating_add(Weight::from_parts(90_628, 0).saturating_mul(r as u64)) // Standard Error: 3_105 - .saturating_add(Weight::from_ref_time(1_358_139 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(1_358_139, 0).saturating_mul(s as u64)) // Standard Error: 3_105 - .saturating_add(Weight::from_ref_time(268_909 as u64).saturating_mul(x as u64)) + .saturating_add(Weight::from_parts(268_909, 0).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -137,10 +137,10 @@ impl WeightInfo for HydraWeight { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32) -> Weight { // Minimum execution time: 39_197 nanoseconds. - Weight::from_ref_time(39_378_606 as u64) // Standard Error: 10_835 - .saturating_add(Weight::from_ref_time(30_127 as u64).saturating_mul(r as u64)) + Weight::from_parts(39_378_606, 0) // Standard Error: 10_835 + .saturating_add(Weight::from_parts(30_127, 0).saturating_mul(r as u64)) // Standard Error: 2_103 - .saturating_add(Weight::from_ref_time(548_234 as u64).saturating_mul(x as u64)) + .saturating_add(Weight::from_parts(548_234, 0).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -150,10 +150,10 @@ impl WeightInfo for HydraWeight { /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32) -> Weight { // Minimum execution time: 35_105 nanoseconds. - Weight::from_ref_time(35_494_233 as u64) // Standard Error: 12_119 - .saturating_add(Weight::from_ref_time(23_586 as u64).saturating_mul(r as u64)) + Weight::from_parts(35_494_233, 0) // Standard Error: 12_119 + .saturating_add(Weight::from_parts(23_586, 0).saturating_mul(r as u64)) // Standard Error: 2_352 - .saturating_add(Weight::from_ref_time(548_868 as u64).saturating_mul(x as u64)) + .saturating_add(Weight::from_parts(548_868, 0).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -162,8 +162,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32) -> Weight { // Minimum execution time: 9_796 nanoseconds. - Weight::from_ref_time(10_072_944 as u64) // Standard Error: 2_858 - .saturating_add(Weight::from_ref_time(132_724 as u64).saturating_mul(r as u64)) + Weight::from_parts(10_072_944, 0) // Standard Error: 2_858 + .saturating_add(Weight::from_parts(132_724, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -172,8 +172,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32) -> Weight { // Minimum execution time: 11_153 nanoseconds. - Weight::from_ref_time(11_547_123 as u64) // Standard Error: 5_182 - .saturating_add(Weight::from_ref_time(98_366 as u64).saturating_mul(r as u64)) + Weight::from_parts(11_547_123, 0) // Standard Error: 5_182 + .saturating_add(Weight::from_parts(98_366, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -182,8 +182,8 @@ impl WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32) -> Weight { // Minimum execution time: 10_612 nanoseconds. - Weight::from_ref_time(11_180_103 as u64) // Standard Error: 7_860 - .saturating_add(Weight::from_ref_time(118_105 as u64).saturating_mul(r as u64)) + Weight::from_parts(11_180_103, 0) // Standard Error: 7_860 + .saturating_add(Weight::from_parts(118_105, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -195,10 +195,10 @@ impl WeightInfo for HydraWeight { /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32) -> Weight { // Minimum execution time: 30_030 nanoseconds. - Weight::from_ref_time(28_748_819 as u64) // Standard Error: 4_117 - .saturating_add(Weight::from_ref_time(102_566 as u64).saturating_mul(r as u64)) + Weight::from_parts(28_748_819, 0) // Standard Error: 4_117 + .saturating_add(Weight::from_parts(102_566, 0).saturating_mul(r as u64)) // Standard Error: 749 - .saturating_add(Weight::from_ref_time(889_340 as u64).saturating_mul(x as u64)) + .saturating_add(Weight::from_parts(889_340, 0).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -215,12 +215,12 @@ impl WeightInfo for HydraWeight { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32) -> Weight { // Minimum execution time: 80_698 nanoseconds. - Weight::from_ref_time(55_614_441 as u64) // Standard Error: 16_269 - .saturating_add(Weight::from_ref_time(62_642 as u64).saturating_mul(r as u64)) + Weight::from_parts(55_614_441, 0) // Standard Error: 16_269 + .saturating_add(Weight::from_parts(62_642, 0).saturating_mul(r as u64)) // Standard Error: 3_159 - .saturating_add(Weight::from_ref_time(1_363_105 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(1_363_105, 0).saturating_mul(s as u64)) // Standard Error: 3_159 - .saturating_add(Weight::from_ref_time(258_243 as u64).saturating_mul(x as u64)) + .saturating_add(Weight::from_parts(258_243, 0).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -234,8 +234,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32) -> Weight { // Minimum execution time: 34_765 nanoseconds. - Weight::from_ref_time(37_717_592 as u64) // Standard Error: 6_463 - .saturating_add(Weight::from_ref_time(101_957 as u64).saturating_mul(s as u64)) + Weight::from_parts(37_717_592, 0) // Standard Error: 6_463 + .saturating_add(Weight::from_parts(101_957, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -246,8 +246,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32) -> Weight { // Minimum execution time: 17_138 nanoseconds. - Weight::from_ref_time(18_541_210 as u64) // Standard Error: 3_195 - .saturating_add(Weight::from_ref_time(32_533 as u64).saturating_mul(s as u64)) + Weight::from_parts(18_541_210, 0) // Standard Error: 3_195 + .saturating_add(Weight::from_parts(32_533, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32) -> Weight { // Minimum execution time: 39_118 nanoseconds. - Weight::from_ref_time(41_145_308 as u64) // Standard Error: 4_681 - .saturating_add(Weight::from_ref_time(65_113 as u64).saturating_mul(s as u64)) + Weight::from_parts(41_145_308, 0) // Standard Error: 4_681 + .saturating_add(Weight::from_parts(65_113, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -272,8 +272,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32) -> Weight { // Minimum execution time: 25_303 nanoseconds. - Weight::from_ref_time(27_018_647 as u64) // Standard Error: 4_565 - .saturating_add(Weight::from_ref_time(75_673 as u64).saturating_mul(s as u64)) + Weight::from_parts(27_018_647, 0) // Standard Error: 4_565 + .saturating_add(Weight::from_parts(75_673, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/hydradx/src/weights/lbp.rs b/runtime/hydradx/src/weights/lbp.rs index 42a47dc89..0a70488ef 100644 --- a/runtime/hydradx/src/weights/lbp.rs +++ b/runtime/hydradx/src/weights/lbp.rs @@ -68,7 +68,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 141_654 nanoseconds. - Weight::from_ref_time(143_331_000 as u64) + Weight::from_parts(143_331_000, 0) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -78,7 +78,7 @@ impl WeightInfo for HydraWeight { // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn update_pool_data() -> Weight { // Minimum execution time: 30_269 nanoseconds. - Weight::from_ref_time(30_677_000 as u64) + Weight::from_parts(30_677_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -92,7 +92,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 98_867 nanoseconds. - Weight::from_ref_time(100_102_000 as u64) + Weight::from_parts(100_102_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -112,7 +112,7 @@ impl WeightInfo for HydraWeight { // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 125_051 nanoseconds. - Weight::from_ref_time(126_556_000 as u64) + Weight::from_parts(126_556_000, 0) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -128,7 +128,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 217_207 nanoseconds. - Weight::from_ref_time(218_401_000 as u64) + Weight::from_parts(218_401_000, 0) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -144,7 +144,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 211_853 nanoseconds. - Weight::from_ref_time(213_114_000 as u64) + Weight::from_parts(213_114_000, 0) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -162,10 +162,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 66_725 nanoseconds. - Weight::from_ref_time(67_159_000 as u64) // Standard Error: 592_525 - .saturating_add(Weight::from_ref_time(2_278_417 as u64).saturating_mul(c as u64)) + Weight::from_parts(67_159_000, 0) // Standard Error: 592_525 + .saturating_add(Weight::from_parts(2_278_417, 0).saturating_mul(c as u64)) // Standard Error: 1_300_761 - .saturating_add(Weight::from_ref_time(151_794_260 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(151_794_260, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) @@ -184,10 +184,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 118_181 nanoseconds. - Weight::from_ref_time(118_740_000 as u64) // Standard Error: 769_691 - .saturating_add(Weight::from_ref_time(3_767_843 as u64).saturating_mul(c as u64)) + Weight::from_parts(118_740_000, 0) // Standard Error: 769_691 + .saturating_add(Weight::from_parts(3_767_843, 0).saturating_mul(c as u64)) // Standard Error: 2_541_567 - .saturating_add(Weight::from_ref_time(124_213_432 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(124_213_432, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) diff --git a/runtime/hydradx/src/weights/omnipool.rs b/runtime/hydradx/src/weights/omnipool.rs index 1273b734f..a3827d3d6 100644 --- a/runtime/hydradx/src/weights/omnipool.rs +++ b/runtime/hydradx/src/weights/omnipool.rs @@ -74,7 +74,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool HubAssetTradability (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) fn initialize_pool() -> Weight { // Minimum execution time: 149_531 nanoseconds. - Weight::from_ref_time(150_484_000 as u64) + Weight::from_parts(150_484_000, 0) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -106,7 +106,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) fn add_token() -> Weight { // Minimum execution time: 148_641 nanoseconds. - Weight::from_ref_time(150_420_000 as u64) + Weight::from_parts(150_420_000, 0) .saturating_add(T::DbWeight::get().reads(15 as u64)) .saturating_add(T::DbWeight::get().writes(10 as u64)) } @@ -150,7 +150,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 233_542 nanoseconds. - Weight::from_ref_time(235_489_000 as u64) + Weight::from_parts(235_489_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } @@ -194,7 +194,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 295_371 nanoseconds. - Weight::from_ref_time(297_465_000 as u64) + Weight::from_parts(297_465_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } @@ -230,7 +230,7 @@ impl WeightInfo for HydraWeight { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 258_297 nanoseconds. - Weight::from_ref_time(260_217_000 as u64) + Weight::from_parts(260_217_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } @@ -266,7 +266,7 @@ impl WeightInfo for HydraWeight { // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 279_260 nanoseconds. - Weight::from_ref_time(280_777_000 as u64) + Weight::from_parts(280_777_000, 0) .saturating_add(T::DbWeight::get().reads(24 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } @@ -274,7 +274,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) fn set_asset_tradable_state() -> Weight { // Minimum execution time: 33_892 nanoseconds. - Weight::from_ref_time(34_292_000 as u64) + Weight::from_parts(34_292_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -292,7 +292,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn refund_refused_asset() -> Weight { // Minimum execution time: 109_440 nanoseconds. - Weight::from_ref_time(110_207_000 as u64) + Weight::from_parts(110_207_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -310,7 +310,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn sacrifice_position() -> Weight { // Minimum execution time: 77_870 nanoseconds. - Weight::from_ref_time(78_533_000 as u64) + Weight::from_parts(78_533_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -318,7 +318,7 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) fn set_asset_weight_cap() -> Weight { // Minimum execution time: 34_229 nanoseconds. - Weight::from_ref_time(34_689_000 as u64) + Weight::from_parts(34_689_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -356,10 +356,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 54_153 nanoseconds. - Weight::from_ref_time(40_444_373 as u64) // Standard Error: 79_703 - .saturating_add(Weight::from_ref_time(14_755_626 as u64).saturating_mul(c as u64)) + Weight::from_parts(40_444_373, 0) // Standard Error: 79_703 + .saturating_add(Weight::from_parts(14_755_626, 0).saturating_mul(c as u64)) // Standard Error: 79_703 - .saturating_add(Weight::from_ref_time(219_012_766 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(219_012_766, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().reads((16 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((14 as u64).saturating_mul(e as u64))) @@ -398,8 +398,8 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32) -> Weight { // Minimum execution time: 277_855 nanoseconds. - Weight::from_ref_time(269_412_275 as u64) // Standard Error: 112_640 - .saturating_add(Weight::from_ref_time(12_219_983 as u64).saturating_mul(c as u64)) + Weight::from_parts(269_412_275, 0) // Standard Error: 112_640 + .saturating_add(Weight::from_parts(12_219_983, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(24 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } diff --git a/runtime/hydradx/src/weights/omnipool_lm.rs b/runtime/hydradx/src/weights/omnipool_lm.rs index a9537599d..426b51bd0 100644 --- a/runtime/hydradx/src/weights/omnipool_lm.rs +++ b/runtime/hydradx/src/weights/omnipool_lm.rs @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) fn create_global_farm() -> Weight { // Minimum execution time: 72_756 nanoseconds. - Weight::from_ref_time(73_412_000 as u64) + Weight::from_parts(73_412_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -78,7 +78,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) fn terminate_global_farm() -> Weight { // Minimum execution time: 72_102 nanoseconds. - Weight::from_ref_time(73_946_000 as u64) + Weight::from_parts(73_946_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -100,7 +100,7 @@ impl WeightInfo for HydraWeight { // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) fn create_yield_farm() -> Weight { // Minimum execution time: 109_579 nanoseconds. - Weight::from_ref_time(110_494_000 as u64) + Weight::from_parts(110_494_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -120,7 +120,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn update_yield_farm() -> Weight { // Minimum execution time: 114_170 nanoseconds. - Weight::from_ref_time(114_978_000 as u64) + Weight::from_parts(114_978_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -138,7 +138,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn stop_yield_farm() -> Weight { // Minimum execution time: 108_386 nanoseconds. - Weight::from_ref_time(110_956_000 as u64) + Weight::from_parts(110_956_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -158,7 +158,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn resume_yield_farm() -> Weight { // Minimum execution time: 109_899 nanoseconds. - Weight::from_ref_time(110_626_000 as u64) + Weight::from_parts(110_626_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -172,7 +172,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn terminate_yield_farm() -> Weight { // Minimum execution time: 61_875 nanoseconds. - Weight::from_ref_time(62_709_000 as u64) + Weight::from_parts(62_709_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -208,7 +208,7 @@ impl WeightInfo for HydraWeight { // Proof: OmnipoolWarehouseLM Deposit (max_values: None, max_size: Some(385), added: 2860, mode: MaxEncodedLen) fn deposit_shares() -> Weight { // Minimum execution time: 200_195 nanoseconds. - Weight::from_ref_time(201_809_000 as u64) + Weight::from_parts(201_809_000, 0) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } @@ -234,7 +234,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn redeposit_shares() -> Weight { // Minimum execution time: 164_227 nanoseconds. - Weight::from_ref_time(165_071_000 as u64) + Weight::from_parts(165_071_000, 0) .saturating_add(T::DbWeight::get().reads(15 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -254,7 +254,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn claim_rewards() -> Weight { // Minimum execution time: 140_309 nanoseconds. - Weight::from_ref_time(141_100_000 as u64) + Weight::from_parts(141_100_000, 0) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -284,7 +284,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn withdraw_shares() -> Weight { // Minimum execution time: 233_969 nanoseconds. - Weight::from_ref_time(235_131_000 as u64) + Weight::from_parts(235_131_000, 0) .saturating_add(T::DbWeight::get().reads(15 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } diff --git a/runtime/hydradx/src/weights/otc.rs b/runtime/hydradx/src/weights/otc.rs index 74f3eba9d..d34056965 100644 --- a/runtime/hydradx/src/weights/otc.rs +++ b/runtime/hydradx/src/weights/otc.rs @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof: OTC Orders (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen) fn place_order() -> Weight { // Minimum execution time: 50_115 nanoseconds. - Weight::from_ref_time(50_779_000 as u64) + Weight::from_parts(50_779_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -82,7 +82,7 @@ impl WeightInfo for HydraWeight { // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn partial_fill_order() -> Weight { // Minimum execution time: 113_797 nanoseconds. - Weight::from_ref_time(114_944_000 as u64) + Weight::from_parts(114_944_000, 0) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -98,7 +98,7 @@ impl WeightInfo for HydraWeight { // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn fill_order() -> Weight { // Minimum execution time: 109_213 nanoseconds. - Weight::from_ref_time(109_978_000 as u64) + Weight::from_parts(109_978_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -110,7 +110,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn cancel_order() -> Weight { // Minimum execution time: 39_010 nanoseconds. - Weight::from_ref_time(39_491_000 as u64) + Weight::from_parts(39_491_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/hydradx/src/weights/payment.rs b/runtime/hydradx/src/weights/payment.rs index ae5c6de4e..69010bd3b 100644 --- a/runtime/hydradx/src/weights/payment.rs +++ b/runtime/hydradx/src/weights/payment.rs @@ -58,7 +58,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn add_currency() -> Weight { // Minimum execution time: 26_216 nanoseconds. - Weight::from_ref_time(26_879_000 as u64) + Weight::from_parts(26_879_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn remove_currency() -> Weight { // Minimum execution time: 26_713 nanoseconds. - Weight::from_ref_time(27_072_000 as u64) + Weight::from_parts(27_072_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -76,7 +76,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn set_currency() -> Weight { // Minimum execution time: 32_050 nanoseconds. - Weight::from_ref_time(32_478_000 as u64) + Weight::from_parts(32_478_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -84,6 +84,6 @@ impl WeightInfo for HydraWeight { // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) fn get_spot_price() -> Weight { // Minimum execution time: 7_030 nanoseconds. - Weight::from_ref_time(7_162_000 as u64).saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_parts(7_162_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) } } diff --git a/runtime/hydradx/src/weights/preimage.rs b/runtime/hydradx/src/weights/preimage.rs index cb74fd8f7..dbea4987a 100644 --- a/runtime/hydradx/src/weights/preimage.rs +++ b/runtime/hydradx/src/weights/preimage.rs @@ -51,64 +51,64 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { fn note_preimage(s: u32) -> Weight { Weight::zero() // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(2_000, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn note_requested_preimage(s: u32) -> Weight { Weight::zero() // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(2_000, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn note_no_deposit_preimage(s: u32) -> Weight { Weight::zero() // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(2_000, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn unnote_preimage() -> Weight { - Weight::from_ref_time(51_415_000 as u64) + Weight::from_parts(51_415_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(31_893_000 as u64) + Weight::from_parts(31_893_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn request_preimage() -> Weight { - Weight::from_ref_time(48_735_000 as u64) + Weight::from_parts(48_735_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(31_892_000 as u64) + Weight::from_parts(31_892_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(18_172_000 as u64) + Weight::from_parts(18_172_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn request_requested_preimage() -> Weight { - Weight::from_ref_time(6_494_000 as u64) + Weight::from_parts(6_494_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn unrequest_preimage() -> Weight { - Weight::from_ref_time(33_975_000 as u64) + Weight::from_parts(33_975_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(19_162_000 as u64) + Weight::from_parts(19_162_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(6_343_000 as u64) + Weight::from_parts(6_343_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/hydradx/src/weights/proxy.rs b/runtime/hydradx/src/weights/proxy.rs index a479a316b..1a26fbb42 100644 --- a/runtime/hydradx/src/weights/proxy.rs +++ b/runtime/hydradx/src/weights/proxy.rs @@ -59,8 +59,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn proxy(p: u32) -> Weight { // Minimum execution time: 21_677 nanoseconds. - Weight::from_ref_time(21_692_373 as u64) // Standard Error: 5_242 - .saturating_add(Weight::from_ref_time(117_691 as u64).saturating_mul(p as u64)) + Weight::from_parts(21_692_373, 0) // Standard Error: 5_242 + .saturating_add(Weight::from_parts(117_691, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) @@ -73,10 +73,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32) -> Weight { // Minimum execution time: 44_286 nanoseconds. - Weight::from_ref_time(45_544_640 as u64) // Standard Error: 5_443 - .saturating_add(Weight::from_ref_time(164_483 as u64).saturating_mul(a as u64)) + Weight::from_parts(45_544_640, 0) // Standard Error: 5_443 + .saturating_add(Weight::from_parts(164_483, 0).saturating_mul(a as u64)) // Standard Error: 5_660 - .saturating_add(Weight::from_ref_time(24_257 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(24_257, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -88,10 +88,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32) -> Weight { // Minimum execution time: 28_480 nanoseconds. - Weight::from_ref_time(29_279_330 as u64) // Standard Error: 4_280 - .saturating_add(Weight::from_ref_time(192_685 as u64).saturating_mul(a as u64)) + Weight::from_parts(29_279_330, 0) // Standard Error: 4_280 + .saturating_add(Weight::from_parts(192_685, 0).saturating_mul(a as u64)) // Standard Error: 4_450 - .saturating_add(Weight::from_ref_time(7_973 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(7_973, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -103,10 +103,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32) -> Weight { // Minimum execution time: 28_308 nanoseconds. - Weight::from_ref_time(28_999_683 as u64) // Standard Error: 4_300 - .saturating_add(Weight::from_ref_time(196_827 as u64).saturating_mul(a as u64)) + Weight::from_parts(28_999_683, 0) // Standard Error: 4_300 + .saturating_add(Weight::from_parts(196_827, 0).saturating_mul(a as u64)) // Standard Error: 4_471 - .saturating_add(Weight::from_ref_time(14_183 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(14_183, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -120,10 +120,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32) -> Weight { // Minimum execution time: 39_239 nanoseconds. - Weight::from_ref_time(39_072_787 as u64) // Standard Error: 4_455 - .saturating_add(Weight::from_ref_time(190_030 as u64).saturating_mul(a as u64)) + Weight::from_parts(39_072_787, 0) // Standard Error: 4_455 + .saturating_add(Weight::from_parts(190_030, 0).saturating_mul(a as u64)) // Standard Error: 4_632 - .saturating_add(Weight::from_ref_time(42_751 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(42_751, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -132,8 +132,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32) -> Weight { // Minimum execution time: 29_935 nanoseconds. - Weight::from_ref_time(30_909_501 as u64) // Standard Error: 5_224 - .saturating_add(Weight::from_ref_time(63_272 as u64).saturating_mul(p as u64)) + Weight::from_parts(30_909_501, 0) // Standard Error: 5_224 + .saturating_add(Weight::from_parts(63_272, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -142,8 +142,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32) -> Weight { // Minimum execution time: 29_577 nanoseconds. - Weight::from_ref_time(30_710_353 as u64) // Standard Error: 7_177 - .saturating_add(Weight::from_ref_time(88_813 as u64).saturating_mul(p as u64)) + Weight::from_parts(30_710_353, 0) // Standard Error: 7_177 + .saturating_add(Weight::from_parts(88_813, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -152,8 +152,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32) -> Weight { // Minimum execution time: 24_462 nanoseconds. - Weight::from_ref_time(25_078_965 as u64) // Standard Error: 4_049 - .saturating_add(Weight::from_ref_time(43_040 as u64).saturating_mul(p as u64)) + Weight::from_parts(25_078_965, 0) // Standard Error: 4_049 + .saturating_add(Weight::from_parts(43_040, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -162,8 +162,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32) -> Weight { // Minimum execution time: 32_673 nanoseconds. - Weight::from_ref_time(33_296_803 as u64) // Standard Error: 3_055 - .saturating_add(Weight::from_ref_time(10_014 as u64).saturating_mul(p as u64)) + Weight::from_parts(33_296_803, 0) // Standard Error: 3_055 + .saturating_add(Weight::from_parts(10_014, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -172,8 +172,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32) -> Weight { // Minimum execution time: 26_331 nanoseconds. - Weight::from_ref_time(26_958_368 as u64) // Standard Error: 2_427 - .saturating_add(Weight::from_ref_time(961 as u64).saturating_mul(p as u64)) + Weight::from_parts(26_958_368, 0) // Standard Error: 2_427 + .saturating_add(Weight::from_parts(961, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/hydradx/src/weights/registry.rs b/runtime/hydradx/src/weights/registry.rs index 7ef08decd..f1d410c23 100644 --- a/runtime/hydradx/src/weights/registry.rs +++ b/runtime/hydradx/src/weights/registry.rs @@ -68,7 +68,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) fn register() -> Weight { // Minimum execution time: 44_102 nanoseconds. - Weight::from_ref_time(44_514_000 as u64) + Weight::from_parts(44_514_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -78,7 +78,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: AssetRegistry AssetIds (max_values: None, max_size: None, mode: Measured) fn update() -> Weight { // Minimum execution time: 28_233 nanoseconds. - Weight::from_ref_time(28_610_000 as u64) + Weight::from_parts(28_610_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -88,7 +88,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: AssetRegistry AssetMetadataMap (max_values: None, max_size: None, mode: Measured) fn set_metadata() -> Weight { // Minimum execution time: 20_998 nanoseconds. - Weight::from_ref_time(21_273_000 as u64) + Weight::from_parts(21_273_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -100,7 +100,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: AssetRegistry AssetLocations (max_values: None, max_size: None, mode: Measured) fn set_location() -> Weight { // Minimum execution time: 25_144 nanoseconds. - Weight::from_ref_time(25_552_000 as u64) + Weight::from_parts(25_552_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/route_executor.rs index 6dcd44bb5..c232d6a2f 100644 --- a/runtime/hydradx/src/weights/route_executor.rs +++ b/runtime/hydradx/src/weights/route_executor.rs @@ -66,10 +66,10 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, s: u32) -> Weight { // Minimum execution time: 74_851 nanoseconds. - Weight::from_ref_time(26_266_260 as u64) // Standard Error: 251_240 - .saturating_add(Weight::from_ref_time(49_596_533 as u64).saturating_mul(c as u64)) + Weight::from_parts(26_266_260, 0) // Standard Error: 251_240 + .saturating_add(Weight::from_parts(49_596_533, 0).saturating_mul(c as u64)) // Standard Error: 251_240 - .saturating_add(Weight::from_ref_time(252_604_739 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(252_604_739, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(s as u64))) @@ -88,10 +88,10 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Minimum execution time: 73_996 nanoseconds. - Weight::from_ref_time(74_590_000 as u64) // Standard Error: 576_133 - .saturating_add(Weight::from_ref_time(2_213_808 as u64).saturating_mul(c as u64)) + Weight::from_parts(74_590_000, 0) // Standard Error: 576_133 + .saturating_add(Weight::from_parts(2_213_808, 0).saturating_mul(c as u64)) // Standard Error: 1_264_777 - .saturating_add(Weight::from_ref_time(205_965_931 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(205_965_931, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(b as u64))) diff --git a/runtime/hydradx/src/weights/scheduler.rs b/runtime/hydradx/src/weights/scheduler.rs index 5a38cb9d4..5a7fba9c1 100644 --- a/runtime/hydradx/src/weights/scheduler.rs +++ b/runtime/hydradx/src/weights/scheduler.rs @@ -58,7 +58,7 @@ impl WeightInfo for HydraWeight { // Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn service_agendas_base() -> Weight { // Minimum execution time: 4_812 nanoseconds. - Weight::from_ref_time(5_006_000 as u64) + Weight::from_parts(5_006_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -67,14 +67,14 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32) -> Weight { // Minimum execution time: 4_314 nanoseconds. - Weight::from_ref_time(6_436_098 as u64) // Standard Error: 11_138 - .saturating_add(Weight::from_ref_time(856_025 as u64).saturating_mul(s as u64)) + Weight::from_parts(6_436_098, 0) // Standard Error: 11_138 + .saturating_add(Weight::from_parts(856_025, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_base() -> Weight { // Minimum execution time: 8_044 nanoseconds. - Weight::from_ref_time(8_280_000 as u64) + Weight::from_parts(8_280_000, 0) } // Storage: Preimage PreimageFor (r:1 w:1) // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) @@ -83,8 +83,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32) -> Weight { // Minimum execution time: 26_730 nanoseconds. - Weight::from_ref_time(26_964_000 as u64) // Standard Error: 11 - .saturating_add(Weight::from_ref_time(1_193 as u64).saturating_mul(s as u64)) + Weight::from_parts(26_964_000, 0) // Standard Error: 11 + .saturating_add(Weight::from_parts(1_193, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -92,27 +92,27 @@ impl WeightInfo for HydraWeight { // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn service_task_named() -> Weight { // Minimum execution time: 10_464 nanoseconds. - Weight::from_ref_time(10_733_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(10_733_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_periodic() -> Weight { // Minimum execution time: 7_975 nanoseconds. - Weight::from_ref_time(8_222_000 as u64) + Weight::from_parts(8_222_000, 0) } fn execute_dispatch_signed() -> Weight { // Minimum execution time: 4_383 nanoseconds. - Weight::from_ref_time(4_514_000 as u64) + Weight::from_parts(4_514_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Minimum execution time: 4_380 nanoseconds. - Weight::from_ref_time(4_477_000 as u64) + Weight::from_parts(4_477_000, 0) } // Storage: Scheduler Agenda (r:1 w:1) // Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32) -> Weight { // Minimum execution time: 18_201 nanoseconds. - Weight::from_ref_time(20_132_386 as u64) // Standard Error: 8_258 - .saturating_add(Weight::from_ref_time(850_632 as u64).saturating_mul(s as u64)) + Weight::from_parts(20_132_386, 0) // Standard Error: 8_258 + .saturating_add(Weight::from_parts(850_632, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -123,8 +123,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[1, 50]`. fn cancel(s: u32) -> Weight { // Minimum execution time: 23_563 nanoseconds. - Weight::from_ref_time(23_018_657 as u64) // Standard Error: 4_580 - .saturating_add(Weight::from_ref_time(1_408_250 as u64).saturating_mul(s as u64)) + Weight::from_parts(23_018_657, 0) // Standard Error: 4_580 + .saturating_add(Weight::from_parts(1_408_250, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -135,8 +135,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32) -> Weight { // Minimum execution time: 22_347 nanoseconds. - Weight::from_ref_time(25_360_204 as u64) // Standard Error: 15_880 - .saturating_add(Weight::from_ref_time(924_517 as u64).saturating_mul(s as u64)) + Weight::from_parts(25_360_204, 0) // Standard Error: 15_880 + .saturating_add(Weight::from_parts(924_517, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -147,8 +147,8 @@ impl WeightInfo for HydraWeight { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32) -> Weight { // Minimum execution time: 25_410 nanoseconds. - Weight::from_ref_time(25_945_181 as u64) // Standard Error: 8_953 - .saturating_add(Weight::from_ref_time(1_466_163 as u64).saturating_mul(s as u64)) + Weight::from_parts(25_945_181, 0) // Standard Error: 8_953 + .saturating_add(Weight::from_parts(1_466_163, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/hydradx/src/weights/stableswap.rs b/runtime/hydradx/src/weights/stableswap.rs index 4dfeff816..145e3ad41 100644 --- a/runtime/hydradx/src/weights/stableswap.rs +++ b/runtime/hydradx/src/weights/stableswap.rs @@ -60,7 +60,7 @@ impl WeightInfo for HydraWeight { // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 50_068 nanoseconds. - Weight::from_ref_time(50_557_000 as u64) + Weight::from_parts(50_557_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -86,7 +86,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 1_140_516 nanoseconds. - Weight::from_ref_time(1_143_845_000 as u64) + Weight::from_parts(1_143_845_000, 0) .saturating_add(T::DbWeight::get().reads(33 as u64)) .saturating_add(T::DbWeight::get().writes(14 as u64)) } @@ -110,7 +110,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity_shares() -> Weight { // Minimum execution time: 783_827 nanoseconds. - Weight::from_ref_time(787_422_000 as u64) + Weight::from_parts(787_422_000, 0) .saturating_add(T::DbWeight::get().reads(20 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -136,7 +136,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn remove_liquidity_one_asset() -> Weight { // Minimum execution time: 817_053 nanoseconds. - Weight::from_ref_time(821_506_000 as u64) + Weight::from_parts(821_506_000, 0) .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -162,7 +162,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn withdraw_asset_amount() -> Weight { // Minimum execution time: 1_124_456 nanoseconds. - Weight::from_ref_time(1_133_226_000 as u64) + Weight::from_parts(1_133_226_000, 0) .saturating_add(T::DbWeight::get().reads(22 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -188,7 +188,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 768_776 nanoseconds. - Weight::from_ref_time(772_108_000 as u64) + Weight::from_parts(772_108_000, 0) .saturating_add(T::DbWeight::get().reads(22 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -214,7 +214,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 747_434 nanoseconds. - Weight::from_ref_time(751_463_000 as u64) + Weight::from_parts(751_463_000, 0) .saturating_add(T::DbWeight::get().reads(23 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -224,7 +224,7 @@ impl WeightInfo for HydraWeight { // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) fn set_asset_tradable_state() -> Weight { // Minimum execution time: 24_470 nanoseconds. - Weight::from_ref_time(24_889_000 as u64) + Weight::from_parts(24_889_000, 0) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -232,7 +232,7 @@ impl WeightInfo for HydraWeight { // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) fn update_pool_fee() -> Weight { // Minimum execution time: 22_217 nanoseconds. - Weight::from_ref_time(22_890_000 as u64) + Weight::from_parts(22_890_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -240,7 +240,7 @@ impl WeightInfo for HydraWeight { // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) fn update_amplification() -> Weight { // Minimum execution time: 24_168 nanoseconds. - Weight::from_ref_time(24_902_000 as u64) + Weight::from_parts(24_902_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -268,10 +268,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 333_504 nanoseconds. - Weight::from_ref_time(30_352_727 as u64) // Standard Error: 262_827 - .saturating_add(Weight::from_ref_time(304_810_632 as u64).saturating_mul(c as u64)) + Weight::from_parts(30_352_727, 0) // Standard Error: 262_827 + .saturating_add(Weight::from_parts(304_810_632, 0).saturating_mul(c as u64)) // Standard Error: 262_827 - .saturating_add(Weight::from_ref_time(742_434_706 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(742_434_706, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().reads((11 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) @@ -300,10 +300,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 333_253 nanoseconds. - Weight::from_ref_time(334_206_000 as u64) // Standard Error: 3_608_102 - .saturating_add(Weight::from_ref_time(13_465_646 as u64).saturating_mul(c as u64)) + Weight::from_parts(334_206_000, 0) // Standard Error: 3_608_102 + .saturating_add(Weight::from_parts(13_465_646, 0).saturating_mul(c as u64)) // Standard Error: 7_920_813 - .saturating_add(Weight::from_ref_time(456_375_218 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(456_375_218, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().reads((12 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(e as u64))) diff --git a/runtime/hydradx/src/weights/staking.rs b/runtime/hydradx/src/weights/staking.rs index 5d103f612..ca6bffd12 100644 --- a/runtime/hydradx/src/weights/staking.rs +++ b/runtime/hydradx/src/weights/staking.rs @@ -62,7 +62,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ClassAccount (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) fn initialize_staking() -> Weight { // Minimum execution time: 46_503 nanoseconds. - Weight::from_ref_time(47_119_000 as u64) + Weight::from_parts(47_119_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -86,7 +86,7 @@ impl WeightInfo for HydraWeight { // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn stake() -> Weight { // Minimum execution time: 93_410 nanoseconds. - Weight::from_ref_time(94_534_000 as u64) + Weight::from_parts(94_534_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -106,7 +106,7 @@ impl WeightInfo for HydraWeight { // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn increase_stake() -> Weight { // Minimum execution time: 237_592 nanoseconds. - Weight::from_ref_time(239_395_000 as u64) + Weight::from_parts(239_395_000, 0) .saturating_add(T::DbWeight::get().reads(107 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -126,7 +126,7 @@ impl WeightInfo for HydraWeight { // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim() -> Weight { // Minimum execution time: 233_614 nanoseconds. - Weight::from_ref_time(236_034_000 as u64) + Weight::from_parts(236_034_000, 0) .saturating_add(T::DbWeight::get().reads(107 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -152,7 +152,7 @@ impl WeightInfo for HydraWeight { // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) fn unstake() -> Weight { // Minimum execution time: 264_098 nanoseconds. - Weight::from_ref_time(266_429_000 as u64) + Weight::from_parts(266_429_000, 0) .saturating_add(T::DbWeight::get().reads(108 as u64)) .saturating_add(T::DbWeight::get().writes(10 as u64)) } diff --git a/runtime/hydradx/src/weights/system.rs b/runtime/hydradx/src/weights/system.rs index d6fc51069..23c3cc949 100644 --- a/runtime/hydradx/src/weights/system.rs +++ b/runtime/hydradx/src/weights/system.rs @@ -57,14 +57,14 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32) -> Weight { // Minimum execution time: 3_382 nanoseconds. - Weight::from_ref_time(3_438_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(413 as u64).saturating_mul(b as u64)) + Weight::from_parts(3_438_000, 0) // Standard Error: 0 + .saturating_add(Weight::from_parts(413, 0).saturating_mul(b as u64)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32) -> Weight { // Minimum execution time: 10_562 nanoseconds. - Weight::from_ref_time(10_656_000 as u64) // Standard Error: 3 - .saturating_add(Weight::from_ref_time(1_722 as u64).saturating_mul(b as u64)) + Weight::from_parts(10_656_000, 0) // Standard Error: 3 + .saturating_add(Weight::from_parts(1_722, 0).saturating_mul(b as u64)) } // Storage: System Digest (r:1 w:1) // Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -72,7 +72,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { // Minimum execution time: 6_106 nanoseconds. - Weight::from_ref_time(6_366_000 as u64) + Weight::from_parts(6_366_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -81,8 +81,8 @@ impl WeightInfo for HydraWeight { /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32) -> Weight { // Minimum execution time: 3_233 nanoseconds. - Weight::from_ref_time(3_332_000 as u64) // Standard Error: 9_692 - .saturating_add(Weight::from_ref_time(802_375 as u64).saturating_mul(i as u64)) + Weight::from_parts(3_332_000, 0) // Standard Error: 9_692 + .saturating_add(Weight::from_parts(802_375, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) @@ -90,8 +90,8 @@ impl WeightInfo for HydraWeight { /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32) -> Weight { // Minimum execution time: 3_364 nanoseconds. - Weight::from_ref_time(3_438_000 as u64) // Standard Error: 2_518 - .saturating_add(Weight::from_ref_time(546_238 as u64).saturating_mul(i as u64)) + Weight::from_parts(3_438_000, 0) // Standard Error: 2_518 + .saturating_add(Weight::from_parts(546_238, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) @@ -99,8 +99,11 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32) -> Weight { // Minimum execution time: 6_339 nanoseconds. - Weight::from_ref_time(6_429_000 as u64) // Standard Error: 3_366 - .saturating_add(Weight::from_ref_time(1_024_606 as u64).saturating_mul(p as u64)) + Weight::from_parts(6_429_000, 0) // Standard Error: 3_366 + .saturating_add(Weight::from_parts(1_024_606, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } + fn set_code() -> Weight { + Weight::zero() + } } diff --git a/runtime/hydradx/src/weights/technical_comittee.rs b/runtime/hydradx/src/weights/technical_comittee.rs index 745ba00fd..7f81669e8 100644 --- a/runtime/hydradx/src/weights/technical_comittee.rs +++ b/runtime/hydradx/src/weights/technical_comittee.rs @@ -67,10 +67,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[0, 20]`. fn set_members(m: u32, _n: u32, p: u32) -> Weight { // Minimum execution time: 12_309 nanoseconds. - Weight::from_ref_time(12_459_000 as u64) // Standard Error: 341_347 - .saturating_add(Weight::from_ref_time(3_850_003 as u64).saturating_mul(m as u64)) + Weight::from_parts(12_459_000, 0) // Standard Error: 341_347 + .saturating_add(Weight::from_parts(3_850_003, 0).saturating_mul(m as u64)) // Standard Error: 172_398 - .saturating_add(Weight::from_ref_time(3_766_044 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(3_766_044, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) @@ -84,10 +84,10 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[1, 10]`. fn execute(b: u32, m: u32) -> Weight { // Minimum execution time: 20_335 nanoseconds. - Weight::from_ref_time(20_891_871 as u64) // Standard Error: 86 - .saturating_add(Weight::from_ref_time(2_049 as u64).saturating_mul(b as u64)) + Weight::from_parts(20_891_871, 0) // Standard Error: 86 + .saturating_add(Weight::from_parts(2_049, 0).saturating_mul(b as u64)) // Standard Error: 9_628 - .saturating_add(Weight::from_ref_time(23_909 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(23_909, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -98,10 +98,10 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[1, 10]`. fn propose_execute(b: u32, m: u32) -> Weight { // Minimum execution time: 23_953 nanoseconds. - Weight::from_ref_time(23_301_823 as u64) // Standard Error: 93 - .saturating_add(Weight::from_ref_time(2_073 as u64).saturating_mul(b as u64)) + Weight::from_parts(23_301_823, 0) // Standard Error: 93 + .saturating_add(Weight::from_parts(2_073, 0).saturating_mul(b as u64)) // Standard Error: 10_319 - .saturating_add(Weight::from_ref_time(106_174 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(106_174, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -119,12 +119,12 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { // Minimum execution time: 31_710 nanoseconds. - Weight::from_ref_time(31_018_735 as u64) // Standard Error: 224 - .saturating_add(Weight::from_ref_time(2_728 as u64).saturating_mul(b as u64)) + Weight::from_parts(31_018_735, 0) // Standard Error: 224 + .saturating_add(Weight::from_parts(2_728, 0).saturating_mul(b as u64)) // Standard Error: 28_624 - .saturating_add(Weight::from_ref_time(8_221 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(8_221, 0).saturating_mul(m as u64)) // Standard Error: 11_790 - .saturating_add(Weight::from_ref_time(349_453 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(349_453, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -135,8 +135,8 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[5, 10]`. fn vote(m: u32) -> Weight { // Minimum execution time: 25_807 nanoseconds. - Weight::from_ref_time(26_425_005 as u64) // Standard Error: 26_156 - .saturating_add(Weight::from_ref_time(28_677 as u64).saturating_mul(m as u64)) + Weight::from_parts(26_425_005, 0) // Standard Error: 26_156 + .saturating_add(Weight::from_parts(28_677, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -152,10 +152,10 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_early_disapproved(m: u32, p: u32) -> Weight { // Minimum execution time: 32_606 nanoseconds. - Weight::from_ref_time(33_190_941 as u64) // Standard Error: 27_382 - .saturating_add(Weight::from_ref_time(70_836 as u64).saturating_mul(m as u64)) + Weight::from_parts(33_190_941, 0) // Standard Error: 27_382 + .saturating_add(Weight::from_parts(70_836, 0).saturating_mul(m as u64)) // Standard Error: 8_778 - .saturating_add(Weight::from_ref_time(279_858 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(279_858, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -172,12 +172,12 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { // Minimum execution time: 47_728 nanoseconds. - Weight::from_ref_time(47_191_770 as u64) // Standard Error: 254 - .saturating_add(Weight::from_ref_time(1_607 as u64).saturating_mul(b as u64)) + Weight::from_parts(47_191_770, 0) // Standard Error: 254 + .saturating_add(Weight::from_parts(1_607, 0).saturating_mul(b as u64)) // Standard Error: 41_695 - .saturating_add(Weight::from_ref_time(93_099 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(93_099, 0).saturating_mul(m as u64)) // Standard Error: 13_384 - .saturating_add(Weight::from_ref_time(337_647 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(337_647, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -195,8 +195,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_disapproved(_m: u32, p: u32) -> Weight { // Minimum execution time: 35_291 nanoseconds. - Weight::from_ref_time(36_722_445 as u64) // Standard Error: 11_196 - .saturating_add(Weight::from_ref_time(291_277 as u64).saturating_mul(p as u64)) + Weight::from_parts(36_722_445, 0) // Standard Error: 11_196 + .saturating_add(Weight::from_parts(291_277, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -215,12 +215,12 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_approved(b: u32, m: u32, p: u32) -> Weight { // Minimum execution time: 49_758 nanoseconds. - Weight::from_ref_time(49_427_044 as u64) // Standard Error: 278 - .saturating_add(Weight::from_ref_time(1_243 as u64).saturating_mul(b as u64)) + Weight::from_parts(49_427_044, 0) // Standard Error: 278 + .saturating_add(Weight::from_parts(1_243, 0).saturating_mul(b as u64)) // Standard Error: 45_617 - .saturating_add(Weight::from_ref_time(117_485 as u64).saturating_mul(m as u64)) + .saturating_add(Weight::from_parts(117_485, 0).saturating_mul(m as u64)) // Standard Error: 14_643 - .saturating_add(Weight::from_ref_time(379_567 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_parts(379_567, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -233,8 +233,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn disapprove_proposal(p: u32) -> Weight { // Minimum execution time: 21_493 nanoseconds. - Weight::from_ref_time(22_471_004 as u64) // Standard Error: 11_107 - .saturating_add(Weight::from_ref_time(191_656 as u64).saturating_mul(p as u64)) + Weight::from_parts(22_471_004, 0) // Standard Error: 11_107 + .saturating_add(Weight::from_parts(191_656, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/hydradx/src/weights/timestamp.rs b/runtime/hydradx/src/weights/timestamp.rs index aae7eff36..01bdeab0b 100644 --- a/runtime/hydradx/src/weights/timestamp.rs +++ b/runtime/hydradx/src/weights/timestamp.rs @@ -58,12 +58,12 @@ impl WeightInfo for HydraWeight { // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { // Minimum execution time: 9_093 nanoseconds. - Weight::from_ref_time(9_342_000 as u64) + Weight::from_parts(9_342_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { // Minimum execution time: 4_982 nanoseconds. - Weight::from_ref_time(5_155_000 as u64) + Weight::from_parts(5_155_000, 0) } } diff --git a/runtime/hydradx/src/weights/tokens.rs b/runtime/hydradx/src/weights/tokens.rs index 0a6ad1c7c..2e56c9880 100644 --- a/runtime/hydradx/src/weights/tokens.rs +++ b/runtime/hydradx/src/weights/tokens.rs @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn transfer() -> Weight { // Minimum execution time: 88_520 nanoseconds. - Weight::from_ref_time(89_174_000 as u64) + Weight::from_parts(89_174_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -82,7 +82,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Minimum execution time: 91_438 nanoseconds. - Weight::from_ref_time(91_965_000 as u64) + Weight::from_parts(91_965_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -98,7 +98,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Minimum execution time: 76_130 nanoseconds. - Weight::from_ref_time(77_015_000 as u64) + Weight::from_parts(77_015_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -114,7 +114,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Minimum execution time: 92_082 nanoseconds. - Weight::from_ref_time(93_140_000 as u64) + Weight::from_parts(93_140_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -132,7 +132,7 @@ impl WeightInfo for HydraWeight { // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) fn set_balance() -> Weight { // Minimum execution time: 79_716 nanoseconds. - Weight::from_ref_time(80_405_000 as u64) + Weight::from_parts(80_405_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/hydradx/src/weights/transaction_pause.rs b/runtime/hydradx/src/weights/transaction_pause.rs index ccefee905..7031bbcc4 100644 --- a/runtime/hydradx/src/weights/transaction_pause.rs +++ b/runtime/hydradx/src/weights/transaction_pause.rs @@ -58,7 +58,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) fn pause_transaction() -> Weight { // Minimum execution time: 14_526 nanoseconds. - Weight::from_ref_time(14_862_000 as u64) + Weight::from_parts(14_862_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) fn unpause_transaction() -> Weight { // Minimum execution time: 15_803 nanoseconds. - Weight::from_ref_time(16_215_000 as u64) + Weight::from_parts(16_215_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/hydradx/src/weights/treasury.rs b/runtime/hydradx/src/weights/treasury.rs index ea7358f6c..f7f8b0365 100644 --- a/runtime/hydradx/src/weights/treasury.rs +++ b/runtime/hydradx/src/weights/treasury.rs @@ -56,7 +56,7 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { fn spend() -> Weight { // Minimum execution time: 318 nanoseconds. - Weight::from_ref_time(332_000 as u64) + Weight::from_parts(332_000, 0) } // Storage: Treasury ProposalCount (r:1 w:1) // Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -64,7 +64,7 @@ impl WeightInfo for HydraWeight { // Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { // Minimum execution time: 31_779 nanoseconds. - Weight::from_ref_time(32_295_000 as u64) + Weight::from_parts(32_295_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -74,7 +74,7 @@ impl WeightInfo for HydraWeight { // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reject_proposal() -> Weight { // Minimum execution time: 47_741 nanoseconds. - Weight::from_ref_time(48_401_000 as u64) + Weight::from_parts(48_401_000, 0) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -85,8 +85,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32) -> Weight { // Minimum execution time: 12_747 nanoseconds. - Weight::from_ref_time(14_827_929 as u64) // Standard Error: 5_363 - .saturating_add(Weight::from_ref_time(66_075 as u64).saturating_mul(p as u64)) + Weight::from_parts(14_827_929, 0) // Standard Error: 5_363 + .saturating_add(Weight::from_parts(66_075, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -94,7 +94,7 @@ impl WeightInfo for HydraWeight { // Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn remove_approval() -> Weight { // Minimum execution time: 9_222 nanoseconds. - Weight::from_ref_time(9_485_000 as u64) + Weight::from_parts(9_485_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -111,8 +111,8 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32) -> Weight { // Minimum execution time: 37_461 nanoseconds. - Weight::from_ref_time(48_793_780 as u64) // Standard Error: 70_185 - .saturating_add(Weight::from_ref_time(40_231_484 as u64).saturating_mul(p as u64)) + Weight::from_parts(48_793_780, 0) // Standard Error: 70_185 + .saturating_add(Weight::from_parts(40_231_484, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) diff --git a/runtime/hydradx/src/weights/utility.rs b/runtime/hydradx/src/weights/utility.rs index 1c96f1f95..9044a9d89 100644 --- a/runtime/hydradx/src/weights/utility.rs +++ b/runtime/hydradx/src/weights/utility.rs @@ -57,27 +57,27 @@ impl WeightInfo for HydraWeight { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32) -> Weight { // Minimum execution time: 9_548 nanoseconds. - Weight::from_ref_time(20_043_320 as u64) // Standard Error: 6_918 - .saturating_add(Weight::from_ref_time(6_230_163 as u64).saturating_mul(c as u64)) + Weight::from_parts(20_043_320, 0) // Standard Error: 6_918 + .saturating_add(Weight::from_parts(6_230_163, 0).saturating_mul(c as u64)) } fn as_derivative() -> Weight { // Minimum execution time: 8_348 nanoseconds. - Weight::from_ref_time(8_572_000 as u64) + Weight::from_parts(8_572_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32) -> Weight { // Minimum execution time: 9_774 nanoseconds. - Weight::from_ref_time(24_400_000 as u64) // Standard Error: 5_980 - .saturating_add(Weight::from_ref_time(6_581_930 as u64).saturating_mul(c as u64)) + Weight::from_parts(24_400_000, 0) // Standard Error: 5_980 + .saturating_add(Weight::from_parts(6_581_930, 0).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { // Minimum execution time: 12_774 nanoseconds. - Weight::from_ref_time(13_068_000 as u64) + Weight::from_parts(13_068_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32) -> Weight { // Minimum execution time: 10_143 nanoseconds. - Weight::from_ref_time(21_443_840 as u64) // Standard Error: 6_255 - .saturating_add(Weight::from_ref_time(6_118_477 as u64).saturating_mul(c as u64)) + Weight::from_parts(21_443_840, 0) // Standard Error: 6_255 + .saturating_add(Weight::from_parts(6_118_477, 0).saturating_mul(c as u64)) } } diff --git a/runtime/hydradx/src/weights/vesting.rs b/runtime/hydradx/src/weights/vesting.rs index 0100849a6..03db4b426 100644 --- a/runtime/hydradx/src/weights/vesting.rs +++ b/runtime/hydradx/src/weights/vesting.rs @@ -62,7 +62,7 @@ impl WeightInfo for HydraWeight { // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vested_transfer() -> Weight { // Minimum execution time: 84_347 nanoseconds. - Weight::from_ref_time(85_089_000 as u64) + Weight::from_parts(85_089_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -73,8 +73,8 @@ impl WeightInfo for HydraWeight { /// The range of component `i` is `[1, 100]`. fn claim(i: u32) -> Weight { // Minimum execution time: 52_945 nanoseconds. - Weight::from_ref_time(56_504_723 as u64) // Standard Error: 10_837 - .saturating_add(Weight::from_ref_time(63_081 as u64).saturating_mul(i as u64)) + Weight::from_parts(56_504_723, 0) // Standard Error: 10_837 + .saturating_add(Weight::from_parts(63_081, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -87,8 +87,8 @@ impl WeightInfo for HydraWeight { /// The range of component `i` is `[1, 100]`. fn update_vesting_schedules(i: u32) -> Weight { // Minimum execution time: 44_932 nanoseconds. - Weight::from_ref_time(46_379_059 as u64) // Standard Error: 3_056 - .saturating_add(Weight::from_ref_time(91_387 as u64).saturating_mul(i as u64)) + Weight::from_parts(46_379_059, 0) // Standard Error: 3_056 + .saturating_add(Weight::from_parts(91_387, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/hydradx/src/weights/xcm.rs b/runtime/hydradx/src/weights/xcm.rs index 418ee0751..91009b939 100644 --- a/runtime/hydradx/src/weights/xcm.rs +++ b/runtime/hydradx/src/weights/xcm.rs @@ -66,7 +66,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) fn send() -> Weight { // Minimum execution time: 37_052 nanoseconds. - Weight::from_ref_time(37_742_000 as u64) + Weight::from_parts(37_742_000, 0) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -74,29 +74,29 @@ impl WeightInfo for HydraWeight { // Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) fn teleport_assets() -> Weight { // Minimum execution time: 18_446_744_073_709_551 nanoseconds. - Weight::from_ref_time(18_446_744_073_709_551_000 as u64) + Weight::from_parts(18_446_744_073_709_551_000, 0) } // Storage: ParachainInfo ParachainId (r:1 w:0) // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn reserve_transfer_assets() -> Weight { // Minimum execution time: 28_961 nanoseconds. - Weight::from_ref_time(29_264_000 as u64).saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_parts(29_264_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) } fn execute() -> Weight { // Minimum execution time: 13_191 nanoseconds. - Weight::from_ref_time(13_453_000 as u64) + Weight::from_parts(13_453_000, 0) } // Storage: PolkadotXcm SupportedVersion (r:0 w:1) // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) fn force_xcm_version() -> Weight { // Minimum execution time: 13_630 nanoseconds. - Weight::from_ref_time(14_213_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(14_213_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) fn force_default_xcm_version() -> Weight { // Minimum execution time: 4_489 nanoseconds. - Weight::from_ref_time(4_780_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_parts(4_780_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PolkadotXcm VersionNotifiers (r:1 w:1) // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) @@ -116,7 +116,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) fn force_subscribe_version_notify() -> Weight { // Minimum execution time: 44_665 nanoseconds. - Weight::from_ref_time(45_562_000 as u64) + Weight::from_parts(45_562_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -136,7 +136,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) fn force_unsubscribe_version_notify() -> Weight { // Minimum execution time: 44_616 nanoseconds. - Weight::from_ref_time(45_322_000 as u64) + Weight::from_parts(45_322_000, 0) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -144,7 +144,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) fn migrate_supported_version() -> Weight { // Minimum execution time: 22_345 nanoseconds. - Weight::from_ref_time(22_606_000 as u64) + Weight::from_parts(22_606_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -152,7 +152,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) fn migrate_version_notifiers() -> Weight { // Minimum execution time: 22_362 nanoseconds. - Weight::from_ref_time(23_138_000 as u64) + Weight::from_parts(23_138_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -160,7 +160,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn already_notified_target() -> Weight { // Minimum execution time: 24_977 nanoseconds. - Weight::from_ref_time(25_546_000 as u64).saturating_add(T::DbWeight::get().reads(5 as u64)) + Weight::from_parts(25_546_000, 0).saturating_add(T::DbWeight::get().reads(5 as u64)) } // Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) @@ -176,7 +176,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) fn notify_current_targets() -> Weight { // Minimum execution time: 40_109 nanoseconds. - Weight::from_ref_time(41_074_000 as u64) + Weight::from_parts(41_074_000, 0) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -184,13 +184,13 @@ impl WeightInfo for HydraWeight { // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn notify_target_migration_fail() -> Weight { // Minimum execution time: 12_194 nanoseconds. - Weight::from_ref_time(12_618_000 as u64).saturating_add(T::DbWeight::get().reads(3 as u64)) + Weight::from_parts(12_618_000, 0).saturating_add(T::DbWeight::get().reads(3 as u64)) } // Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn migrate_version_notify_targets() -> Weight { // Minimum execution time: 23_097 nanoseconds. - Weight::from_ref_time(23_446_000 as u64) + Weight::from_parts(23_446_000, 0) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -208,8 +208,11 @@ impl WeightInfo for HydraWeight { // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) fn migrate_and_notify_old_targets() -> Weight { // Minimum execution time: 49_535 nanoseconds. - Weight::from_ref_time(50_265_000 as u64) + Weight::from_parts(50_265_000, 0) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } + fn force_suspension() -> Weight { + Weight::zero() + } } diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index bed7181f5..84cc5eb0a 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -58,7 +58,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { // Minimum execution time: 7_729 nanoseconds. - Weight::from_ref_time(8_046_000 as u64) + Weight::from_parts(8_046_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -66,31 +66,7 @@ impl WeightInfo for HydraWeight { // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { // Minimum execution time: 7_991 nanoseconds. - Weight::from_ref_time(8_303_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: XcmpQueue QueueConfig (r:1 w:0) - // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) - // Storage: XcmpQueue DeferredXcmMessages (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured) - // Storage: XcmpQueue CounterForOverweight (r:1 w:1) - // Proof: XcmpQueue CounterForOverweight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: XcmpQueue OverweightCount (r:1 w:1) - // Proof Skipped: XcmpQueue OverweightCount (max_values: Some(1), max_size: None, mode: Measured) - // Storage: XcmpQueue Overweight (r:100 w:100) - // Proof Skipped: XcmpQueue Overweight (max_values: None, max_size: None, mode: Measured) - fn service_deferred() -> Weight { - // Minimum execution time: 90_934_683 nanoseconds. - Weight::from_ref_time(91_491_151_000 as u64) - .saturating_add(T::DbWeight::get().reads(104 as u64)) - .saturating_add(T::DbWeight::get().writes(103 as u64)) - } - // Storage: XcmpQueue DeferredXcmMessages (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured) - fn discard_deferred() -> Weight { - // Minimum execution time: 62_131_073 nanoseconds. - Weight::from_ref_time(63_092_826_000 as u64) + Weight::from_parts(8_303_000, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/hydradx/src/weights/xyk.rs b/runtime/hydradx/src/weights/xyk.rs index 4395c4aaa..d5ecde0ae 100644 --- a/runtime/hydradx/src/weights/xyk.rs +++ b/runtime/hydradx/src/weights/xyk.rs @@ -80,7 +80,7 @@ impl WeightInfo for HydraWeight { // Proof: XYK PoolAssets (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn create_pool() -> Weight { // Minimum execution time: 190_185 nanoseconds. - Weight::from_ref_time(192_567_000 as u64) + Weight::from_parts(192_567_000, 0) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } @@ -102,7 +102,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn add_liquidity() -> Weight { // Minimum execution time: 164_323 nanoseconds. - Weight::from_ref_time(165_841_000 as u64) + Weight::from_parts(165_841_000, 0) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -122,7 +122,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn remove_liquidity() -> Weight { // Minimum execution time: 155_404 nanoseconds. - Weight::from_ref_time(156_560_000 as u64) + Weight::from_parts(156_560_000, 0) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -138,7 +138,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn sell() -> Weight { // Minimum execution time: 119_610 nanoseconds. - Weight::from_ref_time(120_418_000 as u64) + Weight::from_parts(120_418_000, 0) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -154,7 +154,7 @@ impl WeightInfo for HydraWeight { // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) fn buy() -> Weight { // Minimum execution time: 119_865 nanoseconds. - Weight::from_ref_time(120_541_000 as u64) + Weight::from_parts(120_541_000, 0) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -172,10 +172,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Minimum execution time: 20_906 nanoseconds. - Weight::from_ref_time(8_365_948 as u64) // Standard Error: 43_229 - .saturating_add(Weight::from_ref_time(6_554_981 as u64).saturating_mul(c as u64)) + Weight::from_parts(8_365_948, 0) // Standard Error: 43_229 + .saturating_add(Weight::from_parts(6_554_981, 0).saturating_mul(c as u64)) // Standard Error: 43_229 - .saturating_add(Weight::from_ref_time(105_218_621 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(105_218_621, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) @@ -194,10 +194,10 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Minimum execution time: 27_261 nanoseconds. - Weight::from_ref_time(7_044_054 as u64) // Standard Error: 46_197 - .saturating_add(Weight::from_ref_time(7_022_106 as u64).saturating_mul(c as u64)) + Weight::from_parts(7_044_054, 0) // Standard Error: 46_197 + .saturating_add(Weight::from_parts(7_022_106, 0).saturating_mul(c as u64)) // Standard Error: 78_379 - .saturating_add(Weight::from_ref_time(105_927_586 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_parts(105_927_586, 0).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 9fd85919b..d651f474f 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -84,7 +84,7 @@ pub type XcmOriginToCallOrigin = ( parameter_types! { /// The amount of weight an XCM operation takes. This is a safe overestimate. - pub const BaseXcmWeight: XcmWeight = XcmWeight::from_ref_time(100_000_000); + pub const BaseXcmWeight: XcmWeight = XcmWeight::from_parts(100_000_000, 0); pub const MaxInstructions: u32 = 100; pub const MaxAssetsForTransfer: usize = 2; @@ -131,6 +131,7 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = SafeCallFilter; + type Aliasers = Nothing; } impl cumulus_pallet_xcm::Config for Runtime { @@ -148,10 +149,6 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = (); type WeightInfo = weights::xcmp_queue::HydraWeight; - type ExecuteDeferredOrigin = EnsureRoot; - type MaxDeferredMessages = ConstU32<100>; - type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; - type XcmDeferFilter = (); } impl cumulus_pallet_dmp_queue::Config for Runtime { @@ -226,6 +223,9 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = weights::xcm::HydraWeight; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; + type AdminOrigin = MajorityOfCouncil; + type MaxRemoteLockConsumers = ConstU32<0>; + type RemoteLockConsumerIdentifier = (); } pub struct CurrencyIdConvert; use primitives::constants::chain::CORE_ASSET_ID; diff --git a/rust-toolchain b/rust-toolchain index 45d3fb304..4657c24c6 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2022-11-15" +channel = "nightly-2023-05-22" components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ] profile = "minimal" diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 8a236ed39..2c354069e 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/galacticcouncil/warehouse/tree/master/traits" [dependencies] codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } -serde = { features = ["derive"], optional = true, version = "1.0.137" } +serde = { features = ["derive"], default-features = false, version = "1.0.137" } impl-trait-for-tuples = "0.2.2" sp-arithmetic = { workspace = true } @@ -21,7 +21,7 @@ sp-std = { workspace = true } [features] default = ["std"] std = [ - "serde", + "serde/std", "codec/std", "frame-support/std", "sp-std/std", diff --git a/traits/src/lib.rs b/traits/src/lib.rs index 3386fba63..dabc1a94b 100644 --- a/traits/src/lib.rs +++ b/traits/src/lib.rs @@ -29,12 +29,10 @@ pub mod oracle; pub use oracle::*; use codec::{Decode, Encode}; -use frame_support::dispatch::{self, DispatchError}; -use frame_support::sp_runtime::traits::Zero; -use frame_support::sp_runtime::RuntimeDebug; +use frame_support::dispatch::{self}; +use frame_support::sp_runtime::{DispatchError, RuntimeDebug, traits::Zero}; use frame_support::traits::LockIdentifier; use frame_support::weights::Weight; -#[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_std::vec::Vec; diff --git a/traits/src/oracle.rs b/traits/src/oracle.rs index 2712f03b4..5e04d29db 100644 --- a/traits/src/oracle.rs +++ b/traits/src/oracle.rs @@ -200,8 +200,7 @@ impl From> for (Balance, Balance, Balance, Balance) { } /// Struct to represent pool liquidity for an asset pair. -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] -#[derive(RuntimeDebug, Encode, Decode, Copy, Clone, PartialEq, Eq, Default, TypeInfo, MaxEncodedLen)] +#[derive(RuntimeDebug, Encode, Decode, Serialize, Deserialize, Copy, Clone, PartialEq, Eq, Default, TypeInfo, MaxEncodedLen)] pub struct Liquidity { pub a: Balance, pub b: Balance, From 505083e8afb56e9936b744ff95b908940d70bc3e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 16 Oct 2023 13:25:05 +0200 Subject: [PATCH 015/138] update nft pallet --- Cargo.lock | 21 +++++++++++++++++++++ Cargo.toml | 1 + pallets/nft/Cargo.toml | 1 + pallets/nft/src/lib.rs | 4 ++-- pallets/nft/src/migration.rs | 1 - 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a7741eab3..44cef663f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7735,6 +7735,27 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-nft" +version = "7.1.1" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "hydradx-traits", + "log", + "orml-utilities", + "pallet-balances", + "pallet-uniques", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-nis" version = "4.0.0-dev" diff --git a/Cargo.toml b/Cargo.toml index bbe3e9556..e6395f87f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ members = [ 'pallets/otc', 'pallets/bonds', 'pallets/lbp', + 'pallets/nft', 'math', 'pallets/staking', 'pallets/democracy', diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 4c66402cd..ed17ddb5f 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } serde = { version = "1.0.137", optional = true, features = ["derive"] } +log = { workspace = true } # Substrate dependencies frame-benchmarking = { workspace = true, optional = true } diff --git a/pallets/nft/src/lib.rs b/pallets/nft/src/lib.rs index 152c8fa3d..ee1283e4c 100644 --- a/pallets/nft/src/lib.rs +++ b/pallets/nft/src/lib.rs @@ -26,7 +26,7 @@ use frame_support::{ traits::{tokens::nonfungibles::*, Get}, BoundedVec, }; -use frame_system::ensure_signed; +use frame_system::{ensure_signed, pallet_prelude::BlockNumberFor}; use pallet_uniques::DestroyWitness; use hydradx_traits::nft::{CreateTypedCollection, ReserveCollectionId}; @@ -254,7 +254,7 @@ pub mod pallet { } #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::event] #[pallet::generate_deposit(pub(crate) fn deposit_event)] diff --git a/pallets/nft/src/migration.rs b/pallets/nft/src/migration.rs index 063bf6e5b..ea714d06e 100644 --- a/pallets/nft/src/migration.rs +++ b/pallets/nft/src/migration.rs @@ -17,7 +17,6 @@ use crate::{Collections, Config, ItemInfoOf, Items, Pallet}; use frame_support::{ - log, traits::{Get, PalletInfoAccess, StorageVersion}, weights::Weight, }; From 0a9fc8628bf61efd51220f4cde7f58ed97c28dfa Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 18 Oct 2023 18:07:47 +0200 Subject: [PATCH 016/138] update orml dependencies --- Cargo.lock | 159 ++++++++++++++++++---------------- Cargo.toml | 21 +++-- pallets/dca/Cargo.toml | 1 - runtime/adapters/Cargo.toml | 1 + runtime/hydradx/src/system.rs | 4 +- 5 files changed, 96 insertions(+), 90 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 44cef663f..45b1f309c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -608,9 +608,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.5.4" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499" +checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0" dependencies = [ "async-lock", "async-task", @@ -720,15 +720,15 @@ dependencies = [ [[package]] name = "async-task" -version = "4.4.1" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9441c6b2fe128a7c2bf680a44c34d0df31ce09e5b7e401fcca3faa483dbc921" +checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" [[package]] name = "async-trait" -version = "0.1.73" +version = "0.1.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" +checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", @@ -942,9 +942,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bitvec" @@ -2745,9 +2745,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +dependencies = [ + "powerfmt", +] [[package]] name = "derivative" @@ -3026,9 +3029,9 @@ dependencies = [ [[package]] name = "ed25519" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8 0.10.2", "signature 2.1.0", @@ -4671,16 +4674,16 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.57" +version = "0.1.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows 0.48.0", + "windows-core", ] [[package]] @@ -4745,7 +4748,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows 0.51.1", + "windows", ] [[package]] @@ -5905,9 +5908,9 @@ checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" [[package]] name = "lock_api" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" dependencies = [ "autocfg", "scopeguard", @@ -6676,7 +6679,7 @@ dependencies = [ [[package]] name = "orml-benchmarking" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-benchmarking", "frame-support", @@ -6696,7 +6699,7 @@ dependencies = [ [[package]] name = "orml-currencies" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -6712,7 +6715,7 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -6729,7 +6732,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -6749,7 +6752,7 @@ dependencies = [ [[package]] name = "orml-unknown-tokens" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -6764,7 +6767,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "parity-scale-codec", @@ -6779,7 +6782,7 @@ dependencies = [ [[package]] name = "orml-vesting" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -6794,7 +6797,7 @@ dependencies = [ [[package]] name = "orml-xcm" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -6808,7 +6811,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "orml-traits", @@ -6822,7 +6825,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=upgrade-to-polkadot-v1.1.0#4df771082a3c5c5e062f777521af5ac94fdbb11c" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -6843,9 +6846,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.5.1" +version = "6.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" [[package]] name = "p256" @@ -8686,9 +8689,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] name = "parking_lot" @@ -8708,7 +8711,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.8", + "parking_lot_core 0.9.9", ] [[package]] @@ -8727,13 +8730,13 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", + "redox_syscall 0.4.1", "smallvec", "windows-targets 0.48.5", ] @@ -10243,6 +10246,12 @@ version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -10458,7 +10467,7 @@ checksum = "7c003ac8c77cb07bb74f5f198bce836a689bcd5a42574612bf14d17bfd08c20e" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.4.0", + "bitflags 2.4.1", "lazy_static", "num-traits", "rand 0.8.5", @@ -10772,6 +10781,15 @@ dependencies = [ "bitflags 1.3.2", ] +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + [[package]] name = "redox_users" version = "0.4.3" @@ -10830,14 +10848,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.0" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d119d7c7ca818f8a53c300863d4f87566aac09943aef5b355bb83969dae75d87" +checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.1", - "regex-syntax 0.8.1", + "regex-automata 0.4.3", + "regex-syntax 0.8.2", ] [[package]] @@ -10851,13 +10869,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.1" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "465c6fc0621e4abc4187a2bda0937bfd4f722c2730b29562e19689ea796c9a4b" +checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.1", + "regex-syntax 0.8.2", ] [[package]] @@ -10874,9 +10892,9 @@ checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "regex-syntax" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56d84fdd47036b038fc80dd333d10b6aab10d5d31f4a366e20014def75328d33" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "resolv-conf" @@ -10941,9 +10959,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.3" +version = "0.17.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9babe80d5c16becf6594aa32ad2be8fe08498e7ae60b77de8df700e67f191d7e" +checksum = "fce3045ffa7c981a6ee93f640b538952e155f1ae3a1a02b84547fc7a56b7059a" dependencies = [ "cc", "getrandom 0.2.10", @@ -11308,7 +11326,7 @@ version = "0.38.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "errno", "libc", "linux-raw-sys 0.4.10", @@ -14605,12 +14623,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "426f806f4089c493dcac0d24c29c01e2c38baf8e30f1b716ee37e83d200b18fe" +checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" dependencies = [ "deranged", "itoa", + "powerfmt", "serde", "time-core", "time-macros", @@ -14822,7 +14841,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "bytes", "futures-core", "futures-util", @@ -14848,11 +14867,10 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.37" +version = "0.1.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9" dependencies = [ - "cfg-if", "log", "pin-project-lite 0.2.13", "tracing-attributes", @@ -14861,9 +14879,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", @@ -14872,9 +14890,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", "valuable", @@ -15240,9 +15258,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" +checksum = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" dependencies = [ "getrandom 0.2.10", ] @@ -15727,7 +15745,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.3", + "ring 0.17.4", "untrusted 0.9.0", ] @@ -16090,9 +16108,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.12" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebecebefc38ff1860b4bc47550bbfa63af5746061cf0d29fcd7fa63171602598" +checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" dependencies = [ "bytemuck", "safe_arch", @@ -16135,15 +16153,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows" version = "0.51.1" @@ -16312,9 +16321,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "winnow" -version = "0.5.16" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "037711d82167854aff2018dfd193aa0fef5370f456732f0d5a0c59b0f1b4b907" +checksum = "a3b801d0e0a6726477cc207f60162da452f3a95adb368399bef20a946e06f65c" dependencies = [ "memchr", ] diff --git a/Cargo.toml b/Cargo.toml index e6395f87f..8c0e0d4f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -172,19 +172,18 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", b try-runtime-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # ORML dependencies -# TODO replace with orml repo -orml-benchmarking = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-currencies = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-tokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-traits = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-utilities = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-vesting = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-utilities = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-vesting = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-xcm = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-xcm-support = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } -orml-xtokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "upgrade-to-polkadot-v1.1.0", default-features = false } +orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-xcm = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } # Cumulus dependencies cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index 00e5aef6a..8f02cf3aa 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -79,7 +79,6 @@ std = [ "hydradx-traits/std", "hydradx-adapters/std", "pallet-relaychain-info/std", - "orml-tokens/std", "pallet-omnipool/std", "pallet-ema-oracle/std", ] diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index d2129fde7..a961f05c3 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -81,4 +81,5 @@ std = [ "xcm-executor/std", "cumulus-pallet-parachain-system/std", "polkadot-parachain/std", + "orml-tokens/std", ] diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 7c652d7c4..9a1e98422 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -30,14 +30,13 @@ use frame_support::{ dispatch::DispatchClass, parameter_types, sp_runtime::{traits::{ConstU32, IdentityLookup}, RuntimeDebug, FixedPointNumber, Perbill, Perquintill}, - traits::{Contains, InstanceFilter}, + traits::{Contains, ConstBool, InstanceFilter}, weights::{ constants::{BlockExecutionWeight, RocksDbWeight}, ConstantMultiplier, WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, }, PalletId, }; -use frame_support::traits::ConstBool; use hydradx_adapters::RelayChainBlockNumberProvider; use scale_info::TypeInfo; @@ -215,7 +214,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { parameter_types! { pub const MaxAuthorities: u32 = 50; - pub const AllowMultipleBlocksPerSlot: bool = false; } impl pallet_aura::Config for Runtime { From 502b082324c3f04f79c94ff79213210531ce1398 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 19 Oct 2023 13:22:45 +0200 Subject: [PATCH 017/138] client update --- Cargo.lock | 2 + Cargo.toml | 2 + node/Cargo.toml | 2 + node/src/cli.rs | 10 + node/src/command.rs | 34 +- node/src/service.rs | 640 ++++++++++--------- pallets/asset-registry/src/lib.rs | 2 +- pallets/ema-oracle/src/benchmarking.rs | 14 +- pallets/lbp/src/lib.rs | 2 +- pallets/omnipool-liquidity-mining/src/lib.rs | 1 - pallets/stableswap/src/lib.rs | 4 +- runtime/hydradx/src/lib.rs | 6 + 12 files changed, 377 insertions(+), 342 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45b1f309c..20d89737c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4397,6 +4397,7 @@ dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", + "cumulus-client-consensus-proposer", "cumulus-client-consensus-relay-chain", "cumulus-client-network", "cumulus-client-service", @@ -4438,6 +4439,7 @@ dependencies = [ "sc-rpc", "sc-rpc-api", "sc-service", + "sc-sysinfo", "sc-telemetry", "sc-tracing", "sc-transaction-pool", diff --git a/Cargo.toml b/Cargo.toml index 8c0e0d4f5..cd67fcb4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -141,6 +141,7 @@ sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "r sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # Substrate Pallets pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } @@ -191,6 +192,7 @@ cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/node/Cargo.toml b/node/Cargo.toml index 0c1857f8e..a7112c367 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -50,6 +50,7 @@ sc-tracing = { workspace = true } sc-telemetry = { workspace = true } sc-transaction-pool = { workspace = true } sc-transaction-pool-api = { workspace = true } +sc-sysinfo = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-blockchain = { workspace = true } @@ -84,6 +85,7 @@ cumulus-client-collator = { workspace = true } cumulus-client-consensus-aura = { workspace = true } cumulus-client-consensus-relay-chain = { workspace = true } cumulus-client-consensus-common = { workspace = true } +cumulus-client-consensus-proposer = { workspace = true } cumulus-client-network = { workspace = true } cumulus-client-service = { workspace = true } cumulus-primitives-core = { workspace = true } diff --git a/node/src/cli.rs b/node/src/cli.rs index 90a529371..4cc4e0f7a 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -32,6 +32,16 @@ pub struct Cli { #[clap(flatten)] pub run: RunCmd, + /// Disable automatic hardware benchmarks. + /// + /// By default these benchmarks are automatically ran at startup and measure + /// the CPU speed, the memory bandwidth and the disk speed. + /// + /// The results are then printed out in the logs, and also sent as part of + /// telemetry, if telemetry is enabled. + #[arg(long)] + pub no_hardware_benchmarks: bool, + /// Relaychain arguments #[clap(raw = true)] pub relaychain_args: Vec, diff --git a/node/src/command.rs b/node/src/command.rs index bab7836ae..d6ebc7d42 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -16,7 +16,7 @@ // limitations under the License. use crate::cli::{Cli, RelayChainCli, Subcommand}; -use crate::service::{new_partial, HydraDXExecutorDispatch}; +use crate::service::{new_partial, HydraDXNativeExecutor}; use crate::{chain_spec, service}; use codec::Encode; @@ -136,28 +136,28 @@ pub fn run() -> sc_cli::Result<()> { Some(Subcommand::CheckBlock(cmd)) => { let runner = cli.create_runner(cmd)?; runner.async_run(|config| { - let partials = new_partial::(&config)?; + let partials = new_partial(&config)?; Ok((cmd.run(partials.client, partials.import_queue), partials.task_manager)) }) } Some(Subcommand::ExportBlocks(cmd)) => { let runner = cli.create_runner(cmd)?; runner.async_run(|config| { - let partials = new_partial::(&config)?; + let partials = new_partial(&config)?; Ok((cmd.run(partials.client, config.database), partials.task_manager)) }) } Some(Subcommand::ExportState(cmd)) => { let runner = cli.create_runner(cmd)?; runner.async_run(|config| { - let partials = new_partial::(&config)?; + let partials = new_partial(&config)?; Ok((cmd.run(partials.client, config.chain_spec), partials.task_manager)) }) } Some(Subcommand::ImportBlocks(cmd)) => { let runner = cli.create_runner(cmd)?; runner.async_run(|config| { - let partials = new_partial::(&config)?; + let partials = new_partial(&config)?; Ok((cmd.run(partials.client, partials.import_queue), partials.task_manager)) }) } @@ -181,7 +181,7 @@ pub fn run() -> sc_cli::Result<()> { Some(Subcommand::Revert(cmd)) => { let runner = cli.create_runner(cmd)?; runner.async_run(|config| { - let partials = new_partial::(&config)?; + let partials = new_partial(&config)?; Ok((cmd.run(partials.client, partials.backend, None), partials.task_manager)) }) } @@ -193,7 +193,7 @@ pub fn run() -> sc_cli::Result<()> { if cfg!(feature = "runtime-benchmarks") { runner.sync_run(|config| cmd.run::::ExtendHostFunctions, + ::ExtendHostFunctions, >>(config)) } else { Err("Benchmarking wasn't enabled when building the node. \ @@ -202,10 +202,7 @@ pub fn run() -> sc_cli::Result<()> { } } BenchmarkCmd::Block(cmd) => runner.sync_run(|config| { - let partials = crate::service::new_partial::< - hydradx_runtime::RuntimeApi, - service::HydraDXExecutorDispatch, - >(&config)?; + let partials = crate::service::new_partial(&config)?; cmd.run(partials.client) }), #[cfg(not(feature = "runtime-benchmarks"))] @@ -213,7 +210,7 @@ pub fn run() -> sc_cli::Result<()> { #[cfg(feature = "runtime-benchmarks")] BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| { let partials = - new_partial::(&config)?; + new_partial(&config)?; let db = partials.backend.expose_db(); let storage = partials.backend.expose_storage(); @@ -287,7 +284,7 @@ pub fn run() -> sc_cli::Result<()> { Ok(( cmd.run::::ExtendHostFunctions, + ::ExtendHostFunctions, >>(), task_manager, )) @@ -305,6 +302,13 @@ pub fn run() -> sc_cli::Result<()> { return Err("It is not allowed to run a collator node with the benchmarking runtime.".into()); }; + let hwbench = (!cli.no_hardware_benchmarks) + .then_some(config.database.path().map(|database_path| { + let _ = std::fs::create_dir_all(database_path); + sc_sysinfo::gather_hwbench(Some(database_path)) + })) + .flatten(); + let polkadot_cli = RelayChainCli::new( &config, [RelayChainCli::executable_name()] @@ -341,9 +345,9 @@ pub fn run() -> sc_cli::Result<()> { if config.role.is_authority() { "yes" } else { "no" } ); - crate::service::start_node(config, polkadot_config, collator_options, id) + crate::service::start_node(config, polkadot_config, collator_options, id, hwbench) .await - .map(|r| r.1) + .map(|r| r.0) .map_err(Into::into) }) } diff --git a/node/src/service.rs b/node/src/service.rs index 5eada98f9..4d7c31ba8 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -19,126 +19,127 @@ #![allow(clippy::all)] +// std +use std::{sync::Arc, time::Duration}; + use cumulus_client_cli::CollatorOptions; -use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; -use cumulus_client_consensus_common::{ParachainBlockImport as TParachainBlockImport, ParachainConsensus}; -use cumulus_client_network::RequireSecondedInBlockAnnounce; +// Local Runtime Types +use hydradx_runtime::{ + opaque::{Block, Hash}, + RuntimeApi, +}; + +// Cumulus Imports +use cumulus_client_collator::service::CollatorService; +use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; +use cumulus_client_consensus_proposer::Proposer; use cumulus_client_service::{ - prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, + build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, + BuildNetworkParams, CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams, }; -use cumulus_primitives_core::{CollectCollationInfo, ParaId}; -use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain; -use cumulus_relay_chain_interface::{RelayChainInterface, RelayChainResult}; -use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node_with_rpc; -use jsonrpsee::RpcModule; -use polkadot_service::CollatorPair; -use primitives::{AccountId, Balance, Block, Index}; +use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; +use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; + +// Substrate Imports +use sc_client_api::Backend; use sc_consensus::ImportQueue; -use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch, NativeVersion}; +use sc_executor::{ + HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, +}; use sc_network::NetworkBlock; use sc_network_sync::SyncingService; use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; -use sc_client_api::Backend; -use sp_api::ConstructRuntimeApi; use sp_keystore::KeystorePtr; -use std::{sync::Arc, time::Duration}; use substrate_prometheus_endpoint::Registry; -type Hash = sp_core::H256; -// native executor instance. -pub struct HydraDXExecutorDispatch; -impl NativeExecutionDispatch for HydraDXExecutorDispatch { +/// Native executor type. +pub struct HydraDXNativeExecutor; + +impl sc_executor::NativeExecutionDispatch for HydraDXNativeExecutor { type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; fn dispatch(method: &str, data: &[u8]) -> Option> { hydradx_runtime::api::dispatch(method, data) } - fn native_version() -> NativeVersion { + fn native_version() -> sc_executor::NativeVersion { hydradx_runtime::native_version() } } -pub type FullBackend = TFullBackend; -pub type FullClient = - TFullClient>; - -type ParachainBlockImport = - TParachainBlockImport>, FullBackend>; - -/// Build the import queue for the parachain runtime. -pub fn parachain_build_import_queue( - client: Arc>, - backend: Arc, - config: &Configuration, - telemetry: Option, - task_manager: &TaskManager, -) -> Result, sc_service::Error> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::ApiExt - + sp_block_builder::BlockBuilder - + frame_system_rpc_runtime_api::AccountNonceApi - + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi - + sp_api::Metadata - + sp_offchain::OffchainWorkerApi - + sp_session::SessionKeys - + sp_consensus_aura::AuraApi, - Executor: NativeExecutionDispatch + 'static, -{ - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - - cumulus_client_consensus_aura::import_queue::( - cumulus_client_consensus_aura::ImportQueueParams { - block_import: ParachainBlockImport::new(client.clone(), backend.clone()), - client: client.clone(), - create_inherent_data_providers: move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); - - Ok((slot, timestamp)) - }, - registry: config.prometheus_registry().clone(), - spawner: &task_manager.spawn_essential_handle(), - telemetry, - }, - ) - .map_err(Into::into) -} - -pub fn new_partial( +type ParachainExecutor = NativeElseWasmExecutor; + +type ParachainClient = TFullClient; + +type ParachainBackend = TFullBackend; + +type ParachainBlockImport = TParachainBlockImport, ParachainBackend>; + + +// /// Build the import queue for the parachain runtime. +// pub fn parachain_build_import_queue( +// client: Arc>, +// backend: Arc, +// config: &Configuration, +// telemetry: Option, +// task_manager: &TaskManager, +// ) -> Result, sc_service::Error> +// where +// RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, +// RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue +// + sp_api::ApiExt +// + sp_block_builder::BlockBuilder +// + frame_system_rpc_runtime_api::AccountNonceApi +// + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi +// + sp_api::Metadata +// + sp_offchain::OffchainWorkerApi +// + sp_session::SessionKeys +// + sp_consensus_aura::AuraApi, +// Executor: NativeExecutionDispatch + 'static, +// { +// let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; +// +// cumulus_client_consensus_aura::import_queue::( +// cumulus_client_consensus_aura::ImportQueueParams { +// block_import: ParachainBlockImport::new(client.clone(), backend.clone()), +// client: client.clone(), +// create_inherent_data_providers: move |_, _| async move { +// let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); +// +// let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( +// *timestamp, +// slot_duration, +// ); +// +// Ok((slot, timestamp)) +// }, +// registry: config.prometheus_registry().clone(), +// spawner: &task_manager.spawn_essential_handle(), +// telemetry, +// }, +// ) +// .map_err(Into::into) +// } + +/// Starts a `ServiceBuilder` for a full service. +/// +/// Use this macro if you don't actually need the full service, but just the builder in order to +/// be able to perform chain operations. +pub fn new_partial( config: &Configuration, ) -> Result< PartialComponents< - TFullClient>, - TFullBackend, + ParachainClient, + ParachainBackend, (), sc_consensus::DefaultImportQueue, - sc_transaction_pool::FullPool>, - (Option, Option), + sc_transaction_pool::FullPool, + (ParachainBlockImport, Option, Option), >, sc_service::Error, -> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::ApiExt - + sp_block_builder::BlockBuilder - + frame_system_rpc_runtime_api::AccountNonceApi - + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi - + sp_api::Metadata - + sp_offchain::OffchainWorkerApi - + sp_session::SessionKeys - + sp_consensus_aura::AuraApi, - Executor: NativeExecutionDispatch + 'static, -{ +> { let telemetry = config .telemetry_endpoints .clone() @@ -150,15 +151,22 @@ where }) .transpose()?; - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, - ); + let heap_pages = config + .default_heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _ }); + + let wasm = WasmExecutor::builder() + .with_execution_method(config.wasm_method) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) + .build(); + + let executor = ParachainExecutor::new_with_wasm_executor(wasm); let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::>( + sc_service::new_full_parts::( config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor, @@ -172,104 +180,76 @@ where telemetry }); - let registry = config.prometheus_registry(); - let transaction_pool = sc_transaction_pool::BasicPool::new_full( config.transaction_pool.clone(), config.role.is_authority().into(), - registry, + config.prometheus_registry(), task_manager.spawn_essential_handle(), client.clone(), ); - let import_queue = parachain_build_import_queue::( + let block_import = ParachainBlockImport::new(client.clone(), backend.clone()); + + let import_queue = build_import_queue( client.clone(), - backend.clone(), + block_import.clone(), config, telemetry.as_ref().map(|telemetry| telemetry.handle()), &task_manager, )?; Ok(PartialComponents { - client, backend, + client, import_queue, - task_manager, keystore_container, + task_manager, transaction_pool, select_chain: (), - other: (telemetry, telemetry_worker_handle), + other: (block_import, telemetry, telemetry_worker_handle), }) } -/// Build a relay chain interface. -/// Will return a minimal relay chain node with RPC -/// client or an inprocess node, based on the [`CollatorOptions`] passed in. -async fn build_relay_chain_interface( - polkadot_config: Configuration, - parachain_config: &Configuration, - telemetry_worker_handle: Option, - task_manager: &mut TaskManager, - collator_options: CollatorOptions, -) -> RelayChainResult<(Arc<(dyn RelayChainInterface + 'static)>, Option)> { - if let cumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) = - collator_options.relay_chain_mode - { - build_minimal_relay_chain_node_with_rpc(polkadot_config, task_manager, rpc_target_urls) - .await - } else { - build_inprocess_relay_chain( - polkadot_config, - parachain_config, - telemetry_worker_handle, - task_manager, - None, - ) - } -} +// /// Build a relay chain interface. +// /// Will return a minimal relay chain node with RPC +// /// client or an inprocess node, based on the [`CollatorOptions`] passed in. +// async fn build_relay_chain_interface( +// polkadot_config: Configuration, +// parachain_config: &Configuration, +// telemetry_worker_handle: Option, +// task_manager: &mut TaskManager, +// collator_options: CollatorOptions, +// ) -> RelayChainResult<(Arc<(dyn RelayChainInterface + 'static)>, Option)> { +// if let cumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) = collator_options.relay_chain_mode { +// build_minimal_relay_chain_node_with_rpc(polkadot_config, task_manager, rpc_target_urls).await +// } else { +// build_inprocess_relay_chain( +// polkadot_config, +// parachain_config, +// telemetry_worker_handle, +// task_manager, +// None, +// ) +// } +// } /// Start a node with the given parachain `Configuration` and relay chain `Configuration`. /// /// This is the actual implementation that is abstract over the executor and the runtime api. -async fn start_node_impl( +#[sc_tracing::logging::prefix_logs_with("Parachain")] +async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, para_id: ParaId, - _rpc_ext_builder: RpcBuilder, - build_consensus: ConsensusBuilder, -) -> sc_service::error::Result<(Arc>, TaskManager)> -where - RpcBuilder: Fn(Arc>) -> Result, sc_service::Error> + Send + 'static, - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::ApiExt - + sp_block_builder::BlockBuilder - + frame_system_rpc_runtime_api::AccountNonceApi - + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi - + sp_api::Metadata - + sp_offchain::OffchainWorkerApi - + sp_session::SessionKeys - + CollectCollationInfo - + sp_consensus_aura::AuraApi, - Executor: NativeExecutionDispatch + 'static, - ConsensusBuilder: FnOnce( - Arc>, - ParachainBlockImport, - Option<&Registry>, - Option, - &TaskManager, - Arc, - Arc>>, - Arc>, - KeystorePtr, - bool, - ) -> Result>, sc_service::Error>, -{ + hwbench: Option, +) -> sc_service::error::Result<(TaskManager, Arc)> { let parachain_config = prepare_node_config(parachain_config); - let params = new_partial::(¶chain_config)?; - let (mut telemetry, telemetry_worker_handle) = params.other; + let params = new_partial(¶chain_config)?; + let (block_import, mut telemetry, telemetry_worker_handle) = params.other; + let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); + let client = params.client.clone(); let backend = params.backend.clone(); let mut task_manager = params.task_manager; @@ -280,45 +260,29 @@ where telemetry_worker_handle, &mut task_manager, collator_options.clone(), + hwbench.clone(), ) .await .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; - let block_announce_validator = RequireSecondedInBlockAnnounce::new(relay_chain_interface.clone(), para_id); - - let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); - let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = - sc_service::build_network(sc_service::BuildNetworkParams { - config: ¶chain_config, + build_network(BuildNetworkParams { + parachain_config: ¶chain_config, net_config, client: client.clone(), transaction_pool: transaction_pool.clone(), + para_id, spawn_handle: task_manager.spawn_handle(), + relay_chain_interface: relay_chain_interface.clone(), import_queue: params.import_queue, - block_announce_validator_builder: Some(Box::new(|_| Box::new(block_announce_validator))), - warp_sync_params: None, - })?; - - let rpc_builder = { - let client = client.clone(); - let transaction_pool = transaction_pool.clone(); - - move |deny_unsafe, _| { - let deps = crate::rpc::FullDeps { - client: client.clone(), - pool: transaction_pool.clone(), - deny_unsafe, - }; - - crate::rpc::create_full(deps).map_err(Into::into) - } - }; + sybil_resistance_level: CollatorSybilResistance::Resistant, // because of Aura + }) + .await?; if parachain_config.offchain_worker.enabled { use futures::FutureExt; @@ -330,7 +294,9 @@ where runtime_api_provider: client.clone(), keystore: Some(params.keystore_container.keystore()), offchain_db: backend.offchain_storage(), - transaction_pool: Some(OffchainTransactionPoolFactory::new(transaction_pool.clone())), + transaction_pool: Some(OffchainTransactionPoolFactory::new( + transaction_pool.clone(), + )), network_provider: network.clone(), is_validator: parachain_config.role.is_authority(), enable_http_requests: false, @@ -339,27 +305,64 @@ where .run(client.clone(), task_manager.spawn_handle()) .boxed(), ); + } + + let rpc_builder = { + let client = client.clone(); + let transaction_pool = transaction_pool.clone(); + + Box::new(move |deny_unsafe, _| { + let deps = crate::rpc::FullDeps { + client: client.clone(), + pool: transaction_pool.clone(), + deny_unsafe, + }; + + crate::rpc::create_full(deps).map_err(Into::into) + }) }; sc_service::spawn_tasks(sc_service::SpawnTasksParams { - rpc_builder: Box::new(rpc_builder), + rpc_builder, client: client.clone(), transaction_pool: transaction_pool.clone(), task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), - backend: backend.clone(), + backend, network: network.clone(), + sync_service: sync_service.clone(), system_rpc_tx, tx_handler_controller, telemetry: telemetry.as_mut(), - sync_service: sync_service.clone(), })?; + if let Some(hwbench) = hwbench { + sc_sysinfo::print_hwbench(&hwbench); + // Here you can check whether the hardware meets your chains' requirements. Putting a link + // in there and swapping out the requirements for your own are probably a good idea. The + // requirements for a para-chain are dictated by its relay-chain. + if !frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) && validator { + log::warn!( + "⚠️ The hardware does not meet the minimal requirements for role 'Authority' find out more at:\n\ + https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware" + ); + } + + if let Some(ref mut telemetry) = telemetry { + let telemetry_handle = telemetry.handle(); + task_manager.spawn_handle().spawn( + "telemetry_hwbench", + None, + sc_sysinfo::initialize_hwbench_telemetry(telemetry_handle, hwbench), + ); + } + } + let announce_block = { - let sync_service = sync_service.clone(); - Arc::new(move |hash, data| sync_service.announce_block(hash, data)) - }; + let sync_service = sync_service.clone(); + Arc::new(move |hash, data| sync_service.announce_block(hash, data)) + }; let relay_chain_slot_duration = Duration::from_secs(6); @@ -367,10 +370,27 @@ where .overseer_handle() .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + start_relay_chain_tasks(StartRelayChainTasksParams { + client: client.clone(), + announce_block: announce_block.clone(), + para_id, + relay_chain_interface: relay_chain_interface.clone(), + task_manager: &mut task_manager, + da_recovery_profile: if validator { + DARecoveryProfile::Collator + } else { + DARecoveryProfile::FullNode + }, + import_queue: import_queue_service, + relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle.clone()), + sync_service: sync_service.clone(), + })?; + if validator { - let parachain_consensus = build_consensus( + start_consensus( client.clone(), - ParachainBlockImport::new(client.clone(), backend.clone()), + block_import, prometheus_registry.as_ref(), telemetry.as_ref().map(|t| t.handle()), &task_manager, @@ -378,135 +398,125 @@ where transaction_pool, sync_service.clone(), params.keystore_container.keystore(), - force_authoring, + relay_chain_slot_duration, + para_id, + collator_key.expect("Command line arguments do not allow this. qed"), + overseer_handle, + announce_block, )?; + } - let spawner = task_manager.spawn_handle(); + start_network.start_network(); - let params = StartCollatorParams { - para_id, - block_status: client.clone(), - announce_block, - client: client.clone(), - task_manager: &mut task_manager, - relay_chain_interface, - spawner, - parachain_consensus, - import_queue: import_queue_service, - collator_key: collator_key.expect("Command line arguments do not allow this. qed"), - relay_chain_slot_duration, - recovery_handle: Box::new(overseer_handle), - sync_service: sync_service.clone(), - }; + Ok((task_manager, client)) +} - start_collator(params).await?; - } else { - let params = StartFullNodeParams { - client: client.clone(), - announce_block, - task_manager: &mut task_manager, - para_id, - relay_chain_interface, - relay_chain_slot_duration, - import_queue: import_queue_service, - recovery_handle: Box::new(overseer_handle), - sync_service: sync_service.clone(), - }; +/// Build the import queue for the parachain runtime. +fn build_import_queue( + client: Arc, + block_import: ParachainBlockImport, + config: &Configuration, + telemetry: Option, + task_manager: &TaskManager, +) -> Result, sc_service::Error> { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - start_full_node(params)?; - } + Ok(cumulus_client_consensus_aura::equivocation_import_queue::fully_verifying_import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + >( + client, + block_import, + move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + Ok(timestamp) + }, + slot_duration, + &task_manager.spawn_essential_handle(), + config.prometheus_registry(), + telemetry, + )) +} - start_network.start_network(); +fn start_consensus( + client: Arc, + block_import: ParachainBlockImport, + prometheus_registry: Option<&Registry>, + telemetry: Option, + task_manager: &TaskManager, + relay_chain_interface: Arc, + transaction_pool: Arc>, + sync_oracle: Arc>, + keystore: KeystorePtr, + relay_chain_slot_duration: Duration, + para_id: ParaId, + collator_key: CollatorPair, + overseer_handle: OverseerHandle, + announce_block: Arc>) + Send + Sync>, +) -> Result<(), sc_service::Error> { + use cumulus_client_consensus_aura::collators::basic::{ + self as basic_aura, Params as BasicAuraParams, + }; + + // NOTE: because we use Aura here explicitly, we can use `CollatorSybilResistance::Resistant` + // when starting the network. + + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool, + prometheus_registry, + telemetry.clone(), + ); + + let proposer = Proposer::new(proposer_factory); - Ok((client, task_manager)) + let collator_service = CollatorService::new( + client.clone(), + Arc::new(task_manager.spawn_handle()), + announce_block, + client.clone(), + ); + + let params = BasicAuraParams { + create_inherent_data_providers: move |_, ()| async move { Ok(()) }, + block_import, + para_client: client, + relay_client: relay_chain_interface, + sync_oracle, + keystore, + collator_key, + para_id, + overseer_handle, + slot_duration, + relay_chain_slot_duration, + proposer, + collator_service, + // Very limited proposal time. + authoring_duration: Duration::from_millis(500), + }; + + let fut = + basic_aura::run::( + params, + ); + task_manager.spawn_essential_handle().spawn("aura", None, fut); + + Ok(()) } -/// Start a normal parachain node. -#[sc_tracing::logging::prefix_logs_with("Parachain")] +/// Start a parachain node. pub async fn start_node( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, para_id: ParaId, -) -> sc_service::error::Result<( - Arc>, - TaskManager, -)> { - start_node_impl::<_, hydradx_runtime::RuntimeApi, HydraDXExecutorDispatch, _>( - parachain_config, - polkadot_config, - collator_options, - para_id, - |_| Ok(RpcModule::new(())), - |client, - block_import, - prometheus_registry, - telemetry, - task_manager, - relay_chain_interface, - transaction_pool, - sync_oracle, - keystore, - force_authoring| { - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - - let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), - client.clone(), - transaction_pool, - prometheus_registry.clone(), - telemetry.clone(), - ); - - Ok(AuraConsensus::build::< - sp_consensus_aura::sr25519::AuthorityPair, - _, - _, - _, - _, - _, - _, - >(BuildAuraConsensusParams { - proposer_factory, - create_inherent_data_providers: move |_, (relay_parent, validation_data)| { - let relay_chain_interface = relay_chain_interface.clone(); - async move { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface, - &validation_data, - para_id, - ) - .await; - - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); - - let parachain_inherent = parachain_inherent.ok_or_else(|| { - Box::::from("Failed to create parachain inherent") - })?; - Ok((slot, timestamp, parachain_inherent)) - } - }, - block_import, - para_client: client, - backoff_authoring_blocks: Option::<()>::None, - sync_oracle, - keystore, - force_authoring, - slot_duration, - // We got around 500ms for proposing - block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), - // And a maximum of 750ms if slots are skipped - max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), - telemetry, - })) - }, - ) - .await -} + hwbench: Option, +) -> sc_service::error::Result<(TaskManager, Arc)> { + start_node_impl(parachain_config, polkadot_config, collator_options, para_id, hwbench).await +} \ No newline at end of file diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index bbc90b497..5984f6ace 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -339,7 +339,7 @@ pub mod pallet { T::RegistryOrigin::ensure_origin(origin)?; Assets::::try_mutate(asset_id, |maybe_detail| -> DispatchResult { - let mut detail = maybe_detail.as_mut().ok_or(Error::::AssetNotFound)?; + let detail = maybe_detail.as_mut().ok_or(Error::::AssetNotFound)?; let bounded_name = Self::to_bounded_name(name)?; diff --git a/pallets/ema-oracle/src/benchmarking.rs b/pallets/ema-oracle/src/benchmarking.rs index 36b1eb056..16202cced 100644 --- a/pallets/ema-oracle/src/benchmarking.rs +++ b/pallets/ema-oracle/src/benchmarking.rs @@ -42,7 +42,7 @@ benchmarks! { #[extra] on_finalize_insert_one_token { - let block_num: T::BlockNumber = 5u32.into(); + let block_num: BlockNumberFor = 5u32.into(); let prev_block = block_num.saturating_sub(One::one()); frame_system::Pallet::::set_block_number(prev_block); @@ -74,7 +74,7 @@ benchmarks! { #[extra] on_finalize_update_one_token { - let initial_data_block: T::BlockNumber = 5u32.into(); + let initial_data_block: BlockNumberFor = 5u32.into(); // higher update time difference might make exponentiation more expensive let block_num = initial_data_block.saturating_add(1_000_000u32.into()); @@ -111,7 +111,7 @@ benchmarks! { on_finalize_multiple_tokens { let b in 1 .. (T::MaxUniqueEntries::get() - 1); - let initial_data_block: T::BlockNumber = 5u32.into(); + let initial_data_block: BlockNumberFor = 5u32.into(); let block_num = initial_data_block.saturating_add(1_000_000u32.into()); frame_system::Pallet::::set_block_number(initial_data_block); @@ -155,7 +155,7 @@ benchmarks! { on_trade_multiple_tokens { let b in 1 .. (T::MaxUniqueEntries::get() - 1); - let initial_data_block: T::BlockNumber = 5u32.into(); + let initial_data_block: BlockNumberFor = 5u32.into(); let block_num = initial_data_block.saturating_add(1_000_000u32.into()); let mut entries = Vec::new(); @@ -211,7 +211,7 @@ benchmarks! { on_liquidity_changed_multiple_tokens { let b in 1 .. (T::MaxUniqueEntries::get() - 1); - let initial_data_block: T::BlockNumber = 5u32.into(); + let initial_data_block: BlockNumberFor = 5u32.into(); let block_num = initial_data_block.saturating_add(1_000_000u32.into()); let mut entries = Vec::new(); @@ -271,8 +271,8 @@ benchmarks! { } get_entry { - let initial_data_block: T::BlockNumber = 5u32.into(); - let oracle_age: T::BlockNumber = 999_999u32.into(); + let initial_data_block: BlockNumberFor = 5u32.into(); + let oracle_age: BlockNumberFor = 999_999u32.into(); let block_num = initial_data_block.saturating_add(oracle_age.saturating_add(One::one())); frame_system::Pallet::::set_block_number(initial_data_block); diff --git a/pallets/lbp/src/lib.rs b/pallets/lbp/src/lib.rs index ae2a3c555..9dc1b5d94 100644 --- a/pallets/lbp/src/lib.rs +++ b/pallets/lbp/src/lib.rs @@ -540,7 +540,7 @@ pub mod pallet { >::try_mutate_exists(pool_id.clone(), |maybe_pool| -> DispatchResult { // check existence of the pool - let mut pool = maybe_pool.as_mut().ok_or(Error::::PoolNotFound)?; + let pool = maybe_pool.as_mut().ok_or(Error::::PoolNotFound)?; ensure!( start.is_some() diff --git a/pallets/omnipool-liquidity-mining/src/lib.rs b/pallets/omnipool-liquidity-mining/src/lib.rs index f30f6f689..33852d94d 100644 --- a/pallets/omnipool-liquidity-mining/src/lib.rs +++ b/pallets/omnipool-liquidity-mining/src/lib.rs @@ -80,7 +80,6 @@ type PeriodOf = BlockNumberFor; pub mod pallet { use super::*; use frame_support::pallet_prelude::*; - use frame_system::pallet_prelude::*; #[pallet::pallet] pub struct Pallet(_); diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index 781f3ca96..41433c1df 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -385,7 +385,7 @@ pub mod pallet { T::AuthorityOrigin::ensure_origin(origin)?; Pools::::try_mutate(pool_id, |maybe_pool| -> DispatchResult { - let mut pool = maybe_pool.as_mut().ok_or(Error::::PoolNotFound)?; + let pool = maybe_pool.as_mut().ok_or(Error::::PoolNotFound)?; pool.fee = fee; Self::deposit_event(Event::FeeUpdated { pool_id, fee }); @@ -421,7 +421,7 @@ pub mod pallet { ); Pools::::try_mutate(pool_id, |maybe_pool| -> DispatchResult { - let mut pool = maybe_pool.as_mut().ok_or(Error::::PoolNotFound)?; + let pool = maybe_pool.as_mut().ok_or(Error::::PoolNotFound)?; let current_amplification = Self::get_amplification(pool); diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 4c4dc93f7..99d45f995 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -73,6 +73,10 @@ pub use pallet_claims; /// to even the core data structures. pub mod opaque { use super::*; + use sp_runtime::{ + generic, + traits::{BlakeTwo256, Hash as HashT}, + }; pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic; @@ -82,6 +86,8 @@ pub mod opaque { pub type Block = generic::Block; /// Opaque block identifier type. pub type BlockId = generic::BlockId; + /// Opaque block hash type. + pub type Hash = ::Output; impl_opaque_keys! { pub struct SessionKeys { pub aura: Aura, From 54744fe275af4f324d0ac1aa976d3f96ee9b7a7b Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 20 Oct 2023 15:23:15 +0200 Subject: [PATCH 018/138] bump versions --- Cargo.lock | 4 ++-- integration-tests/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf5930a88..43f4bbca8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3831,7 +3831,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "183.0.0" +version = "184.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -10220,7 +10220,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.13.0" +version = "1.13.1" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 427cb6e53..62edc9420 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.13.0" +version = "1.13.1" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 4d36357fe..bcbe3e3a5 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "183.0.0" +version = "184.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 253418903..bca314145 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -94,7 +94,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 183, + spec_version: 184, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From c90e46921973413adf40e9b930c62245a5a9770c Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 20 Oct 2023 15:26:00 +0200 Subject: [PATCH 019/138] remove duplicate assert macro definitions --- integration-tests/src/polkadot_test_net.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 3a7b8e2d4..3947adf50 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -474,17 +474,3 @@ pub fn init_omnipool() { Permill::from_percent(10) )); } - -#[macro_export] -macro_rules! assert_balance { - ( $who:expr, $asset:expr, $amount:expr) => {{ - assert_eq!(Currencies::free_balance($asset, &$who), $amount); - }}; -} - -#[macro_export] -macro_rules! assert_reserved_balance { - ( $who:expr, $asset:expr, $amount:expr) => {{ - assert_eq!(Currencies::reserved_balance($asset, &$who), $amount); - }}; -} From 0a0682ac6fcd59eef6c747dad9b6ddf3acf9ee8e Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 20 Oct 2023 15:30:32 +0200 Subject: [PATCH 020/138] update xcmp queue pallet to new extended version --- Cargo.lock | 50 +++++++++++------------ runtime/hydradx/src/weights/xcmp_queue.rs | 19 ++++++++- runtime/hydradx/src/xcm.rs | 1 + 3 files changed, 44 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 43f4bbca8..85a8a4174 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1561,7 +1561,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "clap 4.3.9", "parity-scale-codec", @@ -1576,7 +1576,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1599,7 +1599,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1628,7 +1628,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1651,7 +1651,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1674,7 +1674,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1697,7 +1697,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -1720,7 +1720,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1748,7 +1748,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "frame-support", "frame-system", @@ -1764,7 +1764,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1781,7 +1781,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1810,7 +1810,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1821,7 +1821,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1837,7 +1837,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.2.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1859,7 +1859,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -1875,7 +1875,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1898,7 +1898,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "futures", @@ -1911,7 +1911,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1929,7 +1929,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1954,7 +1954,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1973,7 +1973,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "array-bytes 6.1.0", "async-trait", @@ -2013,7 +2013,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -6527,7 +6527,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7809,7 +7809,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#460647cc2ec988ee04370c1cdd9fd518ed4868eb" +source = "git+https://github.com/galacticcouncil/cumulus.git?branch=feat/xcmp-defer-xcm-v9-38#bc34ec33523285a27e9b47775bd9dbea3a18276a" dependencies = [ "cumulus-primitives-core", "frame-support", diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index bed7181f5..a92cc2173 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -86,9 +86,26 @@ impl WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(104 as u64)) .saturating_add(T::DbWeight::get().writes(103 as u64)) } + // TODO: update weights // Storage: XcmpQueue DeferredXcmMessages (r:1 w:1) // Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured) - fn discard_deferred() -> Weight { + fn discard_deferred_bucket() -> Weight { + // Minimum execution time: 62_131_073 nanoseconds. + Weight::from_ref_time(63_092_826_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + + // Storage: XcmpQueue DeferredXcmMessages (r:1 w:1) + // Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured) + fn discard_deferred_individual() -> Weight { + // Minimum execution time: 62_131_073 nanoseconds. + Weight::from_ref_time(63_092_826_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + + fn try_place_in_deferred_queue() -> Weight { // Minimum execution time: 62_131_073 nanoseconds. Weight::from_ref_time(63_092_826_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index e549db152..e78d0dd46 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -151,6 +151,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type WeightInfo = weights::xcmp_queue::HydraWeight; type ExecuteDeferredOrigin = EnsureRoot; type MaxDeferredMessages = ConstU32<100>; + type MaxDeferredBuckets = ConstU32<1000>; type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; type XcmDeferFilter = XcmRateLimiter; } From ff7c10261601a5fa7193fa1e63d82f97a6a5d440 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 20 Oct 2023 17:06:57 +0200 Subject: [PATCH 021/138] update integration tests --- integration-tests/src/xcm_rate_limiter.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/integration-tests/src/xcm_rate_limiter.rs b/integration-tests/src/xcm_rate_limiter.rs index 9d77c85f6..55c74fa23 100644 --- a/integration-tests/src/xcm_rate_limiter.rs +++ b/integration-tests/src/xcm_rate_limiter.rs @@ -84,8 +84,10 @@ fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { cumulus_pallet_xcmp_queue::Event::XcmDeferred { sender: ACALA_PARA_ID.into(), sent_at: 3, - deferred_to: 604, // received at 4 plus 600 blocks of deferral + deferred_to: hydradx_runtime::DeferDuration::get() + 4, message_hash, + index: (hydradx_runtime::DeferDuration::get() + 4, 0), + position: 0, } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { @@ -223,8 +225,10 @@ fn deferred_messages_should_be_executable_by_root() { cumulus_pallet_xcmp_queue::Event::XcmDeferred { sender: ACALA_PARA_ID.into(), sent_at: 3, - deferred_to: 604, // received at 4 plus 600 blocks of deferral + deferred_to: hydradx_runtime::DeferDuration::get() + 4, message_hash, + index: (hydradx_runtime::DeferDuration::get() + 4, 0), + position: 0, } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { @@ -235,7 +239,7 @@ fn deferred_messages_should_be_executable_by_root() { ]); assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); - set_relaychain_block_number(604); + set_relaychain_block_number(hydradx_runtime::DeferDuration::get() + 4); assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); assert_ok!(hydradx_runtime::XcmpQueue::service_deferred( From 7a1eaedeadfbf92b5e498b8bf9572ee57e5c4553 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 20 Oct 2023 17:07:22 +0200 Subject: [PATCH 022/138] formatting --- runtime/hydradx/src/weights/xcmp_queue.rs | 73 ++++++++++++----------- 1 file changed, 39 insertions(+), 34 deletions(-) diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index a92cc2173..473c91b8d 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -18,25 +18,23 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2023-10-20, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=cumulus-pallet-xcmp-queue +// --chain=dev +// --steps=10 +// --repeat=30 // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=cumulus-pallet-xcmp-queue +// --output=xcmp_queue.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// xcmp_queue.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -57,23 +55,29 @@ impl WeightInfo for HydraWeight { // Storage: XcmpQueue QueueConfig (r:1 w:1) // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { - // Minimum execution time: 7_729 nanoseconds. - Weight::from_ref_time(8_046_000 as u64) + // Minimum execution time: 7_869 nanoseconds. + Weight::from_ref_time(8_101_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { - // Minimum execution time: 7_991 nanoseconds. - Weight::from_ref_time(8_303_000 as u64) + // Minimum execution time: 8_010 nanoseconds. + Weight::from_ref_time(8_212_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: XcmpQueue QueueConfig (r:1 w:0) // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) - // Storage: XcmpQueue DeferredXcmMessages (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured) + // Storage: XcmpQueue QueueSuspended (r:1 w:0) + // Proof Skipped: XcmpQueue QueueSuspended (max_values: Some(1), max_size: None, mode: Measured) + // Storage: XcmpQueue DeferredQueueSuspended (r:1 w:0) + // Proof Skipped: XcmpQueue DeferredQueueSuspended (max_values: Some(1), max_size: None, mode: Measured) + // Storage: XcmpQueue DeferredIndices (r:1 w:1) + // Proof Skipped: XcmpQueue DeferredIndices (max_values: None, max_size: None, mode: Measured) + // Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1) + // Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured) // Storage: XcmpQueue CounterForOverweight (r:1 w:1) // Proof: XcmpQueue CounterForOverweight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: XcmpQueue OverweightCount (r:1 w:1) @@ -81,34 +85,35 @@ impl WeightInfo for HydraWeight { // Storage: XcmpQueue Overweight (r:100 w:100) // Proof Skipped: XcmpQueue Overweight (max_values: None, max_size: None, mode: Measured) fn service_deferred() -> Weight { - // Minimum execution time: 90_934_683 nanoseconds. - Weight::from_ref_time(91_491_151_000 as u64) - .saturating_add(T::DbWeight::get().reads(104 as u64)) - .saturating_add(T::DbWeight::get().writes(103 as u64)) + // Minimum execution time: 193_410_426 nanoseconds. + Weight::from_ref_time(193_901_312_000 as u64) + .saturating_add(T::DbWeight::get().reads(107 as u64)) + .saturating_add(T::DbWeight::get().writes(104 as u64)) } - // TODO: update weights - // Storage: XcmpQueue DeferredXcmMessages (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured) + // Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1) + // Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured) fn discard_deferred_bucket() -> Weight { - // Minimum execution time: 62_131_073 nanoseconds. - Weight::from_ref_time(63_092_826_000 as u64) + // Minimum execution time: 112_292_897 nanoseconds. + Weight::from_ref_time(112_586_652_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - - // Storage: XcmpQueue DeferredXcmMessages (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured) + // Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1) + // Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured) fn discard_deferred_individual() -> Weight { - // Minimum execution time: 62_131_073 nanoseconds. - Weight::from_ref_time(63_092_826_000 as u64) + // Minimum execution time: 124_783_889 nanoseconds. + Weight::from_ref_time(125_149_821_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - + // Storage: XcmpQueue DeferredIndices (r:1 w:1) + // Proof Skipped: XcmpQueue DeferredIndices (max_values: None, max_size: None, mode: Measured) + // Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1) + // Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured) fn try_place_in_deferred_queue() -> Weight { - // Minimum execution time: 62_131_073 nanoseconds. - Weight::from_ref_time(63_092_826_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 530_788 nanoseconds. + Weight::from_ref_time(537_065_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } } From 2d572ecb0efa95f037fc447fc0b38a39870c9d22 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 20 Oct 2023 17:35:05 +0200 Subject: [PATCH 023/138] update mock files --- integration-tests/src/circuit_breaker.rs | 24 +- integration-tests/src/cross_chain_transfer.rs | 22 +- integration-tests/src/dca.rs | 46 +- integration-tests/src/dust.rs | 6 +- integration-tests/src/exchange_asset.rs | 21 +- integration-tests/src/non_native_fee.rs | 19 +- integration-tests/src/omnipool_init.rs | 2 - .../src/omnipool_liquidity_mining.rs | 7 +- integration-tests/src/oracle.rs | 1 - integration-tests/src/polkadot_test_net.rs | 535 +++++++++--------- integration-tests/src/staking.rs | 45 +- node/src/chain_spec/mod.rs | 10 +- node/src/command.rs | 27 +- node/src/service.rs | 77 ++- pallets/asset-registry/Cargo.toml | 1 + pallets/asset-registry/src/lib.rs | 2 +- pallets/asset-registry/src/mock.rs | 21 +- pallets/bonds/src/tests/mock.rs | 17 +- pallets/circuit-breaker/Cargo.toml | 2 + pallets/circuit-breaker/src/benchmarking.rs | 8 +- pallets/circuit-breaker/src/lib.rs | 4 +- pallets/circuit-breaker/src/tests/mock.rs | 22 +- pallets/claims/src/lib.rs | 4 +- pallets/claims/src/mock.rs | 21 +- pallets/claims/src/traits.rs | 4 +- pallets/collator-rewards/Cargo.toml | 1 + pallets/collator-rewards/src/mock.rs | 29 +- pallets/currencies/Cargo.toml | 2 + pallets/currencies/src/fungibles.rs | 76 ++- pallets/currencies/src/lib.rs | 12 +- pallets/currencies/src/mock.rs | 22 +- pallets/currencies/src/tests.rs | 22 +- pallets/currencies/src/tests_fungibles.rs | 62 +- pallets/dca/src/lib.rs | 6 +- pallets/dca/src/tests/mock.rs | 22 +- pallets/democracy/src/benchmarking.rs | 4 +- pallets/democracy/src/lib.rs | 7 +- pallets/democracy/src/migrations.rs | 16 +- pallets/democracy/src/tests.rs | 40 +- pallets/duster/src/mock.rs | 23 +- pallets/dynamic-fees/src/lib.rs | 2 +- pallets/dynamic-fees/src/tests/mock.rs | 30 +- pallets/ema-oracle/src/lib.rs | 40 +- pallets/ema-oracle/src/tests/mock.rs | 31 +- pallets/genesis-history/src/lib.rs | 4 +- pallets/genesis-history/src/mock.rs | 20 +- pallets/lbp/src/benchmarking.rs | 28 +- pallets/lbp/src/invariants.rs | 8 +- pallets/lbp/src/lib.rs | 9 +- pallets/lbp/src/mock.rs | 25 +- pallets/lbp/src/tests.rs | 93 ++- pallets/liquidity-mining/Cargo.toml | 2 + pallets/liquidity-mining/src/tests/mock.rs | 38 +- pallets/liquidity-mining/src/types.rs | 2 +- pallets/nft/Cargo.toml | 1 + pallets/nft/src/mock.rs | 30 +- pallets/omnipool-liquidity-mining/Cargo.toml | 2 + .../src/benchmarks.rs | 8 +- pallets/omnipool-liquidity-mining/src/lib.rs | 5 +- .../src/tests/mock.rs | 22 +- pallets/omnipool/src/tests/barrier.rs | 2 +- pallets/omnipool/src/tests/mock.rs | 23 +- pallets/omnipool/src/traits.rs | 2 +- pallets/otc/src/tests/mock.rs | 18 +- pallets/relaychain-info/src/lib.rs | 2 +- pallets/route-executor/src/lib.rs | 20 +- pallets/route-executor/src/tests/mock.rs | 22 +- pallets/stableswap/src/lib.rs | 2 +- pallets/stableswap/src/tests/mock.rs | 26 +- pallets/staking/src/lib.rs | 5 +- pallets/staking/src/tests/mock.rs | 21 +- pallets/staking/src/types.rs | 2 +- pallets/transaction-multi-payment/Cargo.toml | 1 + pallets/transaction-multi-payment/src/mock.rs | 40 +- .../transaction-multi-payment/src/tests.rs | 77 ++- pallets/transaction-pause/Cargo.toml | 1 + pallets/transaction-pause/src/lib.rs | 2 +- pallets/transaction-pause/src/migration.rs | 4 +- pallets/transaction-pause/src/mock.rs | 29 +- pallets/xcm-rate-limiter/src/lib.rs | 4 +- pallets/xcm-rate-limiter/src/tests/mock.rs | 21 +- pallets/xyk/src/lib.rs | 2 +- pallets/xyk/src/tests/mock.rs | 17 +- runtime/adapters/src/inspect.rs | 14 +- runtime/adapters/src/lib.rs | 3 +- runtime/adapters/src/tests/mock.rs | 24 +- runtime/adapters/src/tests/trader.rs | 87 ++- runtime/hydradx/src/assets.rs | 4 +- runtime/hydradx/src/benchmarking/dca.rs | 2 +- runtime/hydradx/src/governance.rs | 2 +- runtime/hydradx/src/lib.rs | 10 +- runtime/hydradx/src/migrations.rs | 5 +- runtime/hydradx/src/system.rs | 7 +- runtime/hydradx/src/tests.rs | 7 +- runtime/hydradx/src/xcm.rs | 1 - traits/src/lib.rs | 2 +- traits/src/oracle.rs | 4 +- 97 files changed, 1134 insertions(+), 1073 deletions(-) diff --git a/integration-tests/src/circuit_breaker.rs b/integration-tests/src/circuit_breaker.rs index b1d70eeb0..5e98025c0 100644 --- a/integration-tests/src/circuit_breaker.rs +++ b/integration-tests/src/circuit_breaker.rs @@ -265,11 +265,10 @@ fn add_liquidity_to_omnipool_should_work_when_liquidity_limit_per_block_not_exce let liquidity_limit = CircuitBreaker::add_liquidity_limit_per_asset(CORE_ASSET_ID).unwrap(); let added_liquidity = CircuitBreaker::calculate_limit(hdx_balance_in_omnipool, liquidity_limit).unwrap(); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), added_liquidity, - 0, )); set_relaychain_block_number(300); @@ -296,11 +295,10 @@ fn add_liquidity_to_omnipool_should_fail_when_liquidity_limit_per_block_exceeded .checked_add(1) .unwrap(); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), added_liquidity, - 0, )); set_relaychain_block_number(300); @@ -330,11 +328,10 @@ fn add_liquidity_to_omnipool_should_not_fail_when_liquidity_limit_per_block_exce .checked_add(1) .unwrap(); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), Treasury::account_id(), added_liquidity, - 0, )); set_relaychain_block_number(300); @@ -358,11 +355,10 @@ fn remove_liquidity_to_omnipool_should_work_when_liquidity_limit_per_block_not_e let liquidity_limit = CircuitBreaker::add_liquidity_limit_per_asset(CORE_ASSET_ID).unwrap(); let added_liquidity = CircuitBreaker::calculate_limit(hdx_balance_in_omnipool, liquidity_limit).unwrap(); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), added_liquidity, - 0, )); set_relaychain_block_number(300); @@ -392,11 +388,10 @@ fn remove_liquidity_from_omnipool_should_fail_when_large_legacy_position_removed let liquidity_limit = CircuitBreaker::add_liquidity_limit_per_asset(CORE_ASSET_ID).unwrap(); let max_removed_liquidity = CircuitBreaker::calculate_limit(hdx_balance_in_omnipool, liquidity_limit).unwrap(); let bag = max_removed_liquidity * 2; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), Treasury::account_id(), bag, - 0, )); set_relaychain_block_number(300); @@ -431,11 +426,10 @@ fn remove_liquidity_from_omnipool_should_succeed_when_legacy_position_withdrawn_ let liquidity_limit = CircuitBreaker::add_liquidity_limit_per_asset(CORE_ASSET_ID).unwrap(); let max_removed_liquidity = CircuitBreaker::calculate_limit(hdx_balance_in_omnipool, liquidity_limit).unwrap(); let bag = max_removed_liquidity * 2; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), Treasury::account_id(), bag, - 0, )); set_relaychain_block_number(300); @@ -482,11 +476,10 @@ fn remove_liquidity_to_omnipool_should_fail_when_liquidity_limit_per_block_excee set_relaychain_block_number(200); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), added_liquidity * 10, - 0, )); let position_id_1 = Omnipool::next_position_id(); @@ -535,11 +528,10 @@ fn remove_liquidity_to_omnipool_should_not_fail_when_liquidity_limit_per_block_e let liquidity_limit = CircuitBreaker::add_liquidity_limit_per_asset(CORE_ASSET_ID).unwrap(); let added_liquidity = CircuitBreaker::calculate_limit(hdx_balance_in_omnipool, liquidity_limit).unwrap(); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), Treasury::account_id(), added_liquidity * 10, - 0, )); set_relaychain_block_number(200); diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index 3bc596437..463b0974a 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -131,7 +131,7 @@ fn hydra_should_receive_asset_when_transferred_from_acala() { ) .into() ), - WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); // Assert @@ -182,7 +182,7 @@ fn transfer_from_acala_should_fail_when_transferring_insufficient_amount() { ) .into() ), - WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) ), orml_xtokens::Error::::XcmExecutionFailed ); @@ -241,7 +241,7 @@ fn hydra_treasury_should_receive_asset_when_transferred_to_protocol_account() { ) .into() ), - WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); // Assert @@ -282,7 +282,7 @@ fn assets_should_be_trapped_when_assets_are_unknown() { ) .into() ), - WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); assert_eq!( hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), @@ -293,9 +293,10 @@ fn assets_should_be_trapped_when_assets_are_unknown() { Hydra::execute_with(|| { expect_hydra_events(vec![ cumulus_pallet_xcmp_queue::Event::Fail { - message_hash: Some(hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"]), + message_hash: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], + message_id: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], error: XcmError::AssetNotFound, - weight: Weight::from_ref_time(300_000_000), + weight: Weight::from_parts(300_000_000, 0), } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { @@ -362,7 +363,7 @@ fn trap_asset() -> MultiAsset { ) .into() ), - WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); assert_eq!( hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), @@ -376,9 +377,10 @@ fn trap_asset() -> MultiAsset { Hydra::execute_with(|| { expect_hydra_events(vec![ cumulus_pallet_xcmp_queue::Event::Fail { - message_hash: Some(hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"]), + message_hash: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], + message_id: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], error: XcmError::AssetNotFound, - weight: Weight::from_ref_time(300_000_000), + weight: Weight::from_parts(300_000_000, 0), } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { @@ -445,7 +447,7 @@ fn polkadot_xcm_execute_extrinsic_should_not_be_allowed() { hydradx_runtime::PolkadotXcm::execute( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), Box::new(message), - Weight::from_ref_time(400_000_000_000) + Weight::from_parts(400_000_000_000, 0) ), pallet_xcm::Error::::Filtered ); diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 9a8853439..7c2e241c0 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -17,7 +17,6 @@ use orml_traits::MultiReservableCurrency; use pallet_dca::types::{Order, Schedule}; use pallet_stableswap::types::AssetAmount; use pallet_stableswap::MAX_ASSETS_IN_POOL; -use polkadot_primitives::v2::BlockNumber; use primitives::{AssetId, Balance}; use sp_runtime::traits::ConstU32; use sp_runtime::DispatchError; @@ -420,11 +419,10 @@ mod omnipool { //Arrange init_omnipool_with_oracle_for_block_10(); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); let dca_budget = 1100 * UNITS; @@ -462,11 +460,10 @@ mod omnipool { //Arrange init_omnipool_with_oracle_for_block_10(); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); let dca_budget = 1000 * UNITS; @@ -500,11 +497,10 @@ mod omnipool { //Arrange init_omnipool_with_oracle_for_block_10(); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); let dca_budget = 1100 * UNITS; @@ -616,11 +612,10 @@ mod omnipool { //Arrange init_omnipool_with_oracle_for_block_10(); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); let dca_budget = 1100 * UNITS; @@ -648,11 +643,10 @@ mod omnipool { //Arrange init_omnipool_with_oracle_for_block_10(); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); //Act @@ -675,11 +669,10 @@ mod omnipool { //Arrange init_omnipool_with_oracle_for_block_10(); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); //Act @@ -796,11 +789,10 @@ mod omnipool { Hydra::execute_with(|| { //Arrange let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); init_omnipool_with_oracle_for_block_10(); @@ -838,19 +830,17 @@ mod omnipool { Hydra::execute_with(|| { //Arrange let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); let bob_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), BOB.into(), bob_init_hdx_balance, - 0, )); init_omnipool_with_oracle_for_block_10(); @@ -900,11 +890,10 @@ mod omnipool { Hydra::execute_with(|| { //Arrange let alice_init_hdx_balance = 50000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); init_omnipool_with_oracle_for_block_10(); @@ -1032,11 +1021,10 @@ mod omnipool { .unwrap(); let alice_init_hdx_balance = 1000 * UNITS + fee + 1; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); let dca_budget = 1000 * UNITS + fee; @@ -1243,11 +1231,10 @@ mod stableswap { set_relaychain_block_number(10); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), alice_init_hdx_balance, - 0, )); let trades = vec![ @@ -1407,11 +1394,10 @@ mod stableswap { set_relaychain_block_number(10); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), alice_init_hdx_balance, - 0, )); let trades = vec![ @@ -1806,11 +1792,10 @@ mod stableswap { set_relaychain_block_number(10); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), alice_init_hdx_balance, - 0, )); let trades = vec![ @@ -2142,11 +2127,10 @@ pub fn init_omnipol() { Permill::from_percent(60) )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), Treasury::account_id(), TREASURY_ACCOUNT_INIT_BALANCE, - 0, )); } diff --git a/integration-tests/src/dust.rs b/integration-tests/src/dust.rs index 682fe4a8f..265b8664f 100644 --- a/integration-tests/src/dust.rs +++ b/integration-tests/src/dust.rs @@ -18,18 +18,16 @@ fn balance_should_be_dusted_when_native_balance_is_below_ed() { let transfer_amount = hdx_ed.checked_sub(1).unwrap(); // set Treasury balance to ED so it's not dusted - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( hydradx_runtime::RuntimeOrigin::root(), Treasury::account_id(), hdx_ed, - 0, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( hydradx_runtime::RuntimeOrigin::root(), ALICE.into(), hdx_ed, - 0, )); assert_ok!(Balances::transfer( diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 9e50f3bb3..e127f979a 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -3,6 +3,7 @@ use crate::polkadot_test_net::*; use frame_support::dispatch::GetDispatchInfo; use frame_support::traits::fungible::Balanced; +use frame_support::traits::tokens::Precision; use frame_support::weights::Weight; use frame_support::{assert_ok, pallet_prelude::*}; use orml_traits::currency::MultiCurrency; @@ -61,7 +62,7 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { let res = hydradx_runtime::PolkadotXcm::execute( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), Box::new(xcm), - Weight::from_ref_time(399_600_000_000), + Weight::from_parts(399_600_000_000, 0), ); assert_ok!(res); @@ -131,7 +132,7 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { let res = hydradx_runtime::PolkadotXcm::execute( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), Box::new(xcm), - Weight::from_ref_time(399_600_000_000), + Weight::from_parts(399_600_000_000, 0), ); assert_ok!(res); @@ -205,17 +206,19 @@ fn transfer_and_swap_should_work_with_4_hops() { }); Moonbeam::execute_with(|| { - use xcm_executor::traits::Convert; + use xcm_executor::traits::ConvertLocation; let para_account = - hydradx_runtime::LocationToAccountId::convert((Parent, Parachain(ACALA_PARA_ID)).into()).unwrap(); - let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS).expect("Failed to deposit"); + hydradx_runtime::LocationToAccountId::convert_location(&(Parent, Parachain(ACALA_PARA_ID)).into()).unwrap(); + let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS, Precision::Exact) + .expect("Failed to deposit"); }); Interlay::execute_with(|| { - use xcm_executor::traits::Convert; + use xcm_executor::traits::ConvertLocation; let para_account = - hydradx_runtime::LocationToAccountId::convert((Parent, Parachain(HYDRA_PARA_ID)).into()).unwrap(); - let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS).expect("Failed to deposit"); + hydradx_runtime::LocationToAccountId::convert_location(&(Parent, Parachain(HYDRA_PARA_ID)).into()).unwrap(); + let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS, Precision::Exact) + .expect("Failed to deposit"); }); Acala::execute_with(|| { @@ -240,7 +243,7 @@ fn transfer_and_swap_should_work_with_4_hops() { assert_ok!(hydradx_runtime::PolkadotXcm::execute( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), Box::new(xcm), - Weight::from_ref_time(399_600_000_000), + Weight::from_parts(399_600_000_000, 0), )); //Assert diff --git a/integration-tests/src/non_native_fee.rs b/integration-tests/src/non_native_fee.rs index dd512357d..ee09f7f63 100644 --- a/integration-tests/src/non_native_fee.rs +++ b/integration-tests/src/non_native_fee.rs @@ -1,19 +1,16 @@ #![cfg(test)] use crate::polkadot_test_net::*; -use primitives::Price; - use frame_support::{ assert_ok, + dispatch::DispatchInfo, + sp_runtime::traits::SignedExtension, traits::{OnFinalize, OnInitialize}, + weights::Weight, }; - use hydradx_runtime::{Balances, Currencies, MultiTransactionPayment, RuntimeOrigin, Tokens}; - -use frame_support::dispatch::{DispatchInfo, Weight}; use orml_traits::currency::MultiCurrency; -use polkadot_primitives::v2::BlockNumber; -use sp_runtime::traits::SignedExtension; +use primitives::Price; use xcm_emulator::TestExt; pub fn hydra_run_to_block(to: BlockNumber) { @@ -40,7 +37,7 @@ fn non_native_fee_payment_works_with_omnipool_spot_price() { ); let info = DispatchInfo { - weight: Weight::from_ref_time(106_957_000), + weight: Weight::from_parts(106_957_000, 0), ..Default::default() }; let len: usize = 10; @@ -56,11 +53,10 @@ fn non_native_fee_payment_works_with_omnipool_spot_price() { let bob_balance = hydradx_runtime::Tokens::free_balance(BTC, &AccountId::from(BOB)); assert_eq!(bob_balance, 999_959); - assert_ok!(hydradx_runtime::Balances::set_balance( + assert_ok!(hydradx_runtime::Balances::force_set_balance( hydradx_runtime::RuntimeOrigin::root(), ALICE.into(), 2_000_000_000_000 * UNITS, - 0, )); init_omnipool(); @@ -175,11 +171,10 @@ fn fee_currency_cannot_be_set_to_not_accepted_asset() { fn fee_currency_should_not_change_when_account_holds_native_currency_already() { TestNet::reset(); Hydra::execute_with(|| { - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), HITCHHIKER.into(), UNITS, - 0, )); assert_ok!(Currencies::transfer( diff --git a/integration-tests/src/omnipool_init.rs b/integration-tests/src/omnipool_init.rs index 186744fcb..2ee1466ae 100644 --- a/integration-tests/src/omnipool_init.rs +++ b/integration-tests/src/omnipool_init.rs @@ -125,8 +125,6 @@ fn omnipool_launch_init_params_should_be_correct() { }); } -use polkadot_primitives::v2::BlockNumber; - pub fn hydra_run_to_block(to: BlockNumber) { use frame_support::traits::{OnFinalize, OnInitialize}; while hydradx_runtime::System::block_number() < to { diff --git a/integration-tests/src/omnipool_liquidity_mining.rs b/integration-tests/src/omnipool_liquidity_mining.rs index cd81be2a9..cd0b8ed5a 100644 --- a/integration-tests/src/omnipool_liquidity_mining.rs +++ b/integration-tests/src/omnipool_liquidity_mining.rs @@ -26,7 +26,6 @@ use warehouse_liquidity_mining::{ }; use orml_traits::MultiCurrency; -use polkadot_primitives::v2::BlockNumber; use primitives::AssetId; use sp_runtime::{ traits::{One, Zero}, @@ -57,11 +56,10 @@ fn create_global_farm_should_work_when_origin_is_root() { let yield_per_period = Perquintill::from_parts(570_776_255_707); let min_deposit = 1_000; - assert_ok!(hydradx_runtime::Balances::set_balance( + assert_ok!(hydradx_runtime::Balances::force_set_balance( hydradx_runtime::RuntimeOrigin::root(), owner.clone(), total_rewards, - 0, )); set_relaychain_block_number(100); @@ -599,11 +597,10 @@ fn init_omnipool() { fn create_global_farm() { let total_rewards = 1_000_000 * UNITS; - assert_ok!(hydradx_runtime::Balances::set_balance( + assert_ok!(hydradx_runtime::Balances::force_set_balance( hydradx_runtime::RuntimeOrigin::root(), Treasury::account_id(), total_rewards, - 0, )); assert_ok!(hydradx_runtime::OmnipoolLiquidityMining::create_global_farm( diff --git a/integration-tests/src/oracle.rs b/integration-tests/src/oracle.rs index 12d36a8e9..4754a3599 100644 --- a/integration-tests/src/oracle.rs +++ b/integration-tests/src/oracle.rs @@ -13,7 +13,6 @@ use hydradx_traits::{ OraclePeriod::{self, *}, }; use pallet_ema_oracle::OracleError; -use polkadot_primitives::v2::BlockNumber; use primitives::constants::chain::OMNIPOOL_SOURCE; use xcm_emulator::TestExt; diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 3a7b8e2d4..1f21fe06b 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -1,13 +1,11 @@ #![cfg(test)] use frame_support::{ assert_ok, - dispatch::{Dispatchable, GetCallMetadata}, sp_runtime::{ - traits::{AccountIdConversion, Block as BlockT}, - FixedU128, Permill, + traits::{AccountIdConversion, Block as BlockT, Dispatchable}, + BuildStorage, FixedU128, Permill, }, - traits::GenesisBuild, - weights::Weight, + traits::{GetCallMetadata, OnInitialize}, }; pub use hydradx_runtime::{AccountId, Currencies, NativeExistentialDeposit, Treasury, VestingPalletId}; use pallet_transaction_multi_payment::Price; @@ -15,10 +13,13 @@ pub use primitives::{constants::chain::CORE_ASSET_ID, AssetId, Balance, Moment}; use cumulus_primitives_core::ParaId; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; +pub use frame_system::pallet_prelude::BlockNumberFor; //use cumulus_primitives_core::relay_chain::AccountId; -use polkadot_primitives::v2::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; +pub use polkadot_primitives::v5::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; use polkadot_runtime_parachains::configuration::HostConfiguration; -use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain}; +use sp_core::storage::Storage; +pub use xcm_emulator::Network; +use xcm_emulator::{decl_test_networks, decl_test_parachains, decl_test_relay_chains, DefaultMessageProcessor}; pub const ALICE: [u8; 32] = [4u8; 32]; pub const BOB: [u8; 32] = [5u8; 32]; @@ -56,295 +57,297 @@ pub const PEPE: AssetId = 420; pub const NOW: Moment = 1689844300000; // unix time in milliseconds -decl_test_relay_chain! { +decl_test_relay_chains! { + #[api_version(5)] pub struct PolkadotRelay { - Runtime = polkadot_runtime::Runtime, - XcmConfig = polkadot_runtime::xcm_config::XcmConfig, - new_ext = polkadot_ext(), - } -} - -decl_test_parachain! { - pub struct Hydra{ - Runtime = hydradx_runtime::Runtime, - RuntimeOrigin = hydradx_runtime::RuntimeOrigin, - XcmpMessageHandler = hydradx_runtime::XcmpQueue, - DmpMessageHandler = hydradx_runtime::DmpQueue, - new_ext = hydra_ext(), - } -} - -decl_test_parachain! { - pub struct Acala{ - Runtime = hydradx_runtime::Runtime, - RuntimeOrigin = hydradx_runtime::RuntimeOrigin, - XcmpMessageHandler = hydradx_runtime::XcmpQueue, - DmpMessageHandler = hydradx_runtime::DmpQueue, - new_ext = para_ext(ACALA_PARA_ID), - } -} - -decl_test_parachain! { - pub struct Moonbeam{ - Runtime = hydradx_runtime::Runtime, - RuntimeOrigin = hydradx_runtime::RuntimeOrigin, - XcmpMessageHandler = hydradx_runtime::XcmpQueue, - DmpMessageHandler = hydradx_runtime::DmpQueue, - new_ext = para_ext(MOONBEAM_PARA_ID), + genesis = polkadot::genesis(), + on_init = { + polkadot_runtime::System::set_block_number(1); + }, + runtime = polkadot_runtime, + core = { + MessageProcessor: DefaultMessageProcessor, + SovereignAccountOf: polkadot_runtime::xcm_config::SovereignAccountOf, + }, + pallets = { + XcmPallet: polkadot_runtime::XcmPallet, + Balances: polkadot_runtime::Balances, + Hrmp: polkadot_runtime::Hrmp, + } } } -decl_test_parachain! { +decl_test_parachains! { + pub struct Hydra { + genesis = hydra::genesis(), + on_init = { + hydradx_runtime::System::set_block_number(1); + hydradx_runtime::Timestamp::set_timestamp(NOW); + // Make sure the prices are up-to-date. + hydradx_runtime::MultiTransactionPayment::on_initialize(1); + }, + runtime = hydradx_runtime, + core = { + XcmpMessageHandler: hydradx_runtime::XcmpQueue, + DmpMessageHandler: hydradx_runtime::DmpQueue, + LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, + ParachainInfo: hydradx_runtime::ParachainInfo, + }, + pallets = { + PolkadotXcm: hydradx_runtime::PolkadotXcm, + // Assets: hydradx_runtime::Assets, + Balances: hydradx_runtime::Balances, + } + }, + pub struct Acala { + genesis = para::genesis(ACALA_PARA_ID), + on_init = { + hydradx_runtime::System::set_block_number(1); + }, + runtime = hydradx_runtime, + core = { + XcmpMessageHandler: hydradx_runtime::XcmpQueue, + DmpMessageHandler: hydradx_runtime::DmpQueue, + LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, + ParachainInfo: hydradx_runtime::ParachainInfo, + }, + pallets = { + PolkadotXcm: hydradx_runtime::PolkadotXcm, + // Assets: hydradx_runtime::Assets, + Balances: hydradx_runtime::Balances, + } + }, + pub struct Moonbeam { + genesis = para::genesis(MOONBEAM_PARA_ID), + on_init = { + hydradx_runtime::System::set_block_number(1); + }, + runtime = hydradx_runtime, + core = { + XcmpMessageHandler: hydradx_runtime::XcmpQueue, + DmpMessageHandler: hydradx_runtime::DmpQueue, + LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, + ParachainInfo: hydradx_runtime::ParachainInfo, + }, + pallets = { + PolkadotXcm: hydradx_runtime::PolkadotXcm, + // Assets: hydradx_runtime::Assets, + Balances: hydradx_runtime::Balances, + } + }, pub struct Interlay { - Runtime = hydradx_runtime::Runtime, - RuntimeOrigin = hydradx_runtime::RuntimeOrigin, - XcmpMessageHandler = hydradx_runtime::XcmpQueue, - DmpMessageHandler = hydradx_runtime::DmpQueue, - new_ext = para_ext(INTERLAY_PARA_ID), + genesis = para::genesis(INTERLAY_PARA_ID), + on_init = { + hydradx_runtime::System::set_block_number(1); + }, + runtime = hydradx_runtime, + core = { + XcmpMessageHandler: hydradx_runtime::XcmpQueue, + DmpMessageHandler: hydradx_runtime::DmpQueue, + LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, + ParachainInfo: hydradx_runtime::ParachainInfo, + }, + pallets = { + PolkadotXcm: hydradx_runtime::PolkadotXcm, + // Assets: hydradx_runtime::Assets, + Balances: hydradx_runtime::Balances, + } } } -decl_test_network! { +decl_test_networks! { pub struct TestNet { relay_chain = PolkadotRelay, parachains = vec![ - (2000, Acala), - (2004, Moonbeam), - (2032, Interlay), - (2034, Hydra), + Acala, + Moonbeam, + Interlay, + Hydra, ], - } + // TODO: uncomment when https://github.com/paritytech/cumulus/pull/2528 is merged + // bridge = KusamaPolkadotMockBridge + bridge = () + }, } -fn default_parachains_host_configuration() -> HostConfiguration { - HostConfiguration { - minimum_validation_upgrade_delay: 5, - validation_upgrade_cooldown: 5u32, - validation_upgrade_delay: 5, - code_retention_period: 1200, - max_code_size: MAX_CODE_SIZE, - max_pov_size: MAX_POV_SIZE, - max_head_data_size: 32 * 1024, - group_rotation_frequency: 20, - chain_availability_period: 4, - thread_availability_period: 4, - max_upward_queue_count: 8, - max_upward_queue_size: 1024 * 1024, - max_downward_message_size: 1024, - ump_service_total_weight: Weight::from_ref_time(4 * 1_000_000_000), - max_upward_message_size: 50 * 1024, - max_upward_message_num_per_candidate: 5, - hrmp_sender_deposit: 0, - hrmp_recipient_deposit: 0, - hrmp_channel_max_capacity: 8, - hrmp_channel_max_total_size: 8 * 1024, - hrmp_max_parachain_inbound_channels: 4, - hrmp_max_parathread_inbound_channels: 4, - hrmp_channel_max_message_size: 1024 * 1024, - hrmp_max_parachain_outbound_channels: 4, - hrmp_max_parathread_outbound_channels: 4, - hrmp_max_message_num_per_candidate: 5, - dispute_period: 6, - no_show_slots: 2, - n_delay_tranches: 25, - needed_approvals: 2, - relay_vrf_modulo_samples: 2, - zeroth_delay_tranche_width: 0, - ..Default::default() +pub mod polkadot { + use super::*; + + fn get_host_configuration() -> HostConfiguration { + HostConfiguration { + minimum_validation_upgrade_delay: 5, + validation_upgrade_cooldown: 5u32, + validation_upgrade_delay: 5, + code_retention_period: 1200, + max_code_size: MAX_CODE_SIZE, + max_pov_size: MAX_POV_SIZE, + max_head_data_size: 32 * 1024, + group_rotation_frequency: 20, + paras_availability_period: 4, + max_upward_queue_count: 8, + max_upward_queue_size: 1024 * 1024, + max_downward_message_size: 1024, + max_upward_message_size: 50 * 1024, + max_upward_message_num_per_candidate: 5, + hrmp_sender_deposit: 0, + hrmp_recipient_deposit: 0, + hrmp_channel_max_capacity: 8, + hrmp_channel_max_total_size: 8 * 1024, + hrmp_max_parachain_inbound_channels: 4, + hrmp_channel_max_message_size: 1024 * 1024, + hrmp_max_parachain_outbound_channels: 4, + hrmp_max_message_num_per_candidate: 5, + dispute_period: 6, + no_show_slots: 2, + n_delay_tranches: 25, + needed_approvals: 2, + relay_vrf_modulo_samples: 2, + zeroth_delay_tranche_width: 0, + ..Default::default() + } } -} -pub fn polkadot_ext() -> sp_io::TestExternalities { - use polkadot_runtime::{Runtime, System}; + pub fn genesis() -> Storage { + let genesis_config = polkadot_runtime::RuntimeGenesisConfig { + balances: polkadot_runtime::BalancesConfig { + balances: vec![ + (AccountId::from(ALICE), 2_002 * UNITS), + (ParaId::from(HYDRA_PARA_ID).into_account_truncating(), 10 * UNITS), + ], + }, - let mut t = frame_system::GenesisConfig::default() - .build_storage::() - .unwrap(); + configuration: polkadot_runtime::ConfigurationConfig { + config: get_host_configuration(), + }, - pallet_balances::GenesisConfig:: { - balances: vec![ - (AccountId::from(ALICE), 2_002 * UNITS), - (ParaId::from(HYDRA_PARA_ID).into_account_truncating(), 10 * UNITS), - ], - } - .assimilate_storage(&mut t) - .unwrap(); + xcm_pallet: polkadot_runtime::XcmPalletConfig { + safe_xcm_version: Some(3), + ..Default::default() + }, + ..Default::default() + }; - polkadot_runtime_parachains::configuration::GenesisConfig:: { - config: default_parachains_host_configuration(), + genesis_config.build_storage().unwrap() } - .assimilate_storage(&mut t) - .unwrap(); +} - >::assimilate_storage( - &pallet_xcm::GenesisConfig { - safe_xcm_version: Some(3), - }, - &mut t, - ) - .unwrap(); +pub mod hydra { + use super::*; + + pub fn genesis() -> Storage { + let stable_amount = 50_000 * UNITS * 1_000_000; + let native_amount = 936_329_588_000_000_000; + let dot_amount = 87_719_298_250_000_u128; + let eth_amount = 63_750_000_000_000_000_000u128; + let btc_amount = 1_000_000_000u128; + let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + let staking_account = pallet_staking::Pallet::::pot_account_id(); + + let existential_deposit = NativeExistentialDeposit::get(); + + let genesis_config = hydradx_runtime::RuntimeGenesisConfig { + balances: hydradx_runtime::BalancesConfig { + balances: vec![ + (AccountId::from(ALICE), ALICE_INITIAL_NATIVE_BALANCE), + (AccountId::from(BOB), BOB_INITIAL_NATIVE_BALANCE), + (AccountId::from(CHARLIE), 1_000 * UNITS), + (AccountId::from(DAVE), 1_000 * UNITS), + (omnipool_account.clone(), native_amount), + (vesting_account(), 10_000 * UNITS), + (staking_account, UNITS), + ], + }, - let mut ext = sp_io::TestExternalities::new(t); - ext.execute_with(|| System::set_block_number(1)); - ext -} + asset_registry: hydradx_runtime::AssetRegistryConfig { + registered_assets: vec![ + (b"LRNA".to_vec(), 1_000u128, Some(LRNA)), + (b"DAI".to_vec(), 1_000u128, Some(DAI)), + (b"DOT".to_vec(), 1_000u128, Some(DOT)), + (b"ETH".to_vec(), 1_000u128, Some(ETH)), + (b"BTC".to_vec(), 1_000u128, Some(BTC)), + (b"ACA".to_vec(), 1_000u128, Some(ACA)), + (b"PEPE".to_vec(), 1_000u128, Some(PEPE)), + // workaround for next_asset_id() to return correct values + (b"DUMMY".to_vec(), 1_000u128, None), + ], + native_asset_name: b"HDX".to_vec(), + native_existential_deposit: existential_deposit, + }, -pub fn hydra_ext() -> sp_io::TestExternalities { - use frame_support::traits::OnInitialize; - use hydradx_runtime::{MultiTransactionPayment, Runtime, System, Timestamp}; - - let stable_amount = 50_000 * UNITS * 1_000_000; - let native_amount = 936_329_588_000_000_000; - let dot_amount = 87_719_298_250_000_u128; - let eth_amount = 63_750_000_000_000_000_000u128; - let btc_amount = 1_000_000_000u128; - let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); - let staking_account = pallet_staking::Pallet::::pot_account_id(); - - let existential_deposit = NativeExistentialDeposit::get(); - - let mut t = frame_system::GenesisConfig::default() - .build_storage::() - .unwrap(); - - pallet_balances::GenesisConfig:: { - balances: vec![ - (AccountId::from(ALICE), ALICE_INITIAL_NATIVE_BALANCE), - (AccountId::from(BOB), BOB_INITIAL_NATIVE_BALANCE), - (AccountId::from(CHARLIE), 1_000 * UNITS), - (AccountId::from(DAVE), 1_000 * UNITS), - (omnipool_account.clone(), native_amount), - (vesting_account(), 10_000 * UNITS), - (staking_account, UNITS), - ], - } - .assimilate_storage(&mut t) - .unwrap(); - - pallet_asset_registry::GenesisConfig:: { - registered_assets: vec![ - (b"LRNA".to_vec(), 1_000u128, Some(LRNA)), - (b"DAI".to_vec(), 1_000u128, Some(DAI)), - (b"DOT".to_vec(), 1_000u128, Some(DOT)), - (b"ETH".to_vec(), 1_000u128, Some(ETH)), - (b"BTC".to_vec(), 1_000u128, Some(BTC)), - (b"ACA".to_vec(), 1_000u128, Some(ACA)), - (b"PEPE".to_vec(), 1_000u128, Some(PEPE)), - // workaround for next_asset_id() to return correct values - (b"DUMMY".to_vec(), 1_000u128, None), - ], - native_asset_name: b"HDX".to_vec(), - native_existential_deposit: existential_deposit, - } - .assimilate_storage(&mut t) - .unwrap(); + parachain_info: hydradx_runtime::ParachainInfoConfig { + parachain_id: HYDRA_PARA_ID.into(), + ..Default::default() + }, - >::assimilate_storage( - ¶chain_info::GenesisConfig { - parachain_id: HYDRA_PARA_ID.into(), - }, - &mut t, - ) - .unwrap(); - orml_tokens::GenesisConfig:: { - balances: vec![ - (AccountId::from(ALICE), LRNA, ALICE_INITIAL_LRNA_BALANCE), - (AccountId::from(ALICE), DAI, ALICE_INITIAL_DAI_BALANCE), - (AccountId::from(ALICE), DOT, ALICE_INITIAL_DOT_BALANCE), - (AccountId::from(BOB), LRNA, BOB_INITIAL_LRNA_BALANCE), - (AccountId::from(BOB), DAI, BOB_INITIAL_DAI_BALANCE), - (AccountId::from(BOB), BTC, 1_000_000), - (AccountId::from(CHARLIE), DAI, 80_000_000_000 * UNITS), - (AccountId::from(BOB), PEPE, 1_000 * UNITS * 1_000_000), - (AccountId::from(CHARLIE), LRNA, CHARLIE_INITIAL_LRNA_BALANCE), - (AccountId::from(DAVE), LRNA, 1_000 * UNITS), - (AccountId::from(DAVE), DAI, 1_000_000_000 * UNITS), - (omnipool_account.clone(), DAI, stable_amount), - (omnipool_account.clone(), ETH, eth_amount), - (omnipool_account.clone(), BTC, btc_amount), - (omnipool_account, DOT, dot_amount), - ], - } - .assimilate_storage(&mut t) - .unwrap(); + tokens: hydradx_runtime::TokensConfig { + balances: vec![ + (AccountId::from(ALICE), LRNA, ALICE_INITIAL_LRNA_BALANCE), + (AccountId::from(ALICE), DAI, ALICE_INITIAL_DAI_BALANCE), + (AccountId::from(ALICE), DOT, ALICE_INITIAL_DOT_BALANCE), + (AccountId::from(BOB), LRNA, BOB_INITIAL_LRNA_BALANCE), + (AccountId::from(BOB), DAI, BOB_INITIAL_DAI_BALANCE), + (AccountId::from(BOB), BTC, 1_000_000), + (AccountId::from(CHARLIE), DAI, 80_000_000_000 * UNITS), + (AccountId::from(BOB), PEPE, 1_000 * UNITS * 1_000_000), + (AccountId::from(CHARLIE), LRNA, CHARLIE_INITIAL_LRNA_BALANCE), + (AccountId::from(DAVE), LRNA, 1_000 * UNITS), + (AccountId::from(DAVE), DAI, 1_000_000_000 * UNITS), + (omnipool_account.clone(), DAI, stable_amount), + (omnipool_account.clone(), ETH, eth_amount), + (omnipool_account.clone(), BTC, btc_amount), + (omnipool_account, DOT, dot_amount), + ], + }, - >::assimilate_storage( - &pallet_xcm::GenesisConfig { - safe_xcm_version: Some(3), - }, - &mut t, - ) - .unwrap(); - - pallet_transaction_multi_payment::GenesisConfig:: { - currencies: vec![ - (LRNA, Price::from(1)), - (DAI, Price::from(1)), - (ACA, Price::from(1)), - (BTC, Price::from_inner(134_000_000)), - ], - account_currencies: vec![], - } - .assimilate_storage(&mut t) - .unwrap(); - - //add duster - pallet_duster::GenesisConfig:: { - account_blacklist: vec![Treasury::account_id()], - reward_account: Some(Treasury::account_id()), - dust_account: Some(Treasury::account_id()), + polkadot_xcm: hydradx_runtime::PolkadotXcmConfig { + safe_xcm_version: Some(3), + ..Default::default() + }, + + multi_transaction_payment: hydradx_runtime::MultiTransactionPaymentConfig { + currencies: vec![ + (LRNA, Price::from(1)), + (DAI, Price::from(1)), + (ACA, Price::from(1)), + (BTC, Price::from_inner(134_000_000)), + ], + account_currencies: vec![], + }, + + duster: hydradx_runtime::DusterConfig { + account_blacklist: vec![Treasury::account_id()], + reward_account: Some(Treasury::account_id()), + dust_account: Some(Treasury::account_id()), + }, + ..Default::default() + }; + genesis_config.build_storage().unwrap() } - .assimilate_storage(&mut t) - .unwrap(); - - >::assimilate_storage( - &pallet_omnipool_liquidity_mining::GenesisConfig::default(), - &mut t, - ) - .unwrap(); - - let mut ext = sp_io::TestExternalities::new(t); - ext.execute_with(|| { - System::set_block_number(1); - Timestamp::set_timestamp(NOW); - // Make sure the prices are up-to-date. - MultiTransactionPayment::on_initialize(1); - }); - ext } -pub fn para_ext(para_id: u32) -> sp_io::TestExternalities { - use hydradx_runtime::{Runtime, System}; +pub mod para { + use super::*; - let mut t = frame_system::GenesisConfig::default() - .build_storage::() - .unwrap(); - - pallet_balances::GenesisConfig:: { - balances: vec![(AccountId::from(ALICE), ALICE_INITIAL_NATIVE_BALANCE)], - } - .assimilate_storage(&mut t) - .unwrap(); + pub fn genesis(para_id: u32) -> Storage { + let genesis_config = hydradx_runtime::RuntimeGenesisConfig { + balances: hydradx_runtime::BalancesConfig { + balances: vec![(AccountId::from(ALICE), ALICE_INITIAL_NATIVE_BALANCE)], + }, - >::assimilate_storage( - ¶chain_info::GenesisConfig { - parachain_id: para_id.into(), - }, - &mut t, - ) - .unwrap(); + parachain_info: hydradx_runtime::ParachainInfoConfig { + parachain_id: para_id.into(), + ..Default::default() + }, - >::assimilate_storage( - &pallet_xcm::GenesisConfig { - safe_xcm_version: Some(3), - }, - &mut t, - ) - .unwrap(); + polkadot_xcm: hydradx_runtime::PolkadotXcmConfig { + safe_xcm_version: Some(3), + ..Default::default() + }, + ..Default::default() + }; - let mut ext = sp_io::TestExternalities::new(t); - ext.execute_with(|| System::set_block_number(1)); - ext + genesis_config.build_storage().unwrap() + } } pub fn vesting_account() -> AccountId { @@ -366,7 +369,6 @@ pub fn expect_hydra_events(e: Vec) { } pub fn set_relaychain_block_number(number: BlockNumber) { - use frame_support::traits::OnInitialize; use hydradx_runtime::{ParachainSystem, RuntimeOrigin}; // We need to set block number this way as well because tarpaulin code coverage tool does not like the way @@ -393,7 +395,8 @@ pub fn set_relaychain_block_number(number: BlockNumber) { )); } pub fn polkadot_run_to_block(to: BlockNumber) { - use frame_support::traits::{OnFinalize, OnInitialize}; + use frame_support::traits::OnFinalize; + while hydradx_runtime::System::block_number() < to { let b = hydradx_runtime::System::block_number(); diff --git a/integration-tests/src/staking.rs b/integration-tests/src/staking.rs index d8c612cf7..03a8d2bac 100644 --- a/integration-tests/src/staking.rs +++ b/integration-tests/src/staking.rs @@ -31,11 +31,7 @@ fn vesting_schedule() -> Schedule { } fn set_balance_proposal(who: AccountId, value: u128) -> BoundedCallOf { - let inner = pallet_balances::Call::set_balance { - who, - new_free: value, - new_reserved: 0, - }; + let inner = pallet_balances::Call::force_set_balance { who, new_free: value }; let outer = hydradx_runtime::RuntimeCall::Balances(inner); Preimage::bound(outer).unwrap() } @@ -122,11 +118,10 @@ fn democracy_vote_should_record_stake_vote() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Staking::stake( @@ -173,11 +168,10 @@ fn staking_action_should_claim_points_for_finished_referendums_when_voted() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -228,11 +222,10 @@ fn staking_should_transfer_rewards_when_claimed() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -294,11 +287,10 @@ fn staking_should_not_reward_when_double_claimed() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -354,11 +346,10 @@ fn staking_should_not_reward_when_increase_stake_again_and_no_vote_activity() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -420,11 +411,10 @@ fn staking_should_claim_and_unreserve_rewards_when_unstaked() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -483,11 +473,10 @@ fn staking_should_remove_vote_when_democracy_removes_vote() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Staking::stake( @@ -540,11 +529,10 @@ fn staking_should_not_reward_when_refenrendum_is_ongoing() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Staking::stake( @@ -591,11 +579,10 @@ fn democracy_vote_should_work_correctly_when_account_has_no_stake() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Democracy::vote( @@ -623,11 +610,10 @@ fn democracy_remote_vote_should_work_correctly_when_account_has_no_stake() { 10_000 * UNITS, 0, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Democracy::vote( @@ -658,11 +644,10 @@ fn staking_position_transfer_should_fail_when_origin_is_owner() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( @@ -705,11 +690,10 @@ fn thaw_staking_position_should_fail_when_origin_is_position_owner() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( @@ -751,11 +735,10 @@ fn thaw_staking_collection_should_fail_when_origin_is_not_pallet_account() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); assert_ok!(Staking::stake( diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index b0d441b1f..1a5bf7c2c 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -28,8 +28,8 @@ use cumulus_primitives_core::ParaId; use hex_literal::hex; use hydradx_runtime::{ pallet_claims::EthereumAddress, AccountId, AssetRegistryConfig, AuraId, Balance, BalancesConfig, ClaimsConfig, - CollatorSelectionConfig, CouncilConfig, DusterConfig, ElectionsConfig, GenesisConfig, GenesisHistoryConfig, - MultiTransactionPaymentConfig, ParachainInfoConfig, SessionConfig, Signature, SystemConfig, + CollatorSelectionConfig, CouncilConfig, DusterConfig, ElectionsConfig, GenesisHistoryConfig, + MultiTransactionPaymentConfig, ParachainInfoConfig, RuntimeGenesisConfig, SessionConfig, Signature, SystemConfig, TechnicalCommitteeConfig, TokensConfig, VestingConfig, WASM_BINARY, }; use primitives::{ @@ -68,7 +68,7 @@ impl Extensions { } /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. -pub type ChainSpec = sc_service::GenericChainSpec; +pub type ChainSpec = sc_service::GenericChainSpec; /// Generate a crypto pair from seed. pub fn get_from_seed(seed: &str) -> ::Public { @@ -102,8 +102,8 @@ pub fn parachain_genesis( elections: Vec<(AccountId, Balance)>, parachain_id: ParaId, duster: DusterConfig, -) -> GenesisConfig { - GenesisConfig { +) -> RuntimeGenesisConfig { + RuntimeGenesisConfig { system: SystemConfig { // Add Wasm runtime to storage. code: wasm_binary.to_vec(), diff --git a/node/src/command.rs b/node/src/command.rs index d6ebc7d42..b5714ff3e 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -15,9 +15,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +use crate::chain_spec; use crate::cli::{Cli, RelayChainCli, Subcommand}; use crate::service::{new_partial, HydraDXNativeExecutor}; -use crate::{chain_spec, service}; use codec::Encode; use cumulus_client_cli::generate_genesis_block; @@ -29,12 +29,12 @@ use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli, }; -use sc_service::config::{BasePath, PrometheusConfig}; use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; +use sc_service::config::{BasePath, PrometheusConfig}; use sp_core::hexdisplay::HexDisplay; use sp_runtime::traits::AccountIdConversion; use sp_runtime::traits::Block as BlockT; -use std::{io::Write, net::SocketAddr}; +use std::io::Write; fn load_spec(id: &str) -> std::result::Result, String> { Ok(match id { @@ -191,10 +191,12 @@ pub fn run() -> sc_cli::Result<()> { match cmd { BenchmarkCmd::Pallet(cmd) => { if cfg!(feature = "runtime-benchmarks") { - runner.sync_run(|config| cmd.run::::ExtendHostFunctions, - >>(config)) + runner.sync_run(|config| { + cmd.run::::ExtendHostFunctions, + >>(config) + }) } else { Err("Benchmarking wasn't enabled when building the node. \ You can enable it with `--features runtime-benchmarks`." @@ -209,8 +211,7 @@ pub fn run() -> sc_cli::Result<()> { BenchmarkCmd::Storage(_) => Err("Storage benchmarking can be enabled with `--features runtime-benchmarks`.".into()), #[cfg(feature = "runtime-benchmarks")] BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| { - let partials = - new_partial(&config)?; + let partials = new_partial(&config)?; let db = partials.backend.expose_db(); let storage = partials.backend.expose_storage(); @@ -230,7 +231,7 @@ pub fn run() -> sc_cli::Result<()> { let _ = builder.init(); let spec = load_spec(¶ms.shared_params.chain.clone().unwrap_or_default())?; - let state_version = Cli::runtime_version(&spec).state_version(); + let state_version = Cli::runtime_version().state_version(); let block: Block = generate_genesis_block(&*spec, state_version)?; let raw_header = block.header().encode(); @@ -325,7 +326,7 @@ pub fn run() -> sc_cli::Result<()> { let parachain_account = AccountIdConversion::::into_account_truncating(&id); - let state_version = Cli::runtime_version(&config.chain_spec).state_version(); + let state_version = Cli::runtime_version().state_version(); let block: Block = generate_genesis_block(&*config.chain_spec, state_version).map_err(|e| format!("{e:?}"))?; @@ -465,7 +466,7 @@ impl CliConfiguration for RelayChainCli { } impl Cli { - fn runtime_version(spec: &Box) -> &'static RuntimeVersion { + fn runtime_version() -> &'static RuntimeVersion { &hydradx_runtime::VERSION } -} \ No newline at end of file +} diff --git a/node/src/service.rs b/node/src/service.rs index 4d7c31ba8..8a4303ef6 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -34,8 +34,8 @@ use cumulus_client_collator::service::CollatorService; use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; use cumulus_client_consensus_proposer::Proposer; use cumulus_client_service::{ - build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, - BuildNetworkParams, CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams, + build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, BuildNetworkParams, + CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams, }; use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; @@ -43,9 +43,7 @@ use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; // Substrate Imports use sc_client_api::Backend; use sc_consensus::ImportQueue; -use sc_executor::{ - HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, -}; +use sc_executor::{HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; use sc_network::NetworkBlock; use sc_network_sync::SyncingService; use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; @@ -77,7 +75,6 @@ type ParachainBackend = TFullBackend; type ParachainBlockImport = TParachainBlockImport, ParachainBackend>; - // /// Build the import queue for the parachain runtime. // pub fn parachain_build_import_queue( // client: Arc>, @@ -153,7 +150,9 @@ pub fn new_partial( let heap_pages = config .default_heap_pages - .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _ }); + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { + extra_pages: h as _, + }); let wasm = WasmExecutor::builder() .with_execution_method(config.wasm_method) @@ -165,12 +164,11 @@ pub fn new_partial( let executor = ParachainExecutor::new_with_wasm_executor(wasm); - let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::( - config, - telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), - executor, - )?; + let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( + config, + telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), + executor, + )?; let client = Arc::new(client); let telemetry_worker_handle = telemetry.as_ref().map(|(worker, _)| worker.handle()); @@ -294,9 +292,7 @@ async fn start_node_impl( runtime_api_provider: client.clone(), keystore: Some(params.keystore_container.keystore()), offchain_db: backend.offchain_storage(), - transaction_pool: Some(OffchainTransactionPoolFactory::new( - transaction_pool.clone(), - )), + transaction_pool: Some(OffchainTransactionPoolFactory::new(transaction_pool.clone())), network_provider: network.clone(), is_validator: parachain_config.role.is_authority(), enable_http_requests: false, @@ -421,24 +417,26 @@ fn build_import_queue( ) -> Result, sc_service::Error> { let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - Ok(cumulus_client_consensus_aura::equivocation_import_queue::fully_verifying_import_queue::< - sp_consensus_aura::sr25519::AuthorityPair, - _, - _, - _, - _, - >( - client, - block_import, - move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - Ok(timestamp) - }, - slot_duration, - &task_manager.spawn_essential_handle(), - config.prometheus_registry(), - telemetry, - )) + Ok( + cumulus_client_consensus_aura::equivocation_import_queue::fully_verifying_import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + >( + client, + block_import, + move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + Ok(timestamp) + }, + slot_duration, + &task_manager.spawn_essential_handle(), + config.prometheus_registry(), + telemetry, + ), + ) } fn start_consensus( @@ -457,9 +455,7 @@ fn start_consensus( overseer_handle: OverseerHandle, announce_block: Arc>) + Send + Sync>, ) -> Result<(), sc_service::Error> { - use cumulus_client_consensus_aura::collators::basic::{ - self as basic_aura, Params as BasicAuraParams, - }; + use cumulus_client_consensus_aura::collators::basic::{self as basic_aura, Params as BasicAuraParams}; // NOTE: because we use Aura here explicitly, we can use `CollatorSybilResistance::Resistant` // when starting the network. @@ -501,10 +497,7 @@ fn start_consensus( authoring_duration: Duration::from_millis(500), }; - let fut = - basic_aura::run::( - params, - ); + let fut = basic_aura::run::(params); task_manager.spawn_essential_handle().spawn("aura", None, fut); Ok(()) @@ -519,4 +512,4 @@ pub async fn start_node( hwbench: Option, ) -> sc_service::error::Result<(TaskManager, Arc)> { start_node_impl(parachain_config, polkadot_config, collator_options, para_id, hwbench).await -} \ No newline at end of file +} diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 9126c5861..9315273e1 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -63,6 +63,7 @@ std = [ "sp-api/std", "frame-benchmarking/std", "scale-info/std", + "polkadot-xcm/std", ] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index 5984f6ace..1cbcf799c 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -17,12 +17,12 @@ #![cfg_attr(not(feature = "std"), no_std)] -use sp_runtime::DispatchError; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::CheckedAdd; use frame_system::pallet_prelude::*; use scale_info::TypeInfo; use sp_arithmetic::traits::BaseArithmetic; +use sp_runtime::DispatchError; use sp_std::convert::TryInto; use sp_std::vec::Vec; diff --git a/pallets/asset-registry/src/mock.rs b/pallets/asset-registry/src/mock.rs index f338ef277..b3cb36938 100644 --- a/pallets/asset-registry/src/mock.rs +++ b/pallets/asset-registry/src/mock.rs @@ -21,11 +21,11 @@ use frame_support::parameter_types; use frame_system as system; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use polkadot_xcm::v3::MultiLocation; @@ -36,17 +36,13 @@ pub type Balance = u128; pub const UNIT: Balance = 1_000_000_000_000; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - Registry: asset_registry::{Pallet, Call, Storage, Event}, + System: frame_system, + Registry: asset_registry, } ); @@ -65,13 +61,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -123,7 +118,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); if let Some(name) = self.native_asset_name { crate::GenesisConfig:: { diff --git a/pallets/bonds/src/tests/mock.rs b/pallets/bonds/src/tests/mock.rs index da070395a..700819798 100644 --- a/pallets/bonds/src/tests/mock.rs +++ b/pallets/bonds/src/tests/mock.rs @@ -21,10 +21,10 @@ use crate::*; use frame_support::{ construct_runtime, parameter_types, sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }, - traits::{ConstU32, ConstU64, Everything, GenesisBuild, SortedMembers}, + traits::{ConstU32, ConstU64, Everything, SortedMembers}, }; use frame_system::EnsureSignedBy; use sp_core::H256; @@ -40,7 +40,6 @@ pub use primitives::constants::{ }, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; @@ -65,10 +64,7 @@ thread_local! { } construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Timestamp: pallet_timestamp, @@ -124,13 +120,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); @@ -247,7 +242,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); REGISTERED_ASSETS.with(|v| { self.registered_assets.iter().for_each(|(asset, existential_details)| { diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 6ebe64d55..1a8fa6015 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -47,6 +47,8 @@ std = [ 'frame-system/std', 'serde/std', 'scale-info/std', + 'pallet-balances/std', + 'orml-tokens/std', ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/pallets/circuit-breaker/src/benchmarking.rs b/pallets/circuit-breaker/src/benchmarking.rs index a95d12585..2d66af78e 100644 --- a/pallets/circuit-breaker/src/benchmarking.rs +++ b/pallets/circuit-breaker/src/benchmarking.rs @@ -54,7 +54,7 @@ benchmarks! { let n in 0 .. 400; let m in 0 .. 400; - let block_num: T::BlockNumber = 5u32.into(); + let block_num: BlockNumberFor = 5u32.into(); frame_system::Pallet::::set_block_number(block_num); Pallet::::on_initialize(block_num); @@ -75,7 +75,7 @@ benchmarks! { verify {} on_finalize_single_liquidity_limit_entry { - let block_num: T::BlockNumber = 5u32.into(); + let block_num: BlockNumberFor = 5u32.into(); frame_system::Pallet::::set_block_number(block_num); Pallet::::on_initialize(block_num); @@ -89,7 +89,7 @@ benchmarks! { verify {} on_finalize_single_trade_limit_entry { - let block_num: T::BlockNumber = 5u32.into(); + let block_num: BlockNumberFor = 5u32.into(); frame_system::Pallet::::set_block_number(block_num); Pallet::::on_initialize(block_num); @@ -103,7 +103,7 @@ benchmarks! { verify {} on_finalize_empty { - let block_num: T::BlockNumber = 5u32.into(); + let block_num: BlockNumberFor = 5u32.into(); frame_system::Pallet::::set_block_number(block_num); Pallet::::on_initialize(block_num); diff --git a/pallets/circuit-breaker/src/lib.rs b/pallets/circuit-breaker/src/lib.rs index 7962ec812..613a2f648 100644 --- a/pallets/circuit-breaker/src/lib.rs +++ b/pallets/circuit-breaker/src/lib.rs @@ -18,11 +18,11 @@ #![cfg_attr(not(feature = "std"), no_std)] use codec::{Decode, Encode}; -use frame_support::weights::Weight; use frame_support::traits::{Contains, EnsureOrigin}; +use frame_support::weights::Weight; use frame_support::{ensure, pallet_prelude::DispatchResult, traits::Get}; use frame_system::ensure_signed_or_root; -use frame_system::pallet_prelude::{OriginFor, BlockNumberFor}; +use frame_system::pallet_prelude::{BlockNumberFor, OriginFor}; use scale_info::TypeInfo; use sp_core::MaxEncodedLen; use sp_runtime::traits::{AtLeast32BitUnsigned, CheckedAdd, CheckedDiv, CheckedMul, CheckedSub, Zero}; diff --git a/pallets/circuit-breaker/src/tests/mock.rs b/pallets/circuit-breaker/src/tests/mock.rs index 6ae036067..4b12df4ec 100644 --- a/pallets/circuit-breaker/src/tests/mock.rs +++ b/pallets/circuit-breaker/src/tests/mock.rs @@ -16,7 +16,7 @@ // limitations under the License. pub use crate as pallet_circuit_breaker; -use frame_support::traits::{Contains, GenesisBuild}; +use frame_support::traits::Contains; pub use frame_support::traits::{Everything, OnFinalize}; pub use frame_support::{assert_noop, assert_ok, parameter_types}; @@ -29,14 +29,12 @@ use sp_runtime::DispatchResult; use sp_runtime::FixedU128; use sp_runtime::Permill; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, - DispatchError, + BuildStorage, DispatchError, }; use std::cell::RefCell; use std::collections::HashMap; use std::marker::PhantomData; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; @@ -81,10 +79,7 @@ thread_local! { } frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Balances: pallet_balances, @@ -106,13 +101,12 @@ impl frame_system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = (); @@ -164,6 +158,10 @@ impl pallet_balances::Config for Test { type MaxLocks = (); type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_type_with_key! { @@ -516,7 +514,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); // Add DAi and HDX as pre-registered assets REGISTERED_ASSETS.with(|v| { diff --git a/pallets/claims/src/lib.rs b/pallets/claims/src/lib.rs index 1d7bd581c..60bc16ff5 100644 --- a/pallets/claims/src/lib.rs +++ b/pallets/claims/src/lib.rs @@ -19,7 +19,6 @@ #![allow(clippy::unused_unit)] use codec::{Decode, Encode}; -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::{ dispatch::{DispatchClass, DispatchResult, Pays}, ensure, @@ -29,10 +28,11 @@ use frame_support::{ }, traits::{Currency, Get, Imbalance, IsSubType}, }; -use sp_runtime::DispatchError; use frame_system::ensure_signed; +use frame_system::pallet_prelude::BlockNumberFor; use primitives::Balance; use scale_info::TypeInfo; +use sp_runtime::DispatchError; use sp_runtime::{traits::Zero, ModuleError}; use sp_std::{marker::PhantomData, prelude::*, vec::Vec}; use weights::WeightInfo; diff --git a/pallets/claims/src/mock.rs b/pallets/claims/src/mock.rs index 350409433..f266311c6 100644 --- a/pallets/claims/src/mock.rs +++ b/pallets/claims/src/mock.rs @@ -23,20 +23,16 @@ use hex_literal::hex; use primitives::Balance; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, ClaimsPallet: claims, @@ -54,13 +50,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -85,6 +80,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = (); type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_types! { @@ -112,7 +111,7 @@ pub struct ExtBuilder; impl ExtBuilder { // builds genesis config pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(42, 0), (43, 0), (44, Balance::MAX - 1)], diff --git a/pallets/claims/src/traits.rs b/pallets/claims/src/traits.rs index 31afe9b26..f5455e58a 100644 --- a/pallets/claims/src/traits.rs +++ b/pallets/claims/src/traits.rs @@ -22,9 +22,9 @@ use codec::{Decode, Encode, MaxEncodedLen}; use sp_io::{crypto::secp256k1_ecdsa_recover, hashing::keccak_256}; use sp_std::vec::Vec; -use scale_info::TypeInfo; -use scale_info::prelude::string::String; use scale_info::prelude::format; +use scale_info::prelude::string::String; +use scale_info::TypeInfo; use serde::{Deserialize, Deserializer, Serialize, Serializer}; diff --git a/pallets/collator-rewards/Cargo.toml b/pallets/collator-rewards/Cargo.toml index a5a25494c..054d2bd92 100644 --- a/pallets/collator-rewards/Cargo.toml +++ b/pallets/collator-rewards/Cargo.toml @@ -58,6 +58,7 @@ std = [ "frame-system/std", "sp-std/std", "orml-traits/std", + "orml-tokens/std", "scale-info/std", "sp-runtime/std", "pallet-balances/std", diff --git a/pallets/collator-rewards/src/mock.rs b/pallets/collator-rewards/src/mock.rs index ac1f2ff39..7fe3582b0 100644 --- a/pallets/collator-rewards/src/mock.rs +++ b/pallets/collator-rewards/src/mock.rs @@ -13,8 +13,8 @@ use pallet_session::SessionManager; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; use sp_staking::SessionIndex; use sp_std::vec::Vec; @@ -24,7 +24,6 @@ type Balance = u128; type Amount = i128; type AssetId = u32; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const GC_COLL_1: AccountId = 1; @@ -40,15 +39,12 @@ pub const NATIVE_TOKEN: AssetId = 0; pub const COLLATOR_REWARD: Balance = 10_000; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - Tokens: orml_tokens::{Pallet, Call, Storage, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, - CollatorRewards: collator_rewards::{Pallet, Storage, Event}, + System: frame_system, + Tokens: orml_tokens, + Balances: pallet_balances, + CollatorRewards: collator_rewards, } ); @@ -62,13 +58,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -118,6 +113,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = (); type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_types! { @@ -159,8 +158,8 @@ pub struct ExtBuilder {} impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - frame_system::GenesisConfig::default() - .build_storage::() + frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/pallets/currencies/Cargo.toml b/pallets/currencies/Cargo.toml index c30bf694a..39041bf6a 100644 --- a/pallets/currencies/Cargo.toml +++ b/pallets/currencies/Cargo.toml @@ -37,7 +37,9 @@ std = [ "sp-io/std", "frame-support/std", "frame-system/std", + "pallet-balances/std", "orml-traits/std", + "orml-tokens/std", "orml-utilities/std", ] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/currencies/src/fungibles.rs b/pallets/currencies/src/fungibles.rs index e8f5a03a2..2fab1c69a 100644 --- a/pallets/currencies/src/fungibles.rs +++ b/pallets/currencies/src/fungibles.rs @@ -1,6 +1,8 @@ use crate::module::{BalanceOf, CurrencyIdOf}; use crate::{Config, Pallet}; -use frame_support::traits::tokens::{fungible, fungibles, DepositConsequence, WithdrawConsequence, Preservation, Precision, Fortitude, Provenance}; +use frame_support::traits::tokens::{ + fungible, fungibles, DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence, +}; use orml_traits::MultiCurrency; use sp_runtime::traits::Get; use sp_runtime::DispatchError; @@ -43,20 +45,40 @@ where } } - fn reducible_balance(asset: Self::AssetId, who: &T::AccountId, preservation: Preservation, force: Fortitude) -> Self::Balance { + fn reducible_balance( + asset: Self::AssetId, + who: &T::AccountId, + preservation: Preservation, + force: Fortitude, + ) -> Self::Balance { if asset == T::GetNativeCurrencyId::get() { >::reducible_balance(who, preservation, force).into() } else { - >::reducible_balance(asset.into(), who, preservation, force) - .into() + >::reducible_balance( + asset.into(), + who, + preservation, + force, + ) + .into() } } - fn can_deposit(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance, provenance: Provenance) -> DepositConsequence { + fn can_deposit( + asset: Self::AssetId, + who: &T::AccountId, + amount: Self::Balance, + provenance: Provenance, + ) -> DepositConsequence { if asset == T::GetNativeCurrencyId::get() { >::can_deposit(who, amount.into(), provenance) } else { - >::can_deposit(asset.into(), who, amount.into(), provenance) + >::can_deposit( + asset.into(), + who, + amount.into(), + provenance, + ) } } @@ -82,11 +104,10 @@ where } } -impl fungibles::Unbalanced - for FungibleCurrencies +impl fungibles::Unbalanced for FungibleCurrencies where T::MultiCurrency: fungibles::Unbalanced, - T::NativeCurrency: fungible::Unbalanced,// + fungible::Inspect, + T::NativeCurrency: fungible::Unbalanced, // + fungible::Inspect, T::MultiCurrency: fungibles::Inspect, >::AssetId: From>, >::Balance: Into> + From>, @@ -98,20 +119,31 @@ where From>::Balance>>, { fn handle_dust(dust: fungibles::Dust) { - let asset= dust.0; + let asset = dust.0; if asset == T::GetNativeCurrencyId::get() { >::handle_dust(fungible::Dust(dust.1.into())) } else { - >::handle_dust(fungibles::Dust(dust.0.into(), dust.1.into())) + >::handle_dust(fungibles::Dust( + dust.0.into(), + dust.1.into(), + )) } } - fn write_balance(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance) -> Result, DispatchError> { + fn write_balance( + asset: Self::AssetId, + who: &T::AccountId, + amount: Self::Balance, + ) -> Result, DispatchError> { if asset == T::GetNativeCurrencyId::get() { let result = >::write_balance(who, amount.into())?; Ok(result.map(|balance| balance.into())) } else { - let result = >::write_balance(asset.into(), who, amount.into())?; + let result = >::write_balance( + asset.into(), + who, + amount.into(), + )?; Ok(result.map(|balance| balance.into())) } } @@ -157,7 +189,11 @@ where Result: From>::Balance, DispatchError>>, { - fn mint_into(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance) -> Result { + fn mint_into( + asset: Self::AssetId, + who: &T::AccountId, + amount: Self::Balance, + ) -> Result { if asset == T::GetNativeCurrencyId::get() { >::mint_into(who, amount.into()).into() } else { @@ -173,9 +209,17 @@ where force: Fortitude, ) -> Result { if asset == T::GetNativeCurrencyId::get() { - >::burn_from(who, amount.into(), precision, force).into() + >::burn_from(who, amount.into(), precision, force) + .into() } else { - >::burn_from(asset.into(), who, amount.into(), precision, force).into() + >::burn_from( + asset.into(), + who, + amount.into(), + precision, + force, + ) + .into() } } } diff --git a/pallets/currencies/src/lib.rs b/pallets/currencies/src/lib.rs index 81fc9e14d..409b33287 100644 --- a/pallets/currencies/src/lib.rs +++ b/pallets/currencies/src/lib.rs @@ -851,7 +851,9 @@ impl TransferAll for Pallet { } use frame_support::traits::fungible::{Dust, Inspect, Mutate, Unbalanced}; -use frame_support::traits::tokens::{DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence}; +use frame_support::traits::tokens::{ + DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence, +}; impl Inspect for BasicCurrencyAdapter @@ -864,7 +866,6 @@ where >::total_issuance() } - fn minimum_balance() -> Self::Balance { >::minimum_balance() } @@ -925,7 +926,12 @@ where >::mint_into(who, amount) } - fn burn_from(who: &AccountId, amount: Self::Balance, precision: Precision, force: Fortitude) -> Result { + fn burn_from( + who: &AccountId, + amount: Self::Balance, + precision: Precision, + force: Fortitude, + ) -> Result { >::burn_from(who, amount, precision, force) } } diff --git a/pallets/currencies/src/mock.rs b/pallets/currencies/src/mock.rs index 7b18fc6d8..0432ffa43 100644 --- a/pallets/currencies/src/mock.rs +++ b/pallets/currencies/src/mock.rs @@ -11,9 +11,8 @@ use frame_support::{ use orml_traits::parameter_type_with_key; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{AccountIdConversion, IdentityLookup}, - AccountId32, + AccountId32, BuildStorage, }; use crate as currencies; @@ -22,13 +21,12 @@ pub type AccountId = AccountId32; impl frame_system::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = ::sp_runtime::traits::BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type BlockWeights = (); @@ -59,6 +57,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<2>; type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_type_with_key! { @@ -105,14 +107,10 @@ impl Config for Runtime { pub type NativeCurrency = NativeCurrencyOf; pub type AdaptedBasicCurrency = BasicCurrencyAdapter; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Runtime { System: frame_system, Currencies: currencies, @@ -149,8 +147,8 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/currencies/src/tests.rs b/pallets/currencies/src/tests.rs index 542d7ff3c..ae941aec1 100644 --- a/pallets/currencies/src/tests.rs +++ b/pallets/currencies/src/tests.rs @@ -234,15 +234,15 @@ fn basic_currency_adapting_pallet_balances_transfer() { assert_ok!(>::transfer( &ALICE, &BOB, 50 )); - assert_eq!(PalletBalances::total_balance(&ALICE), 50); - assert_eq!(PalletBalances::total_balance(&BOB), 150); + assert_eq!(>::total_balance(&ALICE), 50); + assert_eq!(>::total_balance(&BOB), 150); // creation fee assert_ok!(>::transfer( &ALICE, &EVA, 10 )); - assert_eq!(PalletBalances::total_balance(&ALICE), 40); - assert_eq!(PalletBalances::total_balance(&EVA), 10); + assert_eq!(>::total_balance(&ALICE), 40); + assert_eq!(>::total_balance(&EVA), 10); }); } @@ -253,7 +253,7 @@ fn basic_currency_adapting_pallet_balances_deposit() { .build() .execute_with(|| { assert_ok!(AdaptedBasicCurrency::deposit(&EVA, 50)); - assert_eq!(PalletBalances::total_balance(&EVA), 50); + assert_eq!(>::total_balance(&EVA), 50); assert_eq!(PalletBalances::total_issuance(), 250); }); } @@ -264,13 +264,13 @@ fn basic_currency_adapting_pallet_balances_deposit_throw_error_when_actual_depos .one_hundred_for_alice_n_bob() .build() .execute_with(|| { - assert_eq!(PalletBalances::total_balance(&EVA), 0); + assert_eq!(>::total_balance(&EVA), 0); assert_eq!(PalletBalances::total_issuance(), 200); assert_noop!(AdaptedBasicCurrency::deposit(&EVA, 1), Error::::DepositFailed); - assert_eq!(PalletBalances::total_balance(&EVA), 0); + assert_eq!(>::total_balance(&EVA), 0); assert_eq!(PalletBalances::total_issuance(), 200); assert_ok!(AdaptedBasicCurrency::deposit(&EVA, 2)); - assert_eq!(PalletBalances::total_balance(&EVA), 2); + assert_eq!(>::total_balance(&EVA), 2); assert_eq!(PalletBalances::total_issuance(), 202); }); } @@ -282,7 +282,7 @@ fn basic_currency_adapting_pallet_balances_withdraw() { .build() .execute_with(|| { assert_ok!(AdaptedBasicCurrency::withdraw(&ALICE, 100)); - assert_eq!(PalletBalances::total_balance(&ALICE), 0); + assert_eq!(>::total_balance(&ALICE), 0); assert_eq!(PalletBalances::total_issuance(), 100); }); } @@ -297,7 +297,7 @@ fn basic_currency_adapting_pallet_balances_slash() { >::slash(&ALICE, 101), 1 ); - assert_eq!(PalletBalances::total_balance(&ALICE), 0); + assert_eq!(>::total_balance(&ALICE), 0); assert_eq!(PalletBalances::total_issuance(), 100); }); } @@ -309,7 +309,7 @@ fn basic_currency_adapting_pallet_balances_update_balance() { .build() .execute_with(|| { assert_ok!(AdaptedBasicCurrency::update_balance(&ALICE, -10)); - assert_eq!(PalletBalances::total_balance(&ALICE), 90); + assert_eq!(>::total_balance(&ALICE), 90); assert_eq!(PalletBalances::total_issuance(), 190); }); } diff --git a/pallets/currencies/src/tests_fungibles.rs b/pallets/currencies/src/tests_fungibles.rs index 17133fef6..6c524f946 100644 --- a/pallets/currencies/src/tests_fungibles.rs +++ b/pallets/currencies/src/tests_fungibles.rs @@ -21,27 +21,52 @@ fn fungibles_inspect_trait_should_work() { assert_eq!(Tokens::free_balance(X_TOKEN_ID, &BOB), 200); assert_eq!( - FungibleCurrencies::::reducible_balance(NATIVE_CURRENCY_ID, &ALICE, true), + FungibleCurrencies::::reducible_balance( + NATIVE_CURRENCY_ID, + &ALICE, + Preservation::Protect, + Fortitude::Polite + ), 98 ); assert_eq!( - FungibleCurrencies::::reducible_balance(NATIVE_CURRENCY_ID, &ALICE, false), + FungibleCurrencies::::reducible_balance( + NATIVE_CURRENCY_ID, + &ALICE, + Preservation::Expendable, + Fortitude::Polite + ), 100 ); assert_eq!( - FungibleCurrencies::::reducible_balance(X_TOKEN_ID, &BOB, true), + FungibleCurrencies::::reducible_balance( + X_TOKEN_ID, + &BOB, + Preservation::Protect, + Fortitude::Polite + ), 197 ); assert_eq!( - FungibleCurrencies::::reducible_balance(X_TOKEN_ID, &BOB, false), + FungibleCurrencies::::reducible_balance( + X_TOKEN_ID, + &BOB, + Preservation::Expendable, + Fortitude::Polite + ), 200 ); - assert_ok!(FungibleCurrencies::::can_deposit(NATIVE_CURRENCY_ID, &ALICE, 1, false).into_result()); - assert_ok!(FungibleCurrencies::::can_deposit(X_TOKEN_ID, &BOB, 1, false).into_result()); + assert_ok!( + FungibleCurrencies::::can_deposit(NATIVE_CURRENCY_ID, &ALICE, 1, Provenance::Extant) + .into_result() + ); + assert_ok!( + FungibleCurrencies::::can_deposit(X_TOKEN_ID, &BOB, 1, Provenance::Extant).into_result() + ); - assert_ok!(FungibleCurrencies::::can_withdraw(NATIVE_CURRENCY_ID, &ALICE, 1).into_result()); - assert_ok!(FungibleCurrencies::::can_withdraw(X_TOKEN_ID, &BOB, 1).into_result()); + assert_ok!(FungibleCurrencies::::can_withdraw(NATIVE_CURRENCY_ID, &ALICE, 1).into_result(true)); + assert_ok!(FungibleCurrencies::::can_withdraw(X_TOKEN_ID, &BOB, 1).into_result(true)); assert!(FungibleCurrencies::::asset_exists(NATIVE_CURRENCY_ID)); assert!(FungibleCurrencies::::asset_exists(X_TOKEN_ID)); @@ -58,11 +83,14 @@ fn fungibles_mutate_trait_should_work() { assert_ok!(FungibleCurrencies::::mint_into(NATIVE_CURRENCY_ID, &BOB, 10)); assert_eq!(PalletBalances::free_balance(&BOB), 10); - assert_eq!(FungibleCurrencies::::burn_from(X_TOKEN_ID, &ALICE, 4), Ok(4)); + assert_eq!( + FungibleCurrencies::::burn_from(X_TOKEN_ID, &ALICE, 4, Precision::Exact, Fortitude::Polite), + Ok(4) + ); assert_eq!(Tokens::free_balance(X_TOKEN_ID, &ALICE), 6); assert_eq!( - FungibleCurrencies::::burn_from(NATIVE_CURRENCY_ID, &BOB, 4), + FungibleCurrencies::::burn_from(NATIVE_CURRENCY_ID, &BOB, 4, Precision::Exact, Fortitude::Polite), Ok(4) ); assert_eq!(PalletBalances::free_balance(&BOB), 6); @@ -76,25 +104,29 @@ fn fungibles_transfer_trait_should_work() { .build() .execute_with(|| { assert_noop!( - FungibleCurrencies::::transfer(NATIVE_CURRENCY_ID, &ALICE, &BOB, 100, true), - pallet_balances::Error::::KeepAlive + FungibleCurrencies::::transfer(NATIVE_CURRENCY_ID, &ALICE, &BOB, 100, Preservation::Preserve), + pallet_balances::Error::::Expendability ); assert_ok!(FungibleCurrencies::::transfer( NATIVE_CURRENCY_ID, &ALICE, &BOB, 10, - true + Preservation::Protect )); assert_eq!(PalletBalances::free_balance(&ALICE), 90); assert_eq!(PalletBalances::free_balance(&BOB), 10); assert_noop!( - FungibleCurrencies::::transfer(X_TOKEN_ID, &BOB, &ALICE, 100, true), + FungibleCurrencies::::transfer(X_TOKEN_ID, &BOB, &ALICE, 100, Preservation::Preserve), orml_tokens::Error::::KeepAlive ); assert_ok!(FungibleCurrencies::::transfer( - X_TOKEN_ID, &BOB, &ALICE, 10, true + X_TOKEN_ID, + &BOB, + &ALICE, + 10, + Preservation::Protect )); assert_eq!(Tokens::free_balance(X_TOKEN_ID, &BOB), 90); assert_eq!(Tokens::free_balance(X_TOKEN_ID, &ALICE), 10); diff --git a/pallets/dca/src/lib.rs b/pallets/dca/src/lib.rs index 306253c88..2dd4c427e 100644 --- a/pallets/dca/src/lib.rs +++ b/pallets/dca/src/lib.rs @@ -71,7 +71,11 @@ use frame_support::{ transactional, weights::WeightToFee as FrameSupportWeight, }; -use frame_system::{ensure_signed, pallet_prelude::{BlockNumberFor, OriginFor}, Origin}; +use frame_system::{ + ensure_signed, + pallet_prelude::{BlockNumberFor, OriginFor}, + Origin, +}; use hydradx_adapters::RelayChainBlockHashProvider; use hydradx_traits::router::{AmmTradeWeights, AmountInAndOut, RouterT, Trade}; use hydradx_traits::{NativePriceOracle, OraclePeriod, PriceOracle}; diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index 2cec929fc..2a16fcbcc 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -18,7 +18,7 @@ use crate as dca; use crate::{Config, Error, RandomnessProvider, RelayChainBlockHashProvider}; use cumulus_primitives_core::relay_chain::Hash; -use frame_support::traits::{Everything, GenesisBuild, Nothing}; +use frame_support::traits::{Everything, Nothing}; use frame_support::weights::constants::ExtrinsicBaseWeight; use frame_support::weights::WeightToFeeCoefficient; use frame_support::weights::{IdentityFee, Weight}; @@ -37,9 +37,8 @@ use sp_runtime::traits::{AccountIdConversion, BlockNumberProvider, ConstU32}; use sp_runtime::Perbill; use sp_runtime::Permill; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup, One}, - DispatchError, + BuildStorage, DispatchError, }; use hydradx_adapters::inspect::MultiInspectAdapter; @@ -50,7 +49,6 @@ use sp_runtime::{DispatchResult, FixedU128}; use std::cell::RefCell; use std::collections::HashMap; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type Balance = u128; @@ -77,10 +75,7 @@ pub const GENERATED_SEARCH_RADIUSES: [u64; 10] = [1, 3, 6, 10, 28, 34, 114, 207, pub const ONE: Balance = 1_000_000_000_000; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, DCA: dca, @@ -178,13 +173,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -336,6 +330,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = NamedReserveIdentifier; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } impl pallet_currencies::Config for Test { @@ -801,7 +799,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); // Add DAi and HDX as pre-registered assets REGISTERED_ASSETS.with(|v| { if self.register_stable_asset { diff --git a/pallets/democracy/src/benchmarking.rs b/pallets/democracy/src/benchmarking.rs index c447ea722..201850000 100644 --- a/pallets/democracy/src/benchmarking.rs +++ b/pallets/democracy/src/benchmarking.rs @@ -232,7 +232,7 @@ benchmarks! { .collect::>() .try_into() .unwrap(); - Blacklist::::insert(proposal.hash(), (T::BlockNumber::zero(), addresses)); + Blacklist::::insert(proposal.hash(), (BlockNumberFor::::zero(), addresses)); }: _(origin, proposal) verify { // External proposal created @@ -289,7 +289,7 @@ benchmarks! { vetoers.try_push(account::("vetoer", i, SEED)).unwrap(); } vetoers.sort(); - Blacklist::::insert(proposal_hash, (T::BlockNumber::zero(), vetoers)); + Blacklist::::insert(proposal_hash, (BlockNumberFor::::zero(), vetoers)); let origin = T::VetoOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; ensure!(NextExternal::::get().is_some(), "no external proposal"); diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 3b7c817c8..31d94a079 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -164,11 +164,11 @@ use frame_support::{ }, weights::Weight, }; +use frame_system::pallet_prelude::BlockNumberFor; use sp_runtime::{ traits::{Bounded as ArithBounded, One, Saturating, StaticLookup, Zero}, ArithmeticError, DispatchError, DispatchResult, }; -use frame_system::pallet_prelude::BlockNumberFor; use sp_std::prelude::*; use sp_std::vec; @@ -1021,7 +1021,10 @@ pub mod pallet { T::BlacklistOrigin::ensure_origin(origin)?; // Insert the proposal into the blacklist. - let permanent = (BlockNumberFor::::max_value(), BoundedVec::::default()); + let permanent = ( + BlockNumberFor::::max_value(), + BoundedVec::::default(), + ); Blacklist::::insert(&proposal_hash, permanent); // Remove the queued proposal, if it's there. diff --git a/pallets/democracy/src/migrations.rs b/pallets/democracy/src/migrations.rs index 3ca3a8d66..e90671d38 100644 --- a/pallets/democracy/src/migrations.rs +++ b/pallets/democracy/src/migrations.rs @@ -48,7 +48,7 @@ mod v0 { Pallet, frame_support::Twox64Concat, ReferendumIndex, - ReferendumInfo<::BlockNumber, ::Hash, BalanceOf>, + ReferendumInfo, ::Hash, BalanceOf>, >; } @@ -60,12 +60,12 @@ pub mod v1 { impl> OnRuntimeUpgrade for Migration { #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { - assert_eq!(StorageVersion::get::>(), 0, "can only upgrade from version 0"); + fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { + ensure!(StorageVersion::get::>() == 0, "can only upgrade from version 0"); let props_count = v0::PublicProps::::get().len(); log::info!(target: TARGET, "{} public proposals will be migrated.", props_count,); - ensure!(props_count <= T::MaxProposals::get() as usize, "too many proposals"); + ensure!(props_count <= T::MaxProposals::get() as usize, Error::::TooMany); let referenda_count = v0::ReferendumInfoOf::::iter().count(); log::info!(target: TARGET, "{} referenda will be migrated.", referenda_count); @@ -128,15 +128,15 @@ pub mod v1 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), &'static str> { - assert_eq!(StorageVersion::get::>(), 1, "must upgrade"); + fn post_upgrade(state: Vec) -> Result<(), sp_runtime::TryRuntimeError> { + ensure!(StorageVersion::get::>() == 1, "must upgrade"); let (old_props_count, old_ref_count): (u32, u32) = Decode::decode(&mut &state[..]).expect("pre_upgrade provides a valid state; qed"); let new_props_count = crate::PublicProps::::get().len() as u32; - assert_eq!(new_props_count, old_props_count, "must migrate all public proposals"); + ensure!(new_props_count == old_props_count, "must migrate all public proposals"); let new_ref_count = crate::ReferendumInfoOf::::iter().count() as u32; - assert_eq!(new_ref_count, old_ref_count, "must migrate all referenda"); + ensure!(new_ref_count == old_ref_count, "must migrate all referenda"); log::info!( target: TARGET, diff --git a/pallets/democracy/src/tests.rs b/pallets/democracy/src/tests.rs index 699059998..4e1ab95d1 100644 --- a/pallets/democracy/src/tests.rs +++ b/pallets/democracy/src/tests.rs @@ -21,18 +21,15 @@ use super::*; use crate as pallet_democracy; use frame_support::{ assert_noop, assert_ok, ord_parameter_types, parameter_types, - traits::{ - ConstU32, ConstU64, Contains, EqualPrivilegeOnly, GenesisBuild, OnInitialize, SortedMembers, StorePreimage, - }, + traits::{ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, SortedMembers, StorePreimage}, weights::Weight, }; use frame_system::{EnsureRoot, EnsureSignedBy}; use pallet_balances::{BalanceLock, Error as BalancesError}; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BadOrigin, BlakeTwo256, IdentityLookup}, - Perbill, + BuildStorage, Perbill, }; mod cancellation; mod decoders; @@ -61,20 +58,16 @@ const BIG_NAY: Vote = Vote { conviction: Conviction::Locked1x, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, + System: frame_system, + Balances: pallet_balances, Preimage: pallet_preimage, - Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event}, - Democracy: pallet_democracy::{Pallet, Call, Storage, Config, Event}, + Scheduler: pallet_scheduler, + Democracy: pallet_democracy, } ); @@ -82,7 +75,10 @@ frame_support::construct_runtime!( pub struct BaseFilter; impl Contains for BaseFilter { fn contains(call: &RuntimeCall) -> bool { - !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::set_balance { .. })) + !matches!( + call, + &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }) + ) } } @@ -98,14 +94,13 @@ impl frame_system::Config for Test { type BlockLength = (); type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type RuntimeCall = RuntimeCall; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type Version = (); @@ -154,6 +149,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ConstU64<1>; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_types! { pub static PreimageByteDeposit: u64 = 0; @@ -209,7 +208,7 @@ impl Config for Test { } pub fn new_test_ext() -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(1, 10), (2, 20), (3, 30), (4, 40), (5, 50), (6, 60)], } @@ -233,10 +232,9 @@ fn params_should_work() { } fn set_balance_proposal(value: u64) -> BoundedCallOf { - let inner = pallet_balances::Call::set_balance { + let inner = pallet_balances::Call::force_set_balance { who: 42, new_free: value, - new_reserved: 0, }; let outer = RuntimeCall::Balances(inner); Preimage::bound(outer).unwrap() diff --git a/pallets/duster/src/mock.rs b/pallets/duster/src/mock.rs index 0e94e6952..a7b0e7f8f 100644 --- a/pallets/duster/src/mock.rs +++ b/pallets/duster/src/mock.rs @@ -1,7 +1,7 @@ use crate as duster; use frame_support::parameter_types; -use frame_support::traits::{Everything, GenesisBuild, Nothing, OnKilledAccount}; +use frame_support::traits::{Everything, Nothing, OnKilledAccount}; use orml_traits::parameter_type_with_key; use pallet_currencies::BasicCurrencyAdapter; @@ -12,8 +12,8 @@ use frame_system as system; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; use frame_support::weights::Weight; @@ -26,7 +26,6 @@ pub type AssetId = u32; type Balance = u128; type Amount = i128; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; lazy_static::lazy_static! { @@ -41,10 +40,7 @@ parameter_types! { } frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Duster: duster, @@ -56,7 +52,7 @@ frame_support::construct_runtime!( parameter_types! { pub const BlockHashCount: u64 = 250; - pub const MaximumBlockWeight: Weight = Weight::from_ref_time(1024); + pub const MaximumBlockWeight: Weight = Weight::from_parts(1024, 0); pub const MaximumBlockLength: u32 = 2 * 1024; pub const SS58Prefix: u8 = 63; @@ -85,13 +81,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -167,6 +162,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = (); type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } pub struct ExtBuilder { @@ -193,7 +192,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: self.native_balances, diff --git a/pallets/dynamic-fees/src/lib.rs b/pallets/dynamic-fees/src/lib.rs index 64a1ded2f..24365cf1b 100644 --- a/pallets/dynamic-fees/src/lib.rs +++ b/pallets/dynamic-fees/src/lib.rs @@ -55,8 +55,8 @@ #![cfg_attr(not(feature = "std"), no_std)] -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::traits::Get; +use frame_system::pallet_prelude::BlockNumberFor; use orml_traits::GetByKey; use sp_runtime::traits::{BlockNumberProvider, Saturating}; use sp_runtime::{FixedPointOperand, PerThing, SaturatedConversion}; diff --git a/pallets/dynamic-fees/src/tests/mock.rs b/pallets/dynamic-fees/src/tests/mock.rs index c3441309e..329ce9f22 100644 --- a/pallets/dynamic-fees/src/tests/mock.rs +++ b/pallets/dynamic-fees/src/tests/mock.rs @@ -20,6 +20,8 @@ use sp_std::prelude::*; use std::cell::RefCell; +use crate::tests::oracle::Oracle; +use crate::types::{FeeEntry, FeeParams}; use crate::{Config, UpdateAndRetrieveFees, Volume, VolumeProvider}; use frame_support::{ @@ -30,17 +32,11 @@ use orml_traits::GetByKey; pub use orml_traits::MultiCurrency; use sp_core::H256; use sp_runtime::{ - testing::Header, - traits::{BlakeTwo256, IdentityLookup}, - FixedU128, Perquintill, + traits::{BlakeTwo256, IdentityLookup, One, Zero}, + BuildStorage, FixedU128, Perquintill, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; -use crate::tests::oracle::Oracle; -use crate::types::{FeeEntry, FeeParams}; -use sp_runtime::traits::{One, Zero}; - pub type Balance = u128; pub type AssetId = u32; pub type AccountId = u64; @@ -68,13 +64,10 @@ fn fee_params_default() -> FeeParams { } construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - DynamicFees: crate::{Pallet, Call, Storage, Event}, + System: frame_system, + DynamicFees: crate, } ); @@ -84,13 +77,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); @@ -180,8 +172,8 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut r: sp_io::TestExternalities = frame_system::GenesisConfig::default() - .build_storage::() + let mut r: sp_io::TestExternalities = frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into(); r.execute_with(|| { diff --git a/pallets/ema-oracle/src/lib.rs b/pallets/ema-oracle/src/lib.rs index 71bc3e979..b0f655da5 100644 --- a/pallets/ema-oracle/src/lib.rs +++ b/pallets/ema-oracle/src/lib.rs @@ -66,9 +66,9 @@ #![cfg_attr(not(feature = "std"), no_std)] -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::{BlockNumberProvider, One, Zero}; +use frame_system::pallet_prelude::BlockNumberFor; use hydradx_traits::{ AggregatedEntry, AggregatedOracle, AggregatedPriceOracle, Liquidity, OnCreatePoolHandler, OnLiquidityChangedHandler, OnTradeHandler, @@ -311,26 +311,28 @@ impl Pallet { // update the entry to the parent block if it hasn't been updated for a while if parent > prev_entry.updated_at { Self::last_block_oracle(src, assets, parent) - .and_then(|(last_block, _)| { - prev_entry.update_outdated_to_current(period, &last_block).map(|_| ()) - }).unwrap_or_else(|| { - log::warn!( - target: LOG_TARGET, - "Updating EMA oracle ({src:?}, {assets:?}, {period:?}) to parent block failed. Defaulting to previous value." - ); - debug_assert!(false, "Updating to parent block should not fail."); - }) + .and_then(|(last_block, _)| { + prev_entry.update_outdated_to_current(period, &last_block).map(|_| ()) + }) + .unwrap_or_else(|| { + log::warn!( + target: LOG_TARGET, + "Updating EMA oracle ({src:?}, {assets:?}, {period:?}) to parent block failed. Defaulting to previous value." + ); + debug_assert!(false, "Updating to parent block should not fail."); + }) } // calculate the actual update with the new value - prev_entry.update_to_new_by_integrating_incoming(period, &incoming_entry) - .map(|_| ()) - .unwrap_or_else(|| { - log::warn!( - target: LOG_TARGET, - "Updating EMA oracle ({src:?}, {assets:?}, {period:?}) to new value failed. Defaulting to previous value." - ); - debug_assert!(false, "Updating to new value should not fail."); - }); + prev_entry + .update_to_new_by_integrating_incoming(period, &incoming_entry) + .map(|_| ()) + .unwrap_or_else(|| { + log::warn!( + target: LOG_TARGET, + "Updating EMA oracle ({src:?}, {assets:?}, {period:?}) to new value failed. Defaulting to previous value." + ); + debug_assert!(false, "Updating to new value should not fail."); + }); }; }); } diff --git a/pallets/ema-oracle/src/tests/mock.rs b/pallets/ema-oracle/src/tests/mock.rs index c4de546cd..bfde2a003 100644 --- a/pallets/ema-oracle/src/tests/mock.rs +++ b/pallets/ema-oracle/src/tests/mock.rs @@ -18,14 +18,14 @@ use crate as ema_oracle; use crate::Config; use ema_oracle::OracleEntry; -use frame_support::bounded_vec; use frame_support::pallet_prelude::ConstU32; use frame_support::parameter_types; use frame_support::sp_runtime::{ - testing::Header, + bounded_vec, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::BoundedVec; use hydradx_traits::OraclePeriod::{self, *}; use hydradx_traits::{AssetPairAccountIdFor, Liquidity, Volume}; @@ -36,7 +36,6 @@ pub use hydradx_traits::Source; use crate::types::{AssetId, Balance, Price}; pub type BlockNumber = u64; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; use crate::MAX_PERIODS; @@ -69,10 +68,7 @@ pub const ORACLE_ENTRY_2: OracleEntry = OracleEntry { }; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, EmaOracle: ema_oracle, @@ -90,13 +86,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = BlockNumber; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -150,14 +145,14 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); - GenesisBuild::::assimilate_storage( - &crate::GenesisConfig { - initial_data: self.initial_data, - }, - &mut t, - ) + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); + crate::GenesisConfig:: { + initial_data: self.initial_data, + ..Default::default() + } + .assimilate_storage(&mut t) .unwrap(); + let mut ext: sp_io::TestExternalities = t.into(); ext.execute_with(|| { System::set_block_number(0); diff --git a/pallets/genesis-history/src/lib.rs b/pallets/genesis-history/src/lib.rs index ded84152b..1224de36f 100644 --- a/pallets/genesis-history/src/lib.rs +++ b/pallets/genesis-history/src/lib.rs @@ -31,7 +31,9 @@ mod tests; pub mod migration; -#[derive(Encode, Decode, Serialize, Deserialize, Clone, Default, PartialEq, Eq, RuntimeDebug, MaxEncodedLen, TypeInfo)] +#[derive( + Encode, Decode, Serialize, Deserialize, Clone, Default, PartialEq, Eq, RuntimeDebug, MaxEncodedLen, TypeInfo, +)] pub struct Chain { pub genesis_hash: H256, pub last_block_hash: H256, diff --git a/pallets/genesis-history/src/mock.rs b/pallets/genesis-history/src/mock.rs index 683da7365..f3302d8f6 100644 --- a/pallets/genesis-history/src/mock.rs +++ b/pallets/genesis-history/src/mock.rs @@ -22,18 +22,14 @@ use frame_support::traits::Everything; use frame_system as system; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, GenesisHistory: pallet_genesis_history, @@ -52,13 +48,12 @@ impl system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = (); @@ -82,12 +77,13 @@ pub struct ExtBuilder { impl ExtBuilder { // builds genesis config pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); - let build = pallet_genesis_history::GenesisConfig { + let build = pallet_genesis_history::GenesisConfig:: { previous_chain: self.chain, + ..Default::default() }; - build.assimilate_storage::(&mut t).unwrap(); + build.assimilate_storage(&mut t).unwrap(); t.into() } } diff --git a/pallets/lbp/src/benchmarking.rs b/pallets/lbp/src/benchmarking.rs index e9bba5295..1485bb8ac 100644 --- a/pallets/lbp/src/benchmarking.rs +++ b/pallets/lbp/src/benchmarking.rs @@ -59,8 +59,8 @@ benchmarks! { let caller = funded_account::("caller", 0); let fee_collector = funded_account::("fee_collector", 0); let pool_id = LBP::::pair_account_from_assets(ASSET_A_ID, ASSET_B_ID); - let new_start = Some(T::BlockNumber::from(50_u32)); - let new_end = Some(T::BlockNumber::from(100_u32)); + let new_start = Some(BlockNumberFor::::from(50_u32)); + let new_end = Some(BlockNumberFor::::from(100_u32)); let new_initial_weight = 45_250_600; let new_final_weight = 55_250_600; let fee = (5, 1000); @@ -117,12 +117,12 @@ benchmarks! { LBP::::create_pool(RawOrigin::Root.into(), caller.clone(), ASSET_A_ID, ASSET_A_AMOUNT, ASSET_B_ID, ASSET_B_AMOUNT, INITIAL_WEIGHT, FINAL_WEIGHT, WeightCurveType::Linear, DEFAULT_FEE, fee_collector, 0)?; ensure!(PoolData::::contains_key(&pool_id), "Pool does not exist."); - let start = T::BlockNumber::from(1u32); - let end = T::BlockNumber::from(11u32); + let start = BlockNumberFor::::from(1u32); + let end = BlockNumberFor::::from(11u32); LBP::::update_pool_data(RawOrigin::Signed(caller.clone()).into(), pool_id, None, Some(start), Some(end), None, None, None, None, None)?; - frame_system::Pallet::::set_block_number(T::BlockNumber::from(2u32)); + frame_system::Pallet::::set_block_number(BlockNumberFor::::from(2u32)); }: _(RawOrigin::Signed(caller.clone()), asset_in, asset_out, amount, max_limit) verify{ @@ -142,12 +142,12 @@ benchmarks! { LBP::::create_pool(RawOrigin::Root.into(), caller.clone(), ASSET_A_ID, ASSET_A_AMOUNT, ASSET_B_ID, ASSET_B_AMOUNT, INITIAL_WEIGHT, FINAL_WEIGHT, WeightCurveType::Linear, DEFAULT_FEE, fee_collector, 0)?; ensure!(PoolData::::contains_key(&pool_id), "Pool does not exist."); - let start = T::BlockNumber::from(1u32); - let end = T::BlockNumber::from(11u32); + let start = BlockNumberFor::::from(1u32); + let end = BlockNumberFor::::from(11u32); LBP::::update_pool_data(RawOrigin::Signed(caller.clone()).into(), pool_id, None, Some(start), Some(end), None, None, None, None, None)?; - frame_system::Pallet::::set_block_number(T::BlockNumber::from(2u32)); + frame_system::Pallet::::set_block_number(BlockNumberFor::::from(2u32)); }: _(RawOrigin::Signed(caller.clone()), asset_out, asset_in, amount, max_limit) verify{ @@ -171,12 +171,12 @@ benchmarks! { LBP::::create_pool(RawOrigin::Root.into(), caller.clone(), ASSET_A_ID, ASSET_A_AMOUNT, ASSET_B_ID, ASSET_B_AMOUNT, INITIAL_WEIGHT, FINAL_WEIGHT, WeightCurveType::Linear, DEFAULT_FEE, fee_collector, 0)?; ensure!(PoolData::::contains_key(&pool_id), "Pool does not exist."); - let start = T::BlockNumber::from(1u32); - let end = T::BlockNumber::from(11u32); + let start = BlockNumberFor::::from(1u32); + let end = BlockNumberFor::::from(11u32); LBP::::update_pool_data(RawOrigin::Signed(caller.clone()).into(), pool_id, None, Some(start), Some(end), None, None, None, None, None)?; - frame_system::Pallet::::set_block_number(T::BlockNumber::from(2u32)); + frame_system::Pallet::::set_block_number(BlockNumberFor::::from(2u32)); }: { for _ in 1..c { @@ -209,12 +209,12 @@ benchmarks! { LBP::::create_pool(RawOrigin::Root.into(), caller.clone(), ASSET_A_ID, ASSET_A_AMOUNT, ASSET_B_ID, ASSET_B_AMOUNT, INITIAL_WEIGHT, FINAL_WEIGHT, WeightCurveType::Linear, DEFAULT_FEE, fee_collector, 0)?; ensure!(PoolData::::contains_key(&pool_id), "Pool does not exist."); - let start = T::BlockNumber::from(1u32); - let end = T::BlockNumber::from(11u32); + let start = BlockNumberFor::::from(1u32); + let end = BlockNumberFor::::from(11u32); LBP::::update_pool_data(RawOrigin::Signed(caller.clone()).into(), pool_id, None, Some(start), Some(end), None, None, None, None, None)?; - frame_system::Pallet::::set_block_number(T::BlockNumber::from(2u32)); + frame_system::Pallet::::set_block_number(BlockNumberFor::::from(2u32)); }: { for _ in 1..c { diff --git a/pallets/lbp/src/invariants.rs b/pallets/lbp/src/invariants.rs index 22ca840b4..0a375c65e 100644 --- a/pallets/lbp/src/invariants.rs +++ b/pallets/lbp/src/invariants.rs @@ -126,7 +126,7 @@ proptest! { )); let block_num = 10; - set_block_number::(block_num); + set_block_number(block_num); let before = invariant(pool_id, asset_a, asset_b, block_num); assert_ok!(filter_errors(LBPPallet::sell(Origin::signed(ALICE), asset_a, asset_b, sell_amount, 0,))); @@ -186,7 +186,7 @@ proptest! { )); let block_num = 10; - set_block_number::(block_num); + set_block_number(block_num); let before = invariant(pool_id, asset_a, asset_b, block_num); assert_ok!(filter_errors(LBPPallet::sell(Origin::signed(ALICE), asset_b, asset_a, sell_amount, 0,))); @@ -245,7 +245,7 @@ proptest! { )); let block_num = 10; - set_block_number::(block_num); + set_block_number(block_num); let before = invariant(pool_id, asset_a, asset_b, block_num); assert_ok!(filter_errors(LBPPallet::buy(Origin::signed(ALICE), asset_b, asset_a, buy_amount, u128::MAX,))); @@ -304,7 +304,7 @@ proptest! { )); let block_num = 10; - set_block_number::(block_num); + set_block_number(block_num); let before = invariant(pool_id, asset_a, asset_b, block_num); assert_ok!(filter_errors(LBPPallet::buy(Origin::signed(ALICE), asset_a, asset_b, buy_amount, u128::MAX,))); diff --git a/pallets/lbp/src/lib.rs b/pallets/lbp/src/lib.rs index 9dc1b5d94..376be5c0d 100644 --- a/pallets/lbp/src/lib.rs +++ b/pallets/lbp/src/lib.rs @@ -69,17 +69,12 @@ type BalanceOf = <::MultiCurrency as MultiCurrency< = ::AccountId; #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] -#[derive(RuntimeDebug, Encode, Decode, Copy, Clone, PartialEq, Eq, TypeInfo, MaxEncodedLen)] +#[derive(Default, RuntimeDebug, Encode, Decode, Copy, Clone, PartialEq, Eq, TypeInfo, MaxEncodedLen)] pub enum WeightCurveType { + #[default] Linear, } -impl Default for WeightCurveType { - fn default() -> Self { - WeightCurveType::Linear - } -} - /// Max weight corresponds to 100% pub const MAX_WEIGHT: LBPWeight = 100_000_000; diff --git a/pallets/lbp/src/mock.rs b/pallets/lbp/src/mock.rs index 6f247e052..04061575b 100644 --- a/pallets/lbp/src/mock.rs +++ b/pallets/lbp/src/mock.rs @@ -4,21 +4,20 @@ use super::*; use crate as lbp; use crate::{AssetPairAccountIdFor, Config}; use frame_support::parameter_types; -use frame_support::traits::{Everything, GenesisBuild, LockIdentifier, Nothing}; +use frame_support::traits::{Everything, LockIdentifier, Nothing}; use hydradx_traits::LockedBalance; use orml_traits::parameter_type_with_key; use primitives::constants::chain::{AssetId, Balance, CORE_ASSET_ID}; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; use std::collections::BTreeMap; pub type Amount = i128; pub type AccountId = u64; pub type BlockNumber = u64; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const INITIAL_BALANCE: Balance = 1_000_000_000_000_000u128; @@ -69,10 +68,7 @@ pub const SAMPLE_AMM_TRANSFER: AMMTransfer; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -215,7 +210,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); orml_tokens::GenesisConfig:: { balances: self.endowed_accounts, @@ -227,16 +222,16 @@ impl ExtBuilder { } } -pub fn set_block_number>(n: u64) { - frame_system::Pallet::::set_block_number(n); +pub fn set_block_number(n: u64) { + frame_system::Pallet::::set_block_number(n); } pub fn run_to_sale_start() { - set_block_number::(SALE_START.unwrap()); + set_block_number(SALE_START.unwrap()); } pub fn run_to_sale_end() { - set_block_number::(SALE_END.unwrap() + 1); + set_block_number(SALE_END.unwrap() + 1); } pub fn generate_trades( diff --git a/pallets/lbp/src/tests.rs b/pallets/lbp/src/tests.rs index 2ea4b6ee4..fc19e93e3 100644 --- a/pallets/lbp/src/tests.rs +++ b/pallets/lbp/src/tests.rs @@ -26,9 +26,9 @@ pub use crate::mock::{ set_block_number, Currency, ExtBuilder, LBPPallet, RuntimeEvent as TestEvent, RuntimeOrigin as Origin, Test, ALICE, BOB, BSX, CHARLIE, ETH, HDX, KUSD, }; -use frame_support::{assert_err, assert_noop, assert_ok, dispatch::Dispatchable}; +use frame_support::{assert_err, assert_noop, assert_ok}; use hydradx_traits::{AMMTransfer, LockedBalance}; -use sp_runtime::traits::BadOrigin; +use sp_runtime::traits::{BadOrigin, Dispatchable}; use sp_std::convert::TryInto; use primitives::asset::AssetPair; @@ -36,7 +36,7 @@ use primitives::constants::chain::CORE_ASSET_ID; pub fn new_test_ext() -> sp_io::TestExternalities { let mut ext = ExtBuilder::default().build(); - ext.execute_with(|| set_block_number::(1)); + ext.execute_with(|| set_block_number(1)); ext } @@ -184,7 +184,7 @@ pub fn start_50_50_lbp_without_fee_and_repay_target( )); //start sale - set_block_number::(11); + set_block_number(11); pool_id } @@ -878,7 +878,7 @@ fn update_pool_with_invalid_data_should_not_work() { Error::::InvalidBlockRange ); - set_block_number::(6); + set_block_number(6); assert_noop!( LBPPallet::update_pool_data( @@ -1036,7 +1036,7 @@ fn update_pool_data_for_running_lbp_should_not_work() { None, )); - set_block_number::(16); + set_block_number(16); // update starting block and final weights assert_noop!( @@ -1119,7 +1119,7 @@ fn update_pool_interval_should_work() { 0, )); - set_block_number::(15); + set_block_number(15); assert_noop!( LBPPallet::update_pool_data( @@ -1345,7 +1345,7 @@ fn add_liquidity_with_insufficient_balance_should_not_work() { #[test] fn add_liquidity_after_sale_started_should_work() { predefined_test_ext().execute_with(|| { - set_block_number::(15); + set_block_number(15); let user_balance_a_before = Currency::free_balance(KUSD, &ALICE); let user_balance_b_before = Currency::free_balance(BSX, &ALICE); @@ -1381,7 +1381,7 @@ fn add_liquidity_after_sale_started_should_work() { assert_eq!(user_balance_b_after, user_balance_b_before.saturating_sub(1_000)); // sale ended at the block number 20 - set_block_number::(30); + set_block_number(30); let user_balance_a_before = Currency::free_balance(KUSD, &ALICE); let user_balance_b_before = Currency::free_balance(BSX, &ALICE); @@ -1431,7 +1431,7 @@ fn add_liquidity_to_non_existing_pool_should_not_work() { #[test] fn remove_liquidity_should_work() { predefined_test_ext().execute_with(|| { - set_block_number::(41); + set_block_number(41); let user_balance_a_before = Currency::free_balance(KUSD, &ALICE); let user_balance_b_before = Currency::free_balance(BSX, &ALICE); @@ -1592,7 +1592,7 @@ fn remove_liquidity_from_non_existing_pool_should_not_work() { #[test] fn remove_liquidity_from_not_finalized_pool_should_not_work() { predefined_test_ext().execute_with(|| { - set_block_number::(15); + set_block_number(15); let user_balance_a_before = Currency::free_balance(KUSD, &ALICE); let user_balance_b_before = Currency::free_balance(BSX, &ALICE); @@ -1621,7 +1621,7 @@ fn remove_liquidity_from_not_finalized_pool_should_not_work() { #[test] fn remove_liquidity_from_finalized_pool_should_work() { predefined_test_ext().execute_with(|| { - set_block_number::(41); + set_block_number(41); let user_balance_a_before = Currency::free_balance(KUSD, &ALICE); let user_balance_b_before = Currency::free_balance(BSX, &ALICE); @@ -2066,7 +2066,7 @@ fn buy_from_non_existing_pool_should_not_work() { #[test] fn exceed_max_in_ratio_should_not_work() { predefined_test_ext().execute_with(|| { - set_block_number::(11); //start sale + set_block_number(11); //start sale assert_noop!( LBPPallet::sell( Origin::signed(BOB), @@ -2098,7 +2098,7 @@ fn exceed_max_in_ratio_should_not_work() { #[test] fn exceed_max_out_ratio_should_not_work() { predefined_test_ext().execute_with(|| { - set_block_number::(11); //start sale + set_block_number(11); //start sale // max_ratio_out + 1 should not work assert_noop!( @@ -2130,7 +2130,7 @@ fn trade_in_non_running_pool_should_not_work() { let limit = 200_000_u128; //sale not started - set_block_number::(9); + set_block_number(9); assert_noop!( LBPPallet::sell(Origin::signed(who), asset_in, asset_out, amount, limit), Error::::SaleIsNotRunning @@ -2141,7 +2141,7 @@ fn trade_in_non_running_pool_should_not_work() { ); //sale ended - set_block_number::(41); + set_block_number(41); assert_noop!( LBPPallet::sell(Origin::signed(who), asset_in, asset_out, amount, limit), Error::::SaleIsNotRunning @@ -2164,7 +2164,7 @@ fn exceed_trader_limit_should_not_work() { let buy_limit = 1_000_u128; //start sale - set_block_number::(11); + set_block_number(11); assert_noop!( LBPPallet::sell(Origin::signed(who), asset_in, asset_out, amount, sell_limit), Error::::TradingLimitReached @@ -2189,7 +2189,7 @@ fn sell_with_insufficient_balance_should_not_work() { Currency::set_balance(Origin::root(), who, asset_out, 100_000, 0).unwrap(); //start sale - set_block_number::(11); + set_block_number(11); assert_noop!( LBPPallet::sell(Origin::signed(who), asset_in, asset_out, amount, 800_000_u128), @@ -2216,7 +2216,7 @@ fn buy_with_insufficient_balance_should_not_work() { Currency::set_balance(Origin::root(), who, asset_out, 100_000, 0).unwrap(); //start sale - set_block_number::(11); + set_block_number(11); assert_noop!( LBPPallet::buy(Origin::signed(who), asset_out, asset_in, amount, 2_000_000_u128), @@ -2275,7 +2275,7 @@ fn buy_should_work() { let pool_id = LBPPallet::get_pair_id(AssetPair { asset_in, asset_out }); //start sale - set_block_number::(11); + set_block_number(11); assert_ok!(LBPPallet::buy( Origin::signed(buyer), asset_out, @@ -2369,7 +2369,7 @@ fn buy_should_work() { .into()]); //start sale - set_block_number::(21); + set_block_number(21); assert_ok!(LBPPallet::buy( Origin::signed(buyer), asset_out, @@ -2393,7 +2393,7 @@ fn buy_should_work_when_limit_is_set_above_account_balance() { let asset_out = BSX; //start sale - set_block_number::(11); + set_block_number(11); assert_ok!(LBPPallet::buy( Origin::signed(buyer), @@ -2415,7 +2415,7 @@ fn buy_should_work_when_limit_is_set_above_account_balance() { .into()]); // swap assets - set_block_number::(11); + set_block_number(11); assert_ok!(LBPPallet::buy( Origin::signed(buyer), asset_in, @@ -2446,7 +2446,7 @@ fn update_pool_data_after_sale_should_not_work() { let pool_id = LBPPallet::get_pair_id(AssetPair { asset_in, asset_out }); //start sale - set_block_number::(11); + set_block_number(11); assert_ok!(LBPPallet::buy( Origin::signed(buyer), asset_out, @@ -2461,7 +2461,7 @@ fn update_pool_data_after_sale_should_not_work() { assert_eq!(Currency::free_balance(asset_out, &pool_id), 1_990_000_000); assert_eq!(Currency::free_balance(asset_in, &CHARLIE), 35_860); - set_block_number::(41); + set_block_number(41); expect_events(vec![Event::BuyExecuted { who: buyer, @@ -2501,7 +2501,7 @@ fn sell_should_work() { let pool_id = LBPPallet::get_pair_id(AssetPair { asset_in, asset_out }); //start sale - set_block_number::(11); + set_block_number(11); assert_ok!(LBPPallet::sell( Origin::signed(buyer), @@ -2596,7 +2596,7 @@ fn sell_should_work() { .into()]); //start sale - set_block_number::(21); + set_block_number(21); assert_ok!(LBPPallet::sell( Origin::signed(buyer), asset_out, @@ -2798,7 +2798,7 @@ fn buy_small_amount_should_return_non_zero_amount() { let pool_id = start_50_50_lbp_without_fee_and_repay_target(asset_in, reserve_in, asset_out, reserve_out); //start sale - set_block_number::(11); + set_block_number(11); let buy_amount = 1_000; @@ -2846,7 +2846,7 @@ fn zero_fee_should_work() { )); //start sale - set_block_number::(11); + set_block_number(11); assert_ok!(LBPPallet::sell(Origin::signed(ALICE), KUSD, BSX, 1_000, 1,)); }); @@ -2891,7 +2891,7 @@ fn amm_trait_should_work() { asset_out: HDX, }; - set_block_number::(11); + set_block_number(11); assert!(LBPPallet::exists(asset_pair)); assert!(LBPPallet::exists(reversed_asset_pair)); @@ -3013,7 +3013,7 @@ fn get_spot_price_should_work() { None )); - set_block_number::(10); + set_block_number(10); let price = hydra_dx_math::lbp::calculate_spot_price( 1_000_000_000_u128, @@ -3039,7 +3039,7 @@ fn get_spot_price_should_work() { assert_eq!(LBPPallet::get_spot_price_unchecked(BSX, KUSD, 1_000_000_u128), price); // change weights - set_block_number::(20); + set_block_number(20); let price = hydra_dx_math::lbp::calculate_spot_price( 1_000_000_000_u128, @@ -3059,7 +3059,7 @@ fn get_spot_price_should_work() { assert_eq!(LBPPallet::get_spot_price_unchecked(KUSD, BSX, u128::MAX), 0); // sale ended - set_block_number::(21); + set_block_number(21); assert_eq!(LBPPallet::get_spot_price_unchecked(KUSD, BSX, 1_000_000), 0); }); } @@ -3167,12 +3167,12 @@ fn simulate_lbp_event_should_work() { None )); - set_block_number::(sale_start.checked_sub(1).unwrap()); + set_block_number(sale_start.checked_sub(1).unwrap()); //frame_system::Pallet::::set_block_number(sale_start + 1); // start LBP for block_num in sale_start..=sale_end { - set_block_number::(block_num); + set_block_number(block_num); if let Some((is_buy, amount)) = trades.get(&block_num) { if *is_buy { @@ -3196,7 +3196,7 @@ fn simulate_lbp_event_should_work() { } // end LBP and consolidate results - set_block_number::(sale_end.checked_add(1).unwrap()); + set_block_number(sale_end.checked_add(1).unwrap()); let pool_account_result_asset_in = Currency::free_balance(asset_in, &pool_account); let pool_account_result_asset_out = Currency::free_balance(asset_out, &pool_account); @@ -3304,7 +3304,7 @@ fn validate_trade_should_work() { #[test] fn validate_trade_should_not_work() { predefined_test_ext().execute_with(|| { - set_block_number::(9); + set_block_number(9); assert_noop!( LBPPallet::validate_buy( @@ -3320,7 +3320,7 @@ fn validate_trade_should_not_work() { Error::::SaleIsNotRunning ); - set_block_number::(10); + set_block_number(10); assert_noop!( LBPPallet::validate_buy( @@ -3466,18 +3466,17 @@ fn get_sorted_weight_should_work() { let pool = LBPPallet::pool_data(KUSD_BSX_POOL_ID).unwrap(); assert_eq!( - LBPPallet::get_sorted_weight(KUSD, ::BlockNumber::from(10u32), &pool) - .unwrap(), + LBPPallet::get_sorted_weight(KUSD, BlockNumberFor::::from(10u32), &pool).unwrap(), (20_000_000, 80_000_000), ); assert_eq!( - LBPPallet::get_sorted_weight(BSX, ::BlockNumber::from(10u32), &pool).unwrap(), + LBPPallet::get_sorted_weight(BSX, BlockNumberFor::::from(10u32), &pool).unwrap(), (80_000_000, 20_000_000), ); assert_err!( - LBPPallet::get_sorted_weight(KUSD, ::BlockNumber::from(41u32), &pool) + LBPPallet::get_sorted_weight(KUSD, BlockNumberFor::::from(41u32), &pool) .map_err(Into::::into), Error::::InvalidWeight ); @@ -3590,14 +3589,14 @@ fn can_create_should_work() { asset_pair.asset_out )); - set_block_number::(15); + set_block_number(15); // pool is running assert!(!DisallowWhenLBPPoolRunning::::can_create( asset_pair.asset_in, asset_pair.asset_out )); - set_block_number::(30); + set_block_number(30); // sale ended assert!(DisallowWhenLBPPoolRunning::::can_create( asset_pair.asset_in, @@ -3797,12 +3796,12 @@ fn simulate_lbp_event_with_repayment() { None )); - set_block_number::(sale_start.checked_sub(1).unwrap()); + set_block_number(sale_start.checked_sub(1).unwrap()); //frame_system::Pallet::::set_block_number(sale_start + 1); // start LBP for block_num in sale_start..=sale_end { - set_block_number::(block_num); + set_block_number(block_num); println!("{}", LBPPallet::get_spot_price_unchecked(HDX, BSX, 100_000_000_000)); if let Some((is_buy, amount)) = trades.get(&block_num) { if *is_buy { @@ -3826,7 +3825,7 @@ fn simulate_lbp_event_with_repayment() { } // end LBP and consolidate results - set_block_number::(sale_end.checked_add(1).unwrap()); + set_block_number(sale_end.checked_add(1).unwrap()); let pool_account_result_asset_in = Currency::free_balance(accumulated_asset, &pool_account); let pool_account_result_asset_out = Currency::free_balance(sold_asset, &pool_account); diff --git a/pallets/liquidity-mining/Cargo.toml b/pallets/liquidity-mining/Cargo.toml index f49cd3f62..b3da447e7 100644 --- a/pallets/liquidity-mining/Cargo.toml +++ b/pallets/liquidity-mining/Cargo.toml @@ -50,6 +50,8 @@ std = [ "frame-system/std", "sp-std/std", "orml-traits/std", + "orml-tokens/std", + "pallet-balances/std", "hydradx-traits/std", "sp-arithmetic/std", "sp-runtime/std", diff --git a/pallets/liquidity-mining/src/tests/mock.rs b/pallets/liquidity-mining/src/tests/mock.rs index f958404b3..8be1303f8 100644 --- a/pallets/liquidity-mining/src/tests/mock.rs +++ b/pallets/liquidity-mining/src/tests/mock.rs @@ -20,19 +20,14 @@ use super::*; use crate::Config; use crate::{self as liq_mining, types::DefaultPriceAdjustment}; -use frame_support::{ - parameter_types, - traits::Contains, - traits::{Everything, GenesisBuild}, - PalletId, -}; +use frame_support::{parameter_types, traits::Contains, traits::Everything, PalletId}; use frame_system as system; use hydradx_traits::{pools::DustRemovalAccountWhitelist, registry::Registry, AssetKind, AMM}; use orml_traits::GetByKey; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, BlockNumberProvider, IdentityLookup}, + BuildStorage, }; pub use frame_support::storage::with_transaction; @@ -109,7 +104,6 @@ pub const ACA_FARM: FarmId = 4; pub const ONE: Balance = 1_000_000_000_000; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; #[derive(Clone)] @@ -119,18 +113,15 @@ pub struct AssetPair { } frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - LiquidityMining: liq_mining::::{Pallet, Storage, Event}, - LiquidityMining2: liq_mining::::{Pallet, Storage, Event}, + System: frame_system, + LiquidityMining: liq_mining::, + LiquidityMining2: liq_mining::, //This LM instance is using dummy oracle for price_adjustment - LiquidityMining3: liq_mining::::{Pallet, Storage, Event}, - Tokens: orml_tokens::{Pallet, Call, Storage, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, + LiquidityMining3: liq_mining::, + Tokens: orml_tokens, + Balances: pallet_balances, } ); @@ -154,13 +145,12 @@ impl system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = BlockNumber; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = (); @@ -357,6 +347,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = ReserveIdentifier; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } impl orml_tokens::Config for Test { @@ -524,7 +518,7 @@ impl ExtBuilder { AMM_POOLS.with(|v| v.borrow_mut().clear()); DUSTER_WHITELIST.with(|v| v.borrow_mut().clear()); - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); orml_tokens::GenesisConfig:: { balances: self.endowed_accounts, diff --git a/pallets/liquidity-mining/src/types.rs b/pallets/liquidity-mining/src/types.rs index b16af7452..e4d11091d 100644 --- a/pallets/liquidity-mining/src/types.rs +++ b/pallets/liquidity-mining/src/types.rs @@ -229,7 +229,7 @@ impl, I: 'static> YieldFarmData { entries_count: Default::default(), left_to_distribute: Default::default(), total_stopped: Default::default(), - _phantom: PhantomData::default(), + _phantom: PhantomData, } } diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index ed17ddb5f..4d0143e5a 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -47,6 +47,7 @@ std = [ "sp-std/std", "sp-runtime/std", "pallet-uniques/std", + "pallet-balances/std", "scale-info/std", ] runtime-benchmarks = [ diff --git a/pallets/nft/src/mock.rs b/pallets/nft/src/mock.rs index 2cc1c79bb..ef79c5e99 100644 --- a/pallets/nft/src/mock.rs +++ b/pallets/nft/src/mock.rs @@ -23,9 +23,8 @@ use frame_support::{parameter_types, weights::Weight}; use frame_system::EnsureRoot; use sp_core::{crypto::AccountId32, H256}; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, - Perbill, + BuildStorage, Perbill, }; mod nfc { @@ -34,21 +33,17 @@ mod nfc { } type AccountId = AccountId32; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Balance = u128; // Configure a mock runtime to test the pallet. frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - Uniques: pallet_uniques::{Pallet, Storage, Event}, - NFT: pallet_nft::{Pallet, Call, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, + System: frame_system, + Uniques: pallet_uniques, + NFT: pallet_nft, + Balances: pallet_balances, } ); @@ -129,7 +124,7 @@ impl pallet_uniques::Config for Test { parameter_types! { pub const BlockHashCount: u64 = 250; - pub const MaximumBlockWeight: Weight = Weight::from_ref_time(1024); + pub const MaximumBlockWeight: Weight = Weight::from_parts(1024, 0); pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::one(); } @@ -141,13 +136,12 @@ impl frame_system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = (); @@ -175,6 +169,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } pub const ALICE: AccountId = AccountId::new([1u8; 32]); @@ -199,7 +197,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(ALICE, 200_000 * BSX), (BOB, 150_000 * BSX), (CHARLIE, 15_000 * BSX)], diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index d61bf67b8..a06804032 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -71,7 +71,9 @@ std = [ "pallet-balances/std", "orml-tokens/std", "pallet-omnipool/std", + "pallet-ema-oracle/std", "pallet-liquidity-mining/std", + "primitives/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/pallets/omnipool-liquidity-mining/src/benchmarks.rs b/pallets/omnipool-liquidity-mining/src/benchmarks.rs index 5132a6f0c..74ff76249 100644 --- a/pallets/omnipool-liquidity-mining/src/benchmarks.rs +++ b/pallets/omnipool-liquidity-mining/src/benchmarks.rs @@ -70,8 +70,8 @@ where Pallet::::create_global_farm( RawOrigin::Root.into(), G_FARM_TOTAL_REWARDS, - T::BlockNumber::from(100_000_u32), - T::BlockNumber::from(1_u32), + BlockNumberFor::::from(100_000_u32), + BlockNumberFor::::from(1_u32), REWARD_CURRENCY.into(), owner, Perquintill::from_percent(20), @@ -231,8 +231,8 @@ benchmarks! { } create_global_farm { - let planned_yielding_periods = T::BlockNumber::from(100_000_u32); - let blocks_per_period = T::BlockNumber::from(100_u32); + let planned_yielding_periods = BlockNumberFor::::from(100_000_u32); + let blocks_per_period = BlockNumberFor::::from(100_u32); let owner = create_funded_account::("owner", 0, G_FARM_TOTAL_REWARDS, REWARD_CURRENCY.into()); let yield_per_period = Perquintill::from_percent(20); let min_deposit = 1_000; diff --git a/pallets/omnipool-liquidity-mining/src/lib.rs b/pallets/omnipool-liquidity-mining/src/lib.rs index 33852d94d..9ed62972d 100644 --- a/pallets/omnipool-liquidity-mining/src/lib.rs +++ b/pallets/omnipool-liquidity-mining/src/lib.rs @@ -54,7 +54,10 @@ use frame_support::{ }, PalletId, }; -use frame_system::{ensure_signed, pallet_prelude::{OriginFor, BlockNumberFor}}; +use frame_system::{ + ensure_signed, + pallet_prelude::{BlockNumberFor, OriginFor}, +}; use hydra_dx_math::ema::EmaPrice as Price; use hydradx_traits::{ liquidity_mining::{GlobalFarmId, Mutate as LiquidityMiningMutate, YieldFarmId}, diff --git a/pallets/omnipool-liquidity-mining/src/tests/mock.rs b/pallets/omnipool-liquidity-mining/src/tests/mock.rs index d1627a73d..df1772397 100644 --- a/pallets/omnipool-liquidity-mining/src/tests/mock.rs +++ b/pallets/omnipool-liquidity-mining/src/tests/mock.rs @@ -26,7 +26,7 @@ use frame_support::BoundedVec; use hydradx_traits::liquidity_mining::PriceAdjustment; use pallet_omnipool; -use frame_support::traits::{ConstU128, Contains, Everything, GenesisBuild}; +use frame_support::traits::{ConstU128, Contains, Everything}; use frame_support::{ assert_ok, construct_runtime, parameter_types, traits::{ConstU32, ConstU64}, @@ -39,9 +39,8 @@ use pallet_liquidity_mining as warehouse_liquidity_mining; use sp_core::H256; use sp_runtime::FixedU128; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, BlockNumberProvider, IdentityLookup}, - Permill, + BuildStorage, Permill, }; use warehouse_liquidity_mining::{GlobalFarmData, Instance1}; @@ -52,7 +51,6 @@ use hydradx_traits::{ AssetKind, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AccountId = u128; @@ -103,10 +101,7 @@ thread_local! { } construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Balances: pallet_balances, @@ -141,13 +136,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = BlockNumber; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); @@ -218,6 +212,10 @@ impl pallet_balances::Config for Test { type MaxLocks = (); type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_type_with_key! { @@ -453,7 +451,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); // Add DAI and HDX as pre-registered assets REGISTERED_ASSETS.with(|v| { diff --git a/pallets/omnipool/src/tests/barrier.rs b/pallets/omnipool/src/tests/barrier.rs index 09e3363e2..a16e0a6e2 100644 --- a/pallets/omnipool/src/tests/barrier.rs +++ b/pallets/omnipool/src/tests/barrier.rs @@ -1,5 +1,5 @@ use crate::traits::{EnsurePriceWithin, ExternalPriceProvider, ShouldAllow}; -use frame_support::dispatch::Weight; +use frame_support::weights::Weight; use frame_support::{assert_err, assert_ok, parameter_types}; use hydra_dx_math::ema::EmaPrice; use sp_runtime::Permill; diff --git a/pallets/omnipool/src/tests/mock.rs b/pallets/omnipool/src/tests/mock.rs index 637d50797..e84aec9d4 100644 --- a/pallets/omnipool/src/tests/mock.rs +++ b/pallets/omnipool/src/tests/mock.rs @@ -24,8 +24,8 @@ use std::collections::HashMap; use crate as pallet_omnipool; use crate::traits::ExternalPriceProvider; -use frame_support::dispatch::Weight; -use frame_support::traits::{ConstU128, Everything, GenesisBuild}; +use frame_support::traits::{ConstU128, Everything}; +use frame_support::weights::Weight; use frame_support::{ assert_ok, construct_runtime, parameter_types, traits::{ConstU32, ConstU64}, @@ -36,11 +36,10 @@ use orml_traits::parameter_type_with_key; use primitive_types::{U128, U256}; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; @@ -80,10 +79,7 @@ thread_local! { } construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Balances: pallet_balances, @@ -98,13 +94,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); @@ -129,6 +124,10 @@ impl pallet_balances::Config for Test { type MaxLocks = (); type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_type_with_key! { @@ -374,7 +373,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); // Add DAi and HDX as pre-registered assets REGISTERED_ASSETS.with(|v| { diff --git a/pallets/omnipool/src/traits.rs b/pallets/omnipool/src/traits.rs index 3fc215f7c..307c4dc52 100644 --- a/pallets/omnipool/src/traits.rs +++ b/pallets/omnipool/src/traits.rs @@ -1,5 +1,4 @@ use crate::types::AssetReserveState; -use sp_std::fmt::Debug; use frame_support::ensure; use frame_support::traits::Contains; use frame_support::weights::Weight; @@ -7,6 +6,7 @@ use hydra_dx_math::ema::EmaPrice; use hydra_dx_math::omnipool::types::AssetStateChange; use sp_runtime::traits::{CheckedAdd, CheckedMul, Get, Saturating}; use sp_runtime::{DispatchError, FixedPointNumber, FixedU128, Permill}; +use sp_std::fmt::Debug; pub struct AssetInfo where diff --git a/pallets/otc/src/tests/mock.rs b/pallets/otc/src/tests/mock.rs index 04651cf11..f6689014a 100644 --- a/pallets/otc/src/tests/mock.rs +++ b/pallets/otc/src/tests/mock.rs @@ -17,7 +17,7 @@ use crate as otc; use crate::Config; use frame_support::{ parameter_types, - traits::{Everything, GenesisBuild, Nothing}, + traits::{Everything, Nothing}, }; use frame_system as system; use hydradx_traits::{AssetKind, Registry}; @@ -25,13 +25,11 @@ use orml_tokens::AccountData; use orml_traits::parameter_type_with_key; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, - DispatchError, + BuildStorage, DispatchError, }; use std::{cell::RefCell, collections::HashMap}; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; @@ -51,10 +49,7 @@ pub const ALICE: AccountId = 1; pub const BOB: AccountId = 2; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, OTC: otc, @@ -101,13 +96,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -203,7 +197,7 @@ impl ExtBuilder { self } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); // Add DAI and HDX as pre-registered assets REGISTERED_ASSETS.with(|v| { diff --git a/pallets/relaychain-info/src/lib.rs b/pallets/relaychain-info/src/lib.rs index 5f2256749..df053032b 100644 --- a/pallets/relaychain-info/src/lib.rs +++ b/pallets/relaychain-info/src/lib.rs @@ -25,9 +25,9 @@ pub use pallet::*; #[frame_support::pallet] pub mod pallet { - use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::BlockNumberProvider; + use frame_system::pallet_prelude::BlockNumberFor; #[pallet::pallet] pub struct Pallet(_); diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index d6d495cfe..628014fe2 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -18,6 +18,7 @@ #![cfg_attr(not(feature = "std"), no_std)] use codec::MaxEncodedLen; +use frame_support::traits::tokens::{Fortitude, Preservation}; use frame_support::{ ensure, pallet_prelude::*, @@ -31,7 +32,6 @@ pub use hydradx_traits::router::{ use orml_traits::arithmetic::{CheckedAdd, CheckedSub}; use sp_runtime::{ArithmeticError, DispatchError}; use sp_std::{vec, vec::Vec}; -use frame_support::traits::tokens::{Fortitude, Preservation}; #[cfg(test)] mod tests; @@ -144,8 +144,10 @@ pub mod pallet { let who = ensure_signed(origin.clone())?; Self::ensure_route_size(route.len())?; - let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(asset_in, &who, Preservation::Expendable, Fortitude::Polite); - let user_balance_of_asset_out_before_trade = T::Currency::reducible_balance(asset_out, &who, Preservation::Expendable, Fortitude::Polite); + let user_balance_of_asset_in_before_trade = + T::Currency::reducible_balance(asset_in, &who, Preservation::Expendable, Fortitude::Polite); + let user_balance_of_asset_out_before_trade = + T::Currency::reducible_balance(asset_out, &who, Preservation::Expendable, Fortitude::Polite); ensure!( user_balance_of_asset_in_before_trade >= amount_in, Error::::InsufficientBalance @@ -160,7 +162,8 @@ pub mod pallet { ); for (trade_amount, trade) in trade_amounts.iter().zip(route) { - let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(trade.asset_in, &who, Preservation::Preserve, Fortitude::Polite); + let user_balance_of_asset_in_before_trade = + T::Currency::reducible_balance(trade.asset_in, &who, Preservation::Preserve, Fortitude::Polite); let execution_result = T::AMM::execute_sell( origin.clone(), @@ -223,7 +226,8 @@ pub mod pallet { let who = ensure_signed(origin.clone())?; Self::ensure_route_size(route.len())?; - let user_balance_of_asset_in_before_trade = T::Currency::reducible_balance(asset_in, &who, Preservation::Preserve, Fortitude::Polite); + let user_balance_of_asset_in_before_trade = + T::Currency::reducible_balance(asset_in, &who, Preservation::Preserve, Fortitude::Polite); let trade_amounts = Self::calculate_buy_trade_amounts(&route, amount_out)?; @@ -292,7 +296,8 @@ impl Pallet { user_balance_of_asset_out_before_trade: T::Balance, received_amount: T::Balance, ) -> Result<(), DispatchError> { - let user_balance_of_asset_out_after_trade = T::Currency::reducible_balance(asset_out, &who, Preservation::Expendable, Fortitude::Polite); + let user_balance_of_asset_out_after_trade = + T::Currency::reducible_balance(asset_out, &who, Preservation::Expendable, Fortitude::Polite); let user_expected_balance_of_asset_out_after_trade = user_balance_of_asset_out_before_trade .checked_add(&received_amount) .ok_or(ArithmeticError::Overflow)?; @@ -312,7 +317,8 @@ impl Pallet { spent_amount: T::Balance, ) -> Result<(), DispatchError> { if spent_amount < user_balance_of_asset_in_before_trade { - let user_balance_of_asset_in_after_trade = T::Currency::reducible_balance(asset_in, &who, Preservation::Preserve, Fortitude::Polite); + let user_balance_of_asset_in_after_trade = + T::Currency::reducible_balance(asset_in, &who, Preservation::Preserve, Fortitude::Polite); ensure!( user_balance_of_asset_in_before_trade - spent_amount == user_balance_of_asset_in_after_trade, diff --git a/pallets/route-executor/src/tests/mock.rs b/pallets/route-executor/src/tests/mock.rs index d0aa1dd6c..d2737cc89 100644 --- a/pallets/route-executor/src/tests/mock.rs +++ b/pallets/route-executor/src/tests/mock.rs @@ -18,7 +18,7 @@ use crate as router; use crate::{Config, Trade}; use frame_support::parameter_types; -use frame_support::traits::{Everything, GenesisBuild, Nothing}; +use frame_support::traits::{Everything, Nothing}; use frame_system as system; use frame_system::pallet_prelude::OriginFor; use hydradx_adapters::inspect::MultiInspectAdapter; @@ -28,25 +28,20 @@ use pallet_currencies::BasicCurrencyAdapter; use pretty_assertions::assert_eq; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup, One}, - DispatchError, + BuildStorage, DispatchError, }; use std::borrow::Borrow; use std::cell::RefCell; use std::ops::Deref; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AssetId = u32; pub type Balance = u128; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Router: router, @@ -67,13 +62,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -125,6 +119,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = (); type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } impl pallet_currencies::Config for Test { @@ -202,7 +200,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![ diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index 41433c1df..e68e2f627 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -42,9 +42,9 @@ extern crate core; -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::{DispatchResult, Get}; use frame_support::{ensure, require_transactional, transactional}; +use frame_system::pallet_prelude::BlockNumberFor; use hydradx_traits::{registry::InspectRegistry, AccountIdFor}; pub use pallet::*; use sp_runtime::traits::{BlockNumberProvider, Zero}; diff --git a/pallets/stableswap/src/tests/mock.rs b/pallets/stableswap/src/tests/mock.rs index c357cc019..54a004d36 100644 --- a/pallets/stableswap/src/tests/mock.rs +++ b/pallets/stableswap/src/tests/mock.rs @@ -30,8 +30,8 @@ use crate as pallet_stableswap; use crate::Config; use frame_support::assert_ok; -use frame_support::dispatch::Weight; -use frame_support::traits::{Contains, Everything, GenesisBuild}; +use frame_support::traits::{Contains, Everything}; +use frame_support::weights::Weight; use frame_support::{ construct_runtime, parameter_types, traits::{ConstU32, ConstU64}, @@ -41,12 +41,10 @@ use orml_traits::parameter_type_with_key; pub use orml_traits::MultiCurrency; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, - DispatchError, + BuildStorage, DispatchError, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type Balance = u128; @@ -78,14 +76,11 @@ thread_local! { } construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - Tokens: orml_tokens::{Pallet, Event}, - Stableswap: pallet_stableswap::{Pallet, Call, Storage, Event}, + System: frame_system, + Tokens: orml_tokens, + Stableswap: pallet_stableswap, } ); @@ -95,13 +90,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); @@ -245,7 +239,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); let mut all_assets: Vec<(Vec, AssetId, u8)> = vec![(b"DAI".to_vec(), DAI, 12u8), (b"HDX".to_vec(), HDX, 12u8)]; diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 01471fe7f..40bc7b7e2 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -19,7 +19,6 @@ use crate::traits::{ActionData, DemocracyReferendum, PayablePercentage, VestingDetails}; use crate::types::{Action, Balance, Period, Point, Position, StakingData, Voting}; -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::ensure; use frame_support::{ pallet_prelude::DispatchResult, @@ -27,6 +26,7 @@ use frame_support::{ traits::nonfungibles::{Create, Inspect, InspectEnumerable, Mutate}, traits::{DefensiveOption, LockIdentifier}, }; +use frame_system::pallet_prelude::BlockNumberFor; use hydra_dx_math::staking as math; use orml_traits::{GetByKey, MultiCurrency, MultiLockableCurrency}; use sp_core::Get; @@ -188,7 +188,8 @@ pub mod pallet { #[pallet::storage] /// User's position state. #[pallet::getter(fn positions)] - pub(super) type Positions = StorageMap<_, Blake2_128Concat, T::PositionItemId, Position>>; + pub(super) type Positions = + StorageMap<_, Blake2_128Concat, T::PositionItemId, Position>>; #[pallet::storage] /// Position ids sequencer. diff --git a/pallets/staking/src/tests/mock.rs b/pallets/staking/src/tests/mock.rs index 21bf003ad..95b28ffd5 100644 --- a/pallets/staking/src/tests/mock.rs +++ b/pallets/staking/src/tests/mock.rs @@ -21,7 +21,7 @@ use frame_support::traits::Everything; use frame_support::{assert_ok, PalletId}; use frame_support::{ construct_runtime, parameter_types, - traits::{AsEnsureOriginWithArg, ConstU128, ConstU32, ConstU64, GenesisBuild, NeverEnsureOrigin}, + traits::{AsEnsureOriginWithArg, ConstU128, ConstU32, ConstU64, NeverEnsureOrigin}, weights::RuntimeDbWeight, }; use frame_system::{EnsureRoot, RawOrigin}; @@ -29,13 +29,12 @@ use orml_traits::{parameter_type_with_key, LockIdentifier, MultiCurrencyExtended use pallet_democracy::ReferendumIndex; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, BlockNumberProvider, IdentityLookup}, + BuildStorage, }; use crate as pallet_staking; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type AccountId = u64; @@ -59,10 +58,7 @@ pub const NON_DUSTABLE_BALANCE: Balance = 1_000 * ONE; pub type PositionId = u128; construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Balances: pallet_balances, @@ -95,13 +91,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = BlockNumber; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); @@ -129,6 +124,10 @@ impl pallet_balances::Config for Test { type MaxLocks = MaxLocks; type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_types! { @@ -312,7 +311,7 @@ impl ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); orml_tokens::GenesisConfig:: { balances: self diff --git a/pallets/staking/src/types.rs b/pallets/staking/src/types.rs index dc4d505ba..e42de1f69 100644 --- a/pallets/staking/src/types.rs +++ b/pallets/staking/src/types.rs @@ -1,10 +1,10 @@ use crate::traits::ActionData; use codec::{Decode, Encode, MaxEncodedLen}; -use sp_runtime::RuntimeDebug; use pallet_democracy::ReferendumIndex; use scale_info::TypeInfo; use sp_core::bounded::BoundedVec; use sp_core::Get; +use sp_runtime::RuntimeDebug; use sp_runtime::{traits::Zero, ArithmeticError, FixedU128}; pub type Balance = u128; diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index 014f557ec..58d511ce5 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -44,6 +44,7 @@ std = [ "sp-api/std", "frame-support/std", "frame-system/std", + "pallet-transaction-payment/std", "sp-runtime/std", "orml-traits/std", "hydradx-traits/std", diff --git a/pallets/transaction-multi-payment/src/mock.rs b/pallets/transaction-multi-payment/src/mock.rs index e29ae65b6..5ab4a82b0 100644 --- a/pallets/transaction-multi-payment/src/mock.rs +++ b/pallets/transaction-multi-payment/src/mock.rs @@ -22,7 +22,7 @@ use crate::{Config, TransferFees}; use frame_support::{ dispatch::DispatchClass, parameter_types, - traits::{Everything, GenesisBuild, Get, Nothing}, + traits::{Everything, Get, Nothing}, weights::{IdentityFee, Weight}, }; use frame_system as system; @@ -32,9 +32,8 @@ use orml_traits::parameter_type_with_key; use pallet_currencies::BasicCurrencyAdapter; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, - Perbill, + BuildStorage, Perbill, }; use sp_std::cell::RefCell; @@ -60,7 +59,7 @@ pub const HIGH_VALUE_CURRENCY: AssetId = 7000; pub const HIGH_ED: Balance = 5; const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); -const MAX_BLOCK_WEIGHT: Weight = Weight::from_ref_time(1024); +const MAX_BLOCK_WEIGHT: Weight = Weight::from_parts(1024, 0); thread_local! { static EXTRINSIC_BASE_WEIGHT: RefCell = RefCell::new(Weight::zero()); @@ -73,21 +72,17 @@ impl Get for ExtrinsicBaseWeight { } } -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - PaymentPallet: multi_payment::{Pallet, Call, Storage, Event}, - TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event}, - Balances: pallet_balances::{Pallet,Call, Storage,Config, Event}, - Currencies: pallet_currencies::{Pallet, Event}, - Tokens: orml_tokens::{Pallet, Event}, + System: frame_system, + PaymentPallet: multi_payment, + TransactionPayment: pallet_transaction_payment, + Balances: pallet_balances, + Currencies: pallet_currencies, + Tokens: orml_tokens, } ); @@ -103,7 +98,7 @@ parameter_types! { pub const FeeReceiver: AccountId = FEE_RECEIVER; pub RuntimeBlockWeights: system::limits::BlockWeights = system::limits::BlockWeights::builder() - .base_block(Weight::from_ref_time(0)) + .base_block(Weight::zero()) .for_class(DispatchClass::all(), |weights| { weights.base_extrinsic = ExtrinsicBaseWeight::get(); }) @@ -128,13 +123,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -171,6 +165,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = (); type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } impl pallet_transaction_payment::Config for Test { @@ -284,7 +282,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn base_weight(mut self, base_weight: u64) -> Self { - self.base_weight = Weight::from_ref_time(base_weight); + self.base_weight = Weight::from_parts(base_weight, 0); self } pub fn account_native_balance(mut self, account: AccountId, balance: Balance) -> Self { @@ -306,7 +304,7 @@ impl ExtBuilder { use frame_support::traits::OnInitialize; self.set_constants(); - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: self.native_balances, diff --git a/pallets/transaction-multi-payment/src/tests.rs b/pallets/transaction-multi-payment/src/tests.rs index b098c74cc..fbec2762f 100644 --- a/pallets/transaction-multi-payment/src/tests.rs +++ b/pallets/transaction-multi-payment/src/tests.rs @@ -18,6 +18,7 @@ pub use crate::{mock::*, Config, Error}; use crate::{AcceptedCurrencies, AcceptedCurrencyPrice, Event, PaymentInfo, Price}; +use frame_support::traits::tokens::Precision; use frame_support::{ assert_noop, assert_ok, dispatch::{DispatchInfo, PostDispatchInfo}, @@ -105,7 +106,7 @@ fn set_supported_currency_without_spot_price_should_charge_fee_in_correct_curren }); let len = 10; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); let pre = ChargeTransactionPayment::::from(0).pre_dispatch(&ALICE, call, &info, len); assert!(pre.is_ok()); @@ -134,7 +135,7 @@ fn set_supported_currency_with_spot_price_should_charge_fee_in_correct_currency( }); let len = 10; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); let pre = ChargeTransactionPayment::::from(0).pre_dispatch(&ALICE, call, &info, len); assert!(pre.is_ok()); @@ -177,7 +178,7 @@ fn fee_payment_in_native_currency() { .build() .execute_with(|| { let len = 10; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert!(ChargeTransactionPayment::::from(0) .pre_dispatch(&CHARLIE, CALL, &info, len) @@ -201,7 +202,7 @@ fn fee_payment_in_non_native_currency() { assert_eq!(Balances::free_balance(CHARLIE), 0); let len = 1000; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert_eq!(Tokens::free_balance(SUPPORTED_CURRENCY_WITH_PRICE, &CHARLIE), 10_000); @@ -225,7 +226,7 @@ fn fee_payment_in_expensive_non_native_currency_should_be_non_zero() { .build() .execute_with(|| { let len = 100; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert_eq!(Tokens::free_balance(HIGH_VALUE_CURRENCY, &BOB), 10_000); @@ -236,7 +237,7 @@ fn fee_payment_in_expensive_non_native_currency_should_be_non_zero() { // Bob should be charged at least 1 token assert_eq!(Tokens::free_balance(HIGH_VALUE_CURRENCY, &BOB), 9999); - let post_info = post_info_from_weight(Weight::from_ref_time(3)); + let post_info = post_info_from_weight(Weight::from_parts(3, 0)); assert!( ChargeTransactionPayment::::post_dispatch(Some(pre), &info, &post_info, len, &Ok(())).is_ok() ); @@ -256,7 +257,7 @@ fn fee_payment_non_native_insufficient_balance() { .build() .execute_with(|| { let len = 1000; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert!(ChargeTransactionPayment::::from(0) .pre_dispatch(&CHARLIE, CALL, &info, len) @@ -374,7 +375,7 @@ fn fee_should_be_transferred_when_paid_in_native_currency() { .execute_with(|| { let len = 10; let tip = 0; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); // Act let pre = ChargeTransactionPayment::::from(tip) @@ -412,7 +413,7 @@ fn fee_should_be_withdrawn_when_paid_in_native_currency() { .execute_with(|| { let len = 10; let tip = 0; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); let previous_total_issuance = Balances::total_issuance(); // Act @@ -451,8 +452,8 @@ fn fee_should_be_transferred_when_paid_in_native_currency_work_with_tip() { .execute_with(|| { let len = 10; let tip = 5; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); - let post_dispatch_info = post_info_from_weight(Weight::from_ref_time(10)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); + let post_dispatch_info = post_info_from_weight(Weight::from_parts(10, 0)); // Act let pre = ChargeTransactionPayment::::from(tip) @@ -491,8 +492,8 @@ fn fee_should_be_withdrawn_when_paid_in_native_currency_work_with_tip() { .execute_with(|| { let len = 10; let tip = 5; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); - let post_dispatch_info = post_info_from_weight(Weight::from_ref_time(10)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); + let post_dispatch_info = post_info_from_weight(Weight::from_parts(10, 0)); let previous_total_issuance = Balances::total_issuance(); // Act @@ -533,7 +534,7 @@ fn fee_should_be_transferred_when_paid_in_non_native_currency() { .execute_with(|| { let len = 10; let tip = 0; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); // Act let pre = ChargeTransactionPayment::::from(tip) @@ -585,7 +586,7 @@ fn fee_should_be_withdrawn_when_paid_in_non_native_currency() { .execute_with(|| { let len = 10; let tip = 0; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); let previous_total_issuance = Tokens::total_issuance(SUPPORTED_CURRENCY); // Act @@ -630,8 +631,8 @@ fn fee_should_be_transferred_when_paid_in_non_native_currency_with_tip() { .execute_with(|| { let len = 10; let tip = 5; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); - let post_dispatch_info = post_info_from_weight(Weight::from_ref_time(10)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); + let post_dispatch_info = post_info_from_weight(Weight::from_parts(10, 0)); // Act let pre = ChargeTransactionPayment::::from(tip) @@ -683,8 +684,8 @@ fn fee_should_be_withdrawn_and_not_refunded_when_paid_in_non_native_currency_wit .execute_with(|| { let len = 10; let tip = 5; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); - let post_dispatch_info = post_info_from_weight(Weight::from_ref_time(10)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); + let post_dispatch_info = post_info_from_weight(Weight::from_parts(10, 0)); let previous_total_issuance = Tokens::total_issuance(SUPPORTED_CURRENCY); // Act @@ -726,7 +727,7 @@ fn fee_payment_in_native_currency_with_no_balance() { .build() .execute_with(|| { let len = 10; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert!(ChargeTransactionPayment::::from(0) .pre_dispatch(&CHARLIE, CALL, &info, len) @@ -748,7 +749,7 @@ fn fee_payment_in_non_native_currency_with_no_balance() { .build() .execute_with(|| { let len = 1000; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert!(ChargeTransactionPayment::::from(0) .pre_dispatch(&CHARLIE, CALL, &info, len) @@ -773,7 +774,7 @@ fn fee_payment_in_non_native_currency_with_no_price() { assert_eq!(Balances::free_balance(CHARLIE), 0); let len = 10; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert_eq!(Tokens::free_balance(SUPPORTED_CURRENCY, &FEE_RECEIVER), 0); @@ -800,7 +801,7 @@ fn fee_payment_in_unregistered_currency() { .build() .execute_with(|| { let len = 1000; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert_ok!(PaymentPallet::remove_currency( RuntimeOrigin::root(), @@ -826,7 +827,7 @@ fn fee_payment_non_native_insufficient_balance_with_no_pool() { .build() .execute_with(|| { let len = 1000; - let info = info_from_weight(Weight::from_ref_time(5)); + let info = info_from_weight(Weight::from_parts(5, 0)); assert!(ChargeTransactionPayment::::from(0) .pre_dispatch(&CHARLIE, CALL, &info, len) @@ -848,7 +849,7 @@ fn fee_transfer_can_kill_account_when_paid_in_native() { .execute_with(|| { let len = 10; let tip = 0; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); // Act let pre = ChargeTransactionPayment::::from(tip) @@ -885,7 +886,7 @@ fn fee_transfer_can_kill_account_when_paid_in_non_native() { .execute_with(|| { let len = 10; let tip = 0; - let dispatch_info = info_from_weight(Weight::from_ref_time(15)); + let dispatch_info = info_from_weight(Weight::from_parts(15, 0)); assert_ok!(Currencies::withdraw(SUPPORTED_CURRENCY, &ALICE, INITIAL_BALANCE - 45)); @@ -963,7 +964,13 @@ fn currency_stays_around_until_reaping() { .build() .execute_with(|| { // setup - assert_ok!(>::deposit(HIGH_ED_CURRENCY, &DAVE, HIGH_ED * 2).map(|_| ())); + assert_ok!(>::deposit( + HIGH_ED_CURRENCY, + &DAVE, + HIGH_ED * 2, + Precision::Exact + ) + .map(|_| ())); assert_eq!(Currencies::free_balance(HIGH_ED_CURRENCY, &DAVE), HIGH_ED * 2); assert_eq!(PaymentPallet::get_currency(DAVE), Some(HIGH_ED_CURRENCY)); @@ -993,7 +1000,13 @@ fn currency_is_removed_when_balance_hits_zero() { .build() .execute_with(|| { // setup - assert_ok!(>::deposit(SUPPORTED_CURRENCY_WITH_PRICE, &DAVE, 10).map(|_| ())); + assert_ok!(>::deposit( + SUPPORTED_CURRENCY_WITH_PRICE, + &DAVE, + 10, + Precision::Exact + ) + .map(|_| ())); assert_eq!(Currencies::free_balance(SUPPORTED_CURRENCY_WITH_PRICE, &DAVE), 10); assert_eq!(PaymentPallet::get_currency(DAVE), Some(SUPPORTED_CURRENCY_WITH_PRICE)); @@ -1024,7 +1037,13 @@ fn currency_is_not_changed_on_unrelated_account_activity() { .build() .execute_with(|| { // setup - assert_ok!(>::deposit(SUPPORTED_CURRENCY_WITH_PRICE, &DAVE, 10).map(|_| ())); + assert_ok!(>::deposit( + SUPPORTED_CURRENCY_WITH_PRICE, + &DAVE, + 10, + Precision::Exact + ) + .map(|_| ())); assert_eq!(Currencies::free_balance(SUPPORTED_CURRENCY_WITH_PRICE, &DAVE), 10); assert_eq!(PaymentPallet::get_currency(DAVE), Some(SUPPORTED_CURRENCY_WITH_PRICE)); diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 47027fc74..ab65a5f61 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -34,6 +34,7 @@ std = [ "frame-support/std", "frame-system/std", "sp-std/std", + "pallet-balances/std", ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/pallets/transaction-pause/src/lib.rs b/pallets/transaction-pause/src/lib.rs index ef4348422..c66cf404f 100644 --- a/pallets/transaction-pause/src/lib.rs +++ b/pallets/transaction-pause/src/lib.rs @@ -21,7 +21,7 @@ use frame_support::{ pallet_prelude::*, - traits::{Contains, CallMetadata, GetCallMetadata, PalletInfoAccess}, + traits::{CallMetadata, Contains, GetCallMetadata, PalletInfoAccess}, BoundedVec, }; use frame_system::pallet_prelude::*; diff --git a/pallets/transaction-pause/src/migration.rs b/pallets/transaction-pause/src/migration.rs index 63a4218f0..3df4c8c8d 100644 --- a/pallets/transaction-pause/src/migration.rs +++ b/pallets/transaction-pause/src/migration.rs @@ -39,7 +39,7 @@ pub mod v1 { impl OnRuntimeUpgrade for Migration { #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { assert_eq!(StorageVersion::get::>(), 0, "Storage version too high."); let iter = v0::PausedTransactions::::iter_keys(); @@ -80,7 +80,7 @@ pub mod v1 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), &'static str> { + fn post_upgrade(state: Vec) -> Result<(), sp_runtime::TryRuntimeError> { assert_eq!(StorageVersion::get::>(), 1, "Unexpected storage version."); let previous_state = , Vec)> as codec::Decode>::decode(&mut state.as_slice()).unwrap(); diff --git a/pallets/transaction-pause/src/mock.rs b/pallets/transaction-pause/src/mock.rs index 3aaeb6a57..8ba773130 100644 --- a/pallets/transaction-pause/src/mock.rs +++ b/pallets/transaction-pause/src/mock.rs @@ -28,7 +28,7 @@ use frame_support::{ use frame_system::EnsureSignedBy; use orml_traits::parameter_type_with_key; use sp_core::H256; -use sp_runtime::{testing::Header, traits::IdentityLookup}; +use sp_runtime::{traits::IdentityLookup, BuildStorage}; pub type AccountId = u128; pub const ALICE: AccountId = 1; @@ -44,14 +44,13 @@ mod transaction_pause { impl frame_system::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type RuntimeCall = RuntimeCall; type Hash = H256; type Hashing = ::sp_runtime::traits::BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type BlockWeights = (); @@ -79,6 +78,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<50>; type ReserveIdentifier = (); type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_type_with_key! { @@ -115,19 +118,15 @@ impl Config for Runtime { type WeightInfo = (); } -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic + pub enum Runtime { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - TransactionPause: transaction_pause::{Pallet, Storage, Call, Event}, - Balances: pallet_balances::{Pallet, Storage, Call, Event}, - Tokens: orml_tokens::{Pallet, Storage, Call, Event}, + System: frame_system, + TransactionPause: transaction_pause, + Balances: pallet_balances, + Tokens: orml_tokens, } ); @@ -141,8 +140,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let t = frame_system::GenesisConfig::default() - .build_storage::() + let t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); t.into() diff --git a/pallets/xcm-rate-limiter/src/lib.rs b/pallets/xcm-rate-limiter/src/lib.rs index d9eb775ac..a7826de6d 100644 --- a/pallets/xcm-rate-limiter/src/lib.rs +++ b/pallets/xcm-rate-limiter/src/lib.rs @@ -67,7 +67,7 @@ use codec::{Decode, Encode}; // use cumulus_pallet_xcmp_queue::XcmDeferFilter; // TODO: remove cumulus-primitives-core dependency // TODO: -use cumulus_primitives_core::{ParaId, relay_chain::BlockNumber as RelayBlockNumber}; +use cumulus_primitives_core::{relay_chain::BlockNumber as RelayBlockNumber, ParaId}; pub trait XcmDeferFilter { fn deferred_by( para: ParaId, @@ -76,9 +76,9 @@ pub trait XcmDeferFilter { ) -> (Weight, Option); } -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::pallet_prelude::Weight; use frame_support::traits::Get; +use frame_system::pallet_prelude::BlockNumberFor; use hydra_dx_math::rate_limiter::{calculate_deferred_duration, calculate_new_accumulated_amount}; use orml_traits::GetByKey; diff --git a/pallets/xcm-rate-limiter/src/tests/mock.rs b/pallets/xcm-rate-limiter/src/tests/mock.rs index a038c5a8f..f391428f4 100644 --- a/pallets/xcm-rate-limiter/src/tests/mock.rs +++ b/pallets/xcm-rate-limiter/src/tests/mock.rs @@ -17,7 +17,7 @@ pub use crate as pallet_xcm_rate_limiter; -use frame_support::traits::{Contains, GenesisBuild}; +use frame_support::traits::Contains; pub use frame_support::traits::{Everything, OnFinalize}; pub use frame_support::{assert_noop, assert_ok, parameter_types}; use frame_system::EnsureRoot; @@ -32,9 +32,8 @@ use sp_runtime::DispatchResult; use sp_runtime::FixedU128; use sp_runtime::Permill; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, - DispatchError, + BuildStorage, DispatchError, }; use std::cell::RefCell; use std::collections::HashMap; @@ -77,10 +76,7 @@ thread_local! { } frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Balances: pallet_balances, @@ -102,13 +98,12 @@ impl frame_system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = (); @@ -183,6 +178,10 @@ impl pallet_balances::Config for Test { type MaxLocks = (); type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_type_with_key! { @@ -413,7 +412,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); // Add DAi and HDX as pre-registered assets REGISTERED_ASSETS.with(|v| { diff --git a/pallets/xyk/src/lib.rs b/pallets/xyk/src/lib.rs index 40fedaa63..b931d2540 100644 --- a/pallets/xyk/src/lib.rs +++ b/pallets/xyk/src/lib.rs @@ -28,10 +28,10 @@ #![allow(clippy::unused_unit)] #![allow(clippy::upper_case_acronyms)] -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::sp_runtime::{traits::Zero, DispatchError}; use frame_support::{dispatch::DispatchResult, ensure, traits::Get, transactional}; use frame_system::ensure_signed; +use frame_system::pallet_prelude::BlockNumberFor; use hydradx_traits::{ AMMPosition, AMMTransfer, AssetPairAccountIdFor, CanCreatePool, OnCreatePoolHandler, OnLiquidityChangedHandler, OnTradeHandler, Source, AMM, diff --git a/pallets/xyk/src/tests/mock.rs b/pallets/xyk/src/tests/mock.rs index a376fa2aa..59f2a490d 100644 --- a/pallets/xyk/src/tests/mock.rs +++ b/pallets/xyk/src/tests/mock.rs @@ -23,11 +23,11 @@ use frame_system as system; use orml_traits::parameter_type_with_key; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup, One}, + BuildStorage, }; -use frame_support::traits::{Everything, GenesisBuild, Get, Nothing}; +use frame_support::traits::{Everything, Get, Nothing}; use hydradx_traits::{AssetPairAccountIdFor, CanCreatePool}; use primitives::{AssetId, Balance}; @@ -50,14 +50,10 @@ pub const HDX_DOT_POOL_ID: AccountId = 1_002_000; pub const ONE: Balance = 1_000_000_000_000; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, XYK: xyk, @@ -120,13 +116,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -254,7 +249,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); orml_tokens::GenesisConfig:: { balances: self.endowed_accounts, diff --git a/runtime/adapters/src/inspect.rs b/runtime/adapters/src/inspect.rs index 138e6f841..7a9b1495b 100644 --- a/runtime/adapters/src/inspect.rs +++ b/runtime/adapters/src/inspect.rs @@ -59,7 +59,12 @@ where } } - fn reducible_balance(asset: Self::AssetId, who: &AccountId, preservation: Preservation, force: Fortitude) -> Self::Balance { + fn reducible_balance( + asset: Self::AssetId, + who: &AccountId, + preservation: Preservation, + force: Fortitude, + ) -> Self::Balance { if GetNativeCurrencyId::get() == asset { NativeCurrency::reducible_balance(who, preservation, force) } else { @@ -67,7 +72,12 @@ where } } - fn can_deposit(asset: Self::AssetId, who: &AccountId, amount: Self::Balance, provenance: Provenance) -> DepositConsequence { + fn can_deposit( + asset: Self::AssetId, + who: &AccountId, + amount: Self::Balance, + provenance: Provenance, + ) -> DepositConsequence { if GetNativeCurrencyId::get() == asset { NativeCurrency::can_deposit(who, amount, provenance) } else { diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index eee30cd77..df11e00e1 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -19,6 +19,7 @@ use codec::FullCodec; use cumulus_primitives_core::relay_chain::Hash; +use frame_system::pallet_prelude::BlockNumberFor; use frame_support::{ sp_runtime::{ traits::{AtLeast32BitUnsigned, Convert, Get, MaybeSerializeDeserialize, Saturating, Zero}, @@ -275,7 +276,7 @@ impl BlockNumberProvider for RelayCh #[cfg(feature = "runtime-benchmarks")] impl BlockNumberProvider for RelayChainBlockNumberProvider { - type BlockNumber = ::BlockNumber; + type BlockNumber = BlockNumberFor; fn current_block_number() -> Self::BlockNumber { frame_system::Pallet::::current_block_number() diff --git a/runtime/adapters/src/tests/mock.rs b/runtime/adapters/src/tests/mock.rs index 3dddb08a2..98678179a 100644 --- a/runtime/adapters/src/tests/mock.rs +++ b/runtime/adapters/src/tests/mock.rs @@ -20,8 +20,8 @@ use primitives::Amount; use crate::inspect::MultiInspectAdapter; -use frame_support::dispatch::Weight; -use frame_support::traits::{ConstU128, Everything, GenesisBuild}; +use frame_support::traits::{ConstU128, Everything}; +use frame_support::weights::Weight; use frame_support::{ assert_ok, construct_runtime, parameter_types, traits::{ConstU32, ConstU64}, @@ -37,14 +37,12 @@ use sp_core::H256; use sp_runtime::traits::Zero; use sp_runtime::Permill; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, - DispatchError, DispatchResult, FixedU128, + BuildStorage, DispatchError, DispatchResult, FixedU128, }; use std::cell::RefCell; use std::collections::HashMap; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; @@ -78,10 +76,7 @@ thread_local! { } construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Test { System: frame_system, Balances: pallet_balances, @@ -98,13 +93,12 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); @@ -129,6 +123,10 @@ impl pallet_balances::Config for Test { type MaxLocks = (); type MaxReserves = ConstU32<50>; type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = (); + type RuntimeHoldReason = (); } parameter_type_with_key! { @@ -376,7 +374,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); // Add DAi and HDX as pre-registered assets REGISTERED_ASSETS.with(|v| { diff --git a/runtime/adapters/src/tests/trader.rs b/runtime/adapters/src/tests/trader.rs index d5fe83e2c..4d87e0d43 100644 --- a/runtime/adapters/src/tests/trader.rs +++ b/runtime/adapters/src/tests/trader.rs @@ -181,23 +181,28 @@ fn can_buy_weight() { { let mut trader = Trader::new(); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; let core_payment: MultiAsset = (Concrete(core_id), 1_000_000).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), core_payment.clone().into())); + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), core_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); ExpectRevenue::register_expected_asset(core_payment); let test_payment: MultiAsset = (Concrete(test_id), 500_000).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), test_payment.clone().into())); + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), test_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == 0.5 * weight") .is_empty()); ExpectRevenue::register_expected_asset(test_payment); let cheap_payment: MultiAsset = (Concrete(cheap_id), 4_000_000).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), cheap_payment.clone().into())); + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), cheap_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == 4 * weight") .is_empty()); @@ -216,14 +221,19 @@ fn can_buy_twice() { { let mut trader = Trader::new(); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; let payment1: MultiAsset = (Concrete(core_id), 1_000_000).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), payment1.into())); + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment1.into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); let payment2: MultiAsset = (Concrete(core_id), 1_000_000).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), payment2.into())); + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment2.into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); @@ -240,9 +250,14 @@ fn cannot_buy_with_too_few_tokens() { let core_id = MockConvert::convert(CORE_ASSET_ID).unwrap(); let mut trader = Trader::new(); - + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; let payment: MultiAsset = (Concrete(core_id), 69).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), payment.into())); + + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment.into(), &ctx)); assert_eq!(res, Err(XcmError::TooExpensive)); } @@ -253,8 +268,13 @@ fn cannot_buy_with_unknown_token() { let unknown_token = Junction::from(BoundedVec::try_from(9876u32.encode()).unwrap()); let mut trader = Trader::new(); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; let payment: MultiAsset = (Concrete(unknown_token.into()), 1_000_000).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), payment.into())); + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment.into(), &ctx)); assert_eq!(res, Err(XcmError::AssetNotFound)); } @@ -265,8 +285,14 @@ fn cannot_buy_with_non_fungible() { let unknown_token = Junction::from(BoundedVec::try_from(9876u32.encode()).unwrap()); let mut trader = Trader::new(); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; let payment: MultiAsset = (Concrete(unknown_token.into()), NonFungible(AssetInstance::Undefined)).into(); - let res = dbg!(trader.buy_weight(Weight::from_ref_time(1_000_000), payment.into())); + + let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment.into(), &ctx)); assert_eq!(res, Err(XcmError::AssetNotFound)); } @@ -288,11 +314,16 @@ fn overflow_errors() { let overflow_id = MockConvert::convert(OVERFLOW_ASSET_ID).unwrap(); let mut trader = Trader::new(); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; let amount = 1_000; let payment: MultiAsset = (Concrete(overflow_id), amount).into(); - let weight = Weight::from_ref_time(1_000); - let res = dbg!(trader.buy_weight(weight, payment.into())); + let weight = Weight::from_parts(1_000, 0); + let res = dbg!(trader.buy_weight(weight, payment.into(), &ctx)); assert_eq!(res, Err(XcmError::Overflow)); } @@ -307,15 +338,20 @@ fn refunds_first_asset_completely() { { let mut trader = Trader::new(); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; - let weight = Weight::from_ref_time(1_000_000); + let weight = Weight::from_parts(1_000_000, 0); let tokens = 1_000_000; let core_payment: MultiAsset = (Concrete(core_id), tokens).into(); - let res = dbg!(trader.buy_weight(weight, core_payment.clone().into())); + let res = dbg!(trader.buy_weight(weight, core_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); - assert_eq!(trader.refund_weight(weight), Some(core_payment)); + assert_eq!(trader.refund_weight(weight, &ctx), Some(core_payment)); } ExpectRevenue::expect_no_revenue(); } @@ -325,7 +361,13 @@ fn does_not_refund_if_empty() { type Trader = MultiCurrencyTrader, MockOracle, MockConvert, ()>; let mut trader = Trader::new(); - assert_eq!(trader.refund_weight(Weight::from_ref_time(100)), None); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; + + assert_eq!(trader.refund_weight(Weight::from_parts(100, 0), &ctx), None); } #[test] @@ -340,22 +382,27 @@ fn needs_multiple_refunds_for_multiple_currencies() { { let mut trader = Trader::new(); + let ctx = XcmContext { + origin: None, + message_id: XcmHash::default(), + topic: None, + }; - let weight = Weight::from_ref_time(1_000_000); + let weight = Weight::from_parts(1_000_000, 0); let core_payment: MultiAsset = (Concrete(core_id), 1_000_000).into(); - let res = dbg!(trader.buy_weight(weight, core_payment.clone().into())); + let res = dbg!(trader.buy_weight(weight, core_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); let test_payment: MultiAsset = (Concrete(test_id), 500_000).into(); - let res = dbg!(trader.buy_weight(weight, test_payment.clone().into())); + let res = dbg!(trader.buy_weight(weight, test_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == 0.5 * weight") .is_empty()); - assert_eq!(trader.refund_weight(weight), Some(core_payment)); - assert_eq!(trader.refund_weight(weight), Some(test_payment)); + assert_eq!(trader.refund_weight(weight, &ctx), Some(core_payment)); + assert_eq!(trader.refund_weight(weight, &ctx), Some(test_payment)); } ExpectRevenue::expect_no_revenue(); } diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index b28c87f9e..ba07c6487 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -47,7 +47,9 @@ use frame_support::{ sp_runtime::app_crypto::sp_core::crypto::UncheckedFrom, sp_runtime::traits::{One, PhantomData}, sp_runtime::{FixedU128, Perbill, Permill}, - traits::{AsEnsureOriginWithArg, ConstU32, Contains, Currency, EnsureOrigin, NeverEnsureOrigin, Imbalance, OnUnbalanced}, + traits::{ + AsEnsureOriginWithArg, ConstU32, Contains, Currency, EnsureOrigin, Imbalance, NeverEnsureOrigin, OnUnbalanced, + }, BoundedVec, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned, RawOrigin}; diff --git a/runtime/hydradx/src/benchmarking/dca.rs b/runtime/hydradx/src/benchmarking/dca.rs index cc33c1dd4..1f2d7f1c8 100644 --- a/runtime/hydradx/src/benchmarking/dca.rs +++ b/runtime/hydradx/src/benchmarking/dca.rs @@ -258,7 +258,7 @@ runtime_benchmarks! { let execution_block = 100u32; assert_eq!(DCA::schedules::(execution_block), None); let r = DCA::schedules::(execution_block); - let mut weight = Weight::from_ref_time(0); + let mut weight = Weight::zero(); }: { weight = DCA::on_initialize(execution_block); } diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index a5df0799c..66b78692a 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -27,8 +27,8 @@ use frame_support::{ traits::{ConstU32, EitherOfDiverse, LockIdentifier, NeverEnsureOrigin, PrivilegeCmp}, PalletId, }; -use sp_staking::currency_to_vote::U128CurrencyToVote; use frame_system::EnsureRoot; +use sp_staking::currency_to_vote::U128CurrencyToVote; use sp_std::cmp::Ordering; parameter_types! { diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 99d45f995..d9f415535 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -34,7 +34,7 @@ pub mod weights; mod assets; mod governance; mod system; -mod xcm; +pub mod xcm; pub use assets::*; pub use governance::*; @@ -125,10 +125,7 @@ pub fn get_all_module_accounts() -> Vec { // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = opaque::Block, - UncheckedExtrinsic = UncheckedExtrinsic + pub enum Runtime { System: frame_system exclude_parts { Origin } = 1, Timestamp: pallet_timestamp = 3, @@ -449,7 +446,8 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey}; + use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark}; + use frame_support::traits::TrackedStorageKey; use orml_benchmarking::add_benchmark as orml_add_benchmark; use frame_system_benchmarking::Pallet as SystemBench; impl frame_system_benchmarking::Config for Runtime {} diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 7bb4291fb..1c47039d4 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -1,11 +1,12 @@ use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; +use sp_runtime::DispatchError; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; pub struct OnRuntimeUpgradeMigration; impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { Ok(vec![]) } @@ -14,7 +15,7 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { Ok(()) } } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 9a1e98422..25d7d47f1 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -29,8 +29,11 @@ use codec::{Decode, Encode, MaxEncodedLen}; use frame_support::{ dispatch::DispatchClass, parameter_types, - sp_runtime::{traits::{ConstU32, IdentityLookup}, RuntimeDebug, FixedPointNumber, Perbill, Perquintill}, - traits::{Contains, ConstBool, InstanceFilter}, + sp_runtime::{ + traits::{ConstU32, IdentityLookup}, + FixedPointNumber, Perbill, Perquintill, RuntimeDebug, + }, + traits::{ConstBool, Contains, InstanceFilter}, weights::{ constants::{BlockExecutionWeight, RocksDbWeight}, ConstantMultiplier, WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, diff --git a/runtime/hydradx/src/tests.rs b/runtime/hydradx/src/tests.rs index 1fada20ed..330bad8e3 100644 --- a/runtime/hydradx/src/tests.rs +++ b/runtime/hydradx/src/tests.rs @@ -12,6 +12,7 @@ use frame_support::{ sp_runtime::{traits::Convert, FixedPointNumber}, weights::WeightToFee, }; +use sp_runtime::BuildStorage; #[test] #[ignore] @@ -24,7 +25,7 @@ fn full_block_cost() { let max_weight = BlockWeights::get() .get(DispatchClass::Normal) .max_total - .unwrap_or(Weight::from_ref_time(1)); + .unwrap_or(Weight::from_parts(1, 0)); let weight_fee = crate::WeightToFee::weight_to_fee(&max_weight); assert_eq!(weight_fee, 375_600_961_538_250); @@ -79,8 +80,8 @@ fn run_with_system_weight(w: Weight, mut assertions: F) where F: FnMut(), { - let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::default() - .build_storage::() + let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into(); t.execute_with(|| { diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index d651f474f..3c60d9c89 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -1,7 +1,6 @@ use super::*; use codec::MaxEncodedLen; -use hydradx_adapters::RelayChainBlockNumberProvider; use hydradx_adapters::{MultiCurrencyTrader, ReroutingMultiCurrencyAdapter, ToFeeReceiver}; use pallet_transaction_multi_payment::DepositAll; use primitives::AssetId; // shadow glob import of polkadot_xcm::v3::prelude::AssetId diff --git a/traits/src/lib.rs b/traits/src/lib.rs index dabc1a94b..1a172934a 100644 --- a/traits/src/lib.rs +++ b/traits/src/lib.rs @@ -30,7 +30,7 @@ pub use oracle::*; use codec::{Decode, Encode}; use frame_support::dispatch::{self}; -use frame_support::sp_runtime::{DispatchError, RuntimeDebug, traits::Zero}; +use frame_support::sp_runtime::{traits::Zero, DispatchError, RuntimeDebug}; use frame_support::traits::LockIdentifier; use frame_support::weights::Weight; use serde::{Deserialize, Serialize}; diff --git a/traits/src/oracle.rs b/traits/src/oracle.rs index 5e04d29db..a0acc6f78 100644 --- a/traits/src/oracle.rs +++ b/traits/src/oracle.rs @@ -200,7 +200,9 @@ impl From> for (Balance, Balance, Balance, Balance) { } /// Struct to represent pool liquidity for an asset pair. -#[derive(RuntimeDebug, Encode, Decode, Serialize, Deserialize, Copy, Clone, PartialEq, Eq, Default, TypeInfo, MaxEncodedLen)] +#[derive( + RuntimeDebug, Encode, Decode, Serialize, Deserialize, Copy, Clone, PartialEq, Eq, Default, TypeInfo, MaxEncodedLen, +)] pub struct Liquidity { pub a: Balance, pub b: Balance, From 948c8ca06b1f4ab045d028cdf7ab77d4943f43b7 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 26 Oct 2023 13:30:58 +0200 Subject: [PATCH 024/138] additional changes --- Cargo.lock | 956 +++++++++++---------- Cargo.toml | 171 +++- integration-tests/Cargo.toml | 5 + integration-tests/src/polkadot_test_net.rs | 150 +++- pallets/democracy/src/migrations.rs | 5 +- pallets/xcm-rate-limiter/Cargo.toml | 1 - pallets/xcm-rate-limiter/src/lib.rs | 13 +- runtime/adapters/src/lib.rs | 1 - runtime/hydradx/Cargo.toml | 18 +- runtime/hydradx/src/migrations.rs | 1 - runtime/hydradx/src/weights/xcmp_queue.rs | 12 + runtime/hydradx/src/xcm.rs | 7 +- 12 files changed, 844 insertions(+), 496 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 20d89737c..0ef815816 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -149,9 +149,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.7.6" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" dependencies = [ "getrandom 0.2.10", "once_cell", @@ -160,14 +160,15 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" dependencies = [ "cfg-if", "getrandom 0.2.10", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -646,9 +647,9 @@ dependencies = [ "log", "parking", "polling", - "rustix 0.37.25", + "rustix 0.37.26", "slab", - "socket2 0.4.9", + "socket2 0.4.10", "waker-fn", ] @@ -685,7 +686,7 @@ dependencies = [ "cfg-if", "event-listener 3.0.0", "futures-lite", - "rustix 0.38.19", + "rustix 0.38.20", "windows-sys 0.48.0", ] @@ -712,7 +713,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 0.38.19", + "rustix 0.38.20", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -846,9 +847,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.4" +version = "0.21.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" +checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" [[package]] name = "base64ct" @@ -868,7 +869,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "hash-db", "log", @@ -1445,23 +1446,23 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.6" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" +checksum = "ac495e00dcec98c83465d5ad66c5c4fabd652fd6686e7c6269b117e729a6f17b" dependencies = [ "clap_builder", - "clap_derive 4.4.2", + "clap_derive 4.4.7", ] [[package]] name = "clap_builder" -version = "4.4.6" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" +checksum = "c77ed9a32a62e6ca27175d00d29d05ca32e396ea1eb5fb01d8256b669cec7663" dependencies = [ "anstream", "anstyle", - "clap_lex 0.5.1", + "clap_lex 0.6.0", "strsim", ] @@ -1480,9 +1481,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.2" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" dependencies = [ "heck", "proc-macro2", @@ -1501,9 +1502,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "coarsetime" @@ -1535,12 +1536,12 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "comfy-table" -version = "7.0.1" +version = "7.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab77dbd8adecaf3f0db40581631b995f312a8a5ae3aa9993188bb8f23d83a5b" +checksum = "7c64043d6c7b7a4c58e39e7efccfdea7b93d885a795d0c054a69dbbf4dd52686" dependencies = [ - "strum", - "strum_macros", + "strum 0.25.0", + "strum_macros 0.25.3", "unicode-width", ] @@ -1594,23 +1595,21 @@ checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" [[package]] name = "const-random" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368a7a772ead6ce7e1de82bfb04c485f3db8ec744f72925af5735e29a22cc18e" +checksum = "11df32a13d7892ec42d51d3d175faba5211ffe13ed25d4fb348ac9e9ce835593" dependencies = [ "const-random-macro", - "proc-macro-hack", ] [[package]] name = "const-random-macro" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d7d6ab3c3a2282db210df5f02c4dab6e0a7057af0fb7ebd4070f30fe05c0ddb" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ "getrandom 0.2.10", "once_cell", - "proc-macro-hack", "tiny-keccak", ] @@ -1678,9 +1677,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +checksum = "3fbc60abd742b35f2492f808e1abbb83d45f72db402e14c55057edc9c7b1e9e4" dependencies = [ "libc", ] @@ -1968,9 +1967,9 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ - "clap 4.4.6", + "clap 4.4.7", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -1984,7 +1983,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2007,7 +2006,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2049,7 +2048,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2078,7 +2077,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "anyhow", "async-trait", @@ -2093,7 +2092,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -2116,7 +2115,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2139,7 +2138,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2163,7 +2162,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2198,7 +2197,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2216,7 +2215,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2233,7 +2232,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2263,7 +2262,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2274,7 +2273,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2290,7 +2289,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2301,6 +2300,7 @@ dependencies = [ "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -2311,7 +2311,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2325,7 +2325,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2342,7 +2342,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2365,7 +2365,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "futures", @@ -2378,7 +2378,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2396,7 +2396,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2420,7 +2420,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2438,7 +2438,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "async-trait", @@ -2473,7 +2473,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2511,7 +2511,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3073,7 +3073,7 @@ checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ "curve25519-dalek 4.1.1", "ed25519", - "hashbrown 0.14.1", + "hashbrown 0.14.2", "hex", "rand_core 0.6.4", "sha2 0.10.8", @@ -3371,7 +3371,7 @@ dependencies = [ [[package]] name = "fflonk" version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#26a5045b24e169cffc1f9328ca83d71061145c40" +source = "git+https://github.com/w3f/fflonk#e141d4b6f42fb481aefe1b479788694945b6940d" dependencies = [ "ark-ec", "ark-ff", @@ -3491,7 +3491,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", ] @@ -3514,7 +3514,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-support-procedural", @@ -3530,7 +3530,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "sp-std", "sp-storage", "static_assertions", @@ -3539,12 +3539,12 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "Inflector", "array-bytes", "chrono", - "clap 4.4.6", + "clap 4.4.7", "comfy-table", "frame-benchmarking", "frame-support", @@ -3579,7 +3579,7 @@ dependencies = [ "sp-state-machine", "sp-storage", "sp-trie", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "thiserror", "thousands", ] @@ -3587,7 +3587,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3598,7 +3598,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3615,7 +3615,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -3645,7 +3645,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-recursion", "futures", @@ -3667,7 +3667,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3707,7 +3707,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "Inflector", "cfg-expr", @@ -3725,7 +3725,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -3737,7 +3737,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "proc-macro2", "quote", @@ -3747,7 +3747,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cfg-if", "frame-support", @@ -3766,7 +3766,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -3781,7 +3781,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "sp-api", @@ -3790,7 +3790,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "parity-scale-codec", @@ -3821,7 +3821,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "rustix 0.38.19", + "rustix 0.38.20", "windows-sys 0.48.0", ] @@ -4182,7 +4182,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.6", + "ahash 0.7.7", ] [[package]] @@ -4191,16 +4191,16 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", ] [[package]] name = "hashbrown" -version = "0.14.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" +checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "allocator-api2", "serde", ] @@ -4392,7 +4392,7 @@ dependencies = [ name = "hydradx" version = "10.0.1" dependencies = [ - "clap 4.4.6", + "clap 4.4.7", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -4650,7 +4650,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.13", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -4667,7 +4667,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.21.7", + "rustls 0.21.8", "rustls-native-certs", "tokio", "tokio-rustls", @@ -4819,7 +4819,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" dependencies = [ "equivalent", - "hashbrown 0.14.1", + "hashbrown 0.14.2", ] [[package]] @@ -4916,7 +4916,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.4", + "socket2 0.5.5", "widestring", "windows-sys 0.48.0", "winreg", @@ -4924,9 +4924,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" @@ -4935,7 +4935,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.3", - "rustix 0.38.19", + "rustix 0.38.20", "windows-sys 0.48.0", ] @@ -5266,7 +5266,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "polkadot-primitives", @@ -5541,7 +5541,7 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", "trust-dns-proto", "void", @@ -5683,7 +5683,7 @@ dependencies = [ "libc", "libp2p-core", "log", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", ] @@ -6084,7 +6084,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.19", + "rustix 0.38.20", ] [[package]] @@ -6184,9 +6184,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.8" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" +checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -6196,7 +6196,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "log", @@ -6215,7 +6215,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "anyhow", "jsonrpsee 0.16.3", @@ -6693,7 +6693,7 @@ dependencies = [ "sp-api", "sp-io", "sp-runtime", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "sp-std", "sp-storage", ] @@ -6903,7 +6903,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -6921,7 +6921,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -6937,7 +6937,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -6954,7 +6954,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -6970,7 +6970,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -6984,7 +6984,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7008,7 +7008,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "aquamarine", "docify", @@ -7030,7 +7030,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7045,7 +7045,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -7065,7 +7065,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7115,7 +7115,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7133,7 +7133,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7229,7 +7229,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7248,7 +7248,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7265,7 +7265,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7342,7 +7342,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7427,7 +7427,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7444,13 +7444,13 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-std", - "strum", + "strum 0.24.1", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7464,7 +7464,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7507,7 +7507,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "docify", "frame-benchmarking", @@ -7544,7 +7544,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7567,7 +7567,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7583,7 +7583,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7603,7 +7603,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7673,7 +7673,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7690,7 +7690,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7709,7 +7709,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7727,7 +7727,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7764,7 +7764,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7780,7 +7780,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -7799,7 +7799,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7811,7 +7811,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "sp-staking", "sp-std", ] @@ -7819,7 +7819,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7830,7 +7830,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -7847,7 +7847,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7950,7 +7950,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7967,7 +7967,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7982,7 +7982,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8000,7 +8000,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8015,7 +8015,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8073,7 +8073,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "docify", "frame-benchmarking", @@ -8091,7 +8091,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -8113,7 +8113,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8130,7 +8130,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8196,7 +8196,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8219,7 +8219,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8230,7 +8230,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "log", "sp-arithmetic", @@ -8239,7 +8239,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "sp-api", @@ -8248,7 +8248,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8265,7 +8265,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8280,7 +8280,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8299,7 +8299,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8362,7 +8362,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -8378,7 +8378,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8394,7 +8394,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8406,7 +8406,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8423,7 +8423,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8438,7 +8438,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8454,7 +8454,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8469,7 +8469,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8484,7 +8484,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8505,7 +8505,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8526,7 +8526,6 @@ name = "pallet-xcm-rate-limiter" version = "0.1.1" dependencies = [ "cumulus-pallet-xcmp-queue", - "cumulus-primitives-core", "frame-benchmarking", "frame-support", "frame-system", @@ -8583,7 +8582,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8597,7 +8596,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -8814,9 +8813,9 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" -version = "2.7.4" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c022f1e7b65d6a24c0dbbd5fb344c66881bc01f3e5ae74a1c8100f2f985d98a4" +checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" dependencies = [ "memchr", "thiserror", @@ -8825,9 +8824,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.4" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35513f630d46400a977c4cb58f78e1bfbe01434316e60c37d27b9ad6139c66d8" +checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" dependencies = [ "pest", "pest_generator", @@ -8835,9 +8834,9 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.4" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9fc1b9e7057baba189b5c626e2d6f40681ae5b6eb064dc7c7834101ec8123a" +checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" dependencies = [ "pest", "pest_meta", @@ -8848,9 +8847,9 @@ dependencies = [ [[package]] name = "pest_meta" -version = "2.7.4" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1df74e9e7ec4053ceb980e7c0c8bd3594e977fde1af91daba9c928e8e8c6708d" +checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" dependencies = [ "once_cell", "pest", @@ -8995,7 +8994,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "futures-timer", @@ -9013,7 +9012,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "always-assert", "futures", @@ -9029,7 +9028,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "derive_more", "fatality", @@ -9052,7 +9051,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "fatality", "futures", @@ -9073,9 +9072,9 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "1.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ - "clap 4.4.6", + "clap 4.4.7", "frame-benchmarking-cli", "futures", "log", @@ -9100,7 +9099,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "fatality", @@ -9122,7 +9121,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "scale-info", @@ -9134,7 +9133,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "derive_more", "fatality", @@ -9159,7 +9158,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9173,7 +9172,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "futures-timer", @@ -9194,7 +9193,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "always-assert", "async-trait", @@ -9217,7 +9216,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "parity-scale-codec", @@ -9235,7 +9234,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "derive_more", @@ -9264,7 +9263,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "futures", @@ -9286,7 +9285,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "fatality", @@ -9305,7 +9304,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9320,7 +9319,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -9341,7 +9340,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "polkadot-node-metrics", @@ -9356,7 +9355,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "futures-timer", @@ -9373,7 +9372,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "fatality", "futures", @@ -9392,7 +9391,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -9409,7 +9408,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "fatality", @@ -9426,7 +9425,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "fatality", @@ -9443,7 +9442,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "always-assert", "futures", @@ -9461,7 +9460,7 @@ dependencies = [ "slotmap", "sp-core", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "substrate-build-script-utils", "tempfile", "tokio", @@ -9471,7 +9470,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "polkadot-node-primitives", @@ -9487,7 +9486,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cpu-time", "futures", @@ -9510,7 +9509,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "libc", @@ -9533,7 +9532,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "polkadot-node-metrics", @@ -9548,7 +9547,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "lazy_static", "log", @@ -9566,7 +9565,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bs58 0.5.0", "futures", @@ -9585,7 +9584,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-channel", "async-trait", @@ -9601,7 +9600,7 @@ dependencies = [ "rand 0.8.5", "sc-authority-discovery", "sc-network", - "strum", + "strum 0.24.1", "thiserror", "tracing-gum", ] @@ -9609,7 +9608,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bounded-vec", "futures", @@ -9631,7 +9630,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9641,7 +9640,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "derive_more", @@ -9665,7 +9664,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "derive_more", @@ -9698,7 +9697,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -9721,7 +9720,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bounded-collections", "derive_more", @@ -9738,7 +9737,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "env_logger 0.9.3", "log", @@ -9756,7 +9755,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -9782,7 +9781,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "jsonrpsee 0.16.3", "mmr-rpc", @@ -9814,7 +9813,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "frame-benchmarking", @@ -9911,7 +9910,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitvec", "frame-benchmarking", @@ -9957,7 +9956,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "polkadot-primitives", @@ -9971,7 +9970,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -9984,7 +9983,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -10030,7 +10029,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "frame-benchmarking", @@ -10149,7 +10148,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10173,7 +10172,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10244,9 +10243,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" +checksum = "b559898e0b4931ed2d3b959ab0c2da4d99cc644c4b0b1a35b4d344027f474023" [[package]] name = "powerfmt" @@ -10398,12 +10397,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "proc-macro-hack" -version = "0.5.20+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" - [[package]] name = "proc-macro-warning" version = "0.4.2" @@ -10961,9 +10954,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.4" +version = "0.17.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fce3045ffa7c981a6ee93f640b538952e155f1ae3a1a02b84547fc7a56b7059a" +checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" dependencies = [ "cc", "getrandom 0.2.10", @@ -10986,7 +10979,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11074,7 +11067,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "polkadot-primitives", @@ -11206,6 +11199,7 @@ dependencies = [ "pallet-dynamic-fees", "pallet-elections-phragmen", "pallet-ema-oracle", + "pallet-im-online", "pallet-lbp", "pallet-liquidity-mining", "pallet-omnipool", @@ -11233,12 +11227,16 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime", "polkadot-runtime-parachains", + "polkadot-service", "pretty_assertions", "primitives", + "sc-consensus-grandpa", "scraper", "sp-api", + "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", + "sp-consensus-babe", "sp-core", "sp-externalities", "sp-inherents", @@ -11310,9 +11308,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.25" +version = "0.37.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4eb579851244c2c03e7c24f501c3432bed80b8f720af1d6e5b0e0f01555a035" +checksum = "84f3f8f960ed3b5a59055428714943298bf3fa2d4a1d53135084e0544829d995" dependencies = [ "bitflags 1.3.2", "errno", @@ -11324,9 +11322,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.19" +version = "0.38.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" +checksum = "67ce50cb2e16c2903e30d1cbccfd8387a74b9d4c938b6a4c5ec6cc7556f7a8a0" dependencies = [ "bitflags 2.4.1", "errno", @@ -11356,20 +11354,20 @@ checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ "log", "ring 0.16.20", - "sct 0.7.0", + "sct 0.7.1", "webpki 0.22.4", ] [[package]] name = "rustls" -version = "0.21.7" +version = "0.21.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" +checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" dependencies = [ "log", - "ring 0.16.20", - "rustls-webpki 0.101.6", - "sct 0.7.0", + "ring 0.17.5", + "rustls-webpki 0.101.7", + "sct 0.7.1", ] [[package]] @@ -11390,7 +11388,7 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "base64 0.21.4", + "base64 0.21.5", ] [[package]] @@ -11405,12 +11403,12 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.101.6" +version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c7d5dece342910d9ba34d259310cae3e0154b873b35408b787b59bce53d34fe" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring 0.17.5", + "untrusted 0.9.0", ] [[package]] @@ -11480,18 +11478,18 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "log", "sp-core", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "thiserror", ] [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -11519,7 +11517,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "futures-timer", @@ -11542,7 +11540,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11557,7 +11555,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11576,7 +11574,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11587,11 +11585,11 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "chrono", - "clap 4.4.6", + "clap 4.4.7", "fdlimit", "futures", "libp2p-identity", @@ -11626,7 +11624,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "fnv", "futures", @@ -11652,7 +11650,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "hash-db", "kvdb", @@ -11678,7 +11676,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -11703,7 +11701,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -11732,7 +11730,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "fork-tree", @@ -11768,7 +11766,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11790,7 +11788,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "async-channel", @@ -11824,7 +11822,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11843,7 +11841,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11856,9 +11854,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "array-bytes", "async-trait", "dyn-clone", @@ -11897,7 +11895,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "finality-grandpa", "futures", @@ -11917,7 +11915,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -11940,7 +11938,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -11952,21 +11950,21 @@ dependencies = [ "sp-externalities", "sp-io", "sp-panic-handler", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "sp-trie", "sp-version", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "tracing", ] [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "thiserror", "wasm-instrument", ] @@ -11974,7 +11972,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "anyhow", "cfg-if", @@ -11983,15 +11981,15 @@ dependencies = [ "rustix 0.36.16", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "wasmtime", ] [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "ansi_term", "futures", @@ -12007,7 +12005,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -12021,7 +12019,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "async-channel", @@ -12062,7 +12060,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-channel", "cid", @@ -12082,7 +12080,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12099,9 +12097,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "futures", "futures-timer", "libp2p", @@ -12117,7 +12115,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "async-channel", @@ -12138,7 +12136,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "async-channel", @@ -12172,7 +12170,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "futures", @@ -12190,7 +12188,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "bytes", @@ -12224,7 +12222,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12233,7 +12231,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -12264,7 +12262,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12283,7 +12281,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -12298,7 +12296,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "futures", @@ -12326,7 +12324,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "directories", @@ -12390,7 +12388,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "log", "parity-scale-codec", @@ -12401,9 +12399,9 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ - "clap 4.4.6", + "clap 4.4.7", "fs4", "log", "sc-client-db", @@ -12415,7 +12413,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12434,7 +12432,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "libc", @@ -12453,7 +12451,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "chrono", "futures", @@ -12472,7 +12470,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "ansi_term", "atty", @@ -12501,7 +12499,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12512,7 +12510,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -12538,7 +12536,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -12554,7 +12552,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-channel", "futures", @@ -12568,9 +12566,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" +checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" dependencies = [ "bitvec", "cfg-if", @@ -12582,9 +12580,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" +checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12607,7 +12605,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "cfg-if", "hashbrown 0.13.2", ] @@ -12686,12 +12684,12 @@ dependencies = [ [[package]] name = "sct" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring 0.17.5", + "untrusted 0.9.0", ] [[package]] @@ -12851,9 +12849,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" +checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" dependencies = [ "serde", ] @@ -13009,7 +13007,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "enumn", "parity-scale-codec", @@ -13059,7 +13057,7 @@ dependencies = [ "arrayvec 0.7.4", "async-lock", "atomic-take", - "base64 0.21.4", + "base64 0.21.5", "bip39", "blake2-rfc", "bs58 0.5.0", @@ -13072,7 +13070,7 @@ dependencies = [ "fnv", "futures-lite", "futures-util", - "hashbrown 0.14.1", + "hashbrown 0.14.2", "hex", "hmac 0.12.1", "itertools 0.11.0", @@ -13112,7 +13110,7 @@ checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" dependencies = [ "async-channel", "async-lock", - "base64 0.21.4", + "base64 0.21.5", "blake2-rfc", "derive_more", "either", @@ -13121,7 +13119,7 @@ dependencies = [ "futures-channel", "futures-lite", "futures-util", - "hashbrown 0.14.1", + "hashbrown 0.14.2", "hex", "itertools 0.11.0", "log", @@ -13165,9 +13163,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" dependencies = [ "libc", "winapi", @@ -13175,9 +13173,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" +checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" dependencies = [ "libc", "windows-sys 0.48.0", @@ -13203,7 +13201,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "hash-db", "log", @@ -13224,7 +13222,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "Inflector", "blake2", @@ -13238,7 +13236,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "scale-info", @@ -13251,7 +13249,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "integer-sqrt", "num-traits", @@ -13265,7 +13263,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "scale-info", @@ -13278,7 +13276,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "sp-api", "sp-inherents", @@ -13289,7 +13287,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "futures", "log", @@ -13307,7 +13305,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "futures", @@ -13322,7 +13320,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "parity-scale-codec", @@ -13339,7 +13337,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "parity-scale-codec", @@ -13358,7 +13356,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13371,13 +13369,13 @@ dependencies = [ "sp-mmr-primitives", "sp-runtime", "sp-std", - "strum", + "strum 0.24.1", ] [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "finality-grandpa", "log", @@ -13395,7 +13393,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "scale-info", @@ -13407,7 +13405,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -13440,7 +13438,7 @@ dependencies = [ "sp-core-hashing", "sp-debug-derive", "sp-externalities", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "sp-std", "sp-storage", "ss58-registry", @@ -13454,7 +13452,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "blake2b_simd", "byteorder", @@ -13467,7 +13465,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "quote", "sp-core-hashing", @@ -13477,7 +13475,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13486,7 +13484,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "proc-macro2", "quote", @@ -13496,7 +13494,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "environmental", "parity-scale-codec", @@ -13507,7 +13505,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "serde_json", "sp-api", @@ -13518,7 +13516,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13532,7 +13530,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bytes", "ed25519-dalek", @@ -13544,7 +13542,7 @@ dependencies = [ "sp-core", "sp-externalities", "sp-keystore", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "sp-state-machine", "sp-std", "sp-tracing", @@ -13556,18 +13554,18 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "lazy_static", "sp-core", "sp-runtime", - "strum", + "strum 0.24.1", ] [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -13579,7 +13577,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13588,7 +13586,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13599,7 +13597,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13617,7 +13615,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "scale-info", @@ -13631,7 +13629,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "sp-api", "sp-core", @@ -13641,7 +13639,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "backtrace", "lazy_static", @@ -13651,7 +13649,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "rustc-hash", "serde", @@ -13661,7 +13659,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "either", "hash256-std-hasher", @@ -13680,6 +13678,24 @@ dependencies = [ "sp-weights", ] +[[package]] +name = "sp-runtime-interface" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities", + "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "static_assertions", +] + [[package]] name = "sp-runtime-interface" version = "17.0.0" @@ -13690,14 +13706,26 @@ dependencies = [ "parity-scale-codec", "primitive-types", "sp-externalities", - "sp-runtime-interface-proc-macro", + "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "sp-std", "sp-storage", "sp-tracing", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "static_assertions", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" @@ -13713,7 +13741,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "scale-info", @@ -13728,7 +13756,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -13742,7 +13770,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "hash-db", "log", @@ -13763,7 +13791,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.1.1", @@ -13778,7 +13806,7 @@ dependencies = [ "sp-core", "sp-externalities", "sp-runtime", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", "sp-std", "thiserror", "x25519-dalek 2.0.0", @@ -13787,12 +13815,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13805,7 +13833,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "parity-scale-codec", @@ -13818,7 +13846,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "sp-std", @@ -13830,7 +13858,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "sp-api", "sp-runtime", @@ -13839,7 +13867,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "parity-scale-codec", @@ -13854,9 +13882,9 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "hash-db", "hashbrown 0.13.2", "lazy_static", @@ -13877,7 +13905,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13894,7 +13922,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13902,6 +13930,19 @@ dependencies = [ "syn 2.0.38", ] +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std", + "wasmtime", +] + [[package]] name = "sp-wasm-interface" version = "14.0.0" @@ -13918,7 +13959,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "parity-scale-codec", "scale-info", @@ -13950,7 +13991,7 @@ checksum = "08615eea740067d9899969bc2891c68a19c315cb1f66640af9a9ecb91b13bcab" dependencies = [ "lazy_static", "maplit", - "strum", + "strum 0.24.1", ] [[package]] @@ -13997,7 +14038,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14103,7 +14144,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "bounded-collections", "derivative", @@ -14120,7 +14161,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "frame-system", @@ -14142,7 +14183,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "environmental", "frame-benchmarking", @@ -14205,9 +14246,15 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" dependencies = [ - "strum_macros", + "strum_macros 0.24.3", ] +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" + [[package]] name = "strum_macros" version = "0.24.3" @@ -14221,6 +14268,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strum_macros" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.38", +] + [[package]] name = "stun" version = "0.4.4" @@ -14256,12 +14316,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14280,7 +14340,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "hyper", "log", @@ -14292,7 +14352,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -14305,7 +14365,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -14322,7 +14382,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "ansi_term", "build-helper", @@ -14330,7 +14390,7 @@ dependencies = [ "filetime", "parity-wasm", "sp-maybe-compressed-blob", - "strum", + "strum 0.24.1", "tempfile", "toml 0.7.8", "walkdir", @@ -14421,9 +14481,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.11" +version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" +checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" [[package]] name = "tempfile" @@ -14434,7 +14494,7 @@ dependencies = [ "cfg-if", "fastrand 2.0.1", "redox_syscall 0.3.5", - "rustix 0.38.19", + "rustix 0.38.20", "windows-sys 0.48.0", ] @@ -14526,9 +14586,9 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" +checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ "thiserror-impl", ] @@ -14555,9 +14615,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" +checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", @@ -14719,7 +14779,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite 0.2.13", "signal-hook-registry", - "socket2 0.5.4", + "socket2 0.5.5", "tokio-macros", "windows-sys 0.48.0", ] @@ -14752,7 +14812,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.7", + "rustls 0.21.8", "tokio", ] @@ -14770,9 +14830,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d68074620f57a0b21594d9735eb2e98ab38b17f80d3fcb189fca266771ca60d" +checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" dependencies = [ "bytes", "futures-core", @@ -14806,9 +14866,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -14869,9 +14929,9 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.39" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", "pin-project-lite 0.2.13", @@ -14913,7 +14973,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "coarsetime", "polkadot-node-jaeger", @@ -14925,7 +14985,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -14936,12 +14996,12 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" +checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" dependencies = [ - "lazy_static", "log", + "once_cell", "tracing-core", ] @@ -15018,7 +15078,7 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.4.10", "thiserror", "tinyvec", "tokio", @@ -15055,10 +15115,10 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "async-trait", - "clap 4.4.6", + "clap 4.4.7", "frame-remote-externalities", "frame-try-runtime", "hex", @@ -15423,14 +15483,14 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.114.1" +version = "0.114.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d005a95f934878a1fb446a816d51c3601a0120ff929005ba3bab3c749cfd1c7" +checksum = "effbef3bd1dde18acb401f73e740a6f3d4a1bc651e9773bddc512fe4d8d68f67" dependencies = [ "anyhow", "libc", - "strum", - "strum_macros", + "strum 0.24.1", + "strum_macros 0.24.3", "tempfile", "thiserror", "wasm-opt-cxx-sys", @@ -15439,9 +15499,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.114.1" +version = "0.114.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d04e240598162810fad3b2e96fa0dec6dba1eb65a03f3bd99a9248ab8b56caa" +checksum = "c09e24eb283919ace2ed5733bda4842a59ce4c8de110ef5c6d98859513d17047" dependencies = [ "anyhow", "cxx", @@ -15451,9 +15511,9 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.114.1" +version = "0.114.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2efd2aaca519d64098c4faefc8b7433a97ed511caf4c9e516384eb6aef1ff4f9" +checksum = "36f2f817bed2e8d65eb779fa37317e74de15585751f903c9118342d1970703a4" dependencies = [ "anyhow", "cc", @@ -15570,7 +15630,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.21.4", + "base64 0.21.5", "bincode", "directories-next", "file-per-thread-logger", @@ -15747,7 +15807,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.4", + "ring 0.17.5", "untrusted 0.9.0", ] @@ -15902,7 +15962,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log", - "socket2 0.4.9", + "socket2 0.4.10", "thiserror", "tokio", "webrtc-util", @@ -15986,7 +16046,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16085,7 +16145,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "frame-support", "polkadot-primitives", @@ -16105,7 +16165,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.19", + "rustix 0.38.20", ] [[package]] @@ -16412,7 +16472,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -16444,7 +16504,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#f60318f68687e601c47de5ad5ca88e2c3f8139a7" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" dependencies = [ "Inflector", "proc-macro2", @@ -16481,6 +16541,26 @@ dependencies = [ "time", ] +[[package]] +name = "zerocopy" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69c48d63854f77746c68a5fbb4aa17f3997ece1cb301689a257af8cb80610d21" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c258c1040279e4f88763a113de72ce32dde2d50e2a94573f15dd534cea36a16d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "zeroize" version = "1.6.0" diff --git a/Cargo.toml b/Cargo.toml index cd67fcb4c..ae4baf51a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -104,6 +104,7 @@ sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } @@ -129,6 +130,7 @@ sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } @@ -164,6 +166,7 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/parityt pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } @@ -253,28 +256,152 @@ westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = # xcm-builder = { packege = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } # xcm-executor = { packege = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# [patch."https://github.com/paritytech/cumulus"] // TODO -# cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } + +[patch."https://github.com/paritytech/polkadot-sdk"] +frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } + +# Substrate Pallets +pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } + +substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +try-runtime-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } + +# Cumulus dependencies +cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } + +# Polkadot dependencies +pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0"} +polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +#polkadot-xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } + +kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +#polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } + +cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } + diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 0c6bd365b..ffffe5506 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -96,6 +96,7 @@ pallet-transaction-payment = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-utility = { workspace = true } pallet-uniques = { workspace = true } +pallet-im-online = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } @@ -111,8 +112,12 @@ sp-version = { workspace = true } sp-staking = { workspace = true } sp-trie = { workspace = true } sp-io = { workspace = true } +sp-consensus-babe = { workspace = true } +sp-authority-discovery = { workspace = true } +sc-consensus-grandpa = { workspace = true } polkadot-primitives = { workspace = true } +polkadot-service = { workspace = true, features = ["full-node"] } polkadot-runtime-parachains = { workspace = true } polkadot-runtime = { workspace = true } diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 1f21fe06b..d35ee8738 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -207,6 +207,43 @@ pub mod polkadot { } } + use pallet_im_online::sr25519::AuthorityId as ImOnlineId; + use polkadot_primitives::{AssignmentId, ValidatorId}; + use polkadot_service::chain_spec::get_authority_keys_from_seed_no_beefy; + use sc_consensus_grandpa::AuthorityId as GrandpaId; + use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; + use sp_consensus_babe::AuthorityId as BabeId; + pub fn initial_authorities() -> Vec<( + AccountId, + AccountId, + BabeId, + GrandpaId, + ImOnlineId, + ValidatorId, + AssignmentId, + AuthorityDiscoveryId, + )> { + vec![get_authority_keys_from_seed_no_beefy("Alice")] + } + + fn session_keys( + babe: BabeId, + grandpa: GrandpaId, + im_online: ImOnlineId, + para_validator: ValidatorId, + para_assignment: AssignmentId, + authority_discovery: AuthorityDiscoveryId, + ) -> polkadot_runtime::SessionKeys { + polkadot_runtime::SessionKeys { + babe, + grandpa, + im_online, + para_validator, + para_assignment, + authority_discovery, + } + } + pub fn genesis() -> Storage { let genesis_config = polkadot_runtime::RuntimeGenesisConfig { balances: polkadot_runtime::BalancesConfig { @@ -215,15 +252,37 @@ pub mod polkadot { (ParaId::from(HYDRA_PARA_ID).into_account_truncating(), 10 * UNITS), ], }, - + session: polkadot_runtime::SessionConfig { + keys: initial_authorities() + .iter() + .map(|x| { + ( + x.0.clone(), + x.0.clone(), + polkadot::session_keys( + x.2.clone(), + x.3.clone(), + x.4.clone(), + x.5.clone(), + x.6.clone(), + x.7.clone(), + ), + ) + }) + .collect::>(), + }, configuration: polkadot_runtime::ConfigurationConfig { config: get_host_configuration(), }, - xcm_pallet: polkadot_runtime::XcmPalletConfig { safe_xcm_version: Some(3), ..Default::default() }, + babe: polkadot_runtime::BabeConfig { + authorities: Default::default(), + epoch_config: Some(polkadot_runtime::BABE_GENESIS_EPOCH_CONFIG), + ..Default::default() + }, ..Default::default() }; @@ -231,6 +290,46 @@ pub mod polkadot { } } +use sp_core::{sr25519, Pair, Public}; +use sp_runtime::{ + traits::{IdentifyAccount, Verify}, + MultiSignature, +}; +type AccountPublic = ::Signer; + +/// Helper function to generate a crypto pair from seed +fn get_from_seed(seed: &str) -> ::Public { + TPublic::Pair::from_string(&format!("//{}", seed), None) + .expect("static values are valid; qed") + .public() +} + +/// Helper function to generate an account ID from seed. +fn get_account_id_from_seed(seed: &str) -> AccountId +where + AccountPublic: From<::Public>, +{ + AccountPublic::from(get_from_seed::(seed)).into_account() +} + +pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; +pub mod collators { + use super::*; + + pub fn invulnerables() -> Vec<(AccountId, AuraId)> { + vec![ + ( + get_account_id_from_seed::("Alice"), + get_from_seed::("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_from_seed::("Bob"), + ), + ] + } +} + pub mod hydra { use super::*; @@ -257,7 +356,23 @@ pub mod hydra { (staking_account, UNITS), ], }, - + collator_selection: hydradx_runtime::CollatorSelectionConfig { + invulnerables: collators::invulnerables().iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: 2 * UNITS, + ..Default::default() + }, + session: hydradx_runtime::SessionConfig { + keys: collators::invulnerables() + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + hydradx_runtime::opaque::SessionKeys { aura }, // session keys + ) + }) + .collect(), + }, asset_registry: hydradx_runtime::AssetRegistryConfig { registered_assets: vec![ (b"LRNA".to_vec(), 1_000u128, Some(LRNA)), @@ -273,12 +388,10 @@ pub mod hydra { native_asset_name: b"HDX".to_vec(), native_existential_deposit: existential_deposit, }, - parachain_info: hydradx_runtime::ParachainInfoConfig { parachain_id: HYDRA_PARA_ID.into(), ..Default::default() }, - tokens: hydradx_runtime::TokensConfig { balances: vec![ (AccountId::from(ALICE), LRNA, ALICE_INITIAL_LRNA_BALANCE), @@ -298,12 +411,10 @@ pub mod hydra { (omnipool_account, DOT, dot_amount), ], }, - polkadot_xcm: hydradx_runtime::PolkadotXcmConfig { safe_xcm_version: Some(3), ..Default::default() }, - multi_transaction_payment: hydradx_runtime::MultiTransactionPaymentConfig { currencies: vec![ (LRNA, Price::from(1)), @@ -313,7 +424,6 @@ pub mod hydra { ], account_currencies: vec![], }, - duster: hydradx_runtime::DusterConfig { account_blacklist: vec![Treasury::account_id()], reward_account: Some(Treasury::account_id()), @@ -333,16 +443,36 @@ pub mod para { balances: hydradx_runtime::BalancesConfig { balances: vec![(AccountId::from(ALICE), ALICE_INITIAL_NATIVE_BALANCE)], }, - + collator_selection: hydradx_runtime::CollatorSelectionConfig { + invulnerables: collators::invulnerables().iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: UNITS * 16, + ..Default::default() + }, + session: hydradx_runtime::SessionConfig { + keys: collators::invulnerables() + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + hydradx_runtime::opaque::SessionKeys { aura }, // session keys + ) + }) + .collect(), + }, parachain_info: hydradx_runtime::ParachainInfoConfig { parachain_id: para_id.into(), ..Default::default() }, - polkadot_xcm: hydradx_runtime::PolkadotXcmConfig { safe_xcm_version: Some(3), ..Default::default() }, + duster: hydradx_runtime::DusterConfig { + account_blacklist: vec![Treasury::account_id()], + reward_account: Some(Treasury::account_id()), + dust_account: Some(Treasury::account_id()), + }, ..Default::default() }; diff --git a/pallets/democracy/src/migrations.rs b/pallets/democracy/src/migrations.rs index e90671d38..31b44551b 100644 --- a/pallets/democracy/src/migrations.rs +++ b/pallets/democracy/src/migrations.rs @@ -61,7 +61,10 @@ pub mod v1 { impl> OnRuntimeUpgrade for Migration { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { - ensure!(StorageVersion::get::>() == 0, "can only upgrade from version 0"); + ensure!( + StorageVersion::get::>() == 0, + "can only upgrade from version 0" + ); let props_count = v0::PublicProps::::get().len(); log::info!(target: TARGET, "{} public proposals will be migrated.", props_count,); diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 018df7695..170cb8d87 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -36,7 +36,6 @@ polkadot-parachain = { workspace = true } # Cumulus cumulus-pallet-xcmp-queue = { workspace = true } -cumulus-primitives-core = { workspace = true } # orml orml-traits = { workspace = true } diff --git a/pallets/xcm-rate-limiter/src/lib.rs b/pallets/xcm-rate-limiter/src/lib.rs index a7826de6d..590ea45f3 100644 --- a/pallets/xcm-rate-limiter/src/lib.rs +++ b/pallets/xcm-rate-limiter/src/lib.rs @@ -64,18 +64,7 @@ #![cfg_attr(not(feature = "std"), no_std)] use codec::{Decode, Encode}; -// use cumulus_pallet_xcmp_queue::XcmDeferFilter; -// TODO: remove cumulus-primitives-core dependency -// TODO: -use cumulus_primitives_core::{relay_chain::BlockNumber as RelayBlockNumber, ParaId}; -pub trait XcmDeferFilter { - fn deferred_by( - para: ParaId, - sent_at: RelayBlockNumber, - xcm: &VersionedXcm, - ) -> (Weight, Option); -} - +use cumulus_pallet_xcmp_queue::XcmDeferFilter; use frame_support::pallet_prelude::Weight; use frame_support::traits::Get; use frame_system::pallet_prelude::BlockNumberFor; diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index df11e00e1..bb3376da6 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -19,7 +19,6 @@ use codec::FullCodec; use cumulus_primitives_core::relay_chain::Hash; -use frame_system::pallet_prelude::BlockNumberFor; use frame_support::{ sp_runtime::{ traits::{AtLeast32BitUnsigned, Convert, Get, MaybeSerializeDeserialize, Saturating, Zero}, diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 5963b3e5a..684e50f3b 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -239,6 +239,15 @@ std = [ "pallet-ema-oracle/std", "pallet-otc/std", "pallet-route-executor/std", + "pallet-omnipool-liquidity-mining/std", + "pallet-dynamic-fees/std", + "pallet-staking/std", + "pallet-bonds/std", + "pallet-stableswap/std", + "pallet-lbp/std", + "pallet-xyk/std", + "pallet-duster/std", + "warehouse-liquidity-mining/std", "sp-api/std", "sp-block-builder/std", "sp-consensus-aura/std", @@ -253,15 +262,6 @@ std = [ "sp-trie/std", "sp-transaction-pool/std", "sp-version/std", - "pallet-duster/std", - "warehouse-liquidity-mining/std", - "pallet-omnipool-liquidity-mining/std", - "pallet-dynamic-fees/std", - "pallet-staking/std", - "pallet-bonds/std", - "pallet-stableswap/std", - "pallet-lbp/std", - "pallet-xyk/std", ] try-runtime= [ "frame-try-runtime", diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 1c47039d4..bb994d878 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -1,5 +1,4 @@ use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; -use sp_runtime::DispatchError; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 84cc5eb0a..865605e74 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -70,4 +70,16 @@ impl WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + fn service_deferred() -> Weight { + Weight::zero() + } + fn discard_deferred_bucket() -> Weight { + Weight::zero() + } + fn discard_deferred_individual() -> Weight { + Weight::zero() + } + fn try_place_in_deferred_queue() -> Weight { + Weight::zero() + } } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 3c60d9c89..5eaf6f078 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -1,7 +1,7 @@ use super::*; use codec::MaxEncodedLen; -use hydradx_adapters::{MultiCurrencyTrader, ReroutingMultiCurrencyAdapter, ToFeeReceiver}; +use hydradx_adapters::{MultiCurrencyTrader, RelayChainBlockNumberProvider, ReroutingMultiCurrencyAdapter, ToFeeReceiver}; use pallet_transaction_multi_payment::DepositAll; use primitives::AssetId; // shadow glob import of polkadot_xcm::v3::prelude::AssetId @@ -148,6 +148,11 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = (); type WeightInfo = weights::xcmp_queue::HydraWeight; + type ExecuteDeferredOrigin = EnsureRoot; + type MaxDeferredMessages = ConstU32<100>; + type MaxDeferredBuckets = ConstU32<100>; // TODO + type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; + type XcmDeferFilter = (); } impl cumulus_pallet_dmp_queue::Config for Runtime { From 521611251be7f363028b4a635e15cec18d3dcb2f Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 26 Oct 2023 16:47:45 +0200 Subject: [PATCH 025/138] additional changes --- integration-tests/Cargo.toml | 3 +- node/src/cli.rs | 11 +++--- node/src/command.rs | 26 +------------- pallets/claims/src/tests.rs | 12 +++---- pallets/democracy/src/migrations.rs | 2 +- .../src/tests/claim_rewards.rs | 34 ++++++++----------- .../src/tests/create_yield_farm.rs | 8 ++--- .../src/tests/redeposit_lp_shares.rs | 6 ++-- pallets/liquidity-mining/src/tests/tests.rs | 8 ++--- .../src/tests/withdraw_lp_shares.rs | 4 +-- pallets/nft/src/benchmarking.rs | 5 +-- pallets/nft/src/tests.rs | 34 +++++++++---------- pallets/nft/src/types.rs | 9 ++--- pallets/route-executor/src/tests/mock.rs | 5 ++- pallets/stableswap/src/tests/invariants.rs | 4 +-- pallets/stableswap/src/tests/price.rs | 12 +++---- pallets/transaction-pause/src/benchmarking.rs | 2 +- pallets/transaction-pause/src/migration.rs | 2 +- pallets/transaction-pause/src/tests.rs | 6 ++-- pallets/xcm-rate-limiter/src/tests/mock.rs | 1 - pallets/xyk/src/tests/creation.rs | 6 ++-- pallets/xyk/src/tests/invariants.rs | 4 +-- pallets/xyk/src/tests/liquidity.rs | 10 +++--- pallets/xyk/src/tests/trades.rs | 10 +++--- runtime/adapters/src/lib.rs | 2 +- runtime/adapters/src/tests/xcm_exchange.rs | 4 +-- .../hydradx/src/benchmarking/currencies.rs | 10 +++--- runtime/hydradx/src/benchmarking/dca.rs | 6 ++-- runtime/hydradx/src/benchmarking/duster.rs | 5 +-- .../hydradx/src/benchmarking/multi_payment.rs | 5 +-- runtime/hydradx/src/benchmarking/omnipool.rs | 6 ++-- .../src/benchmarking/route_executor.rs | 6 ++-- runtime/hydradx/src/benchmarking/tokens.rs | 5 +-- runtime/hydradx/src/benchmarking/vesting.rs | 5 +-- runtime/hydradx/src/governance.rs | 2 +- runtime/hydradx/src/lib.rs | 1 + runtime/hydradx/src/migrations.rs | 4 +-- runtime/hydradx/src/xcm.rs | 4 ++- 38 files changed, 130 insertions(+), 159 deletions(-) diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index ffffe5506..c9c7c828f 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -119,7 +119,7 @@ sc-consensus-grandpa = { workspace = true } polkadot-primitives = { workspace = true } polkadot-service = { workspace = true, features = ["full-node"] } polkadot-runtime-parachains = { workspace = true } -polkadot-runtime = { workspace = true } +polkadot-runtime = { workspace = true, features = ["try-runtime"] } [dev-dependencies] hex-literal = "0.4.1" @@ -194,4 +194,5 @@ std = [ # we don't include integration tests when benchmarking feature is enabled runtime-benchmarks = [ "hydradx-runtime/runtime-benchmarks", + "polkadot-runtime/runtime-benchmarks", ] diff --git a/node/src/cli.rs b/node/src/cli.rs index 4cc4e0f7a..d3c894894 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -1,3 +1,5 @@ +#![allow(clippy::large_enum_variant)] + use crate::chain_spec; use clap::Parser; use std::fmt; @@ -111,11 +113,8 @@ pub enum Subcommand { #[clap(name = "export-genesis-wasm")] ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand), - /// Try some command against runtime state. - #[cfg(feature = "try-runtime")] - TryRuntime(try_runtime_cli::TryRuntimeCmd), - - /// Try some command against runtime state. Note: `try-runtime` feature must be enabled. - #[cfg(not(feature = "try-runtime"))] + /// Try-runtime has migrated to a standalone + /// [CLI](). The subcommand exists as a stub and + /// deprecation notice. It will be removed entirely some time after Janurary 2024. TryRuntime, } diff --git a/node/src/command.rs b/node/src/command.rs index b5714ff3e..9d1b38487 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -270,31 +270,7 @@ pub fn run() -> sc_cli::Result<()> { Ok(()) } - #[cfg(feature = "try-runtime")] - Some(Subcommand::TryRuntime(cmd)) => { - use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; - let runner = cli.create_runner(cmd)?; - - runner.async_run(|config| { - // we don't need any of the components of new_partial, just a runtime, or a task - // manager to do `async_run`. - let registry = config.prometheus_config.as_ref().map(|cfg| &cfg.registry); - let task_manager = sc_service::TaskManager::new(config.tokio_handle.clone(), registry) - .map_err(|e| sc_cli::Error::Service(sc_service::Error::Prometheus(e)))?; - - Ok(( - cmd.run::::ExtendHostFunctions, - >>(), - task_manager, - )) - }) - } - #[cfg(not(feature = "try-runtime"))] - Some(Subcommand::TryRuntime) => Err("TryRuntime wasn't enabled when building the node. \ - You can enable it with `--features try-runtime`." - .into()), + Some(Subcommand::TryRuntime) => Err("The `try-runtime` subcommand has been migrated to a standalone CLI (https://github.com/paritytech/try-runtime-cli). It is no longer being maintained here and will be removed entirely some time after January 2024. Please remove this subcommand from your runtime and use the standalone CLI.".into()), None => { let runner = cli.create_runner(&cli.run.base.normalize())?; diff --git a/pallets/claims/src/tests.rs b/pallets/claims/src/tests.rs index 35f098202..52bf45b20 100644 --- a/pallets/claims/src/tests.rs +++ b/pallets/claims/src/tests.rs @@ -25,7 +25,7 @@ use hex_literal::hex; use sp_std::marker::PhantomData; pub fn new_test_ext() -> sp_io::TestExternalities { - let mut ext = ExtBuilder::default().build(); + let mut ext = ExtBuilder.build(); ext.execute_with(|| System::set_block_number(1)); ext } @@ -37,15 +37,15 @@ fn claiming_works() { // "I hereby claim all my xHDX tokens to wallet:2a00000000000000" let signature = hex!["5b2b46b0162f4b4431f154c4b9fc5ba923690b98b0c2063720799da54cb35a354304102ede62977ba556f0b03e67710522d4b7523547c62fcdc5acea59c99aa41b"]; - assert_eq!(Balances::free_balance(&ALICE), 0); - assert_eq!(Balances::free_balance(&BOB), 0); + assert_eq!(Balances::free_balance(ALICE), 0); + assert_eq!(Balances::free_balance(BOB), 0); // Signature not consistent with origin assert_noop!(ClaimsPallet::claim(RuntimeOrigin::signed(BOB), EcdsaSignature(signature)), Error::::NoClaimOrAlreadyClaimed); assert_ok!(ClaimsPallet::claim(RuntimeOrigin::signed(ALICE), EcdsaSignature(signature))); - assert_eq!(Balances::free_balance(&ALICE), CLAIM_AMOUNT); + assert_eq!(Balances::free_balance(ALICE), CLAIM_AMOUNT); }) } @@ -66,12 +66,12 @@ fn claim_cant_overflow() { let charlie_eth_addr = EthereumAddress(hex!["8202c0af5962b750123ce1a9b12e1c30a4973557"]); assert_eq!(Claims::::get(charlie_eth_addr), CLAIM_AMOUNT); - assert_eq!(Balances::free_balance(&CHARLIE), primitives::Balance::MAX - 1); + assert_eq!(Balances::free_balance(CHARLIE), primitives::Balance::MAX - 1); assert_noop!(ClaimsPallet::claim(RuntimeOrigin::signed(CHARLIE), EcdsaSignature(signature)), Error::::BalanceOverflow); assert_eq!(Claims::::get(charlie_eth_addr), CLAIM_AMOUNT); - assert_eq!(Balances::free_balance(&CHARLIE), primitives::Balance::MAX - 1); + assert_eq!(Balances::free_balance(CHARLIE), primitives::Balance::MAX - 1); }) } diff --git a/pallets/democracy/src/migrations.rs b/pallets/democracy/src/migrations.rs index 31b44551b..5a474c472 100644 --- a/pallets/democracy/src/migrations.rs +++ b/pallets/democracy/src/migrations.rs @@ -160,7 +160,7 @@ mod test { tests::{Test as T, *}, types::*, }; - use frame_support::bounded_vec; + use sp_runtime::bounded_vec; #[allow(deprecated)] #[test] diff --git a/pallets/liquidity-mining/src/tests/claim_rewards.rs b/pallets/liquidity-mining/src/tests/claim_rewards.rs index ebacaf7ab..28cb85db8 100644 --- a/pallets/liquidity-mining/src/tests/claim_rewards.rs +++ b/pallets/liquidity-mining/src/tests/claim_rewards.rs @@ -72,7 +72,7 @@ fn claim_rewards_should_work() { updated_at: 25, valued_shares: 2_500 * ONE, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }] .try_into() .unwrap(), @@ -139,7 +139,7 @@ fn claim_rewards_should_work() { entered_at: 25, updated_at: 30, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }] .try_into() .unwrap(), @@ -230,7 +230,7 @@ fn claim_rewards_should_work() { entered_at: 18, updated_at: 1_258, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }] .try_into() .unwrap(), @@ -322,7 +322,7 @@ fn claim_rewards_should_work() { updated_at: 18, valued_shares: 2_500 * ONE, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }] .try_into() .unwrap(), @@ -381,7 +381,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 18, updated_at: 18, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: EVE_FARM, @@ -392,7 +392,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 50, updated_at: 50, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: DAVE_FARM, @@ -403,7 +403,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 800, updated_at: 800, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, ] ); @@ -454,7 +454,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 18, updated_at: 10_000, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: EVE_FARM, @@ -465,7 +465,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 50, updated_at: 1_000, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: DAVE_FARM, @@ -476,7 +476,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 800, updated_at: 800, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, ] ); @@ -527,7 +527,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 18, updated_at: 10_000, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: EVE_FARM, @@ -538,7 +538,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 50, updated_at: 1_000, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: DAVE_FARM, @@ -549,7 +549,7 @@ fn claim_rewards_deposit_with_multiple_entries_should_work() { entered_at: 800, updated_at: 1_000, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, ] ); @@ -593,7 +593,7 @@ fn claim_rewards_doubleclaim_in_the_same_period_should_not_work() { entered_at: 18, updated_at: 25, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }] .try_into() .unwrap(), @@ -677,7 +677,7 @@ fn claim_rewards_should_claim_correct_amount_when_yield_farm_is_stopped() { entered_at: 18, updated_at: 200, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }] .try_into() .unwrap(), @@ -911,7 +911,6 @@ fn deposits_should_claim_same_amount_when_created_in_the_same_period() { fn claim_rewards_should_claim_correct_amount_when_yield_farm_was_resumed() { predefined_test_ext_with_deposits().execute_with(|| { let _ = with_transaction(|| { - const FAIL_ON_DOUBLECLAIM: bool = true; const REWARD_CURRENCY: AssetId = ACA; //Arrange @@ -986,7 +985,6 @@ fn claim_rewards_should_claim_correct_amount_when_yield_farm_was_resumed() { fn claim_rewards_should_claim_correct_amount_when_deposit_is_created_after_yield_farm_was_resumed() { predefined_test_ext_with_deposits().execute_with(|| { let _ = with_transaction(|| { - const FAIL_ON_DOUBLECLAIM: bool = true; const REWARD_CURRENCY: AssetId = ACA; //Arrange @@ -1060,7 +1058,6 @@ fn claim_rewards_should_claim_correct_amount_when_deposit_is_created_after_yield fn claim_rewards_should_claim_correct_amount_when_yield_was_resumed_multiple_times() { predefined_test_ext_with_deposits().execute_with(|| { let _ = with_transaction(|| { - const FAIL_ON_DOUBLECLAIM: bool = true; const REWARD_CURRENCY: AssetId = ACA; //Arrange @@ -1163,7 +1160,6 @@ fn claim_rewards_should_claim_correct_amount_when_yield_was_resumed_multiple_tim fn claim_rewards_should_claim_correct_amount_when_yield_was_resumed_multiple_times_and_is_stopped_now() { predefined_test_ext_with_deposits().execute_with(|| { let _ = with_transaction(|| { - const FAIL_ON_DOUBLECLAIM: bool = true; const REWARD_CURRENCY: AssetId = ACA; //Arrange diff --git a/pallets/liquidity-mining/src/tests/create_yield_farm.rs b/pallets/liquidity-mining/src/tests/create_yield_farm.rs index ac950bfdf..9047ffd51 100644 --- a/pallets/liquidity-mining/src/tests/create_yield_farm.rs +++ b/pallets/liquidity-mining/src/tests/create_yield_farm.rs @@ -41,7 +41,7 @@ fn create_yield_farm_should_work() { state: FarmState::Active, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, BSX_ACA_AMM, ALICE, @@ -72,7 +72,7 @@ fn create_yield_farm_should_work() { state: FarmState::Active, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, BSX_KSM_AMM, ALICE, @@ -106,7 +106,7 @@ fn create_yield_farm_should_work() { entries_count: 0, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, BSX_ETH_AMM, ALICE, @@ -140,7 +140,7 @@ fn create_yield_farm_should_work() { entries_count: 0, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, BSX_ETH_AMM, BOB, diff --git a/pallets/liquidity-mining/src/tests/redeposit_lp_shares.rs b/pallets/liquidity-mining/src/tests/redeposit_lp_shares.rs index 964713541..4a785d741 100644 --- a/pallets/liquidity-mining/src/tests/redeposit_lp_shares.rs +++ b/pallets/liquidity-mining/src/tests/redeposit_lp_shares.rs @@ -77,7 +77,7 @@ fn redeposit_lp_shares_should_work() { entered_at: 18, updated_at: 18, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: EVE_FARM, @@ -88,7 +88,7 @@ fn redeposit_lp_shares_should_work() { entered_at: 50, updated_at: 50, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, YieldFarmEntry { global_farm_id: DAVE_FARM, @@ -99,7 +99,7 @@ fn redeposit_lp_shares_should_work() { entered_at: 800, updated_at: 800, stopped_at_creation: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }, ] ); diff --git a/pallets/liquidity-mining/src/tests/tests.rs b/pallets/liquidity-mining/src/tests/tests.rs index 55e511882..c99457173 100644 --- a/pallets/liquidity-mining/src/tests/tests.rs +++ b/pallets/liquidity-mining/src/tests/tests.rs @@ -1197,7 +1197,7 @@ fn sync_yield_farm_should_work() { entries_count: 0, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }; let mut global_farm = global_farm_0.clone(); @@ -1322,7 +1322,7 @@ fn sync_yield_farm_should_not_update_when_yield_farm_is_not_active() { entries_count: 0, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }; let mut global_farm = global_farm_0.clone(); @@ -1405,7 +1405,7 @@ fn sync_yield_farm_should_only_update_updated_at_field_when_farm_has_no_valued_s entries_count: 0, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }; let mut global_farm = global_farm_0.clone(); @@ -1460,7 +1460,7 @@ fn sync_yield_farm_should_not_update_when_yield_farm_was_already_updated_in_this entries_count: 0, left_to_distribute: 0, total_stopped: 0, - _phantom: PhantomData::default(), + _phantom: PhantomData, }; let mut global_farm = global_farm_0.clone(); diff --git a/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs b/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs index 91d82e2ea..7cde2674f 100644 --- a/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs +++ b/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs @@ -523,7 +523,7 @@ fn withdraw_shares_should_work() { updated_at: 18, valued_shares: 2_500 * ONE, stopped_at_creation: Zero::zero(), - _phantom: PhantomData::default(), + _phantom: PhantomData, }] .try_into() .unwrap(), @@ -1110,7 +1110,6 @@ fn trait_withdraw_lp_shares_should_claim_and_withdraw_when_yield_farm_is_claimab predefined_test_ext_with_deposits().execute_with(|| { let _ = with_transaction(|| { const REWARD_CURRENCY: u32 = BSX; - const GLOBAL_FARM_ID: GlobalFarmId = GC_FARM; let global_farm_account = LiquidityMining::farm_account_id(GC_FARM).unwrap(); @@ -1286,7 +1285,6 @@ fn trait_withdraw_lp_shares_should_claim_zero_when_user_already_claimed_rewards( predefined_test_ext_with_deposits().execute_with(|| { let _ = with_transaction(|| { const REWARD_CURRENCY: u32 = BSX; - const GLOBAL_FARM_ID: GlobalFarmId = GC_FARM; let global_farm_account = LiquidityMining::farm_account_id(GC_FARM).unwrap(); diff --git a/pallets/nft/src/benchmarking.rs b/pallets/nft/src/benchmarking.rs index 9128fa99f..b52dfd350 100644 --- a/pallets/nft/src/benchmarking.rs +++ b/pallets/nft/src/benchmarking.rs @@ -20,12 +20,13 @@ use super::*; use crate as NFT; -use frame_benchmarking::{account, benchmarks, vec}; +use frame_benchmarking::{account, benchmarks}; use frame_support::traits::{tokens::nonfungibles::InspectEnumerable, Currency, Get}; use frame_system::RawOrigin; use pallet_uniques as UNQ; use sp_runtime::traits::UniqueSaturatedInto; use sp_std::convert::TryInto; +use sp_std::vec; const SEED: u32 = 0; const ENDOWMENT: u128 = 100_000_000_000_000_000_000; @@ -111,5 +112,5 @@ mod tests { use crate::mock::*; use frame_benchmarking::impl_benchmark_test_suite; - impl_benchmark_test_suite!(Pallet, super::ExtBuilder::default().build(), super::Test); + impl_benchmark_test_suite!(Pallet, super::ExtBuilder.build(), super::Test); } diff --git a/pallets/nft/src/tests.rs b/pallets/nft/src/tests.rs index a1070459a..e8894577d 100644 --- a/pallets/nft/src/tests.rs +++ b/pallets/nft/src/tests.rs @@ -24,7 +24,7 @@ type NFTPallet = Pallet; #[test] fn create_collection_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -87,7 +87,7 @@ fn create_collection_works() { #[test] fn mint_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -168,7 +168,7 @@ fn mint_works() { #[test] fn transfer_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -233,7 +233,7 @@ fn transfer_works() { #[test] fn burn_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -288,7 +288,7 @@ fn burn_works() { #[test] fn destroy_collection_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -347,7 +347,7 @@ fn destroy_collection_works() { #[test] fn deposit_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -402,7 +402,7 @@ fn deposit_works() { #[test] fn inspect_trait_should_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -454,7 +454,7 @@ fn inspect_trait_should_work() { #[test] fn inspect_enumerable_trait_should_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -495,7 +495,7 @@ fn inspect_enumerable_trait_should_work() { #[test] fn destroy_trait_should_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -591,7 +591,7 @@ fn destroy_trait_should_work() { #[test] fn mutate_trait_should_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -669,7 +669,7 @@ fn mutate_trait_should_work() { #[test] fn transfer_trait_should_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { // collection does not exist assert_noop!( ::AccountId>>::transfer( @@ -746,7 +746,7 @@ fn is_id_reserved_should_return_false_when_id_is_not_from_reserved_range() { #[test] fn create_typed_collection_should_work_without_deposit_when_deposit_is_not_required() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); @@ -769,7 +769,7 @@ fn create_typed_collection_should_work_without_deposit_when_deposit_is_not_requi #[test] fn create_typed_collection_should_work_with_reserved_id() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { assert_ok!(NFTPallet::create_typed_collection( ALICE, COLLECTION_ID_RESERVED, @@ -789,7 +789,7 @@ fn create_typed_collection_should_work_with_reserved_id() { #[test] fn create_typed_collection_should_not_work_without_deposit_when_deposit_is_required() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { assert_noop!( NFTPallet::create_typed_collection( ACCOUNT_WITH_NO_BALANCE, @@ -804,7 +804,7 @@ fn create_typed_collection_should_not_work_without_deposit_when_deposit_is_requi #[test] fn do_mint_should_work_when_account_has_no_balance() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { //arrange assert_ok!(NFTPallet::create_typed_collection( ACCOUNT_WITH_NO_BALANCE, @@ -824,7 +824,7 @@ fn do_mint_should_work_when_account_has_no_balance() { #[test] fn burn_should_work_when_account_has_no_balance() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { //arrange assert_ok!(NFTPallet::create_typed_collection( ACCOUNT_WITH_NO_BALANCE, @@ -869,7 +869,7 @@ fn burn_should_work_when_account_has_no_balance() { #[test] fn do_destroy_collection_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let metadata: BoundedVec::StringLimit> = b"metadata".to_vec().try_into().unwrap(); diff --git a/pallets/nft/src/types.rs b/pallets/nft/src/types.rs index 060e917ae..bbaeefb7f 100644 --- a/pallets/nft/src/types.rs +++ b/pallets/nft/src/types.rs @@ -43,19 +43,14 @@ pub struct ItemInfo { pub metadata: BoundedVec, } -#[derive(Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, TypeInfo, MaxEncodedLen)] +#[derive(Default, Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, TypeInfo, MaxEncodedLen)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub enum CollectionType { + #[default] Marketplace = 0_isize, LiquidityMining = 1_isize, } -impl Default for CollectionType { - fn default() -> Self { - CollectionType::Marketplace - } -} - pub trait NftPermission { fn can_create(collection_type: &InnerCollectionType) -> bool; fn can_mint(collection_type: &InnerCollectionType) -> bool; diff --git a/pallets/route-executor/src/tests/mock.rs b/pallets/route-executor/src/tests/mock.rs index d2737cc89..7990c0d8f 100644 --- a/pallets/route-executor/src/tests/mock.rs +++ b/pallets/route-executor/src/tests/mock.rs @@ -31,7 +31,6 @@ use sp_runtime::{ traits::{BlakeTwo256, IdentityLookup, One}, BuildStorage, DispatchError, }; -use std::borrow::Borrow; use std::cell::RefCell; use std::ops::Deref; @@ -381,14 +380,14 @@ impl_fake_executor!( ); pub fn assert_executed_sell_trades(expected_trades: Vec<(PoolType, Balance, AssetId, AssetId)>) { - EXECUTED_SELLS.borrow().with(|v| { + EXECUTED_SELLS.with(|v| { let trades = v.borrow().deref().clone(); assert_eq!(trades, expected_trades); }); } pub fn assert_executed_buy_trades(expected_trades: Vec<(PoolType, Balance, AssetId, AssetId)>) { - EXECUTED_BUYS.borrow().with(|v| { + EXECUTED_BUYS.with(|v| { let trades = v.borrow().deref().clone(); assert_eq!(trades, expected_trades); }); diff --git a/pallets/stableswap/src/tests/invariants.rs b/pallets/stableswap/src/tests/invariants.rs index 6af3abc6a..52c0995f4 100644 --- a/pallets/stableswap/src/tests/invariants.rs +++ b/pallets/stableswap/src/tests/invariants.rs @@ -82,7 +82,7 @@ proptest! { let pool_account = pool_account(pool_id); let share_price_initial = get_share_price(pool_id, 0); - let initial_shares = Tokens::total_issuance(&pool_id); + let initial_shares = Tokens::total_issuance(pool_id); assert_ok!(Stableswap::add_liquidity( RuntimeOrigin::signed(BOB), pool_id, @@ -90,7 +90,7 @@ proptest! { AssetAmount::new(asset_a, added_liquidity), ] )); - let final_shares = Tokens::total_issuance(&pool_id); + let final_shares = Tokens::total_issuance(pool_id); let delta_s = final_shares - initial_shares; let exec_price = FixedU128::from_rational(added_liquidity , delta_s); assert!(share_price_initial <= exec_price); diff --git a/pallets/stableswap/src/tests/price.rs b/pallets/stableswap/src/tests/price.rs index 2eb3dd25d..ba78a491b 100644 --- a/pallets/stableswap/src/tests/price.rs +++ b/pallets/stableswap/src/tests/price.rs @@ -177,14 +177,14 @@ fn test_share_price_in_add_remove_liquidity() { let pool_account = pool_account(pool_id); let amount = 1_000_000_000_000_000_000; let share_price_initial = get_share_price(pool_id, 0); - let initial_shares = Tokens::total_issuance(&pool_id); + let initial_shares = Tokens::total_issuance(pool_id); assert_ok!(Stableswap::add_liquidity( RuntimeOrigin::signed(BOB), pool_id, vec![AssetAmount::new(asset_a, amount)], )); - let final_shares = Tokens::total_issuance(&pool_id); + let final_shares = Tokens::total_issuance(pool_id); let delta_s = final_shares - initial_shares; let exec_price = FixedU128::from_rational(amount, delta_s); @@ -249,7 +249,7 @@ fn test_share_price_in_add_shares_remove_liquidity() { let pool_account = pool_account(pool_id); let share_price_initial = get_share_price(pool_id, 0); - let initial_shares = Tokens::total_issuance(&pool_id); + let initial_shares = Tokens::total_issuance(pool_id); let desired_shares = 973798810707557758; let intial_a = Tokens::free_balance(asset_a, &BOB); assert_ok!(Stableswap::add_liquidity_shares( @@ -262,7 +262,7 @@ fn test_share_price_in_add_shares_remove_liquidity() { let final_a = Tokens::free_balance(asset_a, &BOB); let delta_a = intial_a - final_a; - let final_shares = Tokens::total_issuance(&pool_id); + let final_shares = Tokens::total_issuance(pool_id); let delta_s = final_shares - initial_shares; assert_eq!(delta_s, desired_shares); let exec_price = FixedU128::from_rational(delta_a, delta_s); @@ -322,14 +322,14 @@ fn test_share_price_case() { let pool_account = pool_account(pool_id); let amount = 1_000_000_000_000_000_000; let share_price_initial = get_share_price(pool_id, 0); - let initial_shares = Tokens::total_issuance(&pool_id); + let initial_shares = Tokens::total_issuance(pool_id); assert_ok!(Stableswap::add_liquidity( RuntimeOrigin::signed(BOB), pool_id, vec![AssetAmount::new(asset_a, amount)], )); - let final_shares = Tokens::total_issuance(&pool_id); + let final_shares = Tokens::total_issuance(pool_id); let delta_s = final_shares - initial_shares; let exec_price = FixedU128::from_rational(amount, delta_s); assert!(share_price_initial <= exec_price); diff --git a/pallets/transaction-pause/src/benchmarking.rs b/pallets/transaction-pause/src/benchmarking.rs index bf1ed25ca..585b7966d 100644 --- a/pallets/transaction-pause/src/benchmarking.rs +++ b/pallets/transaction-pause/src/benchmarking.rs @@ -46,5 +46,5 @@ mod tests { use crate::mock::*; use frame_benchmarking::impl_benchmark_test_suite; - impl_benchmark_test_suite!(Pallet, super::ExtBuilder::default().build(), super::Runtime); + impl_benchmark_test_suite!(Pallet, super::ExtBuilder.build(), super::Runtime); } diff --git a/pallets/transaction-pause/src/migration.rs b/pallets/transaction-pause/src/migration.rs index 3df4c8c8d..8fbe3bca9 100644 --- a/pallets/transaction-pause/src/migration.rs +++ b/pallets/transaction-pause/src/migration.rs @@ -111,7 +111,7 @@ mod test { #[test] fn migration_works() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { assert_eq!(StorageVersion::get::>(), 0); v0::PausedTransactions::::insert( diff --git a/pallets/transaction-pause/src/tests.rs b/pallets/transaction-pause/src/tests.rs index 184f190b2..ee86414bb 100644 --- a/pallets/transaction-pause/src/tests.rs +++ b/pallets/transaction-pause/src/tests.rs @@ -36,7 +36,7 @@ const TOKENS_TRANSFER: &::RuntimeCall = #[test] fn pause_transaction_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let balances_b_str = BoundedName::try_from(b"Balances".to_vec()).unwrap(); let transfer_b_str = BoundedName::try_from(b"transfer".to_vec()).unwrap(); @@ -109,7 +109,7 @@ fn pause_transaction_work() { #[test] fn unpause_transaction_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { let balances_b_str = BoundedName::try_from(b"Balances".to_vec()).unwrap(); let transfer_b_str = BoundedName::try_from(b"transfer".to_vec()).unwrap(); @@ -166,7 +166,7 @@ fn unpause_transaction_work() { #[test] fn paused_transaction_filter_work() { - ExtBuilder::default().build().execute_with(|| { + ExtBuilder.build().execute_with(|| { assert!(!PausedTransactionFilter::::contains(BALANCE_TRANSFER)); assert!(!PausedTransactionFilter::::contains(TOKENS_TRANSFER)); assert_ok!(TransactionPause::pause_transaction( diff --git a/pallets/xcm-rate-limiter/src/tests/mock.rs b/pallets/xcm-rate-limiter/src/tests/mock.rs index f391428f4..d32865d37 100644 --- a/pallets/xcm-rate-limiter/src/tests/mock.rs +++ b/pallets/xcm-rate-limiter/src/tests/mock.rs @@ -40,7 +40,6 @@ use std::collections::HashMap; use xcm::lts::prelude::*; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; diff --git a/pallets/xyk/src/tests/creation.rs b/pallets/xyk/src/tests/creation.rs index fb4e56ba2..19241535f 100644 --- a/pallets/xyk/src/tests/creation.rs +++ b/pallets/xyk/src/tests/creation.rs @@ -35,7 +35,7 @@ fn create_pool_should_work() { assert_eq!(Currency::free_balance(asset_a, &ALICE), 900000000000000); assert_eq!(Currency::free_balance(asset_b, &ALICE), 0); assert_eq!(Currency::free_balance(share_token, &ALICE), 100000000000000); - assert_eq!(XYK::total_liquidity(&pair_account), 100000000000000); + assert_eq!(XYK::total_liquidity(pair_account), 100000000000000); let name: Vec = vec![232, 3, 0, 0, 72, 68, 84, 184, 11, 0, 0]; let bounded_name: BoundedVec::StringLimit> = @@ -199,7 +199,7 @@ fn create_pool_small_fixed_point_amount_should_work() { assert_eq!(Currency::free_balance(asset_a, &ALICE), 900000000000000); assert_eq!(Currency::free_balance(asset_b, &ALICE), 999999000000000); assert_eq!(Currency::free_balance(share_token, &ALICE), 100000000000000); - assert_eq!(XYK::total_liquidity(&pair_account), 100000000000000); + assert_eq!(XYK::total_liquidity(pair_account), 100000000000000); expect_events(vec![Event::PoolCreated { who: ALICE, @@ -245,7 +245,7 @@ fn destroy_pool_on_remove_liquidity_and_recreate_should_work() { 100_000_000 )); - assert_eq!(XYK::total_liquidity(&pair_account), 0); + assert_eq!(XYK::total_liquidity(pair_account), 0); assert!(!XYK::exists(asset_pair)); diff --git a/pallets/xyk/src/tests/invariants.rs b/pallets/xyk/src/tests/invariants.rs index d764ac2fb..f552e7598 100644 --- a/pallets/xyk/src/tests/invariants.rs +++ b/pallets/xyk/src/tests/invariants.rs @@ -92,7 +92,7 @@ proptest! { let bob_balance_a = Currency::free_balance(asset_a, &BOB); let bob_balance_b = Currency::free_balance(asset_b, &BOB); - let issuance = XYK::total_liquidity(&pool_account); + let issuance = XYK::total_liquidity(pool_account); assert_ok!(XYK::add_liquidity( RuntimeOrigin::signed(BOB), @@ -209,7 +209,7 @@ proptest! { let bob_shares = Currency::free_balance(share_token, &BOB); - let issuance = XYK::total_liquidity(&pool_account); + let issuance = XYK::total_liquidity(pool_account); assert_ok!(XYK::remove_liquidity( RuntimeOrigin::signed(BOB), diff --git a/pallets/xyk/src/tests/liquidity.rs b/pallets/xyk/src/tests/liquidity.rs index 7a5438387..de2d0101d 100644 --- a/pallets/xyk/src/tests/liquidity.rs +++ b/pallets/xyk/src/tests/liquidity.rs @@ -28,7 +28,7 @@ fn add_liquidity_should_work() { let share_token = XYK::share_token(pair_account); assert_eq!(Currency::free_balance(asset_b, &pair_account), 65_400_000); - assert_eq!(XYK::total_liquidity(&pair_account), 65400000); + assert_eq!(XYK::total_liquidity(pair_account), 65400000); assert_ok!(XYK::add_liquidity( RuntimeOrigin::signed(user), @@ -43,7 +43,7 @@ fn add_liquidity_should_work() { assert_eq!(Currency::free_balance(asset_b, &pair_account), 65_661_601); assert_eq!(Currency::free_balance(asset_a, &pair_account), 100400000); assert_eq!(Currency::free_balance(asset_a, &user), 999999899600000); - assert_eq!(XYK::total_liquidity(&pair_account), 65661600); + assert_eq!(XYK::total_liquidity(pair_account), 65661600); expect_events(vec![ Event::PoolCreated { @@ -131,7 +131,7 @@ fn add_liquidity_as_another_user_should_work() { assert_eq!(Currency::free_balance(asset_b, &pair_account), 100400000); assert_eq!(Currency::free_balance(asset_b, &user), 999999899600000); assert_eq!(Currency::free_balance(share_token, &user), 1004000000000); - assert_eq!(XYK::total_liquidity(&pair_account), 1004000000000); + assert_eq!(XYK::total_liquidity(pair_account), 1004000000000); assert_ok!(XYK::add_liquidity( RuntimeOrigin::signed(BOB), @@ -147,7 +147,7 @@ fn add_liquidity_as_another_user_should_work() { assert_eq!(Currency::free_balance(asset_b, &BOB), 999999999000000); assert_eq!(Currency::free_balance(share_token, &user), 1004000000000); assert_eq!(Currency::free_balance(share_token, &BOB), 10000000000); - assert_eq!(XYK::total_liquidity(&pair_account), 1014000000000); + assert_eq!(XYK::total_liquidity(pair_account), 1014000000000); expect_events(vec![ Event::PoolCreated { @@ -250,7 +250,7 @@ fn remove_liquidity_should_work() { assert_eq!(Currency::free_balance(asset_a, &user), 999999900355000); assert_eq!(Currency::free_balance(share_token, &user), 99645000); - assert_eq!(XYK::total_liquidity(&pair_account), 99645000); + assert_eq!(XYK::total_liquidity(pair_account), 99645000); expect_events(vec![ Event::PoolCreated { diff --git a/pallets/xyk/src/tests/trades.rs b/pallets/xyk/src/tests/trades.rs index 5c51c2d9b..da58ffcd0 100644 --- a/pallets/xyk/src/tests/trades.rs +++ b/pallets/xyk/src/tests/trades.rs @@ -114,7 +114,7 @@ fn work_flow_happy_path_should_work() { ); // Total liquidity - assert_eq!(XYK::total_liquidity(&pair_account), 350_000_000_000); + assert_eq!(XYK::total_liquidity(pair_account), 350_000_000_000); let share_token = XYK::share_token(pair_account); @@ -142,7 +142,7 @@ fn work_flow_happy_path_should_work() { current_b_balance )); - assert_eq!(XYK::total_liquidity(&pair_account), 650_000_000_000); + assert_eq!(XYK::total_liquidity(pair_account), 650_000_000_000); // Check balance after add liquidity for user 1 and user 2 assert_eq!(Currency::free_balance(asset_a, &user_1), 999_650_000_000_000); @@ -243,7 +243,7 @@ fn work_flow_happy_path_should_work() { user_2_remove_2_balance_2 - user_2_remove_1_balance_2 ); - assert_eq!(XYK::total_liquidity(&pair_account), 649_999_980_000); + assert_eq!(XYK::total_liquidity(pair_account), 649_999_980_000); assert_ok!(XYK::remove_liquidity( RuntimeOrigin::signed(user_2), @@ -253,7 +253,7 @@ fn work_flow_happy_path_should_work() { )); assert_eq!(Currency::free_balance(share_token, &user_2), 299_999_962_000); - assert_eq!(XYK::total_liquidity(&pair_account), 649_999_962_000); + assert_eq!(XYK::total_liquidity(pair_account), 649_999_962_000); expect_events(vec![ Event::PoolCreated { @@ -798,7 +798,7 @@ fn money_in_money_out_should_leave_the_same_balance_for_both_accounts() { 100_000_000 )); - assert_eq!(XYK::total_liquidity(&pair_account), 0); + assert_eq!(XYK::total_liquidity(pair_account), 0); let user_1_balance_a_after = Currency::free_balance(asset_a, &user_1); let user_1_balance_b_after = Currency::free_balance(asset_b, &user_1); diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index bb3376da6..d9cc93cd2 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -275,7 +275,7 @@ impl BlockNumberProvider for RelayCh #[cfg(feature = "runtime-benchmarks")] impl BlockNumberProvider for RelayChainBlockNumberProvider { - type BlockNumber = BlockNumberFor; + type BlockNumber = frame_system::pallet_prelude::BlockNumberFor; fn current_block_number() -> Self::BlockNumber { frame_system::Pallet::::current_block_number() diff --git a/runtime/adapters/src/tests/xcm_exchange.rs b/runtime/adapters/src/tests/xcm_exchange.rs index 0a5b75a3e..26994db57 100644 --- a/runtime/adapters/src/tests/xcm_exchange.rs +++ b/runtime/adapters/src/tests/xcm_exchange.rs @@ -74,7 +74,7 @@ fn omni_exchanger_allows_selling_supported_assets() { let Fungible(received_amount) = asset_received.fun else { panic!("should be fungible")}; assert!(received_amount >= wanted_amount); assert_eq!(Tokens::free_balance(DAI, &ExchangeTempAccount::get()), 0); - assert_eq!(Balances::free_balance(&ExchangeTempAccount::get()), 0); + assert_eq!(Balances::free_balance(ExchangeTempAccount::get()), 0); }); } @@ -111,7 +111,7 @@ fn omni_exchanger_allows_buying_supported_assets() { let Fungible(received_amount) = asset_received.fun else { panic!("should be fungible")}; assert!(received_amount == wanted_amount); assert_eq!(Tokens::free_balance(DAI, &ExchangeTempAccount::get()), 0); - assert_eq!(Balances::free_balance(&ExchangeTempAccount::get()), 0); + assert_eq!(Balances::free_balance(ExchangeTempAccount::get()), 0); }); } diff --git a/runtime/hydradx/src/benchmarking/currencies.rs b/runtime/hydradx/src/benchmarking/currencies.rs index e15245f36..caeab8c7c 100644 --- a/runtime/hydradx/src/benchmarking/currencies.rs +++ b/runtime/hydradx/src/benchmarking/currencies.rs @@ -5,7 +5,8 @@ use sp_std::prelude::*; use frame_benchmarking::{account, whitelisted_caller}; use frame_system::RawOrigin; -use sp_runtime::traits::UniqueSaturatedInto; +use sp_runtime::traits::{StaticLookup, UniqueSaturatedInto}; +use sp_runtime::SaturatedConversion; use frame_benchmarking::BenchmarkError; use frame_support::assert_ok; @@ -16,8 +17,6 @@ use orml_traits::MultiCurrencyExtended; use super::*; -use sp_runtime::traits::{SaturatedConversion, StaticLookup}; - const SEED: u32 = 0; const NATIVE: AssetId = NativeAssetId::get(); @@ -126,10 +125,11 @@ runtime_benchmarks! { mod tests { use super::*; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - frame_system::GenesisConfig::default() - .build_storage::() + frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/runtime/hydradx/src/benchmarking/dca.rs b/runtime/hydradx/src/benchmarking/dca.rs index 1f2d7f1c8..70c9f62cf 100644 --- a/runtime/hydradx/src/benchmarking/dca.rs +++ b/runtime/hydradx/src/benchmarking/dca.rs @@ -317,12 +317,12 @@ runtime_benchmarks! { mod tests { use super::*; use crate::NativeExistentialDeposit; - use frame_support::traits::GenesisBuild; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_asset_registry::GenesisConfig:: { diff --git a/runtime/hydradx/src/benchmarking/duster.rs b/runtime/hydradx/src/benchmarking/duster.rs index c48a60d6c..cd47aaa66 100644 --- a/runtime/hydradx/src/benchmarking/duster.rs +++ b/runtime/hydradx/src/benchmarking/duster.rs @@ -78,10 +78,11 @@ runtime_benchmarks! { mod tests { use super::*; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - frame_system::GenesisConfig::default() - .build_storage::() + frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/runtime/hydradx/src/benchmarking/multi_payment.rs b/runtime/hydradx/src/benchmarking/multi_payment.rs index 43f6a646f..65ef7f6b1 100644 --- a/runtime/hydradx/src/benchmarking/multi_payment.rs +++ b/runtime/hydradx/src/benchmarking/multi_payment.rs @@ -98,10 +98,11 @@ runtime_benchmarks! { mod tests { use super::*; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - frame_system::GenesisConfig::default() - .build_storage::() + frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/runtime/hydradx/src/benchmarking/omnipool.rs b/runtime/hydradx/src/benchmarking/omnipool.rs index f7b57c573..b4140a7a4 100644 --- a/runtime/hydradx/src/benchmarking/omnipool.rs +++ b/runtime/hydradx/src/benchmarking/omnipool.rs @@ -580,12 +580,12 @@ runtime_benchmarks! { mod tests { use super::*; use crate::NativeExistentialDeposit; - use frame_support::traits::GenesisBuild; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_asset_registry::GenesisConfig:: { diff --git a/runtime/hydradx/src/benchmarking/route_executor.rs b/runtime/hydradx/src/benchmarking/route_executor.rs index 867ce406f..ce20b551e 100644 --- a/runtime/hydradx/src/benchmarking/route_executor.rs +++ b/runtime/hydradx/src/benchmarking/route_executor.rs @@ -174,12 +174,12 @@ runtime_benchmarks! { mod tests { use super::*; use crate::NativeExistentialDeposit; - use frame_support::traits::GenesisBuild; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_asset_registry::GenesisConfig:: { diff --git a/runtime/hydradx/src/benchmarking/tokens.rs b/runtime/hydradx/src/benchmarking/tokens.rs index 70a5e0b57..c20000524 100644 --- a/runtime/hydradx/src/benchmarking/tokens.rs +++ b/runtime/hydradx/src/benchmarking/tokens.rs @@ -103,10 +103,11 @@ runtime_benchmarks! { mod tests { use super::*; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - frame_system::GenesisConfig::default() - .build_storage::() + frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/runtime/hydradx/src/benchmarking/vesting.rs b/runtime/hydradx/src/benchmarking/vesting.rs index 13cfa792c..89431bbde 100644 --- a/runtime/hydradx/src/benchmarking/vesting.rs +++ b/runtime/hydradx/src/benchmarking/vesting.rs @@ -124,10 +124,11 @@ runtime_benchmarks! { mod tests { use super::*; use orml_benchmarking::impl_benchmark_test_suite; + use sp_runtime::BuildStorage; fn new_test_ext() -> sp_io::TestExternalities { - frame_system::GenesisConfig::default() - .build_storage::() + frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 66b78692a..281d72f87 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -268,7 +268,7 @@ parameter_types! { pub const DesiredRunnersUp: u32 = 15; pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect"; pub const MaxElectionCandidates: u32 = 1_000; - pub const MaxElectionVoters: u32 = 10_000; + pub const MaxElectionVoters: u32 = 1_000; pub const MaxVotesPerVoter: u32 = 5; } diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index d9f415535..fbbfbcdde 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -19,6 +19,7 @@ // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256. #![recursion_limit = "512"] #![allow(clippy::match_like_matches_macro)] +#![allow(clippy::items_after_test_module)] // Make the WASM binary available. #[cfg(feature = "std")] diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index bb994d878..2dc51ae10 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -5,7 +5,7 @@ use sp_std::prelude::*; pub struct OnRuntimeUpgradeMigration; impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { + fn pre_upgrade() -> Result, sp_runtime::DispatchError> { Ok(vec![]) } @@ -14,7 +14,7 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { + fn post_upgrade(_state: Vec) -> Result<(), sp_runtime::DispatchError> { Ok(()) } } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 5eaf6f078..ad9fcd4db 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -1,7 +1,9 @@ use super::*; use codec::MaxEncodedLen; -use hydradx_adapters::{MultiCurrencyTrader, RelayChainBlockNumberProvider, ReroutingMultiCurrencyAdapter, ToFeeReceiver}; +use hydradx_adapters::{ + MultiCurrencyTrader, RelayChainBlockNumberProvider, ReroutingMultiCurrencyAdapter, ToFeeReceiver, +}; use pallet_transaction_multi_payment::DepositAll; use primitives::AssetId; // shadow glob import of polkadot_xcm::v3::prelude::AssetId From ef38de8f9b539233a5e7213b3e11b4f3ff5907ac Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 1 Nov 2023 14:58:44 +0100 Subject: [PATCH 026/138] remove unused dependencies --- Cargo.lock | 922 ++++++++----------- Cargo.toml | 4 - integration-tests/Cargo.toml | 2 - node/Cargo.toml | 6 - pallets/asset-registry/Cargo.toml | 1 - pallets/bonds/Cargo.toml | 1 - pallets/claims/Cargo.toml | 8 - pallets/collator-rewards/Cargo.toml | 4 - pallets/dca/Cargo.toml | 4 - pallets/duster/Cargo.toml | 1 - pallets/dynamic-fees/Cargo.toml | 4 - pallets/ema-oracle/Cargo.toml | 1 - pallets/lbp/Cargo.toml | 1 - pallets/liquidity-mining/Cargo.toml | 1 - pallets/nft/Cargo.toml | 3 - pallets/omnipool-liquidity-mining/Cargo.toml | 2 - pallets/route-executor/Cargo.toml | 1 - pallets/transaction-pause/Cargo.toml | 1 - pallets/xcm-rate-limiter/Cargo.toml | 2 - pallets/xyk/Cargo.toml | 2 - runtime/hydradx/Cargo.toml | 1 - runtime/hydradx/src/xcm.rs | 2 +- utils/build-script-utils/Cargo.toml | 4 +- 23 files changed, 412 insertions(+), 566 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0ef815816..1a2081f62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -646,13 +646,33 @@ dependencies = [ "futures-lite", "log", "parking", - "polling", - "rustix 0.37.26", + "polling 2.8.0", + "rustix 0.37.27", "slab", "socket2 0.4.10", "waker-fn", ] +[[package]] +name = "async-io" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10da8f3146014722c89e7859e1d7bb97873125d7346d10ca642ffab794355828" +dependencies = [ + "async-lock", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling 3.3.0", + "rustix 0.38.21", + "slab", + "tracing", + "waker-fn", + "windows-sys 0.48.0", +] + [[package]] name = "async-lock" version = "2.8.0" @@ -668,7 +688,7 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" dependencies = [ - "async-io", + "async-io 1.13.0", "blocking", "futures-lite", ] @@ -679,14 +699,14 @@ version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" dependencies = [ - "async-io", + "async-io 1.13.0", "async-lock", "async-signal", "blocking", "cfg-if", - "event-listener 3.0.0", + "event-listener 3.0.1", "futures-lite", - "rustix 0.38.20", + "rustix 0.38.21", "windows-sys 0.48.0", ] @@ -703,17 +723,17 @@ dependencies = [ [[package]] name = "async-signal" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2a5415b7abcdc9cd7d63d6badba5288b2ca017e3fbd4173b8f405449f1a2399" +checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io", + "async-io 2.1.0", "async-lock", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.20", + "rustix 0.38.21", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -869,7 +889,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db", "log", @@ -1197,15 +1217,13 @@ dependencies = [ [[package]] name = "cargo-lock" -version = "4.0.1" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8504b63dd1249fd1745b7b4ef9b6f7b107ddeb3c95370043c7dbcc38653a2679" +checksum = "e11c675378efb449ed3ce8de78d75d0d80542fc98487c26aba28eb3b82feac72" dependencies = [ - "gumdrop", - "petgraph 0.5.1", - "semver 0.9.0", + "semver 1.0.20", "serde", - "toml 0.5.11", + "toml 0.7.8", "url", ] @@ -1595,9 +1613,9 @@ checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" [[package]] name = "const-random" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11df32a13d7892ec42d51d3d175faba5211ffe13ed25d4fb348ac9e9ce835593" +checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" dependencies = [ "const-random-macro", ] @@ -1677,9 +1695,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fbc60abd742b35f2492f808e1abbb83d45f72db402e14c55057edc9c7b1e9e4" +checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" dependencies = [ "libc", ] @@ -1793,9 +1811,9 @@ dependencies = [ [[package]] name = "crc-catalog" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cace84e55f07e7301bae1c519df89cdad8cc3cd868413d3fdbdeca9ff3db484" +checksum = "4939f9ed1444bd8c896d37f3090012fa6e7834fe84ef8c9daa166109515732f9" [[package]] name = "crc32fast" @@ -1967,7 +1985,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "clap 4.4.7", "parity-scale-codec", @@ -1983,7 +2001,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2006,7 +2024,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2048,7 +2066,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2077,7 +2095,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "async-trait", @@ -2089,33 +2107,10 @@ dependencies = [ "thiserror", ] -[[package]] -name = "cumulus-client-consensus-relay-chain" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" -dependencies = [ - "async-trait", - "cumulus-client-consensus-common", - "cumulus-primitives-core", - "cumulus-relay-chain-interface", - "futures", - "parking_lot 0.12.1", - "sc-consensus", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", - "substrate-prometheus-endpoint", - "tracing", -] - [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2138,7 +2133,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2162,7 +2157,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2197,7 +2192,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2215,7 +2210,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2232,7 +2227,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2262,7 +2257,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2273,7 +2268,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2289,7 +2284,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2311,7 +2306,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2325,7 +2320,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2342,7 +2337,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2365,7 +2360,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "futures", @@ -2378,7 +2373,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2396,7 +2391,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2420,7 +2415,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2438,7 +2433,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-trait", @@ -2473,7 +2468,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2511,7 +2506,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2567,9 +2562,9 @@ dependencies = [ [[package]] name = "curve25519-dalek-derive" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", @@ -2591,9 +2586,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.109" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c390c123d671cc547244943ecad81bdaab756c6ea332d9ca9c1f48d952a24895" +checksum = "7129e341034ecb940c9072817cd9007974ea696844fc4dd582dc1653a7fbe2e8" dependencies = [ "cc", "cxxbridge-flags", @@ -2603,9 +2598,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.109" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00d3d3ac9ffb900304edf51ca719187c779f4001bb544f26c4511d621de905cf" +checksum = "a2a24f3f5f8eed71936f21e570436f024f5c2e25628f7496aa7ccd03b90109d5" dependencies = [ "cc", "codespan-reporting", @@ -2618,15 +2613,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.109" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94415827ecfea0f0c74c8cad7d1a86ddb3f05354d6a6ddeda0adee5e875d2939" +checksum = "06fdd177fc61050d63f67f5bd6351fac6ab5526694ea8e359cd9cd3b75857f44" [[package]] name = "cxxbridge-macro" -version = "1.0.109" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33dbbe9f5621c9247f97ec14213b04f350bff4b6cebefe834c60055db266ecf" +checksum = "587663dd5fb3d10932c8aecfe7c844db1bcf0aee93eeab08fac13dc1212c2e7f" dependencies = [ "proc-macro2", "quote", @@ -2931,18 +2926,18 @@ dependencies = [ [[package]] name = "docify" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76ee528c501ddd15d5181997e9518e59024844eac44fd1e40cb20ddb2a8562fa" +checksum = "4235e9b248e2ba4b92007fe9c646f3adf0ffde16dc74713eacc92b8bc58d8d2f" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca01728ab2679c464242eca99f94e2ce0514b52ac9ad950e2ed03fca991231c" +checksum = "47020e12d7c7505670d1363dd53d6c23724f71a90a3ae32ff8eba40de8404626" dependencies = [ "common-path", "derive-syn-parse", @@ -3232,9 +3227,9 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "3.0.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29e56284f00d94c1bc7fd3c77027b4623c88c1f53d8d2394c6199f2921dea325" +checksum = "01cec0252c2afff729ee6f00e903d479fba81784c8e2bd77447673471fdfaea1" dependencies = [ "concurrent-queue", "parking", @@ -3383,9 +3378,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0870c84016d4b481be5c9f323c24f65e31e901ae618f0e80f4308fb00de1d2d" +checksum = "a481586acf778f1b1455424c343f71124b048ffa5f4fc3f8f6ae9dc432dcb3c7" [[package]] name = "file-per-thread-logger" @@ -3450,12 +3445,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "fixedbitset" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" - [[package]] name = "fixedbitset" version = "0.4.2" @@ -3491,7 +3480,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", ] @@ -3514,7 +3503,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-support-procedural", @@ -3539,7 +3528,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "array-bytes", @@ -3587,7 +3576,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3598,7 +3587,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3615,7 +3604,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -3645,7 +3634,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-recursion", "futures", @@ -3667,7 +3656,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3707,7 +3696,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "cfg-expr", @@ -3725,7 +3714,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -3737,7 +3726,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro2", "quote", @@ -3747,7 +3736,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cfg-if", "frame-support", @@ -3766,7 +3755,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -3781,7 +3770,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sp-api", @@ -3790,7 +3779,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "parity-scale-codec", @@ -3821,7 +3810,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "rustix 0.38.20", + "rustix 0.38.21", "windows-sys 0.48.0", ] @@ -3833,9 +3822,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" +checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335" dependencies = [ "futures-channel", "futures-core", @@ -3848,9 +3837,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" +checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" dependencies = [ "futures-core", "futures-sink", @@ -3858,15 +3847,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" +checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" [[package]] name = "futures-executor" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" +checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" dependencies = [ "futures-core", "futures-task", @@ -3876,9 +3865,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" +checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" [[package]] name = "futures-lite" @@ -3897,9 +3886,9 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" +checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", @@ -3919,15 +3908,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" +checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" [[package]] name = "futures-task" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" +checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" [[package]] name = "futures-timer" @@ -3937,9 +3926,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" +checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" dependencies = [ "futures-channel", "futures-core", @@ -4102,26 +4091,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "gumdrop" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee50908bc1beeac1f2902e0b4e0cd0d844e716f5ebdc6f0cfc1163fe5e10bcde" -dependencies = [ - "gumdrop_derive", -] - -[[package]] -name = "gumdrop_derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90454ce4de40b7ca6a8968b5ef367bdab48413962588d0d2b1638d60090c35d7" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "h2" version = "0.3.21" @@ -4361,7 +4330,7 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hydra-dx-build-script-utils" -version = "1.0.2" +version = "1.0.3" dependencies = [ "cargo-lock", "platforms 1.1.0", @@ -4398,7 +4367,6 @@ dependencies = [ "cumulus-client-consensus-aura", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", - "cumulus-client-consensus-relay-chain", "cumulus-client-network", "cumulus-client-service", "cumulus-primitives-core", @@ -4465,7 +4433,6 @@ dependencies = [ "sp-trie", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", - "try-runtime-cli", ] [[package]] @@ -4616,7 +4583,6 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", - "substrate-build-script-utils", "substrate-wasm-builder", ] @@ -4659,9 +4625,9 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.24.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", "http", @@ -4671,7 +4637,7 @@ dependencies = [ "rustls-native-certs", "tokio", "tokio-rustls", - "webpki-roots 0.23.1", + "webpki-roots 0.25.2", ] [[package]] @@ -4740,7 +4706,7 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbb892e5777fe09e16f3d44de7802f4daa7267ecbe8c466f19d94e25bb0c303e" dependencies = [ - "async-io", + "async-io 1.13.0", "core-foundation", "fnv", "futures", @@ -4814,9 +4780,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" dependencies = [ "equivalent", "hashbrown 0.14.2", @@ -4935,7 +4901,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.3", - "rustix 0.38.20", + "rustix 0.38.21", "windows-sys 0.48.0", ] @@ -5266,7 +5232,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -6084,7 +6050,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.20", + "rustix 0.38.21", ] [[package]] @@ -6196,7 +6162,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "log", @@ -6215,7 +6181,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "jsonrpsee 0.16.3", @@ -6662,7 +6628,7 @@ checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" dependencies = [ "expander 0.0.6", "itertools 0.10.5", - "petgraph 0.6.4", + "petgraph", "proc-macro-crate", "proc-macro2", "quote", @@ -6698,22 +6664,6 @@ dependencies = [ "sp-storage", ] -[[package]] -name = "orml-currencies" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support", - "frame-system", - "orml-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-std", -] - [[package]] name = "orml-tokens" version = "0.4.1-dev" @@ -6881,7 +6831,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydradx-traits", "log", "orml-traits", @@ -6903,7 +6852,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -6921,7 +6870,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -6937,7 +6886,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -6954,7 +6903,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -6970,7 +6919,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -6984,7 +6933,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7008,7 +6957,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "aquamarine", "docify", @@ -7030,7 +6979,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7045,7 +6994,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7065,7 +7014,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7103,7 +7052,6 @@ dependencies = [ "pretty_assertions", "primitive-types", "primitives", - "proptest", "scale-info", "sp-core", "sp-io", @@ -7115,7 +7063,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7133,7 +7081,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7184,9 +7132,6 @@ dependencies = [ "hex", "hex-literal 0.3.4", "lazy_static", - "orml-tokens", - "orml-traits", - "orml-utilities", "pallet-balances", "parity-scale-codec", "primitives", @@ -7206,18 +7151,15 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "log", "orml-tokens", "orml-traits", - "pallet-aura", "pallet-balances", "pallet-session", "parity-scale-codec", "scale-info", "serde", "sp-arithmetic", - "sp-consensus-aura", "sp-core", "sp-io", "sp-runtime", @@ -7229,7 +7171,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7248,7 +7190,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7265,7 +7207,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7307,7 +7249,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydra-dx-math", "hydradx-adapters", "hydradx-traits", @@ -7319,13 +7260,11 @@ dependencies = [ "pallet-currencies", "pallet-ema-oracle", "pallet-omnipool", - "pallet-relaychain-info", "pallet-route-executor", "parity-scale-codec", "pretty_assertions", "primitive-types", "primitives", - "proptest", "rand 0.8.5", "scale-info", "smallvec", @@ -7342,7 +7281,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7384,7 +7323,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydradx-traits", "lazy_static", "log", @@ -7409,12 +7347,9 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydra-dx-math", - "hydradx-traits", "orml-traits", "parity-scale-codec", - "pretty_assertions", "proptest", "scale-info", "serde", @@ -7427,7 +7362,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7450,7 +7385,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7464,7 +7399,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7487,7 +7422,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydra-dx-math", "hydradx-traits", "log", @@ -7507,7 +7441,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "docify", "frame-benchmarking", @@ -7544,7 +7478,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7567,7 +7501,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7583,7 +7517,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7603,7 +7537,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7624,7 +7558,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7653,7 +7586,6 @@ dependencies = [ "frame-system", "hydra-dx-math", "hydradx-traits", - "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", @@ -7673,7 +7605,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7690,7 +7622,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7709,7 +7641,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7727,7 +7659,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7749,7 +7681,6 @@ dependencies = [ "frame-system", "hydradx-traits", "log", - "orml-utilities", "pallet-balances", "pallet-uniques", "parity-scale-codec", @@ -7764,7 +7695,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7780,7 +7711,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7799,7 +7730,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7819,7 +7750,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7830,7 +7761,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7847,7 +7778,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7916,13 +7847,11 @@ dependencies = [ "pretty_assertions", "primitive-types", "primitives", - "proptest", "scale-info", "sp-core", "sp-io", "sp-runtime", "sp-std", - "test-utils", ] [[package]] @@ -7950,7 +7879,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7967,7 +7896,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7982,7 +7911,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8000,7 +7929,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8015,7 +7944,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8052,7 +7981,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydradx-adapters", "hydradx-traits", "orml-tokens", @@ -8073,7 +8001,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "docify", "frame-benchmarking", @@ -8091,7 +8019,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -8113,7 +8041,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8130,7 +8058,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8196,7 +8124,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8219,7 +8147,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8230,7 +8158,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "sp-arithmetic", @@ -8239,7 +8167,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sp-api", @@ -8248,7 +8176,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8265,7 +8193,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8280,7 +8208,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8299,7 +8227,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8344,7 +8272,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "log", "orml-tokens", "orml-traits", @@ -8362,7 +8289,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -8378,7 +8305,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8394,7 +8321,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8406,7 +8333,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8423,7 +8350,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8438,7 +8365,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8454,7 +8381,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8469,7 +8396,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8484,7 +8411,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8505,7 +8432,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8546,8 +8473,6 @@ dependencies = [ "sp-runtime", "sp-std", "staging-xcm", - "test-case 3.2.1", - "test-utils", ] [[package]] @@ -8557,13 +8482,11 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "frame-system-benchmarking", "hydra-dx-math", "hydradx-traits", "log", "orml-tokens", "orml-traits", - "orml-utilities", "pallet-asset-registry", "parity-scale-codec", "primitive-types", @@ -8582,7 +8505,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8596,7 +8519,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -8856,24 +8779,14 @@ dependencies = [ "sha2 0.10.8", ] -[[package]] -name = "petgraph" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" -dependencies = [ - "fixedbitset 0.2.0", - "indexmap 1.9.3", -] - [[package]] name = "petgraph" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ - "fixedbitset 0.4.2", - "indexmap 2.0.2", + "fixedbitset", + "indexmap 2.1.0", ] [[package]] @@ -8994,7 +8907,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -9012,7 +8925,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "always-assert", "futures", @@ -9028,7 +8941,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "derive_more", "fatality", @@ -9051,7 +8964,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fatality", "futures", @@ -9072,7 +8985,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "1.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "clap 4.4.7", "frame-benchmarking-cli", @@ -9099,7 +9012,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9121,7 +9034,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -9133,7 +9046,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "derive_more", "fatality", @@ -9158,7 +9071,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9172,7 +9085,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -9193,7 +9106,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "always-assert", "async-trait", @@ -9216,7 +9129,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "parity-scale-codec", @@ -9234,7 +9147,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "derive_more", @@ -9263,7 +9176,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "futures", @@ -9285,7 +9198,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9304,7 +9217,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9319,7 +9232,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -9340,7 +9253,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-metrics", @@ -9355,7 +9268,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -9372,7 +9285,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fatality", "futures", @@ -9391,7 +9304,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -9408,7 +9321,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9425,7 +9338,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9442,7 +9355,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "always-assert", "futures", @@ -9470,7 +9383,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-primitives", @@ -9486,7 +9399,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cpu-time", "futures", @@ -9509,7 +9422,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "libc", @@ -9532,7 +9445,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-metrics", @@ -9547,7 +9460,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "lazy_static", "log", @@ -9565,7 +9478,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bs58 0.5.0", "futures", @@ -9584,7 +9497,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-channel", "async-trait", @@ -9608,7 +9521,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-vec", "futures", @@ -9630,7 +9543,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9640,7 +9553,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "derive_more", @@ -9664,7 +9577,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "derive_more", @@ -9697,7 +9610,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -9720,7 +9633,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-collections", "derive_more", @@ -9737,7 +9650,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "env_logger 0.9.3", "log", @@ -9755,7 +9668,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -9781,7 +9694,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "mmr-rpc", @@ -9813,7 +9726,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "frame-benchmarking", @@ -9910,7 +9823,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "frame-benchmarking", @@ -9956,7 +9869,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -9970,7 +9883,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -9983,7 +9896,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -10029,7 +9942,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "frame-benchmarking", @@ -10148,7 +10061,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10172,7 +10085,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10195,6 +10108,20 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "polling" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e53b6af1f60f36f8c2ac2aad5459d75a5a9b4be1e8cdd40264f315d78193e531" +dependencies = [ + "cfg-if", + "concurrent-queue", + "pin-project-lite 0.2.13", + "rustix 0.38.21", + "tracing", + "windows-sys 0.48.0", +] + [[package]] name = "poly1305" version = "0.7.2" @@ -10243,9 +10170,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b559898e0b4931ed2d3b959ab0c2da4d99cc644c4b0b1a35b4d344027f474023" +checksum = "3bccab0e7fd7cc19f820a1c8c91720af652d0c88dc9664dd72aef2614f04af3b" [[package]] name = "powerfmt" @@ -10496,7 +10423,7 @@ dependencies = [ "lazy_static", "log", "multimap", - "petgraph 0.6.4", + "petgraph", "prettyplease 0.1.25", "prost", "prost-types", @@ -10979,7 +10906,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11067,7 +10994,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -11211,7 +11138,6 @@ dependencies = [ "pallet-session", "pallet-stableswap", "pallet-staking 2.0.0", - "pallet-sudo", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", @@ -11294,9 +11220,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.16" +version = "0.36.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6da3636faa25820d8648e0e31c5d519bbb01f72fdf57131f0f5f7da5fed36eab" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ "bitflags 1.3.2", "errno", @@ -11308,9 +11234,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.26" +version = "0.37.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f3f8f960ed3b5a59055428714943298bf3fa2d4a1d53135084e0544829d995" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags 1.3.2", "errno", @@ -11322,9 +11248,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.20" +version = "0.38.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ce50cb2e16c2903e30d1cbccfd8387a74b9d4c938b6a4c5ec6cc7556f7a8a0" +checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" dependencies = [ "bitflags 2.4.1", "errno", @@ -11366,7 +11292,7 @@ checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" dependencies = [ "log", "ring 0.17.5", - "rustls-webpki 0.101.7", + "rustls-webpki", "sct 0.7.1", ] @@ -11391,16 +11317,6 @@ dependencies = [ "base64 0.21.5", ] -[[package]] -name = "rustls-webpki" -version = "0.100.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6a5fc258f1c1276dfe3016516945546e2d5383911efc0fc4f1cdc5df3a4ae3" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - [[package]] name = "rustls-webpki" version = "0.101.7" @@ -11478,7 +11394,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "sp-core", @@ -11489,7 +11405,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11517,7 +11433,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -11540,7 +11456,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11555,7 +11471,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11574,7 +11490,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11585,7 +11501,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "chrono", @@ -11624,7 +11540,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fnv", "futures", @@ -11650,7 +11566,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db", "kvdb", @@ -11676,7 +11592,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11701,7 +11617,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11730,7 +11646,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "fork-tree", @@ -11766,7 +11682,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11788,7 +11704,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel", @@ -11822,7 +11738,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11841,7 +11757,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11854,7 +11770,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ahash 0.8.6", "array-bytes", @@ -11895,7 +11811,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "finality-grandpa", "futures", @@ -11915,7 +11831,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11938,7 +11854,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -11960,7 +11876,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -11972,13 +11888,13 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "cfg-if", "libc", "log", - "rustix 0.36.16", + "rustix 0.36.17", "sc-allocator", "sc-executor-common", "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", @@ -11989,7 +11905,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ansi_term", "futures", @@ -12005,7 +11921,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -12019,7 +11935,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel", @@ -12060,7 +11976,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-channel", "cid", @@ -12080,7 +11996,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12097,7 +12013,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ahash 0.8.6", "futures", @@ -12115,7 +12031,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel", @@ -12136,7 +12052,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel", @@ -12170,7 +12086,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "futures", @@ -12188,7 +12104,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "bytes", @@ -12222,7 +12138,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12231,7 +12147,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -12262,7 +12178,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12281,7 +12197,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -12296,7 +12212,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "futures", @@ -12324,7 +12240,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "directories", @@ -12388,7 +12304,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "parity-scale-codec", @@ -12399,7 +12315,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "clap 4.4.7", "fs4", @@ -12413,7 +12329,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12432,7 +12348,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "libc", @@ -12451,7 +12367,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "chrono", "futures", @@ -12470,7 +12386,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ansi_term", "atty", @@ -12499,7 +12415,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12510,7 +12426,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -12536,7 +12452,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -12552,7 +12468,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-channel", "futures", @@ -12791,16 +12707,6 @@ dependencies = [ "semver-parser", ] -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", - "serde", -] - [[package]] name = "semver" version = "1.0.20" @@ -12818,18 +12724,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.189" +version = "1.0.190" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" +checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.189" +version = "1.0.190" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" +checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" dependencies = [ "proc-macro2", "quote", @@ -12838,9 +12744,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.107" +version = "1.0.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" +checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" dependencies = [ "itoa", "ryu", @@ -13007,7 +12913,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "enumn", "parity-scale-codec", @@ -13040,7 +12946,7 @@ dependencies = [ "async-channel", "async-executor", "async-fs", - "async-io", + "async-io 1.13.0", "async-lock", "async-net", "async-process", @@ -13201,7 +13107,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db", "log", @@ -13222,7 +13128,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "blake2", @@ -13236,7 +13142,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13249,7 +13155,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "integer-sqrt", "num-traits", @@ -13263,7 +13169,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13276,7 +13182,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sp-api", "sp-inherents", @@ -13287,7 +13193,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "log", @@ -13305,7 +13211,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -13320,7 +13226,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13337,7 +13243,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13356,7 +13262,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13375,7 +13281,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "finality-grandpa", "log", @@ -13393,7 +13299,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13405,7 +13311,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -13452,7 +13358,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "blake2b_simd", "byteorder", @@ -13465,7 +13371,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "quote", "sp-core-hashing", @@ -13475,7 +13381,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13484,7 +13390,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro2", "quote", @@ -13494,7 +13400,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "environmental", "parity-scale-codec", @@ -13505,7 +13411,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "serde_json", "sp-api", @@ -13516,7 +13422,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13530,7 +13436,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bytes", "ed25519-dalek", @@ -13554,7 +13460,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "lazy_static", "sp-core", @@ -13565,7 +13471,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -13577,7 +13483,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13586,7 +13492,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13597,7 +13503,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13615,7 +13521,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13629,7 +13535,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sp-api", "sp-core", @@ -13639,7 +13545,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "backtrace", "lazy_static", @@ -13649,7 +13555,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "rustc-hash", "serde", @@ -13659,7 +13565,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "either", "hash256-std-hasher", @@ -13681,7 +13587,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13717,7 +13623,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "proc-macro-crate", @@ -13741,7 +13647,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13756,7 +13662,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -13770,7 +13676,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db", "log", @@ -13791,7 +13697,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.1.1", @@ -13815,12 +13721,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13833,7 +13739,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13846,7 +13752,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sp-std", @@ -13858,7 +13764,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sp-api", "sp-runtime", @@ -13867,7 +13773,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13882,7 +13788,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ahash 0.8.6", "hash-db", @@ -13905,7 +13811,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13922,7 +13828,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13933,7 +13839,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -13959,7 +13865,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -14038,7 +13944,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14144,7 +14050,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-collections", "derivative", @@ -14161,7 +14067,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -14183,7 +14089,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "environmental", "frame-benchmarking", @@ -14302,9 +14208,9 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" +checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", @@ -14316,12 +14222,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14340,7 +14246,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hyper", "log", @@ -14352,7 +14258,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -14365,7 +14271,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -14382,7 +14288,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ansi_term", "build-helper", @@ -14487,14 +14393,14 @@ checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" [[package]] name = "tempfile" -version = "3.8.0" +version = "3.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" +checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" dependencies = [ "cfg-if", "fastrand 2.0.1", - "redox_syscall 0.3.5", - "rustix 0.38.20", + "redox_syscall 0.4.1", + "rustix 0.38.21", "windows-sys 0.48.0", ] @@ -14879,7 +14785,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.0.2", + "indexmap 2.1.0", "serde", "serde_spanned", "toml_datetime", @@ -14973,7 +14879,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "coarsetime", "polkadot-node-jaeger", @@ -14985,7 +14891,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -15115,12 +15021,11 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "clap 4.4.7", "frame-remote-externalities", - "frame-try-runtime", "hex", "log", "parity-scale-codec", @@ -15635,7 +15540,7 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix 0.36.16", + "rustix 0.36.17", "serde", "sha2 0.10.8", "toml 0.5.11", @@ -15731,7 +15636,7 @@ checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ "object 0.30.4", "once_cell", - "rustix 0.36.16", + "rustix 0.36.17", ] [[package]] @@ -15762,7 +15667,7 @@ dependencies = [ "memoffset 0.8.0", "paste", "rand 0.8.5", - "rustix 0.36.16", + "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", @@ -15820,15 +15725,6 @@ dependencies = [ "webpki 0.22.4", ] -[[package]] -name = "webpki-roots" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" -dependencies = [ - "rustls-webpki 0.100.3", -] - [[package]] name = "webpki-roots" version = "0.25.2" @@ -16046,7 +15942,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16145,7 +16041,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -16165,7 +16061,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.20", + "rustix 0.38.21", ] [[package]] @@ -16383,9 +16279,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "winnow" -version = "0.5.17" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3b801d0e0a6726477cc207f60162da452f3a95adb368399bef20a946e06f65c" +checksum = "176b6138793677221d420fd2f0aeeced263f197688b36484660da767bca2fa32" dependencies = [ "memchr", ] @@ -16472,7 +16368,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -16504,7 +16400,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#33156d3d58a9a105f81dd1e9c20ab0225ed04df6" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "proc-macro2", @@ -16543,18 +16439,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.14" +version = "0.7.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69c48d63854f77746c68a5fbb4aa17f3997ece1cb301689a257af8cb80610d21" +checksum = "686b7e407015242119c33dab17b8f61ba6843534de936d94368856528eae4dcc" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.14" +version = "0.7.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c258c1040279e4f88763a113de72ce32dde2d50e2a94573f15dd534cea36a16d" +checksum = "020f3dfe25dfc38dfea49ce62d5d45ecdd7f0d8a724fa63eb36b6eba4ec76806" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index ae4baf51a..4b36dce4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -173,7 +173,6 @@ substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -try-runtime-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # ORML dependencies orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } @@ -194,7 +193,6 @@ cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branc cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } @@ -346,14 +344,12 @@ substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkado substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -try-runtime-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } # Cumulus dependencies cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index c9c7c828f..e3aa5077f 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -90,7 +90,6 @@ pallet-aura = { workspace = true } pallet-balances = { workspace = true } pallet-collective = { workspace = true } pallet-session = { workspace = true } -pallet-sudo = { workspace = true } pallet-timestamp = { workspace = true } pallet-transaction-payment = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } @@ -156,7 +155,6 @@ std = [ "pallet-balances/std", "pallet-elections-phragmen/std", "pallet-session/std", - "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment/std", "pallet-transaction-multi-payment/std", diff --git a/node/Cargo.toml b/node/Cargo.toml index a7112c367..9b092b305 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -77,13 +77,11 @@ frame-system-rpc-runtime-api = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } sp-authority-discovery = { workspace = true } frame-try-runtime = { workspace = true, optional = true } -try-runtime-cli = { workspace = true, optional = true } # Cumulus dependencies cumulus-client-cli = { workspace = true } cumulus-client-collator = { workspace = true } cumulus-client-consensus-aura = { workspace = true } -cumulus-client-consensus-relay-chain = { workspace = true } cumulus-client-consensus-common = { workspace = true } cumulus-client-consensus-proposer = { workspace = true } cumulus-client-network = { workspace = true } @@ -110,11 +108,7 @@ runtime-benchmarks = [ "polkadot-service/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", ] -cli = [ - 'try-runtime-cli', -] try-runtime = [ "hydradx-runtime/try-runtime", - "try-runtime-cli/try-runtime", ] diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 9315273e1..8ec6b9b8e 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -35,7 +35,6 @@ sp-std = { workspace = true } hydradx-traits = { workspace = true } # Optionals -frame-system-benchmarking = { workspace = true, optional = true } frame-benchmarking = { workspace = true, optional = true } sp-api = { workspace = true, optional = true } diff --git a/pallets/bonds/Cargo.toml b/pallets/bonds/Cargo.toml index aeb4cbf7f..9b195cf0e 100644 --- a/pallets/bonds/Cargo.toml +++ b/pallets/bonds/Cargo.toml @@ -47,7 +47,6 @@ sp-io = { workspace = true } sp-tracing = { workspace = true } frame-benchmarking = { workspace = true } orml-tokens = { workspace = true } -proptest = "1.0.0" pretty_assertions = "1.2.1" [features] diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index cbd17c2fb..f81947132 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -31,11 +31,6 @@ sp-std = { workspace = true } # Local dependencies primitives = { workspace = true } -# ORML dependencies -orml-tokens = { workspace = true } -orml-traits = { workspace = true } -orml-utilities = { workspace = true } - [dev-dependencies] pallet-balances = { workspace = true } sp-core = { workspace = true } @@ -51,9 +46,6 @@ std = [ 'codec/std', 'frame-support/std', 'frame-system/std', - 'orml-traits/std', - 'orml-tokens/std', - 'orml-utilities/std', 'primitives/std', 'rustc-hex/std', 'serde/std', diff --git a/pallets/collator-rewards/Cargo.toml b/pallets/collator-rewards/Cargo.toml index 054d2bd92..03208bf60 100644 --- a/pallets/collator-rewards/Cargo.toml +++ b/pallets/collator-rewards/Cargo.toml @@ -32,7 +32,6 @@ pallet-session = { workspace = true } orml-traits = { workspace = true } # Optionals -frame-system-benchmarking = { workspace = true, optional = true } frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] @@ -40,8 +39,6 @@ orml-tokens = { workspace = true } sp-io = { workspace = true } sp-core = { workspace = true } pallet-balances = { workspace = true } -sp-consensus-aura = { workspace = true } -pallet-aura = { workspace = true } [features] default = ["std"] @@ -62,7 +59,6 @@ std = [ "scale-info/std", "sp-runtime/std", "pallet-balances/std", - "pallet-aura/std", "pallet-session/std", ] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index 8f02cf3aa..df5f96ce2 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -32,7 +32,6 @@ cumulus-pallet-parachain-system ={ workspace = true } pallet-omnipool = { workspace = true } hydradx-traits = { workspace = true } hydradx-adapters = { workspace = true } -pallet-relaychain-info = { workspace = true } pallet-ema-oracle = { workspace = true } hydra-dx-math = { workspace = true } @@ -42,7 +41,6 @@ orml-traits = { workspace = true } # Optional imports for benchmarking frame-benchmarking = { workspace = true, optional = true } -frame-system-benchmarking = { workspace = true, optional = true } sp-core = { workspace = true, optional = true } sp-io = { workspace = true, optional = true } @@ -58,7 +56,6 @@ lazy_static = { features = ["spin_no_std"], version = "1.4.0", default-features sp-api = { workspace = true } sp-tracing = { workspace = true } orml-tokens = { workspace = true } -proptest = "1.0.0" pretty_assertions = "1.2.1" test-utils = { workspace = true } test-case = "2.2.2" @@ -78,7 +75,6 @@ std = [ "orml-tokens/std", "hydradx-traits/std", "hydradx-adapters/std", - "pallet-relaychain-info/std", "pallet-omnipool/std", "pallet-ema-oracle/std", ] diff --git a/pallets/duster/Cargo.toml b/pallets/duster/Cargo.toml index 97faaabcf..61d2b287c 100644 --- a/pallets/duster/Cargo.toml +++ b/pallets/duster/Cargo.toml @@ -32,7 +32,6 @@ frame-support = { workspace = true } frame-system = { workspace = true } # Optionals -frame-system-benchmarking = { workspace = true, optional = true } frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] diff --git a/pallets/dynamic-fees/Cargo.toml b/pallets/dynamic-fees/Cargo.toml index 3a13dd7ac..cebda048b 100644 --- a/pallets/dynamic-fees/Cargo.toml +++ b/pallets/dynamic-fees/Cargo.toml @@ -13,8 +13,6 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { features = ["derive"], optional = true, version = "1.0.137" } # HydraDX dependencies -hydradx-traits = { workspace = true } - hydra-dx-math = { workspace = true } # ORML dependencies @@ -24,14 +22,12 @@ orml-traits = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-benchmarking = { workspace = true, optional = true } sp-std = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } [dev-dependencies] sp-io = { workspace = true } -pretty_assertions = "1.2.1" proptest = "1.0.0" [features] diff --git a/pallets/ema-oracle/Cargo.toml b/pallets/ema-oracle/Cargo.toml index 8b53a3ac6..d9f3d1247 100644 --- a/pallets/ema-oracle/Cargo.toml +++ b/pallets/ema-oracle/Cargo.toml @@ -23,7 +23,6 @@ hydra-dx-math = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-benchmarking = { workspace = true, optional = true } sp-arithmetic = { workspace = true } sp-core = { workspace = true } sp-std = { workspace = true } diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 36e83019d..7d39d7167 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -32,7 +32,6 @@ orml-traits = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-benchmarking = { workspace = true, optional = true } sp-std = { workspace = true } # Needed for benchmarks diff --git a/pallets/liquidity-mining/Cargo.toml b/pallets/liquidity-mining/Cargo.toml index b3da447e7..49a6f1d29 100644 --- a/pallets/liquidity-mining/Cargo.toml +++ b/pallets/liquidity-mining/Cargo.toml @@ -33,7 +33,6 @@ sp-std = { workspace = true } test-utils = { workspace = true } sp-io = { workspace = true } sp-core = { workspace = true } -orml-currencies = { workspace = true } orml-tokens = { workspace = true } pallet-balances = { workspace = true } # This can be updated to lates after rust update(>=1.61) diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 4d0143e5a..816965b26 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -26,9 +26,6 @@ sp-std = { workspace = true } sp-io = { workspace = true } pallet-uniques = { workspace = true } -# ORML dependencies -orml-utilities = { workspace = true } - # HydraDX traits hydradx-traits = { workspace = true } diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index a06804032..c1d65b6b5 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -53,9 +53,7 @@ sp-io = { workspace = true, optional = true } sp-io = { workspace = true } sp-core = { workspace = true } orml-tokens = { workspace = true } -proptest = "1.0.0" pretty_assertions = "1.2.1" -test-utils = { workspace = true } [features] default = ["std"] diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index 435cf8383..e6d960b40 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -22,7 +22,6 @@ orml-traits = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-benchmarking = { workspace = true, optional = true } sp-std = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index ab65a5f61..8253e53ae 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -14,7 +14,6 @@ sp-std = { workspace = true } log = { workspace = true } # Optionals -frame-system-benchmarking = { workspace = true, optional = true } frame-benchmarking = { workspace = true, optional = true } sp-api = { workspace = true, optional = true } diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 170cb8d87..96552e2d2 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -44,9 +44,7 @@ orml-traits = { workspace = true } pallet-balances = { workspace = true, features = ["std"] } pallet-omnipool = { workspace = true, features = ["std"] } orml-tokens = { workspace = true, features = ["std"] } -test-utils = { workspace = true } pretty_assertions = "1.2.1" -test-case = "3.0.0" [features] default = ['std'] diff --git a/pallets/xyk/Cargo.toml b/pallets/xyk/Cargo.toml index c993cff21..a8acf439f 100644 --- a/pallets/xyk/Cargo.toml +++ b/pallets/xyk/Cargo.toml @@ -29,7 +29,6 @@ primitives = {path = '../../primitives', default-features = false} # ORML dependencies orml-tokens = { workspace = true } orml-traits = { workspace = true } -orml-utilities = { workspace = true } # HydraDX dependencies hydradx-traits = { workspace = true } @@ -38,7 +37,6 @@ hydradx-traits = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-benchmarking = { workspace = true, optional = true } sp-core = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 684e50f3b..6b1a0cb6e 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -10,7 +10,6 @@ repository = "https://github.com/galacticcouncil/HydraDX-node" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-build-script-utils = { workspace = true } substrate-wasm-builder = { workspace = true } [dependencies] diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index ad9fcd4db..17afcb6e7 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -152,7 +152,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type WeightInfo = weights::xcmp_queue::HydraWeight; type ExecuteDeferredOrigin = EnsureRoot; type MaxDeferredMessages = ConstU32<100>; - type MaxDeferredBuckets = ConstU32<100>; // TODO + type MaxDeferredBuckets = ConstU32<1_000>; type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; type XcmDeferFilter = (); } diff --git a/utils/build-script-utils/Cargo.toml b/utils/build-script-utils/Cargo.toml index 37911c5cd..5ce5154f3 100644 --- a/utils/build-script-utils/Cargo.toml +++ b/utils/build-script-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydra-dx-build-script-utils" -version = "1.0.2" +version = "1.0.3" description = "Crate with utility functions for `build.rs` scripts." authors = ["GalacticCouncil "] edition = "2021" @@ -13,4 +13,4 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] platforms = "1.1" -cargo-lock = "4.0" +cargo-lock = "9.0.0" From 462371b4440729f937078f6288ac494da389ee37 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 1 Nov 2023 15:46:02 +0100 Subject: [PATCH 027/138] fixes --- pallets/asset-registry/src/tests.rs | 12 ++++++------ pallets/claims/src/mock.rs | 6 +++++- pallets/lbp/Cargo.toml | 1 + 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/pallets/asset-registry/src/tests.rs b/pallets/asset-registry/src/tests.rs index 967d62378..ed4f60fcb 100644 --- a/pallets/asset-registry/src/tests.rs +++ b/pallets/asset-registry/src/tests.rs @@ -47,7 +47,7 @@ fn register_asset_works() { Error::::TooLong ); - let name: Vec = b"HDX".to_vec(); + let name: Vec = b"BSX".to_vec(); assert_ok!(AssetRegistryPallet::register( RuntimeOrigin::root(), @@ -105,7 +105,7 @@ fn create_asset() { let ed = 1_000_000u128; assert_ok!(AssetRegistryPallet::get_or_create_asset( - b"HDX".to_vec(), + b"BSX".to_vec(), AssetType::Token, ed, None, @@ -147,18 +147,18 @@ fn create_asset() { #[test] fn location_mapping_works() { new_test_ext().execute_with(|| { - let bn = AssetRegistryPallet::to_bounded_name(b"HDX".to_vec()).unwrap(); + let bn = AssetRegistryPallet::to_bounded_name(b"BSX".to_vec()).unwrap(); let ed = 1_000_000u128; assert_ok!(AssetRegistryPallet::get_or_create_asset( - b"HDX".to_vec(), + b"BSX".to_vec(), AssetType::Token, ed, None, )); let asset_id: RegistryAssetId = - AssetRegistryPallet::get_or_create_asset(b"HDX".to_vec(), AssetType::Token, ed, None).unwrap(); + AssetRegistryPallet::get_or_create_asset(b"BSX".to_vec(), AssetType::Token, ed, None).unwrap(); crate::Assets::::insert( asset_id, @@ -229,7 +229,7 @@ fn genesis_config_works() { let native: BoundedVec::StringLimit> = b"NATIVE".to_vec().try_into().unwrap(); assert_eq!(AssetRegistryPallet::asset_ids(native), None); - let bsx: BoundedVec::StringLimit> = b"BSX".to_vec().try_into().unwrap(); + let bsx: BoundedVec::StringLimit> = b"HDX".to_vec().try_into().unwrap(); assert_eq!(AssetRegistryPallet::asset_ids(bsx).unwrap(), 0u32); let one: BoundedVec::StringLimit> = one.try_into().unwrap(); diff --git a/pallets/claims/src/mock.rs b/pallets/claims/src/mock.rs index f266311c6..bc6ecc5b4 100644 --- a/pallets/claims/src/mock.rs +++ b/pallets/claims/src/mock.rs @@ -70,12 +70,16 @@ impl frame_system::Config for Test { type MaxConsumers = frame_support::traits::ConstU32<16>; } +parameter_types! { + pub const ExistentialDeposit: Balance = 1; +} + impl pallet_balances::Config for Test { type MaxLocks = (); type Balance = Balance; type RuntimeEvent = RuntimeEvent; type DustRemoval = (); - type ExistentialDeposit = (); + type ExistentialDeposit = ExistentialDeposit; type AccountStore = frame_system::Pallet; type WeightInfo = (); type MaxReserves = (); diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 7d39d7167..a5fdd1da9 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -55,6 +55,7 @@ runtime-benchmarks = [ std = [ "serde", "codec/std", + "frame-benchmarking/std", "frame-support/std", "frame-system/std", "orml-tokens/std", From b1efc3122a94f84b01d8388c539f05d9a34e425e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 2 Nov 2023 12:57:45 +0100 Subject: [PATCH 028/138] fix tests --- integration-tests/src/cross_chain_transfer.rs | 16 ++++++++-------- integration-tests/src/dynamic_fees.rs | 2 +- integration-tests/src/non_native_fee.rs | 2 +- .../src/omnipool_liquidity_mining.rs | 2 +- integration-tests/src/oracle.rs | 12 +++++------- integration-tests/src/polkadot_test_net.rs | 16 ++++++++++++++++ pallets/claims/src/mock.rs | 2 +- pallets/claims/src/tests.rs | 5 ++--- pallets/currencies/src/tests_fungibles.rs | 6 +++--- runtime/hydradx/src/assets.rs | 3 +-- 10 files changed, 39 insertions(+), 27 deletions(-) diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index 463b0974a..ced044149 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -51,7 +51,7 @@ fn hydra_should_receive_asset_when_transferred_from_polkadot_relay_chain() { ); }); - let fees = 400641025641; + let fees = 401884032343; Hydra::execute_with(|| { assert_eq!( hydradx_runtime::Tokens::free_balance(1, &AccountId::from(BOB)), @@ -97,7 +97,7 @@ fn polkadot_should_receive_asset_when_sent_from_hydra() { PolkadotRelay::execute_with(|| { assert_eq!( hydradx_runtime::Balances::free_balance(&AccountId::from(BOB)), - 2999637471000 // 3 * HDX - fee + 2999978937205 // 3 * HDX - fee ); }); } @@ -141,7 +141,7 @@ fn hydra_should_receive_asset_when_transferred_from_acala() { ); }); - let fee = 400641025641; + let fee = 321507225875; Hydra::execute_with(|| { assert_eq!( hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), @@ -300,8 +300,8 @@ fn assets_should_be_trapped_when_assets_are_unknown() { } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 1, - relaychain_block_number: 4, + parachain_block_number: 3, + relaychain_block_number: 7, } .into(), ]); @@ -334,7 +334,7 @@ fn claim_trapped_asset_should_work() { Hydra::execute_with(|| { assert_eq!( hydradx_runtime::Tokens::free_balance(1, &AccountId::from(BOB)), - 1000 * UNITS + 29_699_519_230_769 + 1000 * UNITS + 29_758_869_580_594 ); let origin = MultiLocation::new(1, X1(Parachain(ACALA_PARA_ID))); @@ -384,8 +384,8 @@ fn trap_asset() -> MultiAsset { } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 1, - relaychain_block_number: 4, + parachain_block_number: 3, + relaychain_block_number: 7, } .into(), ]); diff --git a/integration-tests/src/dynamic_fees.rs b/integration-tests/src/dynamic_fees.rs index 98da46493..f78ffd19d 100644 --- a/integration-tests/src/dynamic_fees.rs +++ b/integration-tests/src/dynamic_fees.rs @@ -1,6 +1,6 @@ #![cfg(test)] -use crate::{oracle::hydradx_run_to_block, polkadot_test_net::*}; +use crate::polkadot_test_net::*; use frame_support::assert_ok; use pallet_dynamic_fees::types::FeeEntry; use primitives::AssetId; diff --git a/integration-tests/src/non_native_fee.rs b/integration-tests/src/non_native_fee.rs index ee09f7f63..d90351197 100644 --- a/integration-tests/src/non_native_fee.rs +++ b/integration-tests/src/non_native_fee.rs @@ -51,7 +51,7 @@ fn non_native_fee_payment_works_with_omnipool_spot_price() { ) ); let bob_balance = hydradx_runtime::Tokens::free_balance(BTC, &AccountId::from(BOB)); - assert_eq!(bob_balance, 999_959); + assert_eq!(bob_balance, 999_962); assert_ok!(hydradx_runtime::Balances::force_set_balance( hydradx_runtime::RuntimeOrigin::root(), diff --git a/integration-tests/src/omnipool_liquidity_mining.rs b/integration-tests/src/omnipool_liquidity_mining.rs index cd0b8ed5a..cb9a73648 100644 --- a/integration-tests/src/omnipool_liquidity_mining.rs +++ b/integration-tests/src/omnipool_liquidity_mining.rs @@ -16,7 +16,7 @@ // limitations under the License. #![cfg(test)] -use crate::{oracle::hydradx_run_to_block, polkadot_test_net::*}; +use crate::polkadot_test_net::*; use frame_support::{assert_noop, assert_ok}; use hydradx_traits::liquidity_mining::PriceAdjustment; diff --git a/integration-tests/src/oracle.rs b/integration-tests/src/oracle.rs index 4754a3599..218793559 100644 --- a/integration-tests/src/oracle.rs +++ b/integration-tests/src/oracle.rs @@ -16,8 +16,7 @@ use pallet_ema_oracle::OracleError; use primitives::constants::chain::OMNIPOOL_SOURCE; use xcm_emulator::TestExt; -pub fn hydradx_run_to_block(to: BlockNumber) { - while hydradx_runtime::System::block_number() < to { +pub fn hydradx_run_to_next_block() { let b = hydradx_runtime::System::block_number(); hydradx_runtime::System::on_finalize(b); @@ -27,7 +26,6 @@ pub fn hydradx_run_to_block(to: BlockNumber) { hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::System::set_block_number(b + 1); - } } const HDX: AssetId = CORE_ASSET_ID; @@ -44,7 +42,7 @@ fn omnipool_trades_are_ingested_into_oracle() { Hydra::execute_with(|| { // arrange - hydradx_run_to_block(2); + hydradx_run_to_next_block(); init_omnipool(); @@ -68,7 +66,7 @@ fn omnipool_trades_are_ingested_into_oracle() { // act // will store the data received in the sell as oracle values - hydradx_run_to_block(3); + hydradx_run_to_next_block(); // assert let expected_a = ((936334588000000000, 1124993995517813).into(), 0); @@ -102,7 +100,7 @@ fn omnipool_hub_asset_trades_are_ingested_into_oracle() { Hydra::execute_with(|| { // arrange - hydradx_run_to_block(2); + hydradx_run_to_next_block(); init_omnipool(); @@ -118,7 +116,7 @@ fn omnipool_hub_asset_trades_are_ingested_into_oracle() { // act // will store the data received in the sell as oracle values - hydradx_run_to_block(3); + hydradx_run_to_next_block(); // assert let expected = ((936324588000000000, 1125006022570633).into(), 0); diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index d35ee8738..f30ae61d2 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -524,6 +524,22 @@ pub fn set_relaychain_block_number(number: BlockNumber) { } )); } + +pub fn hydradx_run_to_block(to: BlockNumber) { + use frame_support::traits::OnFinalize; + while hydradx_runtime::System::block_number() < to { + let b = hydradx_runtime::System::block_number(); + + hydradx_runtime::System::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); + + hydradx_runtime::System::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); + + hydradx_runtime::System::set_block_number(b + 1); + } +} + pub fn polkadot_run_to_block(to: BlockNumber) { use frame_support::traits::OnFinalize; diff --git a/pallets/claims/src/mock.rs b/pallets/claims/src/mock.rs index bc6ecc5b4..cc3e0993c 100644 --- a/pallets/claims/src/mock.rs +++ b/pallets/claims/src/mock.rs @@ -118,7 +118,7 @@ impl ExtBuilder { let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(42, 0), (43, 0), (44, Balance::MAX - 1)], + balances: vec![(ALICE, 1), (BOB, 1), (CHARLIE, Balance::MAX - 1)], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/claims/src/tests.rs b/pallets/claims/src/tests.rs index 52bf45b20..756ebd932 100644 --- a/pallets/claims/src/tests.rs +++ b/pallets/claims/src/tests.rs @@ -37,15 +37,14 @@ fn claiming_works() { // "I hereby claim all my xHDX tokens to wallet:2a00000000000000" let signature = hex!["5b2b46b0162f4b4431f154c4b9fc5ba923690b98b0c2063720799da54cb35a354304102ede62977ba556f0b03e67710522d4b7523547c62fcdc5acea59c99aa41b"]; - assert_eq!(Balances::free_balance(ALICE), 0); - assert_eq!(Balances::free_balance(BOB), 0); + let alice_initial_balance = Balances::free_balance(ALICE); // Signature not consistent with origin assert_noop!(ClaimsPallet::claim(RuntimeOrigin::signed(BOB), EcdsaSignature(signature)), Error::::NoClaimOrAlreadyClaimed); assert_ok!(ClaimsPallet::claim(RuntimeOrigin::signed(ALICE), EcdsaSignature(signature))); - assert_eq!(Balances::free_balance(ALICE), CLAIM_AMOUNT); + assert_eq!(Balances::free_balance(ALICE), alice_initial_balance + CLAIM_AMOUNT); }) } diff --git a/pallets/currencies/src/tests_fungibles.rs b/pallets/currencies/src/tests_fungibles.rs index 6c524f946..c51df5045 100644 --- a/pallets/currencies/src/tests_fungibles.rs +++ b/pallets/currencies/src/tests_fungibles.rs @@ -2,7 +2,7 @@ use super::*; use crate::fungibles::FungibleCurrencies; -use frame_support::{assert_noop, assert_ok, traits::tokens::fungibles::*}; +use frame_support::{assert_noop, assert_ok, traits::tokens::fungibles::*, sp_runtime::TokenError}; use mock::*; #[test] @@ -105,7 +105,7 @@ fn fungibles_transfer_trait_should_work() { .execute_with(|| { assert_noop!( FungibleCurrencies::::transfer(NATIVE_CURRENCY_ID, &ALICE, &BOB, 100, Preservation::Preserve), - pallet_balances::Error::::Expendability + TokenError::NotExpendable ); assert_ok!(FungibleCurrencies::::transfer( NATIVE_CURRENCY_ID, @@ -119,7 +119,7 @@ fn fungibles_transfer_trait_should_work() { assert_noop!( FungibleCurrencies::::transfer(X_TOKEN_ID, &BOB, &ALICE, 100, Preservation::Preserve), - orml_tokens::Error::::KeepAlive + TokenError::NotExpendable ); assert_ok!(FungibleCurrencies::::transfer( X_TOKEN_ID, diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index ba07c6487..f75bf6ad6 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -25,7 +25,7 @@ use hydradx_adapters::{ use hydradx_adapters::{RelayChainBlockHashProvider, RelayChainBlockNumberProvider}; use hydradx_traits::{ - router::PoolType, AccountIdFor, AssetKind, AssetPairAccountIdFor, OnTradeHandler, OraclePeriod, Source, + router::{PoolType, Trade}, AccountIdFor, AssetKind, AssetPairAccountIdFor, OnTradeHandler, OraclePeriod, Source, }; use pallet_currencies::BasicCurrencyAdapter; use pallet_omnipool::{ @@ -53,7 +53,6 @@ use frame_support::{ BoundedVec, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned, RawOrigin}; -use hydradx_traits::router::Trade; use orml_traits::currency::MutationHooks; use orml_traits::GetByKey; use pallet_dynamic_fees::types::FeeParams; From 3cd144f7a26c64f469bca941301ec54b225ec245 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 3 Nov 2023 12:05:17 +0100 Subject: [PATCH 029/138] fix tests --- integration-tests/src/bonds.rs | 8 +++++++- integration-tests/src/dca.rs | 3 +-- integration-tests/src/oracle.rs | 12 ++++++------ pallets/claims/src/benchmarking.rs | 5 ++++- pallets/currencies/src/tests_fungibles.rs | 2 +- pallets/xyk/src/tests/mock.rs | 2 +- runtime/hydradx/src/assets.rs | 3 ++- 7 files changed, 22 insertions(+), 13 deletions(-) diff --git a/integration-tests/src/bonds.rs b/integration-tests/src/bonds.rs index 7cc92ecfb..5209a6835 100644 --- a/integration-tests/src/bonds.rs +++ b/integration-tests/src/bonds.rs @@ -18,6 +18,8 @@ fn issue_bonds_should_work_when_issued_for_native_asset() { let amount = 100 * UNITS; let fee = ::ProtocolFee::get().mul_ceil(amount); let amount_without_fee: Balance = amount.checked_sub(fee).unwrap(); + let initial_fee_receiver_balance = + Currencies::free_balance(HDX, &::FeeReceiver::get()); let maturity = NOW + MONTH; @@ -37,7 +39,11 @@ fn issue_bonds_should_work_when_issued_for_native_asset() { assert_balance!(&ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE - amount); assert_balance!(&ALICE.into(), bond_id, amount_without_fee); - assert_balance!(&::FeeReceiver::get(), HDX, fee); + assert_balance!( + &::FeeReceiver::get(), + HDX, + initial_fee_receiver_balance + fee + ); assert_balance!(&Bonds::pallet_account_id(), HDX, amount_without_fee); }); diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 5a32bb992..9c17480b9 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -535,11 +535,10 @@ mod omnipool { //Arrange init_omnipool_with_oracle_for_block_10(); let alice_init_hdx_balance = 5000 * UNITS; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), ALICE.into(), alice_init_hdx_balance, - 0, )); let dca_budget = 1000 * UNITS; diff --git a/integration-tests/src/oracle.rs b/integration-tests/src/oracle.rs index 218793559..7912d790e 100644 --- a/integration-tests/src/oracle.rs +++ b/integration-tests/src/oracle.rs @@ -17,15 +17,15 @@ use primitives::constants::chain::OMNIPOOL_SOURCE; use xcm_emulator::TestExt; pub fn hydradx_run_to_next_block() { - let b = hydradx_runtime::System::block_number(); + let b = hydradx_runtime::System::block_number(); - hydradx_runtime::System::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); + hydradx_runtime::System::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); - hydradx_runtime::System::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); + hydradx_runtime::System::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); - hydradx_runtime::System::set_block_number(b + 1); + hydradx_runtime::System::set_block_number(b + 1); } const HDX: AssetId = CORE_ASSET_ID; diff --git a/pallets/claims/src/benchmarking.rs b/pallets/claims/src/benchmarking.rs index 86696d769..c8955418a 100644 --- a/pallets/claims/src/benchmarking.rs +++ b/pallets/claims/src/benchmarking.rs @@ -36,6 +36,9 @@ benchmarks! { let caller = T::AccountId::decode(&mut &alice_id[..]).unwrap(); let eth_address = EthereumAddress(hex!["8202c0af5962b750123ce1a9b12e1c30a4973557"]); + + let initial_balance = T::Currency::free_balance(&caller); + Claims::::insert(eth_address, T::CurrencyBalance::from(1_000_000_000_000_000_000_u128).into()); }: _(RawOrigin::Signed(caller.clone()), EcdsaSignature(signature)) verify { @@ -44,7 +47,7 @@ benchmarks! { #[cfg(test)] let expected_balance = T::CurrencyBalance::from(1_000_000_000_000_000_000_u128); - assert_eq!(T::Currency::free_balance(&caller), expected_balance.into()); + assert_eq!(T::Currency::free_balance(&caller), initial_balance + expected_balance.into()); assert_eq!(Claims::::get(eth_address), T::CurrencyBalance::from(0u128).into()); } } diff --git a/pallets/currencies/src/tests_fungibles.rs b/pallets/currencies/src/tests_fungibles.rs index c51df5045..e287edef2 100644 --- a/pallets/currencies/src/tests_fungibles.rs +++ b/pallets/currencies/src/tests_fungibles.rs @@ -2,7 +2,7 @@ use super::*; use crate::fungibles::FungibleCurrencies; -use frame_support::{assert_noop, assert_ok, traits::tokens::fungibles::*, sp_runtime::TokenError}; +use frame_support::{assert_noop, assert_ok, sp_runtime::TokenError, traits::tokens::fungibles::*}; use mock::*; #[test] diff --git a/pallets/xyk/src/tests/mock.rs b/pallets/xyk/src/tests/mock.rs index a982d2c9f..eca5ebc1b 100644 --- a/pallets/xyk/src/tests/mock.rs +++ b/pallets/xyk/src/tests/mock.rs @@ -28,7 +28,7 @@ use sp_runtime::{ }; use crate::types::{AssetId, Balance}; -use frame_support::traits::{Everything, GenesisBuild, Get, Nothing}; +use frame_support::traits::{Everything, Get, Nothing}; use hydradx_traits::{AssetPairAccountIdFor, CanCreatePool, Source}; use frame_system::EnsureSigned; diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 3008f5fde..4c2e077a9 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -25,7 +25,8 @@ use hydradx_adapters::{ use hydradx_adapters::{RelayChainBlockHashProvider, RelayChainBlockNumberProvider}; use hydradx_traits::{ - router::{PoolType, RouteProvider, Trade}, AccountIdFor, AssetKind, AssetPairAccountIdFor, OnTradeHandler, OraclePeriod, Source, + router::{PoolType, RouteProvider, Trade}, + AccountIdFor, AssetKind, AssetPairAccountIdFor, OnTradeHandler, OraclePeriod, Source, }; use pallet_currencies::BasicCurrencyAdapter; use pallet_omnipool::{ From 01804441473219a9127a0d4d99105c6579be87e5 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 6 Nov 2023 11:22:04 +0100 Subject: [PATCH 030/138] add storage migrations --- Cargo.lock | 1 + runtime/hydradx/Cargo.toml | 1 + runtime/hydradx/src/migrations.rs | 30 ++++++++++++++++++++++++++---- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 904dbfd26..48442505d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4504,6 +4504,7 @@ dependencies = [ "hydra-dx-math", "hydradx-adapters", "hydradx-traits", + "log", "orml-benchmarking", "orml-tokens", "orml-traits", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 23a861882..a88f0a599 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -18,6 +18,7 @@ serde = { features = ["derive"], optional = true, version = "1.0.136" } codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false, features = ["derive"] } scale-info = { version = "2.3.1", default-features = false, features = ["derive"] } smallvec = "1.9.0" +log = { workspace = true } # local dependencies primitives = { workspace = true } diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 2dc51ae10..ed5ffa003 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -1,3 +1,4 @@ +use crate::Runtime; use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; @@ -6,15 +7,36 @@ pub struct OnRuntimeUpgradeMigration; impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, sp_runtime::DispatchError> { - Ok(vec![]) + log::info!("PreMigrate Collator Selection Pallet start"); + let number_of_invulnerables = pallet_collator_selection::migration::v1::MigrateToV1::::pre_upgrade()?; + log::info!("PreMigrate Collator Selection Pallet end"); + Ok(number_of_invulnerables) } fn on_runtime_upgrade() -> Weight { - Weight::zero() + let mut weight: Weight = Weight::zero(); + + log::info!("Migrate Collator Selection Pallet to v1 start"); + weight = weight.saturating_add(pallet_collator_selection::migration::v1::MigrateToV1::::on_runtime_upgrade()); + log::info!("Migrate Collator Selection Pallet to v1 end"); + + log::info!("Migrate Unknown Tokens Pallet to v2 start"); + weight = weight.saturating_add(orml_unknown_tokens::Migration::::on_runtime_upgrade()); + log::info!("Migrate Unknown Tokens Pallet to v2 end"); + + log::info!("Migrate XCM Pallet to v1 start"); + weight = weight.saturating_add(pallet_xcm::migration::v1::VersionUncheckedMigrateToV1::::on_runtime_upgrade()); + log::info!("Migrate XCM Pallet to v1 end"); + + weight } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), sp_runtime::DispatchError> { - Ok(()) + fn post_upgrade(state: Vec) -> Result<(), sp_runtime::DispatchError> { + log::info!("PostMigrate Collator Selection Pallet start"); + let migration_result = pallet_collator_selection::migration::v1::MigrateToV1::::post_upgrade(state); + log::info!("PostMigrate Collator Selection Pallet end"); + + migration_result } } From 746b3653ec19fac8166ac68ebc9a06f713c006f8 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 6 Nov 2023 11:23:30 +0100 Subject: [PATCH 031/138] formatting --- runtime/hydradx/src/migrations.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index ed5ffa003..84ea4d248 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -17,7 +17,8 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { let mut weight: Weight = Weight::zero(); log::info!("Migrate Collator Selection Pallet to v1 start"); - weight = weight.saturating_add(pallet_collator_selection::migration::v1::MigrateToV1::::on_runtime_upgrade()); + weight = weight + .saturating_add(pallet_collator_selection::migration::v1::MigrateToV1::::on_runtime_upgrade()); log::info!("Migrate Collator Selection Pallet to v1 end"); log::info!("Migrate Unknown Tokens Pallet to v2 start"); @@ -25,7 +26,8 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { log::info!("Migrate Unknown Tokens Pallet to v2 end"); log::info!("Migrate XCM Pallet to v1 start"); - weight = weight.saturating_add(pallet_xcm::migration::v1::VersionUncheckedMigrateToV1::::on_runtime_upgrade()); + weight = weight + .saturating_add(pallet_xcm::migration::v1::VersionUncheckedMigrateToV1::::on_runtime_upgrade()); log::info!("Migrate XCM Pallet to v1 end"); weight From 209c72febe0e7929cda6eb7c89a3bef512420077 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 6 Nov 2023 13:12:22 +0100 Subject: [PATCH 032/138] update democracy pallet --- pallets/democracy/src/benchmarking.rs | 197 ++++- pallets/democracy/src/conviction.rs | 2 +- pallets/democracy/src/lib.rs | 235 ++++-- pallets/democracy/src/migrations.rs | 2 +- pallets/democracy/src/tests.rs | 32 +- pallets/democracy/src/tests/cancellation.rs | 2 +- pallets/democracy/src/tests/decoders.rs | 2 +- pallets/democracy/src/tests/delegation.rs | 2 +- .../democracy/src/tests/external_proposing.rs | 2 +- pallets/democracy/src/tests/fast_tracking.rs | 13 +- pallets/democracy/src/tests/lock_voting.rs | 4 +- pallets/democracy/src/tests/metadata.rs | 204 ++++++ .../democracy/src/tests/public_proposals.rs | 20 +- pallets/democracy/src/tests/scheduling.rs | 2 +- pallets/democracy/src/tests/voting.rs | 2 +- pallets/democracy/src/types.rs | 19 +- pallets/democracy/src/vote.rs | 4 +- pallets/democracy/src/vote_threshold.rs | 2 +- pallets/democracy/src/weights.rs | 684 ++++++++++++------ runtime/hydradx/src/governance.rs | 3 +- runtime/hydradx/src/weights/democracy.rs | 18 + 21 files changed, 1133 insertions(+), 318 deletions(-) create mode 100644 pallets/democracy/src/tests/metadata.rs diff --git a/pallets/democracy/src/benchmarking.rs b/pallets/democracy/src/benchmarking.rs index 201850000..165a2e336 100644 --- a/pallets/democracy/src/benchmarking.rs +++ b/pallets/democracy/src/benchmarking.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2020-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,7 +24,7 @@ use frame_support::{ assert_noop, assert_ok, traits::{Currency, EnsureOrigin, Get, OnInitialize, UnfilteredDispatchable}, }; -use frame_system::RawOrigin; +use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; use sp_core::H256; use sp_runtime::{traits::Bounded, BoundedVec}; @@ -54,14 +54,15 @@ fn add_proposal(n: u32) -> Result { Ok(proposal.hash()) } -fn add_referendum(n: u32) -> (ReferendumIndex, H256) { +// add a referendum with a metadata. +fn add_referendum(n: u32) -> (ReferendumIndex, H256, PreimageHash) { let vote_threshold = VoteThreshold::SimpleMajority; let proposal = make_proposal::(n); let hash = proposal.hash(); - ( - Democracy::::inject_referendum(T::LaunchPeriod::get(), proposal, vote_threshold, 0u32.into()), - hash, - ) + let index = Democracy::::inject_referendum(T::LaunchPeriod::get(), proposal, vote_threshold, 0u32.into()); + let preimage_hash = note_preimage::(); + MetadataOf::::insert(crate::MetadataOwner::Referendum(index), preimage_hash.clone()); + (index, hash, preimage_hash) } fn account_vote(b: BalanceOf) -> AccountVote> { @@ -73,6 +74,25 @@ fn account_vote(b: BalanceOf) -> AccountVote> { AccountVote::Standard { vote: v, balance: b } } +fn assert_last_event(generic_event: ::RuntimeEvent) { + frame_system::Pallet::::assert_last_event(generic_event.into()); +} + +fn assert_has_event(generic_event: ::RuntimeEvent) { + frame_system::Pallet::::assert_has_event(generic_event.into()); +} + +// note a new preimage. +fn note_preimage() -> PreimageHash { + use core::sync::atomic::{AtomicU8, Ordering}; + use sp_std::borrow::Cow; + // note a new preimage on every function invoke. + static COUNTER: AtomicU8 = AtomicU8::new(0); + let data = Cow::from(vec![COUNTER.fetch_add(1, Ordering::Relaxed)]); + let hash = ::Preimages::note(data).unwrap(); + hash +} + benchmarks! { propose { let p = T::MaxProposals::get(); @@ -181,7 +201,7 @@ benchmarks! { emergency_cancel { let origin = T::CancellationOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; - let ref_index = add_referendum::(0).0; + let (ref_index, _, preimage_hash) = add_referendum::(0); assert_ok!(Democracy::::referendum_status(ref_index)); }: _(origin, ref_index) verify { @@ -190,6 +210,10 @@ benchmarks! { Democracy::::referendum_status(ref_index), Error::::ReferendumInvalid, ); + assert_last_event::(crate::Event::MetadataCleared { + owner: MetadataOwner::Referendum(ref_index), + hash: preimage_hash, + }.into()); } blacklist { @@ -200,7 +224,7 @@ benchmarks! { // We should really add a lot of seconds here, but we're not doing it elsewhere. // Add a referendum of our proposal. - let (ref_index, hash) = add_referendum::(0); + let (ref_index, hash, preimage_hash) = add_referendum::(0); assert_ok!(Democracy::::referendum_status(ref_index)); // Place our proposal in the external queue, too. assert_ok!(Democracy::::external_propose( @@ -217,6 +241,10 @@ benchmarks! { Democracy::::referendum_status(ref_index), Error::::ReferendumInvalid ); + assert_has_event::(crate::Event::MetadataCleared { + owner: MetadataOwner::Referendum(ref_index), + hash: preimage_hash, + }.into()); } // Worst case scenario, we external propose a previously blacklisted proposal @@ -264,8 +292,13 @@ benchmarks! { .expect("ExternalDefaultOrigin has no successful origin required for the benchmark"); let proposal = make_proposal::(0); let proposal_hash = proposal.hash(); - Democracy::::external_propose_default(origin_propose, proposal)?; - + Democracy::::external_propose_default(origin_propose.clone(), proposal)?; + // Set metadata to the external proposal. + let preimage_hash = note_preimage::(); + assert_ok!(Democracy::::set_metadata( + origin_propose, + MetadataOwner::External, + Some(preimage_hash))); // NOTE: Instant origin may invoke a little bit more logic, but may not always succeed. let origin_fast_track = T::FastTrackOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; @@ -273,7 +306,12 @@ benchmarks! { let delay = 0u32; }: _(origin_fast_track, proposal_hash, voting_period, delay.into()) verify { - assert_eq!(Democracy::::referendum_count(), 1, "referendum not created") + assert_eq!(Democracy::::referendum_count(), 1, "referendum not created"); + assert_last_event::(crate::Event::MetadataTransferred { + prev_owner: MetadataOwner::External, + owner: MetadataOwner::Referendum(0), + hash: preimage_hash, + }.into()); } veto_external { @@ -282,7 +320,14 @@ benchmarks! { let origin_propose = T::ExternalDefaultOrigin::try_successful_origin() .expect("ExternalDefaultOrigin has no successful origin required for the benchmark"); - Democracy::::external_propose_default(origin_propose, proposal)?; + Democracy::::external_propose_default(origin_propose.clone(), proposal)?; + + let preimage_hash = note_preimage::(); + assert_ok!(Democracy::::set_metadata( + origin_propose, + MetadataOwner::External, + Some(preimage_hash)) + ); let mut vetoers: BoundedVec = Default::default(); for i in 0 .. (T::MaxBlacklisted::get() - 1) { @@ -305,13 +350,32 @@ benchmarks! { for i in 0 .. T::MaxProposals::get() { add_proposal::(i)?; } + // Add metadata to the first proposal. + let proposer = funded_account::("proposer", 0); + let preimage_hash = note_preimage::(); + assert_ok!(Democracy::::set_metadata( + RawOrigin::Signed(proposer).into(), + MetadataOwner::Proposal(0), + Some(preimage_hash))); let cancel_origin = T::CancelProposalOrigin::try_successful_origin() .map_err(|_| BenchmarkError::Weightless)?; }: _(cancel_origin, 0) + verify { + assert_last_event::(crate::Event::MetadataCleared { + owner: MetadataOwner::Proposal(0), + hash: preimage_hash, + }.into()); + } cancel_referendum { - let ref_index = add_referendum::(0).0; + let (ref_index, _, preimage_hash) = add_referendum::(0); }: _(RawOrigin::Root, ref_index) + verify { + assert_last_event::(crate::Event::MetadataCleared { + owner: MetadataOwner::Referendum(0), + hash: preimage_hash, + }.into()); + } #[extra] on_initialize_external { @@ -684,6 +748,111 @@ benchmarks! { assert_eq!(votes.len(), (r - 1) as usize, "Vote was not removed"); } + set_external_metadata { + let origin = T::ExternalOrigin::try_successful_origin() + .expect("ExternalOrigin has no successful origin required for the benchmark"); + assert_ok!( + Democracy::::external_propose(origin.clone(), make_proposal::(0)) + ); + let owner = MetadataOwner::External; + let hash = note_preimage::(); + }: set_metadata(origin, owner.clone(), Some(hash)) + verify { + assert_last_event::(crate::Event::MetadataSet { + owner, + hash, + }.into()); + } + + clear_external_metadata { + let origin = T::ExternalOrigin::try_successful_origin() + .expect("ExternalOrigin has no successful origin required for the benchmark"); + assert_ok!( + Democracy::::external_propose(origin.clone(), make_proposal::(0)) + ); + let owner = MetadataOwner::External; + let proposer = funded_account::("proposer", 0); + let hash = note_preimage::(); + assert_ok!(Democracy::::set_metadata(origin.clone(), owner.clone(), Some(hash))); + }: set_metadata(origin, owner.clone(), None) + verify { + assert_last_event::(crate::Event::MetadataCleared { + owner, + hash, + }.into()); + } + + set_proposal_metadata { + // Place our proposal at the end to make sure it's worst case. + for i in 0 .. T::MaxProposals::get() { + add_proposal::(i)?; + } + let owner = MetadataOwner::Proposal(0); + let proposer = funded_account::("proposer", 0); + let hash = note_preimage::(); + }: set_metadata(RawOrigin::Signed(proposer).into(), owner.clone(), Some(hash)) + verify { + assert_last_event::(crate::Event::MetadataSet { + owner, + hash, + }.into()); + } + + clear_proposal_metadata { + // Place our proposal at the end to make sure it's worst case. + for i in 0 .. T::MaxProposals::get() { + add_proposal::(i)?; + } + let proposer = funded_account::("proposer", 0); + let owner = MetadataOwner::Proposal(0); + let hash = note_preimage::(); + assert_ok!(Democracy::::set_metadata( + RawOrigin::Signed(proposer.clone()).into(), + owner.clone(), + Some(hash))); + }: set_metadata(RawOrigin::Signed(proposer).into(), owner.clone(), None) + verify { + assert_last_event::(crate::Event::MetadataCleared { + owner, + hash, + }.into()); + } + + set_referendum_metadata { + // create not ongoing referendum. + ReferendumInfoOf::::insert( + 0, + ReferendumInfo::Finished { end: BlockNumberFor::::zero(), approved: true }, + ); + let owner = MetadataOwner::Referendum(0); + let caller = funded_account::("caller", 0); + let hash = note_preimage::(); + }: set_metadata(RawOrigin::Root.into(), owner.clone(), Some(hash)) + verify { + assert_last_event::(crate::Event::MetadataSet { + owner, + hash, + }.into()); + } + + clear_referendum_metadata { + // create not ongoing referendum. + ReferendumInfoOf::::insert( + 0, + ReferendumInfo::Finished { end: BlockNumberFor::::zero(), approved: true }, + ); + let owner = MetadataOwner::Referendum(0); + let hash = note_preimage::(); + MetadataOf::::insert(owner.clone(), hash); + let caller = funded_account::("caller", 0); + }: set_metadata(RawOrigin::Signed(caller).into(), owner.clone(), None) + verify { + assert_last_event::(crate::Event::MetadataCleared { + owner, + hash, + }.into()); + } + impl_benchmark_test_suite!( Democracy, crate::tests::new_test_ext(), diff --git a/pallets/democracy/src/conviction.rs b/pallets/democracy/src/conviction.rs index fa4cfeba7..ffbf6445d 100644 --- a/pallets/democracy/src/conviction.rs +++ b/pallets/democracy/src/conviction.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 31d94a079..4dc5d150e 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -156,21 +156,21 @@ use codec::{Decode, Encode}; use frame_support::{ ensure, + error::BadOrigin, traits::{ defensive_prelude::*, schedule::{v3::Named as ScheduleNamed, DispatchTime}, - Bounded, Currency, Get, LockIdentifier, LockableCurrency, OnUnbalanced, QueryPreimage, ReservableCurrency, - StorePreimage, WithdrawReasons, + Bounded, Currency, EnsureOrigin, Get, Hash as PreimageHash, LockIdentifier, LockableCurrency, OnUnbalanced, + QueryPreimage, ReservableCurrency, StorePreimage, WithdrawReasons, }, weights::Weight, }; -use frame_system::pallet_prelude::BlockNumberFor; +use frame_system::pallet_prelude::{BlockNumberFor, OriginFor}; use sp_runtime::{ traits::{Bounded as ArithBounded, One, Saturating, StaticLookup, Zero}, ArithmeticError, DispatchError, DispatchResult, }; use sp_std::prelude::*; -use sp_std::vec; mod conviction; pub mod traits; @@ -181,7 +181,9 @@ pub mod weights; use crate::traits::DemocracyHooks; pub use conviction::Conviction; pub use pallet::*; -pub use types::{Delegations, ReferendumInfo, ReferendumStatus, Tally, UnvoteScope}; +pub use types::{ + Delegations, MetadataOwner, PropIndex, ReferendumIndex, ReferendumInfo, ReferendumStatus, Tally, UnvoteScope, +}; pub use vote::{AccountVote, Vote, Voting}; pub use vote_threshold::{Approved, VoteThreshold}; pub use weights::WeightInfo; @@ -194,13 +196,7 @@ pub mod benchmarking; pub mod migrations; -const DEMOCRACY_ID: LockIdentifier = *b"democrac"; - -/// A proposal index. -pub type PropIndex = u32; - -/// A referendum index. -pub type ReferendumIndex = u32; +pub(crate) const DEMOCRACY_ID: LockIdentifier = *b"democrac"; type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; type NegativeImbalanceOf = @@ -311,6 +307,11 @@ pub mod pallet { /// of a negative-turnout-bias (default-carries) referendum. type ExternalDefaultOrigin: EnsureOrigin; + /// Origin from which the new proposal can be made. + /// + /// The success variant is the account id of the depositor. + type SubmitOrigin: EnsureOrigin; + /// Origin from which the next majority-carries (or more permissive) referendum may be /// tabled to vote according to the `FastTrackVotingPeriod` asynchronously in a similar /// manner to the emergency origin. It retains its threshold method. @@ -417,18 +418,20 @@ pub mod pallet { #[pallet::storage] pub type Cancellations = StorageMap<_, Identity, H256, bool, ValueQuery>; + /// General information concerning any proposal or referendum. + /// The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON + /// dump or IPFS hash of a JSON file. + /// + /// Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + /// large preimages. + #[pallet::storage] + pub type MetadataOf = StorageMap<_, Blake2_128Concat, MetadataOwner, PreimageHash>; + #[pallet::genesis_config] + #[derive(frame_support::DefaultNoBound)] pub struct GenesisConfig { - _phantom: sp_std::marker::PhantomData, - } - - #[cfg(feature = "std")] - impl Default for GenesisConfig { - fn default() -> Self { - GenesisConfig { - _phantom: Default::default(), - } - } + #[serde(skip)] + _config: sp_std::marker::PhantomData, } #[pallet::genesis_build] @@ -491,6 +494,29 @@ pub mod pallet { }, /// A proposal got canceled. ProposalCanceled { prop_index: PropIndex }, + /// Metadata for a proposal or a referendum has been set. + MetadataSet { + /// Metadata owner. + owner: MetadataOwner, + /// Preimage hash. + hash: PreimageHash, + }, + /// Metadata for a proposal or a referendum has been cleared. + MetadataCleared { + /// Metadata owner. + owner: MetadataOwner, + /// Preimage hash. + hash: PreimageHash, + }, + /// Metadata has been transferred to new owner. + MetadataTransferred { + /// Previous metadata owner. + prev_owner: MetadataOwner, + /// New metadata owner. + owner: MetadataOwner, + /// Preimage hash. + hash: PreimageHash, + }, } #[pallet::error] @@ -542,6 +568,8 @@ pub mod pallet { TooMany, /// Voting period too low VotingPeriodLow, + /// The preimage does not exist. + PreimageNotExist, } #[pallet::hooks] @@ -570,7 +598,7 @@ pub mod pallet { proposal: BoundedCallOf, #[pallet::compact] value: BalanceOf, ) -> DispatchResult { - let who = ensure_signed(origin)?; + let who = T::SubmitOrigin::ensure_origin(origin)?; ensure!(value >= T::MinimumDeposit::get(), Error::::ValueLow); let index = Self::public_prop_count(); @@ -766,7 +794,7 @@ pub mod pallet { ensure!(T::InstantAllowed::get(), Error::::InstantNotAllowed); } - ensure!(voting_period > BlockNumberFor::::zero(), Error::::VotingPeriodLow); + ensure!(voting_period > Zero::zero(), Error::::VotingPeriodLow); let (ext_proposal, threshold) = >::get().ok_or(Error::::ProposalMissing)?; ensure!( threshold != VoteThreshold::SuperMajorityApprove, @@ -776,7 +804,8 @@ pub mod pallet { >::kill(); let now = >::block_number(); - Self::inject_referendum(now.saturating_add(voting_period), ext_proposal, threshold, delay); + let ref_index = Self::inject_referendum(now.saturating_add(voting_period), ext_proposal, threshold, delay); + Self::transfer_metadata(MetadataOwner::External, MetadataOwner::Referendum(ref_index)); Ok(()) } @@ -820,6 +849,7 @@ pub mod pallet { until, }); >::kill(); + Self::clear_metadata(MetadataOwner::External); Ok(()) } @@ -1036,12 +1066,14 @@ pub mod pallet { T::Slash::on_unbalanced(T::Currency::slash_reserved(&who, amount).0); } } + Self::clear_metadata(MetadataOwner::Proposal(prop_index)); } }); // Remove the external queued referendum, if it's there. if matches!(NextExternal::::get(), Some((p, ..)) if p.hash() == proposal_hash) { NextExternal::::kill(); + Self::clear_metadata(MetadataOwner::External); } // Remove the referendum, if it's there. @@ -1075,8 +1107,68 @@ pub mod pallet { T::Slash::on_unbalanced(T::Currency::slash_reserved(&who, amount).0); } } - Self::deposit_event(Event::::ProposalCanceled { prop_index }); + Self::clear_metadata(MetadataOwner::Proposal(prop_index)); + Ok(()) + } + + /// Set or clear a metadata of a proposal or a referendum. + /// + /// Parameters: + /// - `origin`: Must correspond to the `MetadataOwner`. + /// - `ExternalOrigin` for an external proposal with the `SuperMajorityApprove` + /// threshold. + /// - `ExternalDefaultOrigin` for an external proposal with the `SuperMajorityAgainst` + /// threshold. + /// - `ExternalMajorityOrigin` for an external proposal with the `SimpleMajority` + /// threshold. + /// - `Signed` by a creator for a public proposal. + /// - `Signed` to clear a metadata for a finished referendum. + /// - `Root` to set a metadata for an ongoing referendum. + /// - `owner`: an identifier of a metadata owner. + /// - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. + #[pallet::call_index(18)] + #[pallet::weight( + match (owner, maybe_hash) { + (MetadataOwner::External, Some(_)) => T::WeightInfo::set_external_metadata(), + (MetadataOwner::External, None) => T::WeightInfo::clear_external_metadata(), + (MetadataOwner::Proposal(_), Some(_)) => T::WeightInfo::set_proposal_metadata(), + (MetadataOwner::Proposal(_), None) => T::WeightInfo::clear_proposal_metadata(), + (MetadataOwner::Referendum(_), Some(_)) => T::WeightInfo::set_referendum_metadata(), + (MetadataOwner::Referendum(_), None) => T::WeightInfo::clear_referendum_metadata(), + } + )] + pub fn set_metadata( + origin: OriginFor, + owner: MetadataOwner, + maybe_hash: Option, + ) -> DispatchResult { + match owner { + MetadataOwner::External => { + let (_, threshold) = >::get().ok_or(Error::::NoProposal)?; + Self::ensure_external_origin(threshold, origin)?; + } + MetadataOwner::Proposal(index) => { + let who = ensure_signed(origin)?; + let (_, _, proposer) = Self::proposal(index)?; + ensure!(proposer == who, Error::::NoPermission); + } + MetadataOwner::Referendum(index) => { + let is_root = ensure_signed_or_root(origin)?.is_none(); + ensure!(is_root || maybe_hash.is_none(), Error::::NoPermission); + ensure!( + is_root || Self::referendum_status(index).is_err(), + Error::::NoPermission + ); + } + } + if let Some(hash) = maybe_hash { + ensure!(T::Preimages::len(&hash).is_some(), Error::::PreimageNotExist); + MetadataOf::::insert(owner.clone(), hash); + Self::deposit_event(Event::::MetadataSet { owner, hash }); + } else { + Self::clear_metadata(owner); + } Ok(()) } } @@ -1160,6 +1252,7 @@ impl Pallet { pub fn internal_cancel_referendum(ref_index: ReferendumIndex) { Self::deposit_event(Event::::Cancelled { ref_index }); ReferendumInfoOf::::remove(ref_index); + Self::clear_metadata(MetadataOwner::Referendum(ref_index)); } // private. @@ -1227,7 +1320,12 @@ impl Pallet { })?; // Extend the lock to `balance` (rather than setting it) since we don't know what other // votes are in place. - T::Currency::extend_lock(DEMOCRACY_ID, who, vote.balance(), WithdrawReasons::TRANSFER); + T::Currency::extend_lock( + DEMOCRACY_ID, + who, + vote.balance(), + WithdrawReasons::except(WithdrawReasons::RESERVE), + ); ReferendumInfoOf::::insert(ref_index, ReferendumInfo::Ongoing(status)); T::DemocracyHooks::on_vote(who, ref_index, vote)?; Ok(()) @@ -1383,7 +1481,12 @@ impl Pallet { let votes = Self::increase_upstream_delegation(&target, conviction.votes(balance)); // Extend the lock to `balance` (rather than setting it) since we don't know what other // votes are in place. - T::Currency::extend_lock(DEMOCRACY_ID, &who, balance, WithdrawReasons::TRANSFER); + T::Currency::extend_lock( + DEMOCRACY_ID, + &who, + balance, + WithdrawReasons::except(WithdrawReasons::RESERVE), + ); Ok(votes) })?; Self::deposit_event(Event::::Delegated { who, target }); @@ -1432,7 +1535,12 @@ impl Pallet { if lock_needed.is_zero() { T::Currency::remove_lock(DEMOCRACY_ID, who); } else { - T::Currency::set_lock(DEMOCRACY_ID, who, lock_needed, WithdrawReasons::TRANSFER); + T::Currency::set_lock( + DEMOCRACY_ID, + who, + lock_needed, + WithdrawReasons::except(WithdrawReasons::RESERVE), + ); } } @@ -1473,12 +1581,13 @@ impl Pallet { if let Some((proposal, threshold)) = >::take() { LastTabledWasExternal::::put(true); Self::deposit_event(Event::::ExternalTabled); - Self::inject_referendum( + let ref_index = Self::inject_referendum( now.saturating_add(T::VotingPeriod::get()), proposal, threshold, T::EnactmentPeriod::get(), ); + Self::transfer_metadata(MetadataOwner::External, MetadataOwner::Referendum(ref_index)); Ok(()) } else { return Err(Error::::NoneWaiting.into()); @@ -1504,12 +1613,16 @@ impl Pallet { proposal_index: prop_index, deposit, }); - Self::inject_referendum( + let ref_index = Self::inject_referendum( now.saturating_add(T::VotingPeriod::get()), proposal, VoteThreshold::SuperMajorityApprove, T::EnactmentPeriod::get(), ); + Self::transfer_metadata( + MetadataOwner::Proposal(prop_index), + MetadataOwner::Referendum(ref_index), + ) } Ok(()) } else { @@ -1527,11 +1640,6 @@ impl Pallet { if approved { Self::deposit_event(Event::::Passed { ref_index: index }); - // Actually `hold` the proposal now since we didn't hold it when it came in via the - // submit extrinsic and we now know that it will be needed. This will be reversed by - // Scheduler pallet once it is executed which assumes that we will already have placed - // a `hold` on it. - T::Preimages::hold(&status.proposal); // Earliest it can be scheduled for is next block. let when = now.saturating_add(status.delay.max(One::one())); @@ -1557,15 +1665,9 @@ impl Pallet { /// Current era is ending; we should finish up any proposals. /// /// - /// # + /// ## Complexity: /// If a referendum is launched or maturing, this will take full block weight if queue is not - /// empty. Otherwise: - /// - Complexity: `O(R)` where `R` is the number of unbaked referenda. - /// - Db reads: `LastTabledWasExternal`, `NextExternal`, `PublicProps`, `account`, - /// `ReferendumCount`, `LowestUnbaked` - /// - Db writes: `PublicProps`, `account`, `ReferendumCount`, `DepositOf`, `ReferendumInfoOf` - /// - Db reads per R: `DepositOf`, `ReferendumInfoOf` - /// # + /// empty. Otherwise, `O(R)` where `R` is the number of unbaked referenda. fn begin_block(now: BlockNumberFor) -> Weight { let max_block_weight = T::BlockWeights::get().max_block; let mut weight = Weight::zero(); @@ -1622,6 +1724,49 @@ impl Pallet { // `Compact`. decode_compact_u32_at(&>::hashed_key_for(proposal)) } + + /// Return a proposal of an index. + fn proposal(index: PropIndex) -> Result<(PropIndex, BoundedCallOf, T::AccountId), Error> { + PublicProps::::get() + .into_iter() + .find(|(prop_index, _, _)| prop_index == &index) + .ok_or(Error::::ProposalMissing) + } + + /// Clear metadata if exist for a given owner. + fn clear_metadata(owner: MetadataOwner) { + if let Some(hash) = MetadataOf::::take(&owner) { + Self::deposit_event(Event::::MetadataCleared { owner, hash }); + } + } + + /// Transfer the metadata of an `owner` to a `new_owner`. + fn transfer_metadata(owner: MetadataOwner, new_owner: MetadataOwner) { + if let Some(hash) = MetadataOf::::take(&owner) { + MetadataOf::::insert(&new_owner, hash); + Self::deposit_event(Event::::MetadataTransferred { + prev_owner: owner, + owner: new_owner, + hash, + }); + } + } + + /// Ensure external origin for corresponding vote threshold. + fn ensure_external_origin(threshold: VoteThreshold, origin: OriginFor) -> Result<(), BadOrigin> { + match threshold { + VoteThreshold::SuperMajorityApprove => { + let _ = T::ExternalOrigin::ensure_origin(origin)?; + } + VoteThreshold::SuperMajorityAgainst => { + let _ = T::ExternalDefaultOrigin::ensure_origin(origin)?; + } + VoteThreshold::SimpleMajority => { + let _ = T::ExternalMajorityOrigin::ensure_origin(origin)?; + } + }; + Ok(()) + } } /// Decode `Compact` from the trie at given key. diff --git a/pallets/democracy/src/migrations.rs b/pallets/democracy/src/migrations.rs index 5a474c472..ac145b022 100644 --- a/pallets/democracy/src/migrations.rs +++ b/pallets/democracy/src/migrations.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/tests.rs b/pallets/democracy/src/tests.rs index 4e1ab95d1..965adf7b4 100644 --- a/pallets/democracy/src/tests.rs +++ b/pallets/democracy/src/tests.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,11 +24,11 @@ use frame_support::{ traits::{ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, SortedMembers, StorePreimage}, weights::Weight, }; -use frame_system::{EnsureRoot, EnsureSignedBy}; +use frame_system::{EnsureRoot, EnsureSigned, EnsureSignedBy}; use pallet_balances::{BalanceLock, Error as BalancesError}; use sp_core::H256; use sp_runtime::{ - traits::{BadOrigin, BlakeTwo256, IdentityLookup}, + traits::{BadOrigin, BlakeTwo256, Hash, IdentityLookup}, BuildStorage, Perbill, }; mod cancellation; @@ -37,6 +37,7 @@ mod delegation; mod external_proposing; mod fast_tracking; mod lock_voting; +mod metadata; mod public_proposals; mod scheduling; mod voting; @@ -63,11 +64,11 @@ type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( pub enum Test { - System: frame_system, - Balances: pallet_balances, + System: frame_system::{Pallet, Call, Config, Storage, Event}, + Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, Preimage: pallet_preimage, - Scheduler: pallet_scheduler, - Democracy: pallet_democracy, + Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event}, + Democracy: pallet_democracy::{Pallet, Call, Storage, Config, Event}, } ); @@ -95,12 +96,12 @@ impl frame_system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; - type Block = Block; type RuntimeCall = RuntimeCall; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; + type Block = Block; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type Version = (); @@ -151,8 +152,8 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type MaxHolds = (); } parameter_types! { pub static PreimageByteDeposit: u64 = 0; @@ -186,6 +187,7 @@ impl Config for Test { type MinimumDeposit = ConstU64<1>; type MaxDeposits = ConstU32<1000>; type MaxBlacklisted = ConstU32<5>; + type SubmitOrigin = EnsureSigned; type ExternalOrigin = EnsureSignedBy; type ExternalMajorityOrigin = EnsureSignedBy; type ExternalDefaultOrigin = EnsureSignedBy; @@ -302,3 +304,15 @@ fn big_nay(who: u64) -> AccountVote { fn tally(r: ReferendumIndex) -> Tally { Democracy::referendum_status(r).unwrap().tally } + +/// note a new preimage without registering. +fn note_preimage(who: u64) -> PreimageHash { + use std::sync::atomic::{AtomicU8, Ordering}; + // note a new preimage on every function invoke. + static COUNTER: AtomicU8 = AtomicU8::new(0); + let data = vec![COUNTER.fetch_add(1, Ordering::Relaxed)]; + assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(who), data.clone())); + let hash = BlakeTwo256::hash(&data); + assert!(!Preimage::is_requested(&hash)); + hash +} diff --git a/pallets/democracy/src/tests/cancellation.rs b/pallets/democracy/src/tests/cancellation.rs index 99ff222bd..b2e7c3d0e 100644 --- a/pallets/democracy/src/tests/cancellation.rs +++ b/pallets/democracy/src/tests/cancellation.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/tests/decoders.rs b/pallets/democracy/src/tests/decoders.rs index a7360a792..f3365b130 100644 --- a/pallets/democracy/src/tests/decoders.rs +++ b/pallets/democracy/src/tests/decoders.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2020-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/tests/delegation.rs b/pallets/democracy/src/tests/delegation.rs index 424d9c043..c0aa0a921 100644 --- a/pallets/democracy/src/tests/delegation.rs +++ b/pallets/democracy/src/tests/delegation.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/tests/external_proposing.rs b/pallets/democracy/src/tests/external_proposing.rs index d250544e8..465b82f66 100644 --- a/pallets/democracy/src/tests/external_proposing.rs +++ b/pallets/democracy/src/tests/external_proposing.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/tests/fast_tracking.rs b/pallets/democracy/src/tests/fast_tracking.rs index 7e7205d78..db478c2b7 100644 --- a/pallets/democracy/src/tests/fast_tracking.rs +++ b/pallets/democracy/src/tests/fast_tracking.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,6 +32,14 @@ fn fast_track_referendum_works() { RuntimeOrigin::signed(3), set_balance_proposal(2) )); + let hash = note_preimage(1); + assert!(>::get(MetadataOwner::External).is_none()); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(3), + MetadataOwner::External, + Some(hash), + ),); + assert!(>::get(MetadataOwner::External).is_some()); assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin); assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 2, 0)); assert_eq!( @@ -48,6 +56,9 @@ fn fast_track_referendum_works() { }, }) ); + // metadata reset from the external proposal to the referendum. + assert!(>::get(MetadataOwner::External).is_none()); + assert!(>::get(MetadataOwner::Referendum(0)).is_some()); }); } diff --git a/pallets/democracy/src/tests/lock_voting.rs b/pallets/democracy/src/tests/lock_voting.rs index 09a1b66c3..45bb04a78 100644 --- a/pallets/democracy/src/tests/lock_voting.rs +++ b/pallets/democracy/src/tests/lock_voting.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -43,7 +43,7 @@ fn the_lock(amount: u64) -> BalanceLock { BalanceLock { id: DEMOCRACY_ID, amount, - reasons: pallet_balances::Reasons::Misc, + reasons: pallet_balances::Reasons::All, } } diff --git a/pallets/democracy/src/tests/metadata.rs b/pallets/democracy/src/tests/metadata.rs new file mode 100644 index 000000000..459e8a669 --- /dev/null +++ b/pallets/democracy/src/tests/metadata.rs @@ -0,0 +1,204 @@ +// 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. + +//! The tests for functionality concerning the metadata. + +use super::*; + +#[test] +fn set_external_metadata_works() { + new_test_ext().execute_with(|| { + use frame_support::traits::Hash as PreimageHash; + // invalid preimage hash. + let invalid_hash: PreimageHash = [1u8; 32].into(); + // metadata owner is an external proposal. + let owner = MetadataOwner::External; + // fails to set metadata if an external proposal does not exist. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(invalid_hash)), + Error::::NoProposal, + ); + // create an external proposal. + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2) + )); + assert!(>::exists()); + // fails to set metadata with non external origin. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(invalid_hash)), + BadOrigin, + ); + // fails to set non-existing preimage. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(invalid_hash)), + Error::::PreimageNotExist, + ); + // set metadata successful. + let hash = note_preimage(1); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(2), + owner.clone(), + Some(hash) + )); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner, hash })); + }); +} + +#[test] +fn clear_metadata_works() { + new_test_ext().execute_with(|| { + // metadata owner is an external proposal. + let owner = MetadataOwner::External; + // create an external proposal. + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2) + )); + assert!(>::exists()); + // set metadata. + let hash = note_preimage(1); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(2), + owner.clone(), + Some(hash) + )); + // fails to clear metadata with a wrong origin. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None), + BadOrigin, + ); + // clear metadata successful. + assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), None)); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + }); +} + +#[test] +fn set_proposal_metadata_works() { + new_test_ext().execute_with(|| { + use frame_support::traits::Hash as PreimageHash; + // invalid preimage hash. + let invalid_hash: PreimageHash = [1u8; 32].into(); + // create an external proposal. + assert_ok!(propose_set_balance(1, 2, 5)); + // metadata owner is a public proposal. + let owner = MetadataOwner::Proposal(Democracy::public_prop_count() - 1); + // fails to set non-existing preimage. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(invalid_hash)), + Error::::PreimageNotExist, + ); + // note preimage. + let hash = note_preimage(1); + // fails to set a preimage if an origin is not a proposer. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)), + Error::::NoPermission, + ); + // set metadata successful. + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(1), + owner.clone(), + Some(hash) + )); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner, hash })); + }); +} + +#[test] +fn clear_proposal_metadata_works() { + new_test_ext().execute_with(|| { + // create an external proposal. + assert_ok!(propose_set_balance(1, 2, 5)); + // metadata owner is a public proposal. + let owner = MetadataOwner::Proposal(Democracy::public_prop_count() - 1); + // set metadata. + let hash = note_preimage(1); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(1), + owner.clone(), + Some(hash) + )); + // fails to clear metadata with a wrong origin. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None), + Error::::NoPermission, + ); + // clear metadata successful. + assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None)); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + }); +} + +#[test] +fn set_referendum_metadata_by_root() { + new_test_ext().execute_with(|| { + let index = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + // metadata owner is a referendum. + let owner = MetadataOwner::Referendum(index); + // note preimage. + let hash = note_preimage(1); + // fails to set if not a root. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)), + Error::::NoPermission, + ); + // fails to clear if not a root. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None), + Error::::NoPermission, + ); + // succeed to set metadata by a root for an ongoing referendum. + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::root(), + owner.clone(), + Some(hash) + )); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { + owner: owner.clone(), + hash, + })); + // succeed to clear metadata by a root for an ongoing referendum. + assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), None)); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + }); +} + +#[test] +fn clear_referendum_metadata_works() { + new_test_ext().execute_with(|| { + // create a referendum. + let index = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + // metadata owner is a referendum. + let owner = MetadataOwner::Referendum(index); + // set metadata. + let hash = note_preimage(1); + // referendum finished. + MetadataOf::::insert(owner.clone(), hash); + // no permission to clear metadata of an ongoing referendum. + assert_noop!( + Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None), + Error::::NoPermission, + ); + // referendum finished. + ReferendumInfoOf::::insert(index, ReferendumInfo::Finished { end: 1, approved: true }); + // clear metadata successful. + assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None)); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + }); +} diff --git a/pallets/democracy/src/tests/public_proposals.rs b/pallets/democracy/src/tests/public_proposals.rs index de12f3359..bb74771ce 100644 --- a/pallets/democracy/src/tests/public_proposals.rs +++ b/pallets/democracy/src/tests/public_proposals.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -94,8 +94,24 @@ fn cancel_proposal_should_work() { assert_ok!(propose_set_balance(1, 2, 2)); assert_ok!(propose_set_balance(1, 4, 4)); assert_noop!(Democracy::cancel_proposal(RuntimeOrigin::signed(1), 0), BadOrigin); + let hash = note_preimage(1); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(1), + MetadataOwner::Proposal(0), + Some(hash) + )); + assert!(>::get(MetadataOwner::Proposal(0)).is_some()); assert_ok!(Democracy::cancel_proposal(RuntimeOrigin::root(), 0)); - System::assert_last_event(crate::Event::ProposalCanceled { prop_index: 0 }.into()); + // metadata cleared, preimage unrequested. + assert!(>::get(MetadataOwner::Proposal(0)).is_none()); + System::assert_has_event(crate::Event::ProposalCanceled { prop_index: 0 }.into()); + System::assert_last_event( + crate::Event::MetadataCleared { + owner: MetadataOwner::Proposal(0), + hash, + } + .into(), + ); assert_eq!(Democracy::backing_for(0), None); assert_eq!(Democracy::backing_for(1), Some(4)); }); diff --git a/pallets/democracy/src/tests/scheduling.rs b/pallets/democracy/src/tests/scheduling.rs index b55820444..c4060f2ea 100644 --- a/pallets/democracy/src/tests/scheduling.rs +++ b/pallets/democracy/src/tests/scheduling.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/tests/voting.rs b/pallets/democracy/src/tests/voting.rs index f93483505..d922ea7f6 100644 --- a/pallets/democracy/src/tests/voting.rs +++ b/pallets/democracy/src/tests/voting.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/types.rs b/pallets/democracy/src/types.rs index 429803c52..2f562b055 100644 --- a/pallets/democracy/src/types.rs +++ b/pallets/democracy/src/types.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,6 +25,12 @@ use sp_runtime::{ RuntimeDebug, }; +/// A proposal index. +pub type PropIndex = u32; + +/// A referendum index. +pub type ReferendumIndex = u32; + /// Info regarding an ongoing referendum. #[derive(Encode, MaxEncodedLen, Decode, Default, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)] pub struct Tally { @@ -199,3 +205,14 @@ pub enum UnvoteScope { /// Permitted to do only the changes that do not need the owner's permission. OnlyExpired, } + +/// Identifies an owner of a metadata. +#[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen)] +pub enum MetadataOwner { + /// External proposal. + External, + /// Public proposal of the index. + Proposal(PropIndex), + /// Referendum of the index. + Referendum(ReferendumIndex), +} diff --git a/pallets/democracy/src/vote.rs b/pallets/democracy/src/vote.rs index 62fcbc88b..126be514d 100644 --- a/pallets/democracy/src/vote.rs +++ b/pallets/democracy/src/vote.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -187,7 +187,7 @@ impl Balance { match self { Voting::Direct { votes, prior, .. } => votes diff --git a/pallets/democracy/src/vote_threshold.rs b/pallets/democracy/src/vote_threshold.rs index 30f2b9a74..86e201a04 100644 --- a/pallets/democracy/src/vote_threshold.rs +++ b/pallets/democracy/src/vote_threshold.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pallets/democracy/src/weights.rs b/pallets/democracy/src/weights.rs index a9995925d..241f6c3cb 100644 --- a/pallets/democracy/src/weights.rs +++ b/pallets/democracy/src/weights.rs @@ -1,6 +1,6 @@ // This file is part of Substrate. -// Copyright (C) 2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -31,6 +31,9 @@ // --steps=50 // --repeat=20 // --pallet=pallet_democracy +// --no-storage-info +// --no-median-slopes +// --no-min-squares // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -42,9 +45,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions needed for pallet_democracy. pub trait WeightInfo { @@ -70,6 +74,12 @@ pub trait WeightInfo { fn unlock_set(r: u32, ) -> Weight; fn remove_vote(r: u32, ) -> Weight; fn remove_other_vote(r: u32, ) -> Weight; + fn set_external_metadata() -> Weight; + fn clear_external_metadata() -> Weight; + fn set_proposal_metadata() -> Weight; + fn clear_proposal_metadata() -> Weight; + fn set_referendum_metadata() -> Weight; + fn clear_referendum_metadata() -> Weight; } /// Weights for pallet_democracy using the Substrate node and recommended hardware. @@ -85,10 +95,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4864` - // Estimated: `23409` - // Minimum execution time: 34_509 nanoseconds. - Weight::from_parts(34_781_000, 23409) + // Measured: `4801` + // Estimated: `18187` + // Minimum execution time: 49_339_000 picoseconds. + Weight::from_parts(50_942_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -96,10 +106,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3620` - // Estimated: `5705` - // Minimum execution time: 31_151 nanoseconds. - Weight::from_parts(31_566_000, 5705) + // Measured: `3556` + // Estimated: `6695` + // Minimum execution time: 43_291_000 picoseconds. + Weight::from_parts(44_856_000, 6695) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -109,13 +119,15 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3555` - // Estimated: `12720` - // Minimum execution time: 42_618 nanoseconds. - Weight::from_parts(43_231_000, 12720) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `3470` + // Estimated: `7260` + // Minimum execution time: 61_890_000 picoseconds. + Weight::from_parts(63_626_000, 7260) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -124,27 +136,31 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3577` - // Estimated: `12720` - // Minimum execution time: 42_875 nanoseconds. - Weight::from_parts(43_338_000, 12720) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `3492` + // Estimated: `7260` + // Minimum execution time: 67_802_000 picoseconds. + Weight::from_parts(69_132_000, 7260) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Democracy Cancellations (r:1 w:1) /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `320` - // Estimated: `5184` - // Minimum execution time: 16_543 nanoseconds. - Weight::from_parts(16_762_000, 5184) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `366` + // Estimated: `3666` + // Minimum execution time: 25_757_000 picoseconds. + Weight::from_parts(27_226_000, 3666) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Democracy PublicProps (r:1 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -152,6 +168,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:3 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -160,12 +178,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `5958` - // Estimated: `28808` - // Minimum execution time: 70_135 nanoseconds. - Weight::from_parts(70_616_000, 28808) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Measured: `5910` + // Estimated: `18187` + // Minimum execution time: 113_060_000 picoseconds. + Weight::from_parts(114_813_000, 18187) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -173,10 +191,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3448` - // Estimated: `6340` - // Minimum execution time: 12_580 nanoseconds. - Weight::from_parts(12_987_000, 6340) + // Measured: `3416` + // Estimated: `6703` + // Minimum execution time: 13_413_000 picoseconds. + Weight::from_parts(13_794_000, 6703) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -186,8 +204,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_320 nanoseconds. - Weight::from_parts(3_513_000, 0) + // Minimum execution time: 3_213_000 picoseconds. + Weight::from_parts(3_429_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:0 w:1) @@ -196,37 +214,41 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_407 nanoseconds. - Weight::from_parts(3_565_000, 0) + // Minimum execution time: 3_280_000 picoseconds. + Weight::from_parts(3_389_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) /// Storage: Democracy ReferendumCount (r:1 w:1) /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:2) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:0 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `212` - // Estimated: `1126` - // Minimum execution time: 16_831 nanoseconds. - Weight::from_parts(17_155_000, 1126) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `286` + // Estimated: `3518` + // Minimum execution time: 28_142_000 picoseconds. + Weight::from_parts(28_862_000, 3518) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) /// Storage: Democracy Blacklist (r:1 w:1) /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3477` - // Estimated: `6340` - // Minimum execution time: 22_072 nanoseconds. - Weight::from_parts(22_517_000, 6340) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `3519` + // Estimated: `6703` + // Minimum execution time: 32_395_000 picoseconds. + Weight::from_parts(33_617_000, 6703) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Democracy PublicProps (r:1 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -234,24 +256,29 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5837` - // Estimated: `25505` - // Minimum execution time: 56_925 nanoseconds. - Weight::from_parts(57_253_000, 25505) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `5821` + // Estimated: `18187` + // Minimum execution time: 92_255_000 picoseconds. + Weight::from_parts(93_704_000, 18187) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:0 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 8_582 nanoseconds. - Weight::from_parts(8_754_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `271` + // Estimated: `3518` + // Minimum execution time: 19_623_000 picoseconds. + Weight::from_parts(20_545_000, 3518) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Democracy LowestUnbaked (r:1 w:1) /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -262,12 +289,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `207 + r * (117 ±0)` - // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 6_665 nanoseconds. - Weight::from_parts(9_219_932, 998) - // Standard Error: 4_236 - .saturating_add(Weight::from_parts(2_194_623, 0).saturating_mul(r.into())) + // Measured: `244 + r * (86 ±0)` + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 7_032_000 picoseconds. + Weight::from_parts(7_931_421, 1489) + // Standard Error: 7_395 + .saturating_add(Weight::from_parts(3_236_964, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -288,12 +315,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `207 + r * (117 ±0)` - // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 9_842 nanoseconds. - Weight::from_parts(11_932_535, 19318) - // Standard Error: 4_413 - .saturating_add(Weight::from_parts(2_199_644, 0).saturating_mul(r.into())) + // Measured: `244 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 10_524_000 picoseconds. + Weight::from_parts(10_369_064, 18187) + // Standard Error: 8_385 + .saturating_add(Weight::from_parts(3_242_334, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -305,16 +332,18 @@ impl WeightInfo for SubstrateWeight { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `948 + r * (139 ±0)` - // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 34_740 nanoseconds. - Weight::from_parts(38_366_374, 22584) - // Standard Error: 4_868 - .saturating_add(Weight::from_parts(3_286_516, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `830 + r * (108 ±0)` + // Estimated: `19800 + r * (2676 ±0)` + // Minimum execution time: 46_106_000 picoseconds. + Weight::from_parts(48_936_654, 19800) + // Standard Error: 8_879 + .saturating_add(Weight::from_parts(4_708_141, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -327,12 +356,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `547 + r * (139 ±0)` - // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 19_516 nanoseconds. - Weight::from_parts(21_629_605, 12540) - // Standard Error: 4_401 - .saturating_add(Weight::from_parts(3_238_187, 0).saturating_mul(r.into())) + // Measured: `493 + r * (108 ±0)` + // Estimated: `13530 + r * (2676 ±0)` + // Minimum execution time: 21_078_000 picoseconds. + Weight::from_parts(22_732_737, 13530) + // Standard Error: 7_969 + .saturating_add(Weight::from_parts(4_626_458, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -345,44 +374,48 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_291 nanoseconds. - Weight::from_parts(3_485_000, 0) + // Minimum execution time: 3_229_000 picoseconds. + Weight::from_parts(3_415_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `617` - // Estimated: `12647` - // Minimum execution time: 19_357 nanoseconds. - Weight::from_parts(24_014_517, 12647) - // Standard Error: 994 - .saturating_add(Weight::from_parts(17_096, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `563` + // Estimated: `7260` + // Minimum execution time: 25_735_000 picoseconds. + Weight::from_parts(41_341_468, 7260) + // Standard Error: 3_727 + .saturating_add(Weight::from_parts(94_755, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `618 + r * (22 ±0)` - // Estimated: `12647` - // Minimum execution time: 22_340 nanoseconds. - Weight::from_parts(23_355_734, 12647) - // Standard Error: 548 - .saturating_add(Weight::from_parts(64_308, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `564 + r * (22 ±0)` + // Estimated: `7260` + // Minimum execution time: 36_233_000 picoseconds. + Weight::from_parts(39_836_017, 7260) + // Standard Error: 1_791 + .saturating_add(Weight::from_parts(132_158, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -392,12 +425,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `781 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 14_542 nanoseconds. - Weight::from_parts(16_411_916, 8946) - // Standard Error: 839 - .saturating_add(Weight::from_parts(73_268, 0).saturating_mul(r.into())) + // Measured: `728 + r * (26 ±0)` + // Estimated: `7260` + // Minimum execution time: 16_081_000 picoseconds. + Weight::from_parts(19_624_101, 7260) + // Standard Error: 1_639 + .saturating_add(Weight::from_parts(133_630, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -408,15 +441,97 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `781 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 14_463 nanoseconds. - Weight::from_parts(16_302_901, 8946) - // Standard Error: 809 - .saturating_add(Weight::from_parts(73_692, 0).saturating_mul(r.into())) + // Measured: `728 + r * (26 ±0)` + // Estimated: `7260` + // Minimum execution time: 15_634_000 picoseconds. + Weight::from_parts(19_573_407, 7260) + // Standard Error: 1_790 + .saturating_add(Weight::from_parts(139_707, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: Democracy NextExternal (r:1 w:0) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:0 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn set_external_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `356` + // Estimated: `3556` + // Minimum execution time: 18_344_000 picoseconds. + Weight::from_parts(18_727_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Democracy NextExternal (r:1 w:0) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn clear_external_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `286` + // Estimated: `3518` + // Minimum execution time: 16_497_000 picoseconds. + Weight::from_parts(16_892_000, 3518) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Democracy PublicProps (r:1 w:0) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:0 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn set_proposal_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `4888` + // Estimated: `18187` + // Minimum execution time: 39_517_000 picoseconds. + Weight::from_parts(40_632_000, 18187) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Democracy PublicProps (r:1 w:0) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn clear_proposal_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `4822` + // Estimated: `18187` + // Minimum execution time: 37_108_000 picoseconds. + Weight::from_parts(37_599_000, 18187) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:0 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn set_referendum_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `3556` + // Minimum execution time: 13_997_000 picoseconds. + Weight::from_parts(14_298_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Democracy ReferendumInfoOf (r:1 w:0) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn clear_referendum_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `302` + // Estimated: `3666` + // Minimum execution time: 18_122_000 picoseconds. + Weight::from_parts(18_655_000, 3666) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } } // For backwards compatibility and tests @@ -431,10 +546,10 @@ impl WeightInfo for () { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4864` - // Estimated: `23409` - // Minimum execution time: 34_509 nanoseconds. - Weight::from_parts(34_781_000, 23409) + // Measured: `4801` + // Estimated: `18187` + // Minimum execution time: 49_339_000 picoseconds. + Weight::from_parts(50_942_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -442,10 +557,10 @@ impl WeightInfo for () { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3620` - // Estimated: `5705` - // Minimum execution time: 31_151 nanoseconds. - Weight::from_parts(31_566_000, 5705) + // Measured: `3556` + // Estimated: `6695` + // Minimum execution time: 43_291_000 picoseconds. + Weight::from_parts(44_856_000, 6695) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -455,13 +570,15 @@ impl WeightInfo for () { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3555` - // Estimated: `12720` - // Minimum execution time: 42_618 nanoseconds. - Weight::from_parts(43_231_000, 12720) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `3470` + // Estimated: `7260` + // Minimum execution time: 61_890_000 picoseconds. + Weight::from_parts(63_626_000, 7260) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -470,27 +587,31 @@ impl WeightInfo for () { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3577` - // Estimated: `12720` - // Minimum execution time: 42_875 nanoseconds. - Weight::from_parts(43_338_000, 12720) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `3492` + // Estimated: `7260` + // Minimum execution time: 67_802_000 picoseconds. + Weight::from_parts(69_132_000, 7260) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Democracy Cancellations (r:1 w:1) /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `320` - // Estimated: `5184` - // Minimum execution time: 16_543 nanoseconds. - Weight::from_parts(16_762_000, 5184) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `366` + // Estimated: `3666` + // Minimum execution time: 25_757_000 picoseconds. + Weight::from_parts(27_226_000, 3666) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: Democracy PublicProps (r:1 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -498,6 +619,8 @@ impl WeightInfo for () { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:3 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -506,12 +629,12 @@ impl WeightInfo for () { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `5958` - // Estimated: `28808` - // Minimum execution time: 70_135 nanoseconds. - Weight::from_parts(70_616_000, 28808) - .saturating_add(RocksDbWeight::get().reads(5_u64)) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + // Measured: `5910` + // Estimated: `18187` + // Minimum execution time: 113_060_000 picoseconds. + Weight::from_parts(114_813_000, 18187) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -519,10 +642,10 @@ impl WeightInfo for () { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3448` - // Estimated: `6340` - // Minimum execution time: 12_580 nanoseconds. - Weight::from_parts(12_987_000, 6340) + // Measured: `3416` + // Estimated: `6703` + // Minimum execution time: 13_413_000 picoseconds. + Weight::from_parts(13_794_000, 6703) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -532,8 +655,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_320 nanoseconds. - Weight::from_parts(3_513_000, 0) + // Minimum execution time: 3_213_000 picoseconds. + Weight::from_parts(3_429_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:0 w:1) @@ -542,37 +665,41 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_407 nanoseconds. - Weight::from_parts(3_565_000, 0) + // Minimum execution time: 3_280_000 picoseconds. + Weight::from_parts(3_389_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) /// Storage: Democracy ReferendumCount (r:1 w:1) /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:2) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:0 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `212` - // Estimated: `1126` - // Minimum execution time: 16_831 nanoseconds. - Weight::from_parts(17_155_000, 1126) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `286` + // Estimated: `3518` + // Minimum execution time: 28_142_000 picoseconds. + Weight::from_parts(28_862_000, 3518) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) /// Storage: Democracy Blacklist (r:1 w:1) /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3477` - // Estimated: `6340` - // Minimum execution time: 22_072 nanoseconds. - Weight::from_parts(22_517_000, 6340) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `3519` + // Estimated: `6703` + // Minimum execution time: 32_395_000 picoseconds. + Weight::from_parts(33_617_000, 6703) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: Democracy PublicProps (r:1 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -580,24 +707,29 @@ impl WeightInfo for () { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5837` - // Estimated: `25505` - // Minimum execution time: 56_925 nanoseconds. - Weight::from_parts(57_253_000, 25505) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `5821` + // Estimated: `18187` + // Minimum execution time: 92_255_000 picoseconds. + Weight::from_parts(93_704_000, 18187) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:0 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 8_582 nanoseconds. - Weight::from_parts(8_754_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `271` + // Estimated: `3518` + // Minimum execution time: 19_623_000 picoseconds. + Weight::from_parts(20_545_000, 3518) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: Democracy LowestUnbaked (r:1 w:1) /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -608,12 +740,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `207 + r * (117 ±0)` - // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 6_665 nanoseconds. - Weight::from_parts(9_219_932, 998) - // Standard Error: 4_236 - .saturating_add(Weight::from_parts(2_194_623, 0).saturating_mul(r.into())) + // Measured: `244 + r * (86 ±0)` + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 7_032_000 picoseconds. + Weight::from_parts(7_931_421, 1489) + // Standard Error: 7_395 + .saturating_add(Weight::from_parts(3_236_964, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -634,12 +766,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `207 + r * (117 ±0)` - // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 9_842 nanoseconds. - Weight::from_parts(11_932_535, 19318) - // Standard Error: 4_413 - .saturating_add(Weight::from_parts(2_199_644, 0).saturating_mul(r.into())) + // Measured: `244 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 10_524_000 picoseconds. + Weight::from_parts(10_369_064, 18187) + // Standard Error: 8_385 + .saturating_add(Weight::from_parts(3_242_334, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -651,16 +783,18 @@ impl WeightInfo for () { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `948 + r * (139 ±0)` - // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 34_740 nanoseconds. - Weight::from_parts(38_366_374, 22584) - // Standard Error: 4_868 - .saturating_add(Weight::from_parts(3_286_516, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `830 + r * (108 ±0)` + // Estimated: `19800 + r * (2676 ±0)` + // Minimum execution time: 46_106_000 picoseconds. + Weight::from_parts(48_936_654, 19800) + // Standard Error: 8_879 + .saturating_add(Weight::from_parts(4_708_141, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -673,12 +807,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `547 + r * (139 ±0)` - // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 19_516 nanoseconds. - Weight::from_parts(21_629_605, 12540) - // Standard Error: 4_401 - .saturating_add(Weight::from_parts(3_238_187, 0).saturating_mul(r.into())) + // Measured: `493 + r * (108 ±0)` + // Estimated: `13530 + r * (2676 ±0)` + // Minimum execution time: 21_078_000 picoseconds. + Weight::from_parts(22_732_737, 13530) + // Standard Error: 7_969 + .saturating_add(Weight::from_parts(4_626_458, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -691,44 +825,48 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_291 nanoseconds. - Weight::from_parts(3_485_000, 0) + // Minimum execution time: 3_229_000 picoseconds. + Weight::from_parts(3_415_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `617` - // Estimated: `12647` - // Minimum execution time: 19_357 nanoseconds. - Weight::from_parts(24_014_517, 12647) - // Standard Error: 994 - .saturating_add(Weight::from_parts(17_096, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `563` + // Estimated: `7260` + // Minimum execution time: 25_735_000 picoseconds. + Weight::from_parts(41_341_468, 7260) + // Standard Error: 3_727 + .saturating_add(Weight::from_parts(94_755, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `618 + r * (22 ±0)` - // Estimated: `12647` - // Minimum execution time: 22_340 nanoseconds. - Weight::from_parts(23_355_734, 12647) - // Standard Error: 548 - .saturating_add(Weight::from_parts(64_308, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `564 + r * (22 ±0)` + // Estimated: `7260` + // Minimum execution time: 36_233_000 picoseconds. + Weight::from_parts(39_836_017, 7260) + // Standard Error: 1_791 + .saturating_add(Weight::from_parts(132_158, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -738,12 +876,12 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `781 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 14_542 nanoseconds. - Weight::from_parts(16_411_916, 8946) - // Standard Error: 839 - .saturating_add(Weight::from_parts(73_268, 0).saturating_mul(r.into())) + // Measured: `728 + r * (26 ±0)` + // Estimated: `7260` + // Minimum execution time: 16_081_000 picoseconds. + Weight::from_parts(19_624_101, 7260) + // Standard Error: 1_639 + .saturating_add(Weight::from_parts(133_630, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -754,13 +892,95 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `781 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 14_463 nanoseconds. - Weight::from_parts(16_302_901, 8946) - // Standard Error: 809 - .saturating_add(Weight::from_parts(73_692, 0).saturating_mul(r.into())) + // Measured: `728 + r * (26 ±0)` + // Estimated: `7260` + // Minimum execution time: 15_634_000 picoseconds. + Weight::from_parts(19_573_407, 7260) + // Standard Error: 1_790 + .saturating_add(Weight::from_parts(139_707, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } + /// Storage: Democracy NextExternal (r:1 w:0) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:0 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn set_external_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `356` + // Estimated: `3556` + // Minimum execution time: 18_344_000 picoseconds. + Weight::from_parts(18_727_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: Democracy NextExternal (r:1 w:0) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn clear_external_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `286` + // Estimated: `3518` + // Minimum execution time: 16_497_000 picoseconds. + Weight::from_parts(16_892_000, 3518) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: Democracy PublicProps (r:1 w:0) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:0 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn set_proposal_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `4888` + // Estimated: `18187` + // Minimum execution time: 39_517_000 picoseconds. + Weight::from_parts(40_632_000, 18187) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: Democracy PublicProps (r:1 w:0) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn clear_proposal_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `4822` + // Estimated: `18187` + // Minimum execution time: 37_108_000 picoseconds. + Weight::from_parts(37_599_000, 18187) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:0 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn set_referendum_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `3556` + // Minimum execution time: 13_997_000 picoseconds. + Weight::from_parts(14_298_000, 3556) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: Democracy ReferendumInfoOf (r:1 w:0) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: Democracy MetadataOf (r:1 w:1) + /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + fn clear_referendum_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `302` + // Estimated: `3666` + // Minimum execution time: 18_122_000 picoseconds. + Weight::from_parts(18_655_000, 3666) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } } diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 281d72f87..fbd064027 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -27,7 +27,7 @@ use frame_support::{ traits::{ConstU32, EitherOfDiverse, LockIdentifier, NeverEnsureOrigin, PrivilegeCmp}, PalletId, }; -use frame_system::EnsureRoot; +use frame_system::{EnsureRoot, EnsureSigned}; use sp_staking::currency_to_vote::U128CurrencyToVote; use sp_std::cmp::Ordering; @@ -240,6 +240,7 @@ impl pallet_democracy::Config for Runtime { /// A unanimous council can have the next scheduled referendum be a straight default-carries /// (NTB) vote. type ExternalDefaultOrigin = AllCouncilMembers; + type SubmitOrigin = EnsureSigned; type FastTrackOrigin = MoreThanHalfTechCommittee; type InstantOrigin = AllTechnicalCommitteeMembers; // To cancel a proposal which has been passed, 2/3 of the council must agree to it. diff --git a/runtime/hydradx/src/weights/democracy.rs b/runtime/hydradx/src/weights/democracy.rs index 62a0625a6..be5730cb7 100644 --- a/runtime/hydradx/src/weights/democracy.rs +++ b/runtime/hydradx/src/weights/democracy.rs @@ -332,4 +332,22 @@ impl WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } + fn set_external_metadata() -> Weight { + Weight::zero() + } + fn clear_external_metadata() -> Weight { + Weight::zero() + } + fn set_proposal_metadata() -> Weight { + Weight::zero() + } + fn clear_proposal_metadata() -> Weight { + Weight::zero() + } + fn set_referendum_metadata() -> Weight { + Weight::zero() + } + fn clear_referendum_metadata() -> Weight { + Weight::zero() + } } From 128f14ef6be680bb61d55ed941c48f96ac6e02fa Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 6 Nov 2023 13:35:44 +0100 Subject: [PATCH 033/138] update democracy cargo file --- Cargo.lock | 8 ++++---- pallets/democracy/Cargo.toml | 34 +++++++++++++++++++++++----------- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 48442505d..29b7ea9a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4525,7 +4525,7 @@ dependencies = [ "pallet-collective", "pallet-currencies", "pallet-dca", - "pallet-democracy 4.0.1-dev", + "pallet-democracy 4.1.0", "pallet-duster", "pallet-dynamic-fees", "pallet-elections-phragmen", @@ -7299,7 +7299,7 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "4.0.1-dev" +version = "4.1.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8109,7 +8109,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-democracy 4.0.1-dev", + "pallet-democracy 4.1.0", "pallet-uniques", "parity-scale-codec", "pretty_assertions", @@ -11120,7 +11120,7 @@ dependencies = [ "pallet-collective", "pallet-currencies", "pallet-dca", - "pallet-democracy 4.0.1-dev", + "pallet-democracy 4.1.0", "pallet-duster", "pallet-dynamic-fees", "pallet-elections-phragmen", diff --git a/pallets/democracy/Cargo.toml b/pallets/democracy/Cargo.toml index a2e5fc544..d16935ef2 100644 --- a/pallets/democracy/Cargo.toml +++ b/pallets/democracy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-democracy" -version = "4.0.1-dev" +version = "4.1.0" authors = ["Parity Technologies "] edition = "2021" license = "Apache-2.0" @@ -13,20 +13,20 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = [ +codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [ "derive", ] } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -serde = { version = "1.0.136", features = ["derive"], optional = true } +scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +serde = { version = "1.0.188", features = ["derive"], optional = true } +log = { workspace = true } -frame-benchmarking = { workspace = true , optional = true} +frame-benchmarking = { workspace = true, optional = true} frame-support = { workspace = true } frame-system = { workspace = true } sp-io = { workspace = true } -sp-runtime ={ workspace = true } +sp-runtime = { workspace = true } sp-std = { workspace = true } sp-core = { workspace = true } -log = { version = "0.4.18", default-features = false } [dev-dependencies] pallet-balances = { workspace = true } @@ -34,24 +34,36 @@ pallet-scheduler = { workspace = true } pallet-preimage = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ "codec/std", "frame-benchmarking?/std", "frame-support/std", "frame-system/std", + "pallet-balances/std", + "pallet-preimage/std", + "pallet-scheduler/std", "scale-info/std", "serde", + "sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std", - "sp-core/std", - "pallet-balances/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] -try-runtime = ["frame-support/try-runtime",] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "pallet-preimage/try-runtime", + "pallet-scheduler/try-runtime", + "sp-runtime/try-runtime", +] From 2ea91ba59c6aec4f30a8cf2ffd254afb46650525 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 6 Nov 2023 13:41:07 +0100 Subject: [PATCH 034/138] add missing vec dependency to democracy pallet --- pallets/democracy/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 4dc5d150e..8044fcf92 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -170,7 +170,7 @@ use sp_runtime::{ traits::{Bounded as ArithBounded, One, Saturating, StaticLookup, Zero}, ArithmeticError, DispatchError, DispatchResult, }; -use sp_std::prelude::*; +use sp_std::{vec, prelude::*}; mod conviction; pub mod traits; From 92e34b35ad8e3a7e3e6e7302381d9a398fe8232f Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 6 Nov 2023 13:52:44 +0100 Subject: [PATCH 035/138] formatting --- pallets/democracy/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 8044fcf92..e80b67c1c 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -170,7 +170,7 @@ use sp_runtime::{ traits::{Bounded as ArithBounded, One, Saturating, StaticLookup, Zero}, ArithmeticError, DispatchError, DispatchResult, }; -use sp_std::{vec, prelude::*}; +use sp_std::{prelude::*, vec}; mod conviction; pub mod traits; From c1324e070ee8c84770621f85ee7bbb741f778e18 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 7 Nov 2023 11:06:37 +0100 Subject: [PATCH 036/138] skip serializing of PhantomData in pallets --- pallets/genesis-history/src/lib.rs | 1 + pallets/liquidity-mining/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/pallets/genesis-history/src/lib.rs b/pallets/genesis-history/src/lib.rs index 1224de36f..d827c98ea 100644 --- a/pallets/genesis-history/src/lib.rs +++ b/pallets/genesis-history/src/lib.rs @@ -62,6 +62,7 @@ pub mod pallet { #[derive(frame_support::DefaultNoBound)] pub struct GenesisConfig { pub previous_chain: Chain, + #[serde(skip)] pub _phantom: PhantomData, } diff --git a/pallets/liquidity-mining/src/lib.rs b/pallets/liquidity-mining/src/lib.rs index b446113f7..bf16b8bbd 100644 --- a/pallets/liquidity-mining/src/lib.rs +++ b/pallets/liquidity-mining/src/lib.rs @@ -158,6 +158,7 @@ pub mod pallet { #[pallet::genesis_config] #[derive(frame_support::DefaultNoBound)] pub struct GenesisConfig, I: 'static = ()> { + #[serde(skip)] pub _phantom: PhantomData<(T, I)>, } From 8e818e86d6b856ca50499488c5817c2fcd71bf09 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 7 Nov 2023 11:21:09 +0100 Subject: [PATCH 037/138] update crate versions --- Cargo.lock | 70 ++++++++++---------- integration-tests/Cargo.toml | 2 +- math/Cargo.toml | 2 +- node/Cargo.toml | 2 +- pallets/asset-registry/Cargo.toml | 2 +- pallets/bonds/Cargo.toml | 2 +- pallets/circuit-breaker/Cargo.toml | 2 +- pallets/claims/Cargo.toml | 2 +- pallets/collator-rewards/Cargo.toml | 2 +- pallets/currencies/Cargo.toml | 2 +- pallets/dca/Cargo.toml | 2 +- pallets/duster/Cargo.toml | 2 +- pallets/dynamic-fees/Cargo.toml | 2 +- pallets/ema-oracle/Cargo.toml | 2 +- pallets/genesis-history/Cargo.toml | 2 +- pallets/lbp/Cargo.toml | 2 +- pallets/liquidity-mining/Cargo.toml | 2 +- pallets/nft/Cargo.toml | 2 +- pallets/omnipool-liquidity-mining/Cargo.toml | 2 +- pallets/omnipool/Cargo.toml | 2 +- pallets/otc/Cargo.toml | 2 +- pallets/relaychain-info/Cargo.toml | 2 +- pallets/route-executor/Cargo.toml | 2 +- pallets/stableswap/Cargo.toml | 2 +- pallets/staking/Cargo.toml | 2 +- pallets/transaction-multi-payment/Cargo.toml | 2 +- pallets/transaction-pause/Cargo.toml | 2 +- pallets/xcm-rate-limiter/Cargo.toml | 2 +- pallets/xyk/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- runtime/adapters/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- traits/Cargo.toml | 2 +- 34 files changed, 68 insertions(+), 68 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 29b7ea9a1..465fc7901 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4338,7 +4338,7 @@ dependencies = [ [[package]] name = "hydra-dx-math" -version = "7.6.2" +version = "7.6.3" dependencies = [ "approx", "criterion", @@ -4359,7 +4359,7 @@ dependencies = [ [[package]] name = "hydradx" -version = "10.0.1" +version = "11.0.0" dependencies = [ "clap 4.4.7", "cumulus-client-cli", @@ -4437,7 +4437,7 @@ dependencies = [ [[package]] name = "hydradx-adapters" -version = "0.6.4" +version = "1.0.0" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -4462,7 +4462,7 @@ dependencies = [ "pallet-omnipool-liquidity-mining", "pallet-route-executor", "pallet-stableswap", - "pallet-staking 2.0.0", + "pallet-staking 2.0.1", "pallet-transaction-multi-payment", "pallet-uniques", "parity-scale-codec", @@ -4482,7 +4482,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "187.0.0" +version = "188.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -4545,7 +4545,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 2.0.0", + "pallet-staking 2.0.1", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", @@ -4589,7 +4589,7 @@ dependencies = [ [[package]] name = "hydradx-traits" -version = "2.7.1" +version = "2.7.2" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -6827,7 +6827,7 @@ dependencies = [ [[package]] name = "pallet-asset-registry" -version = "2.3.1" +version = "2.3.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -7039,7 +7039,7 @@ dependencies = [ [[package]] name = "pallet-bonds" -version = "2.0.0" +version = "2.0.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -7100,7 +7100,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.16" +version = "1.1.17" dependencies = [ "frame-benchmarking", "frame-support", @@ -7125,7 +7125,7 @@ dependencies = [ [[package]] name = "pallet-claims" -version = "3.4.7" +version = "3.4.8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7147,7 +7147,7 @@ dependencies = [ [[package]] name = "pallet-collator-rewards" -version = "1.0.5" +version = "1.0.6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7224,7 +7224,7 @@ dependencies = [ [[package]] name = "pallet-currencies" -version = "1.2.1" +version = "2.0.0" dependencies = [ "frame-support", "frame-system", @@ -7243,7 +7243,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.2.2" +version = "1.2.3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7319,7 +7319,7 @@ dependencies = [ [[package]] name = "pallet-duster" -version = "3.2.3" +version = "3.2.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7343,7 +7343,7 @@ dependencies = [ [[package]] name = "pallet-dynamic-fees" -version = "1.0.1" +version = "1.0.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -7418,7 +7418,7 @@ dependencies = [ [[package]] name = "pallet-ema-oracle" -version = "1.1.2" +version = "1.1.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7460,7 +7460,7 @@ dependencies = [ [[package]] name = "pallet-genesis-history" -version = "2.1.0" +version = "2.1.1" dependencies = [ "derive_more", "frame-support", @@ -7554,7 +7554,7 @@ dependencies = [ [[package]] name = "pallet-lbp" -version = "4.7.0" +version = "4.7.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -7579,7 +7579,7 @@ dependencies = [ [[package]] name = "pallet-liquidity-mining" -version = "4.2.4" +version = "4.2.5" dependencies = [ "fixed", "frame-support", @@ -7674,7 +7674,7 @@ dependencies = [ [[package]] name = "pallet-nft" -version = "7.1.1" +version = "7.1.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -7801,7 +7801,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "3.3.0" +version = "3.3.1" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -7828,7 +7828,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.0.11" +version = "2.0.12" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -7856,7 +7856,7 @@ dependencies = [ [[package]] name = "pallet-otc" -version = "1.0.2" +version = "1.0.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7962,7 +7962,7 @@ dependencies = [ [[package]] name = "pallet-relaychain-info" -version = "0.3.3" +version = "0.3.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7976,7 +7976,7 @@ dependencies = [ [[package]] name = "pallet-route-executor" -version = "1.2.0" +version = "1.2.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8075,7 +8075,7 @@ dependencies = [ [[package]] name = "pallet-stableswap" -version = "3.3.1" +version = "3.3.2" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8099,7 +8099,7 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "2.0.0" +version = "2.0.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8245,7 +8245,7 @@ dependencies = [ [[package]] name = "pallet-transaction-multi-payment" -version = "9.0.1" +version = "9.0.2" dependencies = [ "frame-support", "frame-system", @@ -8267,7 +8267,7 @@ dependencies = [ [[package]] name = "pallet-transaction-pause" -version = "1.0.0" +version = "1.0.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8450,7 +8450,7 @@ dependencies = [ [[package]] name = "pallet-xcm-rate-limiter" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cumulus-pallet-xcmp-queue", "frame-benchmarking", @@ -8477,7 +8477,7 @@ dependencies = [ [[package]] name = "pallet-xyk" -version = "6.3.1" +version = "6.3.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -10260,7 +10260,7 @@ dependencies = [ [[package]] name = "primitives" -version = "6.0.0" +version = "6.0.1" dependencies = [ "frame-support", "hex-literal 0.3.4", @@ -11080,7 +11080,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.15.1" +version = "1.16.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -11136,7 +11136,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 2.0.0", + "pallet-staking 2.0.1", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 4bf4d41aa..152c56fa8 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.15.1" +version = "1.16.0" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/math/Cargo.toml b/math/Cargo.toml index eca89d4e8..3fed7d577 100644 --- a/math/Cargo.toml +++ b/math/Cargo.toml @@ -6,7 +6,7 @@ license = 'Apache-2.0' name = "hydra-dx-math" description = "A collection of utilities to make performing liquidity pool calculations more convenient." repository = 'https://github.com/galacticcouncil/hydradx-math' -version = "7.6.2" +version = "7.6.3" [dependencies] primitive-types = {default-features = false, version = '0.12.0'} diff --git a/node/Cargo.toml b/node/Cargo.toml index 9b092b305..7bec25c94 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx" -version = "10.0.1" +version = "11.0.0" description = "HydraDX node" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 8ec6b9b8e..344f34728 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-asset-registry" -version = "2.3.1" +version = "2.3.2" description = "Pallet for asset registry management" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/bonds/Cargo.toml b/pallets/bonds/Cargo.toml index 9b195cf0e..50e8fd3cf 100644 --- a/pallets/bonds/Cargo.toml +++ b/pallets/bonds/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-bonds" -version = "2.0.0" +version = "2.0.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 1a8fa6015..0252f8333 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.16" +version = "1.1.17" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index f81947132..b42404ada 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-claims' -version = '3.4.7' +version = '3.4.8' description = 'HydraDX Claims Module' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/collator-rewards/Cargo.toml b/pallets/collator-rewards/Cargo.toml index 03208bf60..bea2e58a3 100644 --- a/pallets/collator-rewards/Cargo.toml +++ b/pallets/collator-rewards/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-collator-rewards" -version = "1.0.5" +version = "1.0.6" description = "Pallet for collator rewards" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/currencies/Cargo.toml b/pallets/currencies/Cargo.toml index 39041bf6a..545d26490 100644 --- a/pallets/currencies/Cargo.toml +++ b/pallets/currencies/Cargo.toml @@ -3,7 +3,7 @@ name = "pallet-currencies" description = "Provide `MultiCurrency` implementation using `pallet-balances` and `orml-tokens` module." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/currencies" license = "Apache-2.0" -version = "1.2.1" +version = "2.0.0" authors = ["Laminar Developers "] edition = "2021" diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index a6d4d3c24..603a15f64 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dca' -version = "1.2.2" +version = "1.2.3" description = 'A pallet to manage DCA scheduling' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/duster/Cargo.toml b/pallets/duster/Cargo.toml index 61d2b287c..5fee2d013 100644 --- a/pallets/duster/Cargo.toml +++ b/pallets/duster/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-duster" -version = "3.2.3" +version = "3.2.4" description = "Account duster" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/dynamic-fees/Cargo.toml b/pallets/dynamic-fees/Cargo.toml index cebda048b..9201842b3 100644 --- a/pallets/dynamic-fees/Cargo.toml +++ b/pallets/dynamic-fees/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dynamic-fees' -version = '1.0.1' +version = '1.0.2' description = 'A pallet to provide support for dynamic fees' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/ema-oracle/Cargo.toml b/pallets/ema-oracle/Cargo.toml index d9f3d1247..f5f6b38ab 100644 --- a/pallets/ema-oracle/Cargo.toml +++ b/pallets/ema-oracle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-ema-oracle' -version = '1.1.2' +version = '1.1.3' description = 'Exponential moving average oracle for AMM pools' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/genesis-history/Cargo.toml b/pallets/genesis-history/Cargo.toml index 0b7457b54..f07d505f4 100644 --- a/pallets/genesis-history/Cargo.toml +++ b/pallets/genesis-history/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-genesis-history" -version = "2.1.0" +version = "2.1.1" description = "Keeping track of the past chain generations." authors = ["GalacticCouncil "] edition = "2021" diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 83dd845d5..8dc0774e0 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-lbp" -version = "4.7.0" +version = "4.7.1" description = "HydraDX Liquidity Bootstrapping Pool Pallet" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/liquidity-mining/Cargo.toml b/pallets/liquidity-mining/Cargo.toml index 49a6f1d29..6b9cc7e1f 100644 --- a/pallets/liquidity-mining/Cargo.toml +++ b/pallets/liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-liquidity-mining" -version = "4.2.4" +version = "4.2.5" description = "Liquidity mining" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 816965b26..98f15aee1 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-nft" -version = "7.1.1" +version = "7.1.2" description = "A generic NFT pallet for managing non-fungible tokens" authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index c1d65b6b5..af594b858 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool-liquidity-mining" -version = "2.0.11" +version = "2.0.12" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index dd64f492b..f49c016f5 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "3.3.0" +version = "3.3.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/otc/Cargo.toml b/pallets/otc/Cargo.toml index 37ef5ef91..d25361d1a 100644 --- a/pallets/otc/Cargo.toml +++ b/pallets/otc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc' -version = '1.0.2' +version = '1.0.3' description = 'A pallet for trustless over-the-counter trading' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/relaychain-info/Cargo.toml b/pallets/relaychain-info/Cargo.toml index 7bdf68f86..5e0f04ef4 100644 --- a/pallets/relaychain-info/Cargo.toml +++ b/pallets/relaychain-info/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-relaychain-info" -version = "0.3.3" +version = "0.3.4" description = "Relaychain info pallet provides various support features for a parachain" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index e6d960b40..14d2826a7 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-route-executor' -version = '1.2.0' +version = '1.2.1' description = 'A pallet to execute a route containing a sequence of trades' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index 3025cbcc1..3d8ac6146 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-stableswap' -version = '3.3.1' +version = '3.3.2' description = 'AMM for correlated assets' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 0babe26ba..b79e638fb 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-staking" -version = "2.0.0" +version = "2.0.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index 58d511ce5..7bc450827 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-multi-payment" -version = "9.0.1" +version = "9.0.2" description = "Transaction multi currency payment support module" authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 8253e53ae..72d7523b7 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-pause" -version = "1.0.0" +version = "1.0.1" authors = ["Acala Developers", "GalacticCouncil"] edition = "2021" diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 96552e2d2..17123ca08 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xcm-rate-limiter" -version = "0.1.1" +version = "0.1.2" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/xyk/Cargo.toml b/pallets/xyk/Cargo.toml index e1cf6b9dd..3901ae2d5 100644 --- a/pallets/xyk/Cargo.toml +++ b/pallets/xyk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-xyk' -version = "6.3.1" +version = "6.3.2" description = 'XYK automated market maker' authors = ['GalacticCouncil'] edition = '2021' diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 4cbb432c3..2edc5a180 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitives" -version = "6.0.0" +version = "6.0.1" authors = ["GalacticCouncil"] edition = "2021" repository = "https://github.com/galacticcouncil/HydraDX-node" diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index e990b8b57..621891df1 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-adapters" -version = "0.6.4" +version = "1.0.0" description = "Structs and other generic types for building runtimes." authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index a88f0a599..ac10b5e25 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "187.0.0" +version = "188.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 10d2dc686..fd762ced4 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -101,7 +101,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 187, + spec_version: 188, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 5cf600c01..6c78393b9 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-traits" -version = "2.7.1" +version = "2.7.2" description = "Shared traits" authors = ["GalacticCouncil"] edition = "2021" From 948a199f884cb68badbe92399c36c1d56e20e0d2 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Tue, 7 Nov 2023 14:07:41 +0100 Subject: [PATCH 038/138] update cumulus to updated xcmp benchmarking version --- Cargo.lock | 572 ++++++++++++++++++------------------- Cargo.toml | 264 ++++++++--------- runtime/hydradx/src/xcm.rs | 1 + 3 files changed, 419 insertions(+), 418 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 48442505d..857faa9e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -889,7 +889,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "hash-db", "log", @@ -1985,7 +1985,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "clap 4.4.7", "parity-scale-codec", @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2024,7 +2024,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2066,7 +2066,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2095,7 +2095,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "anyhow", "async-trait", @@ -2110,7 +2110,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2157,7 +2157,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2192,7 +2192,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2210,7 +2210,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2257,7 +2257,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2268,7 +2268,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2284,7 +2284,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2320,7 +2320,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2337,7 +2337,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2360,7 +2360,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "futures", @@ -2373,7 +2373,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2391,7 +2391,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2415,7 +2415,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2433,7 +2433,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "async-trait", @@ -2468,7 +2468,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2506,7 +2506,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3480,7 +3480,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", ] @@ -3503,7 +3503,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-support-procedural", @@ -3519,7 +3519,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "sp-std", "sp-storage", "static_assertions", @@ -3528,7 +3528,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "Inflector", "array-bytes", @@ -3568,7 +3568,7 @@ dependencies = [ "sp-state-machine", "sp-storage", "sp-trie", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "thiserror", "thousands", ] @@ -3576,7 +3576,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3587,7 +3587,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3604,7 +3604,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -3634,7 +3634,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-recursion", "futures", @@ -3656,7 +3656,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3696,7 +3696,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "Inflector", "cfg-expr", @@ -3714,7 +3714,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -3726,7 +3726,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "proc-macro2", "quote", @@ -3736,7 +3736,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cfg-if", "frame-support", @@ -3755,7 +3755,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -3770,7 +3770,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "sp-api", @@ -3779,7 +3779,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "parity-scale-codec", @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "polkadot-primitives", @@ -6163,7 +6163,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "log", @@ -6182,7 +6182,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "anyhow", "jsonrpsee 0.16.3", @@ -6853,7 +6853,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -6871,7 +6871,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -6887,7 +6887,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -6904,7 +6904,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -6920,7 +6920,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -6934,7 +6934,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -6958,7 +6958,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "aquamarine", "docify", @@ -6980,7 +6980,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -6995,7 +6995,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -7015,7 +7015,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7064,7 +7064,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7082,7 +7082,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7172,7 +7172,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7191,7 +7191,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7208,7 +7208,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7282,7 +7282,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7363,7 +7363,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7386,7 +7386,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7400,7 +7400,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7442,7 +7442,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "docify", "frame-benchmarking", @@ -7479,7 +7479,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7502,7 +7502,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7518,7 +7518,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7538,7 +7538,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7605,7 +7605,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7622,7 +7622,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7641,7 +7641,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7659,7 +7659,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7695,7 +7695,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7711,7 +7711,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -7730,7 +7730,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7742,7 +7742,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "sp-staking", "sp-std", ] @@ -7750,7 +7750,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7761,7 +7761,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -7778,7 +7778,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7879,7 +7879,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7896,7 +7896,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7911,7 +7911,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7929,7 +7929,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -7944,7 +7944,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8001,7 +8001,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "docify", "frame-benchmarking", @@ -8019,7 +8019,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -8041,7 +8041,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8058,7 +8058,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8124,7 +8124,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8147,7 +8147,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8158,7 +8158,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "log", "sp-arithmetic", @@ -8167,7 +8167,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "sp-api", @@ -8176,7 +8176,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8193,7 +8193,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8208,7 +8208,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8227,7 +8227,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8289,7 +8289,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -8305,7 +8305,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8321,7 +8321,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8333,7 +8333,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8350,7 +8350,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8365,7 +8365,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8381,7 +8381,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8396,7 +8396,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8411,7 +8411,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8432,7 +8432,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-benchmarking", "frame-support", @@ -8504,7 +8504,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8518,7 +8518,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -8906,7 +8906,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "futures-timer", @@ -8924,7 +8924,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "always-assert", "futures", @@ -8940,7 +8940,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "derive_more", "fatality", @@ -8963,7 +8963,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "fatality", "futures", @@ -8984,7 +8984,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "1.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "clap 4.4.7", "frame-benchmarking-cli", @@ -9011,7 +9011,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "fatality", @@ -9033,7 +9033,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "scale-info", @@ -9045,7 +9045,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "derive_more", "fatality", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9084,7 +9084,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "futures-timer", @@ -9105,7 +9105,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "always-assert", "async-trait", @@ -9128,7 +9128,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "parity-scale-codec", @@ -9146,7 +9146,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "derive_more", @@ -9175,7 +9175,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "futures", @@ -9197,7 +9197,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "fatality", @@ -9216,7 +9216,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9231,7 +9231,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -9252,7 +9252,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "polkadot-node-metrics", @@ -9267,7 +9267,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "futures-timer", @@ -9284,7 +9284,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "fatality", "futures", @@ -9303,7 +9303,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -9320,7 +9320,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "fatality", @@ -9337,7 +9337,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "fatality", @@ -9354,7 +9354,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "always-assert", "futures", @@ -9372,7 +9372,7 @@ dependencies = [ "slotmap", "sp-core", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "substrate-build-script-utils", "tempfile", "tokio", @@ -9382,7 +9382,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "polkadot-node-primitives", @@ -9398,7 +9398,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cpu-time", "futures", @@ -9421,7 +9421,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "libc", @@ -9444,7 +9444,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "polkadot-node-metrics", @@ -9459,7 +9459,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "lazy_static", "log", @@ -9477,7 +9477,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bs58 0.5.0", "futures", @@ -9496,7 +9496,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-channel", "async-trait", @@ -9520,7 +9520,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bounded-vec", "futures", @@ -9542,7 +9542,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9552,7 +9552,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "derive_more", @@ -9576,7 +9576,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "derive_more", @@ -9609,7 +9609,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -9632,7 +9632,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bounded-collections", "derive_more", @@ -9649,7 +9649,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "env_logger 0.9.3", "log", @@ -9667,7 +9667,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -9693,7 +9693,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "jsonrpsee 0.16.3", "mmr-rpc", @@ -9725,7 +9725,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "frame-benchmarking", @@ -9822,7 +9822,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitvec", "frame-benchmarking", @@ -9868,7 +9868,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "polkadot-primitives", @@ -9882,7 +9882,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -9895,7 +9895,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -9941,7 +9941,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "frame-benchmarking", @@ -10060,7 +10060,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10084,7 +10084,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10905,7 +10905,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -10993,7 +10993,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "polkadot-primitives", @@ -11393,18 +11393,18 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "log", "sp-core", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "thiserror", ] [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -11432,7 +11432,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "futures-timer", @@ -11455,7 +11455,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11470,7 +11470,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11489,7 +11489,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11500,7 +11500,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "chrono", @@ -11539,7 +11539,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "fnv", "futures", @@ -11565,7 +11565,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "hash-db", "kvdb", @@ -11591,7 +11591,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -11616,7 +11616,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -11645,7 +11645,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "fork-tree", @@ -11681,7 +11681,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11703,7 +11703,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "async-channel", @@ -11737,7 +11737,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11756,7 +11756,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11769,7 +11769,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "ahash 0.8.6", "array-bytes", @@ -11810,7 +11810,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "finality-grandpa", "futures", @@ -11830,7 +11830,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -11853,7 +11853,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -11865,21 +11865,21 @@ dependencies = [ "sp-externalities", "sp-io", "sp-panic-handler", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "sp-trie", "sp-version", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "tracing", ] [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "thiserror", "wasm-instrument", ] @@ -11887,7 +11887,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "anyhow", "cfg-if", @@ -11896,15 +11896,15 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "wasmtime", ] [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "ansi_term", "futures", @@ -11920,7 +11920,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -11934,7 +11934,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "async-channel", @@ -11975,7 +11975,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-channel", "cid", @@ -11995,7 +11995,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12012,7 +12012,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "ahash 0.8.6", "futures", @@ -12030,7 +12030,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "async-channel", @@ -12051,7 +12051,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "async-channel", @@ -12085,7 +12085,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "futures", @@ -12103,7 +12103,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "bytes", @@ -12137,7 +12137,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12146,7 +12146,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -12177,7 +12177,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12196,7 +12196,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -12211,7 +12211,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "futures", @@ -12239,7 +12239,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "directories", @@ -12303,7 +12303,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "log", "parity-scale-codec", @@ -12314,7 +12314,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "clap 4.4.7", "fs4", @@ -12328,7 +12328,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12347,7 +12347,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "libc", @@ -12366,7 +12366,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "chrono", "futures", @@ -12385,7 +12385,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "ansi_term", "atty", @@ -12414,7 +12414,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12425,7 +12425,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -12451,7 +12451,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -12467,7 +12467,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-channel", "futures", @@ -12912,7 +12912,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "enumn", "parity-scale-codec", @@ -13106,7 +13106,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "hash-db", "log", @@ -13127,7 +13127,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "Inflector", "blake2", @@ -13141,7 +13141,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "scale-info", @@ -13154,7 +13154,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "integer-sqrt", "num-traits", @@ -13168,7 +13168,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "scale-info", @@ -13181,7 +13181,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "sp-api", "sp-inherents", @@ -13192,7 +13192,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "futures", "log", @@ -13210,7 +13210,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "futures", @@ -13225,7 +13225,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "parity-scale-codec", @@ -13242,7 +13242,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "parity-scale-codec", @@ -13261,7 +13261,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13280,7 +13280,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "finality-grandpa", "log", @@ -13298,7 +13298,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "scale-info", @@ -13310,7 +13310,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -13343,7 +13343,7 @@ dependencies = [ "sp-core-hashing", "sp-debug-derive", "sp-externalities", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "sp-std", "sp-storage", "ss58-registry", @@ -13357,7 +13357,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "blake2b_simd", "byteorder", @@ -13370,7 +13370,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "quote", "sp-core-hashing", @@ -13380,7 +13380,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13389,7 +13389,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "proc-macro2", "quote", @@ -13399,7 +13399,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "environmental", "parity-scale-codec", @@ -13410,7 +13410,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "serde_json", "sp-api", @@ -13421,7 +13421,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13435,7 +13435,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bytes", "ed25519-dalek", @@ -13447,7 +13447,7 @@ dependencies = [ "sp-core", "sp-externalities", "sp-keystore", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "sp-state-machine", "sp-std", "sp-tracing", @@ -13459,7 +13459,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "lazy_static", "sp-core", @@ -13470,7 +13470,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -13482,7 +13482,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13491,7 +13491,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13502,7 +13502,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13520,7 +13520,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "scale-info", @@ -13534,7 +13534,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "sp-api", "sp-core", @@ -13544,7 +13544,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "backtrace", "lazy_static", @@ -13554,7 +13554,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "rustc-hash", "serde", @@ -13564,7 +13564,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "either", "hash256-std-hasher", @@ -13586,18 +13586,18 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", "sp-externalities", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "sp-std", "sp-storage", "sp-tracing", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "static_assertions", ] @@ -13622,7 +13622,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "Inflector", "proc-macro-crate", @@ -13646,7 +13646,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "scale-info", @@ -13661,7 +13661,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -13675,7 +13675,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "hash-db", "log", @@ -13696,7 +13696,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.1.1", @@ -13711,7 +13711,7 @@ dependencies = [ "sp-core", "sp-externalities", "sp-runtime", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking)", "sp-std", "thiserror", "x25519-dalek 2.0.0", @@ -13720,12 +13720,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13738,7 +13738,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "parity-scale-codec", @@ -13751,7 +13751,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "sp-std", @@ -13763,7 +13763,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "sp-api", "sp-runtime", @@ -13772,7 +13772,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "parity-scale-codec", @@ -13787,7 +13787,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "ahash 0.8.6", "hash-db", @@ -13810,7 +13810,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13827,7 +13827,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13838,7 +13838,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -13864,7 +13864,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "parity-scale-codec", "scale-info", @@ -13943,7 +13943,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14049,7 +14049,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "bounded-collections", "derivative", @@ -14066,7 +14066,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "frame-system", @@ -14088,7 +14088,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "environmental", "frame-benchmarking", @@ -14221,12 +14221,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14245,7 +14245,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "hyper", "log", @@ -14257,7 +14257,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -14270,7 +14270,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -14287,7 +14287,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "ansi_term", "build-helper", @@ -14878,7 +14878,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "coarsetime", "polkadot-node-jaeger", @@ -14890,7 +14890,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -15020,7 +15020,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "async-trait", "clap 4.4.7", @@ -15941,7 +15941,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16040,7 +16040,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "frame-support", "polkadot-primitives", @@ -16367,7 +16367,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -16399,7 +16399,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 4b36dce4e..fba724380 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -259,145 +259,145 @@ cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/parityt cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } [patch."https://github.com/paritytech/polkadot-sdk"] -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } # Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0"} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking"} +polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +#polkadot-xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +#polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "apopiak/xcmp-pov-benchmarking" } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 17afcb6e7..f96ef77aa 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -153,6 +153,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ExecuteDeferredOrigin = EnsureRoot; type MaxDeferredMessages = ConstU32<100>; type MaxDeferredBuckets = ConstU32<1_000>; + type MaxBucketsProcessed = ConstU32<5>; type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; type XcmDeferFilter = (); } From 7042d353dc978449d00b5194820c05587d5a19b4 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 9 Nov 2023 13:01:05 +0100 Subject: [PATCH 039/138] update weight templates --- .maintain/pallet-weight-template-no-back.hbs | 103 ++++++----- .maintain/pallet-weight-template.hbs | 170 ++++++++++--------- 2 files changed, 154 insertions(+), 119 deletions(-) diff --git a/.maintain/pallet-weight-template-no-back.hbs b/.maintain/pallet-weight-template-no-back.hbs index 58b23e688..13e41e0de 100644 --- a/.maintain/pallet-weight-template-no-back.hbs +++ b/.maintain/pallet-weight-template-no-back.hbs @@ -15,63 +15,82 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for {{pallet}} +{{header}} +//! Autogenerated weights for `{{pallet}}` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} -//! DATE: {{date}}, STEPS: {{cmd.steps}}, REPEAT: {{cmd.repeat}}, LOW RANGE: {{cmd.lowest_range_values}}, HIGH RANGE: {{cmd.highest_range_values}} -//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}} +//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` +//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` +//! WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` // Executed Command: -{{#each args as |arg|~}} +{{#each args as |arg|}} // {{arg}} {{/each}} +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; -use {{pallet}}::weights::WeightInfo; +/// Weight functions needed for `{{pallet}}`. +pub trait WeightInfo { + {{#each benchmarks as |benchmark|}} + fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{c.name}}: u32, {{/each~}} + ) -> Weight; + {{/each}} +} -/// Weights for {{pallet}} using the hydraDX node and recommended hardware. +/// Weights for `{{pallet}}` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); - +{{#if (eq pallet "frame_system")}} +impl WeightInfo for HydraWeight { +{{else}} impl WeightInfo for HydraWeight { - {{#each benchmarks as |benchmark|}} - {{#each benchmark.comments as |comment|}} - // {{comment}} +{{/if}} + {{#each benchmarks as |benchmark|}} + {{#each benchmark.comments as |comment|}} + /// {{comment}} {{/each}} {{#each benchmark.component_ranges as |range|}} /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`. {{/each}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} - ) -> Weight { - // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}} as u64) - {{~#each benchmark.component_weight as |cw|}} - // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}} as u64).saturating_mul({{cw.name}} as u64)) - {{/each}} - {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as u64)) - {{/if}} - {{#each benchmark.component_reads as |cr|}} - .saturating_add(T::DbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64))) - {{/each}} - {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as u64)) - {{/if}} - {{~#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64))) - {{/each}} - } - {{/each}} -} + fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} + ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) + {{#each benchmark.component_weight as |cw|}} + // Standard Error: {{underscore cw.error}} + .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) + {{/each}} + {{#if (ne benchmark.base_reads "0")}} + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) + {{/if}} + {{#each benchmark.component_reads as |cr|}} + .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) + {{/each}} + {{#if (ne benchmark.base_writes "0")}} + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) + {{/if}} + {{#each benchmark.component_writes as |cw|}} + .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) + {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} + } + {{/each}} +} \ No newline at end of file diff --git a/.maintain/pallet-weight-template.hbs b/.maintain/pallet-weight-template.hbs index 58dedc01d..cd42ab63e 100644 --- a/.maintain/pallet-weight-template.hbs +++ b/.maintain/pallet-weight-template.hbs @@ -15,108 +15,124 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for {{pallet}} +{{header}} +//! Autogenerated weights for `{{pallet}}` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} -//! DATE: {{date}}, STEPS: {{cmd.steps}}, REPEAT: {{cmd.repeat}}, LOW RANGE: {{cmd.lowest_range_values}}, HIGH RANGE: {{cmd.highest_range_values}} -//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}} +//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` +//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` +//! WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` // Executed Command: -{{#each args as |arg|~}} +{{#each args as |arg|}} // {{arg}} {{/each}} +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; -/// Weight functions needed for {{pallet}}. +/// Weight functions needed for `{{pallet}}`. pub trait WeightInfo { -{{#each benchmarks as |benchmark|}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{c.name}}: u32, {{/each~}} - ) -> Weight; - {{/each}} + {{#each benchmarks as |benchmark|}} + fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{c.name}}: u32, {{/each~}} + ) -> Weight; + {{/each}} } -/// Weights for {{pallet}} using the hydraDX node and recommended hardware. +/// Weights for `{{pallet}}` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); - +{{#if (eq pallet "frame_system")}} +impl WeightInfo for HydraWeight { +{{else}} impl WeightInfo for HydraWeight { - {{#each benchmarks as |benchmark|}} - {{#each benchmark.comments as |comment|}} - // {{comment}} +{{/if}} + {{#each benchmarks as |benchmark|}} + {{#each benchmark.comments as |comment|}} + /// {{comment}} {{/each}} {{#each benchmark.component_ranges as |range|}} /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`. {{/each}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} - ) -> Weight { - // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}} as u64) - {{~#each benchmark.component_weight as |cw|}} - // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}} as u64).saturating_mul({{cw.name}} as u64)) - {{/each}} - {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as u64)) - {{/if}} - {{#each benchmark.component_reads as |cr|}} - .saturating_add(T::DbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64))) - {{/each}} - {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as u64)) - {{/if}} - {{~#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64))) - {{/each}} - } - {{/each}} + fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} + ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) + {{#each benchmark.component_weight as |cw|}} + // Standard Error: {{underscore cw.error}} + .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) + {{/each}} + {{#if (ne benchmark.base_reads "0")}} + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) + {{/if}} + {{#each benchmark.component_reads as |cr|}} + .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) + {{/each}} + {{#if (ne benchmark.base_writes "0")}} + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) + {{/if}} + {{#each benchmark.component_writes as |cw|}} + .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) + {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} + } + {{/each}} } -// For backwards compatibility and tests +// For backwards compatibility and tests. impl WeightInfo for () { - {{#each benchmarks as |benchmark|}} - {{#each benchmark.comments as |comment|}} - // {{comment}} + {{#each benchmarks as |benchmark|}} + {{#each benchmark.comments as |comment|}} + /// {{comment}} {{/each}} {{#each benchmark.component_ranges as |range|}} /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`. {{/each}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} - ) -> Weight { - // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}}) - {{#each benchmark.component_weight as |cw|}} - // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into())) - {{/each}} - {{#if (ne benchmark.base_reads "0")}} - .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}})) - {{/if}} - {{#each benchmark.component_reads as |cr|}} - .saturating_add(RocksDbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) - {{/each}} - {{#if (ne benchmark.base_writes "0")}} - .saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}})) - {{/if}} - {{#each benchmark.component_writes as |cw|}} - .saturating_add(RocksDbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) - {{/each}} - } - {{/each}} + fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} + ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) + {{#each benchmark.component_weight as |cw|}} + // Standard Error: {{underscore cw.error}} + .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) + {{/each}} + {{#if (ne benchmark.base_reads "0")}} + .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64)) + {{/if}} + {{#each benchmark.component_reads as |cr|}} + .saturating_add(RocksDbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) + {{/each}} + {{#if (ne benchmark.base_writes "0")}} + .saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}}_u64)) + {{/if}} + {{#each benchmark.component_writes as |cw|}} + .saturating_add(RocksDbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) + {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} + } + {{/each}} } From 628ea58912ec1b5fd60c0bf3e78fe36089d10d4d Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 9 Nov 2023 13:24:10 +0100 Subject: [PATCH 040/138] fix pallet claims benchmark --- pallets/claims/src/benchmarking.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pallets/claims/src/benchmarking.rs b/pallets/claims/src/benchmarking.rs index c8955418a..7e40773dd 100644 --- a/pallets/claims/src/benchmarking.rs +++ b/pallets/claims/src/benchmarking.rs @@ -38,16 +38,12 @@ benchmarks! { let eth_address = EthereumAddress(hex!["8202c0af5962b750123ce1a9b12e1c30a4973557"]); let initial_balance = T::Currency::free_balance(&caller); + let amount_to_claim = 1_000_000_000_000_000_000_u128; - Claims::::insert(eth_address, T::CurrencyBalance::from(1_000_000_000_000_000_000_u128).into()); + Claims::::insert(eth_address, T::CurrencyBalance::from(amount_to_claim).into()); }: _(RawOrigin::Signed(caller.clone()), EcdsaSignature(signature)) verify { - let expected_balance = T::CurrencyBalance::from(1_010_000_000_000_000_000_u128); - - #[cfg(test)] - let expected_balance = T::CurrencyBalance::from(1_000_000_000_000_000_000_u128); - - assert_eq!(T::Currency::free_balance(&caller), initial_balance + expected_balance.into()); + assert_eq!(T::Currency::free_balance(&caller), initial_balance + T::CurrencyBalance::from(amount_to_claim).into()); assert_eq!(Claims::::get(eth_address), T::CurrencyBalance::from(0u128).into()); } } From bc2524bcd814d3e968d52c9237a764e181289fce Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Tue, 14 Nov 2023 16:07:29 +0100 Subject: [PATCH 041/138] reduce amount of messages per deferred bucket --- runtime/hydradx/src/xcm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index f96ef77aa..4e0e8b006 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -151,7 +151,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type PriceForSiblingDelivery = (); type WeightInfo = weights::xcmp_queue::HydraWeight; type ExecuteDeferredOrigin = EnsureRoot; - type MaxDeferredMessages = ConstU32<100>; + type MaxDeferredMessages = ConstU32<30>; type MaxDeferredBuckets = ConstU32<1_000>; type MaxBucketsProcessed = ConstU32<5>; type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; From 7171ba84281f757a6467752c9e5898b3a94f64fe Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Tue, 14 Nov 2023 16:49:43 +0100 Subject: [PATCH 042/138] update weight template --- .maintain/pallet-weight-template-no-back.hbs | 92 ++++++++++---------- 1 file changed, 48 insertions(+), 44 deletions(-) diff --git a/.maintain/pallet-weight-template-no-back.hbs b/.maintain/pallet-weight-template-no-back.hbs index 58b23e688..759b86d21 100644 --- a/.maintain/pallet-weight-template-no-back.hbs +++ b/.maintain/pallet-weight-template-no-back.hbs @@ -15,63 +15,67 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for {{pallet}} +//! Autogenerated weights for `{{pallet}}` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} -//! DATE: {{date}}, STEPS: {{cmd.steps}}, REPEAT: {{cmd.repeat}}, LOW RANGE: {{cmd.lowest_range_values}}, HIGH RANGE: {{cmd.highest_range_values}} -//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}} +//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` +//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` +//! WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: {{cmd.db_cache}} // Executed Command: -{{#each args as |arg|~}} +{{#each args as |arg|}} // {{arg}} {{/each}} +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; -use {{pallet}}::weights::WeightInfo; - -/// Weights for {{pallet}} using the hydraDX node and recommended hardware. +/// Weight functions for `{{pallet}}`. pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - {{#each benchmarks as |benchmark|}} - {{#each benchmark.comments as |comment|}} - // {{comment}} +impl {{pallet}}::WeightInfo for HydraWeight { + {{#each benchmarks as |benchmark|}} + {{#each benchmark.comments as |comment|}} + /// {{comment}} {{/each}} {{#each benchmark.component_ranges as |range|}} /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`. {{/each}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} - ) -> Weight { - // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}} as u64) - {{~#each benchmark.component_weight as |cw|}} - // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}} as u64).saturating_mul({{cw.name}} as u64)) - {{/each}} - {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as u64)) - {{/if}} - {{#each benchmark.component_reads as |cr|}} - .saturating_add(T::DbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64))) - {{/each}} - {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as u64)) - {{/if}} - {{~#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64))) - {{/each}} - } - {{/each}} -} + fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} + ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. + Weight::from_parts({{underscore benchmark.base_weight}}, 0) + .saturating_add(Weight::from_parts(0, {{benchmark.base_calculated_proof_size}})) + {{#each benchmark.component_weight as |cw|}} + // Standard Error: {{underscore cw.error}} + .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) + {{/each}} + {{#if (ne benchmark.base_reads "0")}} + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}})) + {{/if}} + {{#each benchmark.component_reads as |cr|}} + .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) + {{/each}} + {{#if (ne benchmark.base_writes "0")}} + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}})) + {{/if}} + {{#each benchmark.component_writes as |cw|}} + .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) + {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} + } + {{/each}} +} \ No newline at end of file From d38d151d804fa6e7efbb0b7eb227da59db3edb43 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Tue, 14 Nov 2023 16:58:27 +0100 Subject: [PATCH 043/138] combine proof size and time into one line in the template --- .maintain/pallet-weight-template-no-back.hbs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.maintain/pallet-weight-template-no-back.hbs b/.maintain/pallet-weight-template-no-back.hbs index 759b86d21..f0ab2b887 100644 --- a/.maintain/pallet-weight-template-no-back.hbs +++ b/.maintain/pallet-weight-template-no-back.hbs @@ -55,8 +55,7 @@ impl {{pallet}}::WeightInfo for HydraWeight { // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. - Weight::from_parts({{underscore benchmark.base_weight}}, 0) - .saturating_add(Weight::from_parts(0, {{benchmark.base_calculated_proof_size}})) + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) From f17ace567e161afd7e50f1e518c7cc1653f688b8 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 16 Nov 2023 11:15:01 +0100 Subject: [PATCH 044/138] add storage version to asset registry pallet --- pallets/asset-registry/src/lib.rs | 2 ++ runtime/hydradx/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index 1cbcf799c..1864f4444 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -54,6 +54,8 @@ pub mod pallet { use crate::types::Metadata; use frame_support::sp_runtime::traits::AtLeast32BitUnsigned; + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); + pub type AssetDetailsT = AssetDetails<::AssetId, ::Balance, BoundedVec::StringLimit>>; diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index fd762ced4..3a323350b 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -340,7 +340,7 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { - //log::info!("try-runtime::on_runtime_upgrade."); + log::info!("try-runtime::on_runtime_upgrade."); let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) } From 189ac70176741c83f5c53eda3cd4c09c551135a1 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 16 Nov 2023 13:17:29 +0100 Subject: [PATCH 045/138] use storage version in asset registry pallet --- pallets/asset-registry/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index 1864f4444..4246a83b8 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -103,6 +103,7 @@ pub mod pallet { } #[pallet::pallet] + #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); #[pallet::hooks] From c8f7f4ad5c8ace58942fa0e67e1b6fa6f86b5ded Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 16 Nov 2023 13:53:47 +0100 Subject: [PATCH 046/138] update README --- README.md | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 97cfdca8a..d5f1377d0 100644 --- a/README.md +++ b/README.md @@ -71,25 +71,6 @@ cd ./rococo-local zombienet --provider native config-zombienet.json ``` -### Use testing runtime - -In the case of starting a testnet using the `polkadot-launch` tool, -we don't have an option to communicate to its internal commands that we would like to use the testing runtime. -To overcome this limitation, rename the binary so it starts with the `testing` prefix, e.g. `testing-hydradx`. -Such a binary always uses the testing runtime, even if the `--runtime testing` option is not specified. - -Start local testnet with testing runtime -``` -cd ./rococo-local -polkadot-launch testing-config.json -``` - -Start local testnet with testing runtime using Zombienet -``` -cd ./rococo-local -zombienet --provider native testing-config-zombienet.json -``` - ### Interaction with the node Go to the polkadot apps at https://dotapps.io @@ -195,14 +176,12 @@ However, if the difference < 0 - your machine might not suitable to run HydraDX ### Testing of storage migrations and runtime upgrades The `try-runtime` tool can be used to test storage migrations and runtime upgrades against state from a real chain. -Run the following command to test against the state on HydraDX -```bash -cargo run --release --features=try-runtime try-runtime --no-spec-name-check on-runtime-upgrade live --uri wss://rpc.hydradx.cloud:443 -``` -or against HydraDX testnet on Rococo +Run the following command to test against the state on HydraDX. +Don't forget to use a runtime built with `try-runtime` feature. ```bash -cargo run --release --features=try-runtime try-runtime --no-spec-name-check on-runtime-upgrade live --uri wss://rococo-hydradx-rpc.hydration.dev:443 +try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri --uri wss://rpc.hydradx.cloud:443 ``` +or against HydraDX testnet on Rococo using `--uri wss://rococo-hydradx-rpc.hydration.dev:443` ### Honorable contributions [@apopiak](https://github.com/apopiak) for great reviews [#87](https://github.com/galacticcouncil/HydraDX-node/pull/87) and support. From 6ace867623fcdc260a418e249b9d8dfea8115698 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 16 Nov 2023 13:54:42 +0100 Subject: [PATCH 047/138] update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e9c541072..a98181b8a 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ format: .PHONY: try-runtime try-runtime: - cargo run --release --features=try-runtime --bin hydradx try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks live --uri wss://rpc.hydradx.cloud:443 + try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri --uri wss://rpc.hydradx.cloud:443 .PHONY: build-docs build-docs: From de617a9ca6a43e5b351aec478d46abf98bc46103 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 17 Nov 2023 11:49:37 +0100 Subject: [PATCH 048/138] adjust xcmp weights params --- runtime/hydradx/src/weights/xcmp_queue.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 865605e74..7ae95c00e 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -70,16 +70,16 @@ impl WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - fn service_deferred() -> Weight { + fn service_deferred(m: u32, b: u32) -> Weight { Weight::zero() } - fn discard_deferred_bucket() -> Weight { + fn discard_deferred_bucket(m: u32) -> Weight { Weight::zero() } - fn discard_deferred_individual() -> Weight { + fn discard_deferred_individual(m: u32) -> Weight { Weight::zero() } - fn try_place_in_deferred_queue() -> Weight { + fn try_place_in_deferred_queue(m: u32) -> Weight { Weight::zero() } } From 8195504493289ab2ca93f03334e515a2bd25432a Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 17 Nov 2023 11:49:56 +0100 Subject: [PATCH 049/138] adjust max deferred messages --- runtime/hydradx/src/xcm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 4e0e8b006..d7bcfe673 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -151,7 +151,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type PriceForSiblingDelivery = (); type WeightInfo = weights::xcmp_queue::HydraWeight; type ExecuteDeferredOrigin = EnsureRoot; - type MaxDeferredMessages = ConstU32<30>; + type MaxDeferredMessages = ConstU32<20>; type MaxDeferredBuckets = ConstU32<1_000>; type MaxBucketsProcessed = ConstU32<5>; type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; From a38de082429e2aa49ff3fc5af47fdde70a97586a Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 17 Nov 2023 12:40:32 +0100 Subject: [PATCH 050/138] update xcmp queue --- Cargo.lock | 544 +++++++++++----------- runtime/hydradx/src/weights/xcmp_queue.rs | 2 +- 2 files changed, 273 insertions(+), 273 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 857faa9e4..6b8ea135c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -889,7 +889,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "hash-db", "log", @@ -1985,7 +1985,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "clap 4.4.7", "parity-scale-codec", @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2024,7 +2024,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2066,7 +2066,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2095,7 +2095,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "anyhow", "async-trait", @@ -2110,7 +2110,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2157,7 +2157,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2192,7 +2192,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2210,7 +2210,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2257,7 +2257,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2268,7 +2268,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2284,7 +2284,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2320,7 +2320,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2337,7 +2337,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2360,7 +2360,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "futures", @@ -2373,7 +2373,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2391,7 +2391,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2415,7 +2415,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2433,7 +2433,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "async-trait", @@ -2468,7 +2468,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2506,7 +2506,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3366,7 +3366,7 @@ dependencies = [ [[package]] name = "fflonk" version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#e141d4b6f42fb481aefe1b479788694945b6940d" +source = "git+https://github.com/w3f/fflonk#1beb0585e1c8488956fac7f05da061f9b41e8948" dependencies = [ "ark-ec", "ark-ff", @@ -3480,7 +3480,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", ] @@ -3503,7 +3503,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-support-procedural", @@ -3528,7 +3528,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "Inflector", "array-bytes", @@ -3576,7 +3576,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3587,7 +3587,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3604,7 +3604,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -3634,7 +3634,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-recursion", "futures", @@ -3656,7 +3656,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3696,7 +3696,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "Inflector", "cfg-expr", @@ -3714,7 +3714,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -3726,7 +3726,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "proc-macro2", "quote", @@ -3736,7 +3736,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cfg-if", "frame-support", @@ -3755,7 +3755,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -3770,7 +3770,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "sp-api", @@ -3779,7 +3779,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "parity-scale-codec", @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "polkadot-primitives", @@ -6163,7 +6163,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "log", @@ -6182,7 +6182,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "anyhow", "jsonrpsee 0.16.3", @@ -6853,7 +6853,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -6871,7 +6871,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -6887,7 +6887,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -6904,7 +6904,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -6920,7 +6920,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -6934,7 +6934,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -6958,7 +6958,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "aquamarine", "docify", @@ -6980,7 +6980,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -6995,7 +6995,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -7015,7 +7015,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7064,7 +7064,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7082,7 +7082,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7172,7 +7172,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7191,7 +7191,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7208,7 +7208,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7282,7 +7282,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7363,7 +7363,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7386,7 +7386,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7400,7 +7400,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7442,7 +7442,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "docify", "frame-benchmarking", @@ -7479,7 +7479,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7502,7 +7502,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7518,7 +7518,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7538,7 +7538,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7605,7 +7605,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7622,7 +7622,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7641,7 +7641,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7659,7 +7659,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7695,7 +7695,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7711,7 +7711,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -7730,7 +7730,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7750,7 +7750,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7761,7 +7761,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -7778,7 +7778,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7879,7 +7879,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7896,7 +7896,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7911,7 +7911,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7929,7 +7929,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -7944,7 +7944,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8001,7 +8001,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "docify", "frame-benchmarking", @@ -8019,7 +8019,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -8041,7 +8041,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8058,7 +8058,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8124,7 +8124,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8147,7 +8147,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8158,7 +8158,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "log", "sp-arithmetic", @@ -8167,7 +8167,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "sp-api", @@ -8176,7 +8176,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8193,7 +8193,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8208,7 +8208,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8227,7 +8227,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8289,7 +8289,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -8305,7 +8305,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8321,7 +8321,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8333,7 +8333,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8350,7 +8350,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8365,7 +8365,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8381,7 +8381,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8396,7 +8396,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8411,7 +8411,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8432,7 +8432,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-benchmarking", "frame-support", @@ -8504,7 +8504,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8518,7 +8518,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -8906,7 +8906,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "futures-timer", @@ -8924,7 +8924,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "always-assert", "futures", @@ -8940,7 +8940,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "derive_more", "fatality", @@ -8963,7 +8963,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "fatality", "futures", @@ -8984,7 +8984,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "1.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "clap 4.4.7", "frame-benchmarking-cli", @@ -9011,7 +9011,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "fatality", @@ -9033,7 +9033,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "scale-info", @@ -9045,7 +9045,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "derive_more", "fatality", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9084,7 +9084,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "futures-timer", @@ -9105,7 +9105,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "always-assert", "async-trait", @@ -9128,7 +9128,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "parity-scale-codec", @@ -9146,7 +9146,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "derive_more", @@ -9175,7 +9175,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "futures", @@ -9197,7 +9197,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "fatality", @@ -9216,7 +9216,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9231,7 +9231,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -9252,7 +9252,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "polkadot-node-metrics", @@ -9267,7 +9267,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "futures-timer", @@ -9284,7 +9284,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "fatality", "futures", @@ -9303,7 +9303,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -9320,7 +9320,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "fatality", @@ -9337,7 +9337,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "fatality", @@ -9354,7 +9354,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "always-assert", "futures", @@ -9382,7 +9382,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "polkadot-node-primitives", @@ -9398,7 +9398,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cpu-time", "futures", @@ -9421,7 +9421,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "libc", @@ -9444,7 +9444,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "polkadot-node-metrics", @@ -9459,7 +9459,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "lazy_static", "log", @@ -9477,7 +9477,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bs58 0.5.0", "futures", @@ -9496,7 +9496,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-channel", "async-trait", @@ -9520,7 +9520,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bounded-vec", "futures", @@ -9542,7 +9542,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9552,7 +9552,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "derive_more", @@ -9576,7 +9576,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "derive_more", @@ -9609,7 +9609,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -9632,7 +9632,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bounded-collections", "derive_more", @@ -9649,7 +9649,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "env_logger 0.9.3", "log", @@ -9667,7 +9667,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -9693,7 +9693,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "jsonrpsee 0.16.3", "mmr-rpc", @@ -9725,7 +9725,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "frame-benchmarking", @@ -9822,7 +9822,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitvec", "frame-benchmarking", @@ -9868,7 +9868,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "polkadot-primitives", @@ -9882,7 +9882,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -9895,7 +9895,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -9941,7 +9941,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "frame-benchmarking", @@ -10060,7 +10060,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10084,7 +10084,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10905,7 +10905,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -10993,7 +10993,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "polkadot-primitives", @@ -11393,7 +11393,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "log", "sp-core", @@ -11404,7 +11404,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -11432,7 +11432,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "futures-timer", @@ -11455,7 +11455,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11470,7 +11470,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11489,7 +11489,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11500,7 +11500,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "chrono", @@ -11539,7 +11539,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "fnv", "futures", @@ -11565,7 +11565,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "hash-db", "kvdb", @@ -11591,7 +11591,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -11616,7 +11616,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -11645,7 +11645,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "fork-tree", @@ -11681,7 +11681,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11703,7 +11703,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "async-channel", @@ -11737,7 +11737,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11756,7 +11756,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11769,7 +11769,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "ahash 0.8.6", "array-bytes", @@ -11810,7 +11810,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "finality-grandpa", "futures", @@ -11830,7 +11830,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -11853,7 +11853,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -11875,7 +11875,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -11887,7 +11887,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "anyhow", "cfg-if", @@ -11904,7 +11904,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "ansi_term", "futures", @@ -11920,7 +11920,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -11934,7 +11934,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "async-channel", @@ -11975,7 +11975,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-channel", "cid", @@ -11995,7 +11995,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12012,7 +12012,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "ahash 0.8.6", "futures", @@ -12030,7 +12030,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "async-channel", @@ -12051,7 +12051,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "async-channel", @@ -12085,7 +12085,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "futures", @@ -12103,7 +12103,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "bytes", @@ -12137,7 +12137,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12146,7 +12146,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -12177,7 +12177,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12196,7 +12196,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -12211,7 +12211,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "futures", @@ -12239,7 +12239,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "directories", @@ -12303,7 +12303,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "log", "parity-scale-codec", @@ -12314,7 +12314,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "clap 4.4.7", "fs4", @@ -12328,7 +12328,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12347,7 +12347,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "libc", @@ -12366,7 +12366,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "chrono", "futures", @@ -12385,7 +12385,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "ansi_term", "atty", @@ -12414,7 +12414,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12425,7 +12425,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -12451,7 +12451,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -12467,7 +12467,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-channel", "futures", @@ -12912,7 +12912,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "enumn", "parity-scale-codec", @@ -13106,7 +13106,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "hash-db", "log", @@ -13127,7 +13127,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "Inflector", "blake2", @@ -13141,7 +13141,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "scale-info", @@ -13154,7 +13154,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "integer-sqrt", "num-traits", @@ -13168,7 +13168,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "scale-info", @@ -13181,7 +13181,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "sp-api", "sp-inherents", @@ -13192,7 +13192,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "futures", "log", @@ -13210,7 +13210,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "futures", @@ -13225,7 +13225,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "parity-scale-codec", @@ -13242,7 +13242,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "parity-scale-codec", @@ -13261,7 +13261,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13280,7 +13280,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "finality-grandpa", "log", @@ -13298,7 +13298,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "scale-info", @@ -13310,7 +13310,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -13357,7 +13357,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "blake2b_simd", "byteorder", @@ -13370,7 +13370,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "quote", "sp-core-hashing", @@ -13380,7 +13380,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13389,7 +13389,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "proc-macro2", "quote", @@ -13399,7 +13399,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "environmental", "parity-scale-codec", @@ -13410,7 +13410,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "serde_json", "sp-api", @@ -13421,7 +13421,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13435,7 +13435,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bytes", "ed25519-dalek", @@ -13459,7 +13459,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "lazy_static", "sp-core", @@ -13470,7 +13470,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -13482,7 +13482,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13491,7 +13491,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13502,7 +13502,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13520,7 +13520,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "scale-info", @@ -13534,7 +13534,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "sp-api", "sp-core", @@ -13544,7 +13544,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "backtrace", "lazy_static", @@ -13554,7 +13554,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "rustc-hash", "serde", @@ -13564,7 +13564,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "either", "hash256-std-hasher", @@ -13586,7 +13586,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13622,7 +13622,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "Inflector", "proc-macro-crate", @@ -13646,7 +13646,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "scale-info", @@ -13661,7 +13661,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -13675,7 +13675,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "hash-db", "log", @@ -13696,7 +13696,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.1.1", @@ -13720,12 +13720,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13738,7 +13738,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "parity-scale-codec", @@ -13751,7 +13751,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "sp-std", @@ -13763,7 +13763,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "sp-api", "sp-runtime", @@ -13772,7 +13772,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "parity-scale-codec", @@ -13787,7 +13787,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "ahash 0.8.6", "hash-db", @@ -13810,7 +13810,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13827,7 +13827,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13838,7 +13838,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -13864,7 +13864,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "parity-scale-codec", "scale-info", @@ -13943,7 +13943,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14049,7 +14049,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "bounded-collections", "derivative", @@ -14066,7 +14066,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "frame-system", @@ -14088,7 +14088,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "environmental", "frame-benchmarking", @@ -14221,12 +14221,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14245,7 +14245,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "hyper", "log", @@ -14257,7 +14257,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -14270,7 +14270,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -14287,7 +14287,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "ansi_term", "build-helper", @@ -14878,7 +14878,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "coarsetime", "polkadot-node-jaeger", @@ -14890,7 +14890,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -15020,7 +15020,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "async-trait", "clap 4.4.7", @@ -15941,7 +15941,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16040,7 +16040,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "frame-support", "polkadot-primitives", @@ -16367,7 +16367,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -16399,7 +16399,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#1eefd403e332c63d0d208d6af240a59c1b084454" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=apopiak/xcmp-pov-benchmarking#56886c476ccf25d3637b113006ef4f5ff1de2493" dependencies = [ "Inflector", "proc-macro2", diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 7ae95c00e..dd7d89859 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -70,7 +70,7 @@ impl WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - fn service_deferred(m: u32, b: u32) -> Weight { + fn service_deferred(b: u32) -> Weight { Weight::zero() } fn discard_deferred_bucket(m: u32) -> Weight { From 03028671b8d353602e633a7b22f8103ea47c75e9 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 17 Nov 2023 12:43:07 +0100 Subject: [PATCH 051/138] mark params as unused to make clippy happy --- runtime/hydradx/src/weights/xcmp_queue.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index dd7d89859..deed3ed65 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -70,16 +70,16 @@ impl WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - fn service_deferred(b: u32) -> Weight { + fn service_deferred(_b: u32) -> Weight { Weight::zero() } - fn discard_deferred_bucket(m: u32) -> Weight { + fn discard_deferred_bucket(_m: u32) -> Weight { Weight::zero() } - fn discard_deferred_individual(m: u32) -> Weight { + fn discard_deferred_individual(_m: u32) -> Weight { Weight::zero() } - fn try_place_in_deferred_queue(m: u32) -> Weight { + fn try_place_in_deferred_queue(_m: u32) -> Weight { Weight::zero() } } From e3dd35e552c7a835f18c465b8ebf1a8a2e0b0fe1 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 17 Nov 2023 13:08:44 +0100 Subject: [PATCH 052/138] add updated xcmp queue weights --- runtime/hydradx/src/weights/xcmp_queue.rs | 153 ++++++++++++++++------ 1 file changed, 110 insertions(+), 43 deletions(-) diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index deed3ed65..2485b1213 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -15,71 +15,138 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for cumulus_pallet_xcmp_queue +//! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-11-17, STEPS: `20`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=cumulus-pallet-xcmp-queue +// --chain=dev +// --steps=20 +// --repeat=30 // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=cumulus_pallet_xcmp_queue +// --output=xcmp_queue.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// xcmp_queue.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; -use cumulus_pallet_xcmp_queue::weights::WeightInfo; - -/// Weights for cumulus_pallet_xcmp_queue using the hydraDX node and recommended hardware. +/// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - // Storage: XcmpQueue QueueConfig (r:1 w:1) - // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) +impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWeight { + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { - // Minimum execution time: 7_729 nanoseconds. - Weight::from_parts(8_046_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `1627` + // Minimum execution time: 8_204_000 picoseconds. + Weight::from_parts(8_399_000, 1627) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: XcmpQueue QueueConfig (r:1 w:1) - // Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_weight() -> Weight { - // Minimum execution time: 7_991 nanoseconds. - Weight::from_parts(8_303_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `1627` + // Minimum execution time: 8_407_000 picoseconds. + Weight::from_parts(8_612_000, 1627) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - fn service_deferred(_b: u32) -> Weight { - Weight::zero() + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::QueueSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::QueueSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeferredQueueSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::DeferredQueueSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeferredIndices` (r:1 w:1) + /// Proof: `XcmpQueue::DeferredIndices` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:5 w:5) + /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::CounterForOverweight` (r:1 w:1) + /// Proof: `XcmpQueue::CounterForOverweight` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OverweightCount` (r:1 w:1) + /// Proof: `XcmpQueue::OverweightCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::Overweight` (r:100 w:100) + /// Proof: `XcmpQueue::Overweight` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[1, 5]`. + fn service_deferred(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6279 + b * (324355 ±0)` + // Estimated: `9744 + b * (373855 ±0)` + // Minimum execution time: 33_468_003_000 picoseconds. + Weight::from_parts(33_584_855_000, 9744) + // Standard Error: 292_376_788 + .saturating_add(Weight::from_parts(22_851_834_746, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads((21_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((21_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 373855).saturating_mul(b.into())) } - fn discard_deferred_bucket(_m: u32) -> Weight { - Weight::zero() + /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:1 w:1) + /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[1, 20]`. + fn discard_deferred_bucket(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `252 + m * (16216 ±0)` + // Estimated: `3717 + m * (16216 ±0)` + // Minimum execution time: 1_287_457_000 picoseconds. + Weight::from_parts(232_204_798, 3717) + // Standard Error: 239_085 + .saturating_add(Weight::from_parts(1_114_837_193, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 16216).saturating_mul(m.into())) } - fn discard_deferred_individual(_m: u32) -> Weight { - Weight::zero() + /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:1 w:1) + /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[1, 20]`. + fn discard_deferred_individual(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `252 + m * (16216 ±0)` + // Estimated: `3717 + m * (16216 ±0)` + // Minimum execution time: 1_334_412_000 picoseconds. + Weight::from_parts(83_478_858, 3717) + // Standard Error: 229_819 + .saturating_add(Weight::from_parts(1_242_440_660, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 16216).saturating_mul(m.into())) } - fn try_place_in_deferred_queue(_m: u32) -> Weight { - Weight::zero() + /// Storage: `XcmpQueue::DeferredIndices` (r:1 w:1) + /// Proof: `XcmpQueue::DeferredIndices` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:1 w:1) + /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[1, 20]`. + fn try_place_in_deferred_queue(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + m * (16216 ±0)` + // Estimated: `9724 + m * (15030 ±36)` + // Minimum execution time: 109_834_000 picoseconds. + Weight::from_parts(131_284_524, 9724) + // Standard Error: 140_265 + .saturating_add(Weight::from_parts(6_742_816, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 15030).saturating_mul(m.into())) } -} +} \ No newline at end of file From c44c307dadafdfb6fe3920161fa9c1d93fdd1e16 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 20 Nov 2023 01:03:45 +0100 Subject: [PATCH 053/138] remove commented out lines --- Cargo.toml | 219 ------------------ integration-tests/Cargo.toml | 1 - integration-tests/src/polkadot_test_net.rs | 10 +- node/src/service.rs | 99 +------- runtime/hydradx/src/evm/mod.rs | 8 +- runtime/hydradx/src/evm/precompiles/mod.rs | 7 +- .../hydradx/src/evm/precompiles/substrate.rs | 6 +- runtime/hydradx/src/lib.rs | 3 +- runtime/hydradx/src/migrations.rs | 2 +- 9 files changed, 27 insertions(+), 328 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 09af1ecbc..901d6a631 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -253,30 +253,18 @@ xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-s xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -# [patch."https://github.com/paritytech/polkadot"] // TODO kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# xcm-builder = { packege = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -# xcm-executor = { packege = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } @@ -407,13 +395,11 @@ polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } @@ -429,209 +415,6 @@ cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkad cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#[patch."https://github.com/PureStake/polkadot-sdk"] -#frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-election-provider-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0", default-features = false } -#frame-support-procedural = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-support-procedural-tools = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-support-procedural-tools-derive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-bounties = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-child-bounties = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-democracy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-election-provider-multi-phase = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-indices = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-membership = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-mmr = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-nomination-pools-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-offences = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-session-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-society = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-staking-reward-curve = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-staking-reward-fn = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-bags-list = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-consensus-babe-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-consensus-epochs = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-consensus-slots = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-executor-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-executor-wasmtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-informant = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-network-gossip = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-network-light = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-rpc-server = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-sync-state-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-storage-monitor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-application-crypto = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-consensus-slots = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-debug-derive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-weights = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-keyring = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-maybe-compressed-blob = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-mmr-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#substrate-state-trie-migration-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -# -#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#kusama-runtime-constants = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -##polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-network-bridge = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-node-core-av-store = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-runtime-constants = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -# -#cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -#cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk.git", branch = "hydradx-fork-v1.1.0" } -# -## Cargo patch rules for all the PureStake/open-runtime-module-library crates -#[patch."https://github.com/PureStake/open-runtime-module-library"] -#orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0" } -#orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0" } -#orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0" } -#orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0" } - -#[patch."https://github.com/moonbean-foundation/polkadot-sdk"] -#sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0", default-features = false } - - - - - - - - - - - - - - [patch."https://github.com/moonbeam-foundation/polkadot-sdk"] frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } @@ -761,13 +544,11 @@ polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -#polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 6dce0f16e..23b36b594 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -126,7 +126,6 @@ polkadot-runtime = { workspace = true, features = ["try-runtime"] } [dev-dependencies] hex-literal = "0.4.1" pretty_assertions = "1.2.1" -pallet-relaychain-info = { workspace = true } xcm-emulator = { workspace = true } [features] diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index a31ae8023..d6eb74b12 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -16,16 +16,16 @@ pub use primitives::{constants::chain::CORE_ASSET_ID, AssetId, Balance, Moment}; use cumulus_primitives_core::ParaId; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; pub use frame_system::pallet_prelude::BlockNumberFor; -pub use polkadot_primitives::v5::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; -use polkadot_runtime_parachains::configuration::HostConfiguration; -use sp_core::storage::Storage; -pub use xcm_emulator::Network; -use xcm_emulator::{decl_test_networks, decl_test_parachains, decl_test_relay_chains, DefaultMessageProcessor}; use hex_literal::hex; use hydradx_runtime::evm::WETH_ASSET_LOCATION; use hydradx_runtime::RuntimeOrigin; use pallet_evm::AddressMapping; +pub use polkadot_primitives::v5::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; +use polkadot_runtime_parachains::configuration::HostConfiguration; +use sp_core::storage::Storage; use sp_core::H160; +pub use xcm_emulator::Network; +use xcm_emulator::{decl_test_networks, decl_test_parachains, decl_test_relay_chains, DefaultMessageProcessor}; pub const ALICE: [u8; 32] = [4u8; 32]; pub const BOB: [u8; 32] = [5u8; 32]; diff --git a/node/src/service.rs b/node/src/service.rs index b5aec8d89..0134431a1 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -41,6 +41,10 @@ use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; // Substrate Imports +use fc_db::Backend as FrontierBackend; +use fc_rpc::{EthBlockDataCacheTask, OverrideHandle}; +use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; +use fp_rpc::{ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; use sc_client_api::Backend; use sc_consensus::ImportQueue; use sc_executor::{HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; @@ -50,33 +54,11 @@ use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, Ta use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_keystore::KeystorePtr; +use std::{collections::BTreeMap, sync::Mutex}; use substrate_prometheus_endpoint::Registry; -// ======= -// use cumulus_primitives_core::{CollectCollationInfo, ParaId}; -// use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain; -// use cumulus_relay_chain_interface::{RelayChainInterface, RelayChainResult}; -// use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node; -use fc_db::Backend as FrontierBackend; -use fc_rpc::{EthBlockDataCacheTask, OverrideHandle}; -use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; -use fp_rpc::{ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; -// use polkadot_service::CollatorPair; -// use primitives::{AccountId, Balance, Block, Index}; -// use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch, NativeVersion}; -// use sc_network::NetworkService; -// use sc_network_common::service::NetworkBlock; -// use sc_rpc::SubscriptionTaskExecutor; -// use sc_rpc_api::DenyUnsafe; -// use sp_api::ConstructRuntimeApi; -// use sp_keystore::SyncCryptoStorePtr; -use std::{ - collections::BTreeMap, - sync::Mutex, -}; pub(crate) mod evm; use crate::rpc; -// >>>>>>> master /// Native executor type. pub struct HydraDXNativeExecutor; @@ -101,51 +83,6 @@ type ParachainBackend = TFullBackend; type ParachainBlockImport = TParachainBlockImport, ParachainBackend>; -// /// Build the import queue for the parachain runtime. -// pub fn parachain_build_import_queue( -// client: Arc>, -// backend: Arc, -// config: &Configuration, -// telemetry: Option, -// task_manager: &TaskManager, -// ) -> Result, sc_service::Error> -// where -// RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, -// RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue -// + sp_api::ApiExt -// + sp_block_builder::BlockBuilder -// + frame_system_rpc_runtime_api::AccountNonceApi -// + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi -// + sp_api::Metadata -// + sp_offchain::OffchainWorkerApi -// + sp_session::SessionKeys -// + sp_consensus_aura::AuraApi, -// Executor: NativeExecutionDispatch + 'static, -// { -// let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; -// -// cumulus_client_consensus_aura::import_queue::( -// cumulus_client_consensus_aura::ImportQueueParams { -// block_import: ParachainBlockImport::new(client.clone(), backend.clone()), -// client: client.clone(), -// create_inherent_data_providers: move |_, _| async move { -// let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); -// -// let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( -// *timestamp, -// slot_duration, -// ); -// -// Ok((slot, timestamp)) -// }, -// registry: config.prometheus_registry().clone(), -// spawner: &task_manager.spawn_essential_handle(), -// telemetry, -// }, -// ) -// .map_err(Into::into) -// } - /// Starts a `ServiceBuilder` for a full service. /// /// Use this macro if you don't actually need the full service, but just the builder in order to @@ -263,29 +200,6 @@ pub fn new_partial( }) } -// /// Build a relay chain interface. -// /// Will return a minimal relay chain node with RPC -// /// client or an inprocess node, based on the [`CollatorOptions`] passed in. -// async fn build_relay_chain_interface( -// polkadot_config: Configuration, -// parachain_config: &Configuration, -// telemetry_worker_handle: Option, -// task_manager: &mut TaskManager, -// collator_options: CollatorOptions, -// ) -> RelayChainResult<(Arc<(dyn RelayChainInterface + 'static)>, Option)> { -// if let cumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) = collator_options.relay_chain_mode { -// build_minimal_relay_chain_node_with_rpc(polkadot_config, task_manager, rpc_target_urls).await -// } else { -// build_inprocess_relay_chain( -// polkadot_config, -// parachain_config, -// telemetry_worker_handle, -// task_manager, -// None, -// ) -// } -// } - /// Start a node with the given parachain `Configuration` and relay chain `Configuration`. /// /// This is the actual implementation that is abstract over the executor and the runtime api. @@ -301,7 +215,8 @@ async fn start_node_impl( let parachain_config = prepare_node_config(parachain_config); let params = new_partial(¶chain_config)?; - let (block_import, mut telemetry, telemetry_worker_handle, frontier_backend, filter_pool, fee_history_cache) = params.other; + let (block_import, mut telemetry, telemetry_worker_handle, frontier_backend, filter_pool, fee_history_cache) = + params.other; let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); let client = params.client.clone(); diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 97679dadb..669ed1509 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -140,10 +140,10 @@ impl pallet_evm::Config for crate::Runtime { type RuntimeEvent = crate::RuntimeEvent; type WeightPerGas = WeightPerGas; type WithdrawOrigin = EnsureAddressTruncated; - type GasLimitPovSizeRatio = GasLimitPovSizeRatio; // TODO: clow - type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; // TODO: clow - type Timestamp = crate::Timestamp; // TODO: clow - type WeightInfo = (); // TODO: clow + type GasLimitPovSizeRatio = GasLimitPovSizeRatio; // TODO: clow + type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; // TODO: clow + type Timestamp = crate::Timestamp; // TODO: clow + type WeightInfo = (); // TODO: clow } impl pallet_evm_chain_id::Config for crate::Runtime {} diff --git a/runtime/hydradx/src/evm/precompiles/mod.rs b/runtime/hydradx/src/evm/precompiles/mod.rs index f833743a6..30da45154 100644 --- a/runtime/hydradx/src/evm/precompiles/mod.rs +++ b/runtime/hydradx/src/evm/precompiles/mod.rs @@ -24,8 +24,11 @@ use core::marker::PhantomData; use crate::evm::precompiles::{erc20_mapping::is_asset_address, multicurrency::MultiCurrencyPrecompile}; use codec::Decode; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; +use pallet_evm::{ + ExitError, ExitRevert, ExitSucceed, IsPrecompileResult, Precompile, PrecompileFailure, PrecompileHandle, + PrecompileOutput, PrecompileResult, PrecompileSet, +}; use sp_runtime::traits::Dispatchable; -use pallet_evm::{ExitError, ExitRevert, ExitSucceed, IsPrecompileResult, Precompile, PrecompileFailure, PrecompileHandle, PrecompileOutput, PrecompileResult, PrecompileSet}; use codec::alloc; use ethabi::Token; @@ -101,7 +104,7 @@ where let is_precompile = address == DISPATCH_ADDR || is_asset_address(address); IsPrecompileResult::Answer { is_precompile, - extra_cost: remaining_gas + extra_cost: remaining_gas, } } } diff --git a/runtime/hydradx/src/evm/precompiles/substrate.rs b/runtime/hydradx/src/evm/precompiles/substrate.rs index f07331021..effcf5d38 100644 --- a/runtime/hydradx/src/evm/precompiles/substrate.rs +++ b/runtime/hydradx/src/evm/precompiles/substrate.rs @@ -29,9 +29,9 @@ use { core::marker::PhantomData, frame_support::{ dispatch::{GetDispatchInfo, PostDispatchInfo}, + sp_runtime::traits::Dispatchable, traits::Get, weights::Weight, - sp_runtime::traits::Dispatchable, }, pallet_evm::GasWeightMapping, pallet_evm::{ExitError, PrecompileFailure, PrecompileHandle}, @@ -96,7 +96,7 @@ where pub fn db_write_gas_cost() -> u64 { ::GasWeightMapping::weight_to_gas(Weight::from_parts( ::DbWeight::get().write, - 0 + 0, )) } @@ -104,7 +104,7 @@ where pub fn db_read_gas_cost() -> u64 { ::GasWeightMapping::weight_to_gas(Weight::from_parts( ::DbWeight::get().read, - 0 + 0, )) } } diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 9fde90eae..75000986b 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -49,7 +49,8 @@ use sp_core::{ConstU128, Get, OpaqueMetadata, H160, H256, U256}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdConversion, BlakeTwo256, Block as BlockT, Dispatchable, DispatchInfoOf, PostDispatchInfoOf, UniqueSaturatedInto, + AccountIdConversion, BlakeTwo256, Block as BlockT, DispatchInfoOf, Dispatchable, PostDispatchInfoOf, + UniqueSaturatedInto, }, transaction_validity::{TransactionSource, TransactionValidity, TransactionValidityError}, ApplyExtrinsicResult, Permill, diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 89bff0ec7..716d72d5f 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -1,8 +1,8 @@ use crate::Runtime; use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; +use pallet_evm_chain_id::ChainId; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; -use pallet_evm_chain_id::ChainId; pub struct OnRuntimeUpgradeMigration; From d4c0307669e2b4a0088b3939f221b114173b91ff Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Mon, 20 Nov 2023 13:55:32 +0100 Subject: [PATCH 054/138] add todos --- integration-tests/src/lib.rs | 2 ++ runtime/hydradx/src/weights/xcmp_queue.rs | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/integration-tests/src/lib.rs b/integration-tests/src/lib.rs index d5772fb39..e5c59e0e4 100644 --- a/integration-tests/src/lib.rs +++ b/integration-tests/src/lib.rs @@ -20,3 +20,5 @@ mod staking; mod transact_call_filter; mod vesting; mod xyk; + +// TODO: add xcmp integration test \ No newline at end of file diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 2485b1213..738faab1d 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -149,4 +149,17 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 15030).saturating_mul(m.into())) } +} + + +// TODO: make this an integration test +#[test] +fn xcmp_weights() { + use cumulus_pallet_xcmp_queue::WeightInfo; + dbg!(HydraWeight::::try_place_in_deferred_queue(5)); + // TODO: takes a lot of weight, decide whether to reduce max_processed to 1 or 3 (priority to + // executing 1 deferred queue vs several) + dbg!(HydraWeight::::service_deferred(5)); + dbg!(crate::ReservedXcmpWeight::get()); + assert!(false); } \ No newline at end of file From 427b8a0ed9695cc3cac6a5d74424d639b752428e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 20 Nov 2023 19:03:03 +0100 Subject: [PATCH 055/138] fix the client --- Cargo.lock | 5 +-- integration-tests/Cargo.toml | 3 +- node/Cargo.toml | 1 + node/src/chain_spec/mod.rs | 1 + node/src/command.rs | 2 +- node/src/rpc.rs | 50 ++++++++++++++++++++++++++--- node/src/service.rs | 50 +++++++++++++++++++---------- node/src/service/evm.rs | 62 +++++++++++++++++------------------- 8 files changed, 117 insertions(+), 57 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 85f1a813e..ef47900d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4841,6 +4841,7 @@ dependencies = [ "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", + "cumulus-test-relay-sproof-builder", "fc-consensus", "fc-db", "fc-mapping-sync", @@ -15839,9 +15840,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.5.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" +checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" dependencies = [ "getrandom 0.2.11", ] diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 23b36b594..5d7956b14 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -121,7 +121,7 @@ sc-consensus-grandpa = { workspace = true } polkadot-primitives = { workspace = true } polkadot-service = { workspace = true, features = ["full-node"] } polkadot-runtime-parachains = { workspace = true } -polkadot-runtime = { workspace = true, features = ["try-runtime"] } +polkadot-runtime = { workspace = true } [dev-dependencies] hex-literal = "0.4.1" @@ -162,6 +162,7 @@ std = [ "pallet-transaction-multi-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-utility/std", + "pallet-im-online/std", "pallet-currencies/std", "sp-api/std", "sp-authority-discovery/std", diff --git a/node/Cargo.toml b/node/Cargo.toml index f3e6430ee..43de1c59f 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -93,6 +93,7 @@ cumulus-primitives-parachain-inherent = { workspace = true } cumulus-relay-chain-interface = { workspace = true } cumulus-relay-chain-inprocess-interface = { workspace = true } cumulus-relay-chain-minimal-node = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true } # Polkadot dependencies polkadot-cli = { workspace = true } diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index a89359aeb..c97288136 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -188,6 +188,7 @@ pub fn parachain_genesis( omnipool_liquidity_mining: Default::default(), evm_chain_id: hydradx_runtime::EVMChainIdConfig { chain_id: 222_222u32.into(), + ..Default::default() }, ethereum: Default::default(), evm: Default::default(), diff --git a/node/src/command.rs b/node/src/command.rs index 9d1b38487..f2d599381 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -322,7 +322,7 @@ pub fn run() -> sc_cli::Result<()> { if config.role.is_authority() { "yes" } else { "no" } ); - crate::service::start_node(config, polkadot_config, collator_options, id, hwbench) + crate::service::start_node(config, polkadot_config, cli.ethereum_config, collator_options, id, hwbench) .await .map(|r| r.0) .map_err(Into::into) diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 2e35b7e18..a48b6cbb8 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -21,19 +21,24 @@ use std::sync::Arc; -use fc_db::Backend as FrontierBackend; +use fc_db::kv::Backend as FrontierBackend; pub use fc_rpc::{ EthBlockDataCacheTask, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, SchemaV3Override, StorageOverride, }; pub use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::{ConvertTransaction, ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; +use fc_rpc::pending::ConsensusDataProvider; +use cumulus_primitives_core::PersistedValidationData; +use cumulus_primitives_parachain_inherent::ParachainInherentData; +use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; use hydradx_runtime::{opaque::Block, AccountId, Balance, Index}; use sc_client_api::{ backend::{Backend, StateBackend, StorageProvider}, client::BlockchainEvents, }; use sc_network::NetworkService; +use sc_network_sync::SyncingService; use sc_rpc::SubscriptionTaskExecutor; pub use sc_rpc_api::DenyUnsafe; use sc_transaction_pool::{ChainApi, Pool}; @@ -70,6 +75,8 @@ pub struct Deps { pub enable_dev_signer: bool, /// Network service pub network: Arc>, + /// Chain syncing service + pub sync: Arc>, /// Frontier Backend. pub frontier_backend: Arc>, /// Ethereum data access overrides. @@ -124,6 +131,11 @@ pub fn create( mut io: RpcExtension, deps: Deps, subscription_task_executor: SubscriptionTaskExecutor, + pubsub_notification_sinks: Arc< + fc_mapping_sync::EthereumBlockNotificationSinks< + fc_mapping_sync::EthereumBlockNotification, + >, + >, ) -> Result> where B: BlockT, @@ -151,6 +163,7 @@ where is_authority, enable_dev_signer, network, + sync, frontier_backend, overrides, block_data_cache, @@ -166,13 +179,36 @@ where signers.push(Box::new(EthDevSigner::new()) as Box); } + let pending_create_inherent_data_providers = move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + // Create a dummy parachain inherent data provider which is required to pass + // the checks by the para chain system. We use dummy values because in the 'pending context' + // neither do we have access to the real values nor do we need them. + let (relay_parent_storage_root, relay_chain_state) = + RelayStateSproofBuilder::default().into_state_root_and_proof(); + let vfp = PersistedValidationData { + // This is a hack to make `cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases` + // happy. Relay parent number can't be bigger than u32::MAX. + relay_parent_number: u32::MAX, + relay_parent_storage_root, + ..Default::default() + }; + let parachain_inherent_data = ParachainInherentData { + validation_data: vfp, + relay_chain_state: relay_chain_state, + downward_messages: Default::default(), + horizontal_messages: Default::default(), + }; + Ok((timestamp, parachain_inherent_data)) + }; + io.merge( Eth::new( client.clone(), pool.clone(), - graph, + graph.clone(), converter, - network.clone(), + sync.clone(), vec![], overrides.clone(), frontier_backend.clone(), @@ -181,6 +217,9 @@ where fee_history_cache, fee_history_cache_limit, execute_gas_limit_multiplier, + None, + pending_create_inherent_data_providers, + None, ) .into_rpc(), )?; @@ -189,6 +228,7 @@ where EthFilter::new( client.clone(), frontier_backend, + graph, filter_pool, 500_usize, // max stored filters max_past_logs, @@ -201,9 +241,10 @@ where EthPubSub::new( pool, client.clone(), - network.clone(), + sync.clone(), subscription_task_executor, overrides, + pubsub_notification_sinks.clone(), ) .into_rpc(), )?; @@ -233,6 +274,7 @@ impl Clone for Deps { is_authority: self.is_authority, enable_dev_signer: self.enable_dev_signer, network: self.network.clone(), + sync: self.sync.clone(), frontier_backend: self.frontier_backend.clone(), overrides: self.overrides.clone(), block_data_cache: self.block_data_cache.clone(), diff --git a/node/src/service.rs b/node/src/service.rs index 0134431a1..1051fbfd9 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -41,7 +41,7 @@ use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; // Substrate Imports -use fc_db::Backend as FrontierBackend; +use fc_db::kv::Backend as FrontierBackend; use fc_rpc::{EthBlockDataCacheTask, OverrideHandle}; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; use fp_rpc::{ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; @@ -97,7 +97,7 @@ pub fn new_partial( sc_consensus::DefaultImportQueue, sc_transaction_pool::FullPool, ( - ParachainBlockImport, + evm::BlockImport, Option, Option, Arc>, @@ -166,7 +166,6 @@ pub fn new_partial( let block_import = evm::BlockImport::new( ParachainBlockImport::new(client.clone(), backend.clone()), client.clone(), - frontier_backend, ); let import_queue = build_import_queue( @@ -284,16 +283,30 @@ async fn start_node_impl( prometheus_registry.clone(), )); + // Sinks for pubsub notifications. + // Everytime a new subscription is created, a new mpsc channel is added to the sink pool. + // The MappingSyncWorker sends through the channel on block import and the subscription emits a + // notification to the subscriber on receiving a message through this channel. + // This way we avoid race conditions when using native substrate block import notification + // stream. + let pubsub_notification_sinks: fc_mapping_sync::EthereumBlockNotificationSinks< + fc_mapping_sync::EthereumBlockNotification, + > = Default::default(); + let pubsub_notification_sinks = Arc::new(pubsub_notification_sinks); + let rpc_builder = { let client = client.clone(); + let is_authority = parachain_config.role.is_authority(); let transaction_pool = transaction_pool.clone(); let network = network.clone(); + let sync = sync_service.clone(); let frontier_backend = frontier_backend.clone(); let fee_history_cache = fee_history_cache.clone(); let filter_pool = filter_pool.clone(); let overrides = overrides.clone(); + let pubsub_notification_sinks = pubsub_notification_sinks.clone(); - Box::new(move |deny_unsafe, _| { + Box::new(move |deny_unsafe, subscription_task_executor| { let deps = crate::rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), @@ -302,23 +315,24 @@ async fn start_node_impl( let module = rpc::create_full(deps)?; let eth_deps = rpc::Deps { - client, + client: client.clone(), pool: transaction_pool.clone(), graph: transaction_pool.pool().clone(), converter: Some(hydradx_runtime::TransactionConverter), is_authority, enable_dev_signer: ethereum_config.enable_dev_signer, - network, - frontier_backend, - overrides, - block_data_cache, - filter_pool, + network: network.clone(), + sync: sync.clone(), + frontier_backend: frontier_backend.clone(), + overrides: overrides.clone(), + block_data_cache: block_data_cache.clone(), + filter_pool: filter_pool.clone(), max_past_logs: ethereum_config.max_past_logs, - fee_history_cache, + fee_history_cache: fee_history_cache.clone(), fee_history_cache_limit: ethereum_config.fee_history_limit, execute_gas_limit_multiplier: ethereum_config.execute_gas_limit_multiplier, }; - rpc::create(module, eth_deps, subscription_task_executor).map_err(Into::into) + rpc::create(module, eth_deps, subscription_task_executor, pubsub_notification_sinks.clone()).map_err(Into::into) }) }; @@ -329,7 +343,7 @@ async fn start_node_impl( task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), - backend, + backend: backend.clone(), network: network.clone(), sync_service: sync_service.clone(), system_rpc_tx, @@ -337,7 +351,7 @@ async fn start_node_impl( telemetry: telemetry.as_mut(), })?; - evm::spawn_frontier_tasks::( + evm::spawn_frontier_tasks( &task_manager, client.clone(), backend.clone(), @@ -346,6 +360,8 @@ async fn start_node_impl( overrides, fee_history_cache.clone(), ethereum_config.fee_history_limit, + sync_service.clone(), + pubsub_notification_sinks, ); if let Some(hwbench) = hwbench { @@ -425,7 +441,7 @@ async fn start_node_impl( /// Build the import queue for the parachain runtime. fn build_import_queue( client: Arc, - block_import: ParachainBlockImport, + block_import: evm::BlockImport, config: &Configuration, telemetry: Option, task_manager: &TaskManager, @@ -457,7 +473,7 @@ fn build_import_queue( fn start_consensus( client: Arc, - block_import: ParachainBlockImport, + block_import: evm::BlockImport, prometheus_registry: Option<&Registry>, telemetry: Option, task_manager: &TaskManager, @@ -528,5 +544,5 @@ pub async fn start_node( para_id: ParaId, hwbench: Option, ) -> sc_service::error::Result<(TaskManager, Arc)> { - start_node_impl(parachain_config, polkadot_config, collator_options, para_id, hwbench).await + start_node_impl(parachain_config, polkadot_config, ethereum_config, collator_options, para_id, hwbench).await } diff --git a/node/src/service/evm.rs b/node/src/service/evm.rs index 321c90221..f7953884e 100644 --- a/node/src/service/evm.rs +++ b/node/src/service/evm.rs @@ -28,12 +28,12 @@ use std::{ use crate::service::{ rpc::{RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, SchemaV3Override, StorageOverride}, - FullClient, + ParachainClient, }; use cumulus_client_consensus_common::ParachainBlockImportMarker; use fc_consensus::FrontierBlockImport; -use fc_db::Backend as FrontierBackend; -use fc_mapping_sync::{MappingSyncWorker, SyncStrategy}; +use fc_db::kv::Backend as FrontierBackend; +use fc_mapping_sync::{kv::MappingSyncWorker, SyncStrategy}; use fc_rpc::{EthTask, OverrideHandle}; use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::EthereumRuntimeRPCApi; @@ -45,9 +45,10 @@ use sc_cli::SubstrateCli; use sc_client_api::{backend::AuxStore, Backend, BlockOf, BlockchainEvents, StateBackend, StorageProvider}; use sc_consensus::{BlockCheckParams, BlockImport as BlockImportT, BlockImportParams, ImportResult}; use sc_service::{BasePath, Configuration, TFullBackend, TaskManager}; +use sc_network_sync::SyncingService; use sp_api::{ConstructRuntimeApi, ProvideRuntimeApi}; use sp_block_builder::BlockBuilder as BlockBuilderApi; -use sp_blockchain::{well_known_cache_keys::Id as CacheKeyId, Error as BlockchainError, HeaderBackend, HeaderMetadata}; +use sp_blockchain::{Error as BlockchainError, HeaderBackend, HeaderMetadata}; use sp_consensus::Error as ConsensusError; use sp_core::H256; use sp_runtime::traits::{BlakeTwo256, Block as BlockT}; @@ -83,20 +84,25 @@ pub struct EthereumConfig { pub type Hash = sp_core::H256; -#[derive(Clone)] pub struct BlockImport, C>(FrontierBlockImport); impl BlockImport where B: BlockT, - I: BlockImportT> + Send + Sync, + I: BlockImportT + Send + Sync, I::Error: Into, C: ProvideRuntimeApi + Send + Sync + HeaderBackend + AuxStore + BlockOf, C::Api: EthereumRuntimeRPCApi, C::Api: BlockBuilderApi, { - pub fn new(inner: I, client: Arc, backend: Arc>) -> Self { - Self(FrontierBlockImport::new(inner, client, backend)) + pub fn new(inner: I, client: Arc) -> Self { + Self(FrontierBlockImport::new(inner, client)) + } +} + +impl + Clone, C> Clone for BlockImport { + fn clone(&self) -> Self { + BlockImport(self.0.clone()) } } @@ -104,14 +110,13 @@ where impl BlockImportT for BlockImport where B: BlockT, - I: BlockImportT> + Send + Sync, + I: BlockImportT + Send + Sync, I::Error: Into, C: ProvideRuntimeApi + Send + Sync + HeaderBackend + AuxStore + BlockOf, C::Api: EthereumRuntimeRPCApi, C::Api: BlockBuilderApi, { type Error = ConsensusError; - type Transaction = sp_api::TransactionFor; async fn check_block(&mut self, block: BlockCheckParams) -> Result { self.0.check_block(block).await @@ -119,44 +124,34 @@ where async fn import_block( &mut self, - block: BlockImportParams, - new_cache: HashMap>, + block: BlockImportParams, ) -> Result { - self.0.import_block(block, new_cache).await + self.0.import_block(block).await } } impl, C> ParachainBlockImportMarker for BlockImport {} pub fn db_config_dir(config: &Configuration) -> PathBuf { - config - .base_path - .as_ref() - .map(|base_path| base_path.config_dir(config.chain_spec.id())) - .unwrap_or_else(|| BasePath::from_project("", "", &Cli::executable_name()).config_dir(config.chain_spec.id())) + config.base_path.config_dir(config.chain_spec.id()) } -pub fn spawn_frontier_tasks( +pub fn spawn_frontier_tasks( task_manager: &TaskManager, - client: Arc>, + client: Arc, backend: Arc>, frontier_backend: Arc>, filter_pool: FilterPool, overrides: Arc>, fee_history_cache: FeeHistoryCache, fee_history_cache_limit: FeeHistoryCacheLimit, -) where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::Metadata - + sp_session::SessionKeys - + sp_api::ApiExt, Block>> - + sp_offchain::OffchainWorkerApi - + sp_block_builder::BlockBuilder - + cumulus_primitives_core::CollectCollationInfo - + fp_rpc::EthereumRuntimeRPCApi, - Executor: sc_executor::NativeExecutionDispatch + 'static, -{ + sync: Arc>, + pubsub_notification_sinks: Arc< + fc_mapping_sync::EthereumBlockNotificationSinks< + fc_mapping_sync::EthereumBlockNotification, + >, + >, +) { task_manager.spawn_essential_handle().spawn( "frontier-mapping-sync-worker", None, @@ -165,10 +160,13 @@ pub fn spawn_frontier_tasks( Duration::new(6, 0), client.clone(), backend, + overrides.clone(), frontier_backend, 3, 0, SyncStrategy::Parachain, + sync, + pubsub_notification_sinks, ) .for_each(|()| future::ready(())), ); From 554ff41123433425e45b45db6e72668a20facd68 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 21 Nov 2023 01:14:19 +0100 Subject: [PATCH 056/138] fix clippy --- Cargo.lock | 4 ++-- integration-tests/Cargo.toml | 3 +++ integration-tests/src/evm.rs | 13 ++++++++++--- integration-tests/src/polkadot_test_net.rs | 2 +- node/Cargo.toml | 2 +- node/src/rpc.rs | 7 +++---- node/src/service.rs | 12 +----------- node/src/service/evm.rs | 10 +++------- runtime/hydradx/Cargo.toml | 6 ++---- 9 files changed, 26 insertions(+), 33 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ef47900d6..a0d9ea181 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4233,9 +4233,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "2.10.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5fd9bcbe8b1087cbd395b51498c01bc997cef73e778a80b77a811af5e2d29f" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" dependencies = [ "autocfg", ] diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 5d7956b14..8758854fe 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -199,3 +199,6 @@ runtime-benchmarks = [ "hydradx-runtime/runtime-benchmarks", "polkadot-runtime/runtime-benchmarks", ] +try-runtime = [ + "polkadot-runtime/try-runtime", +] diff --git a/integration-tests/src/evm.rs b/integration-tests/src/evm.rs index f0ec3f306..9e20285b0 100644 --- a/integration-tests/src/evm.rs +++ b/integration-tests/src/evm.rs @@ -2,7 +2,7 @@ use crate::{assert_balance, polkadot_test_net::*}; use fp_evm::{Context, Transfer}; -use frame_support::{assert_ok, codec::Encode, dispatch::GetDispatchInfo, traits::Contains}; +use frame_support::{assert_ok, sp_runtime::codec::Encode, dispatch::GetDispatchInfo, traits::Contains}; use frame_system::RawOrigin; use hex_literal::hex; use hydradx_runtime::{ @@ -734,11 +734,10 @@ pub fn init_omnipol() { AccountId::from(ALICE), )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), hydradx_runtime::Treasury::account_id(), TREASURY_ACCOUNT_INIT_BALANCE, - 0, )); } @@ -791,6 +790,14 @@ impl PrecompileHandle for MockHandle { Ok(()) } + fn record_external_cost(&mut self, _ref_time: Option, _proof_size: Option, _storage_growth: Option) -> Result<(), ExitError> { + unimplemented!() + } + + fn refund_external_cost(&mut self, _ref_time: Option, _proof_size: Option) { + unimplemented!() + } + fn remaining_gas(&self) -> u64 { unimplemented!() } diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index d6eb74b12..f1c552080 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -534,7 +534,7 @@ pub fn expect_hydra_events(e: Vec) { } pub fn set_relaychain_block_number(number: BlockNumber) { - use hydradx_runtime::{ParachainSystem, RuntimeOrigin}; + use hydradx_runtime::ParachainSystem; // We need to set block number this way as well because tarpaulin code coverage tool does not like the way // how we set the block number with `cumulus-test-relay-sproof-builder` package diff --git a/node/Cargo.toml b/node/Cargo.toml index 43de1c59f..6be816d20 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -29,7 +29,7 @@ futures = "0.3.21" async-trait = "0.1" # local dependencies -hydradx-runtime = { workspace = true } +hydradx-runtime = { workspace = true , features = ["std"] } primitives = { workspace = true } # Substrate dependencies diff --git a/node/src/rpc.rs b/node/src/rpc.rs index a48b6cbb8..328f2ec28 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -28,7 +28,6 @@ pub use fc_rpc::{ }; pub use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::{ConvertTransaction, ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; -use fc_rpc::pending::ConsensusDataProvider; use cumulus_primitives_core::PersistedValidationData; use cumulus_primitives_parachain_inherent::ParachainInherentData; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; @@ -195,7 +194,7 @@ where }; let parachain_inherent_data = ParachainInherentData { validation_data: vfp, - relay_chain_state: relay_chain_state, + relay_chain_state, downward_messages: Default::default(), horizontal_messages: Default::default(), }; @@ -241,10 +240,10 @@ where EthPubSub::new( pool, client.clone(), - sync.clone(), + sync, subscription_task_executor, overrides, - pubsub_notification_sinks.clone(), + pubsub_notification_sinks, ) .into_rpc(), )?; diff --git a/node/src/service.rs b/node/src/service.rs index 1051fbfd9..7483d66f5 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -19,17 +19,13 @@ #![allow(clippy::all)] -// std use std::{sync::Arc, time::Duration}; - -use cumulus_client_cli::CollatorOptions; -// Local Runtime Types use hydradx_runtime::{ opaque::{Block, Hash}, RuntimeApi, }; -// Cumulus Imports +use cumulus_client_cli::CollatorOptions; use cumulus_client_collator::service::CollatorService; use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; use cumulus_client_consensus_proposer::Proposer; @@ -40,11 +36,8 @@ use cumulus_client_service::{ use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; -// Substrate Imports use fc_db::kv::Backend as FrontierBackend; -use fc_rpc::{EthBlockDataCacheTask, OverrideHandle}; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; -use fp_rpc::{ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; use sc_client_api::Backend; use sc_consensus::ImportQueue; use sc_executor::{HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; @@ -174,7 +167,6 @@ pub fn new_partial( config, telemetry.as_ref().map(|telemetry| telemetry.handle()), &task_manager, - frontier_backend.clone(), )?; let filter_pool: FilterPool = Arc::new(Mutex::new(BTreeMap::new())); @@ -273,7 +265,6 @@ async fn start_node_impl( ); } - let rpc_client = client.clone(); let overrides = evm::overrides_handle(client.clone()); let block_data_cache = Arc::new(fc_rpc::EthBlockDataCacheTask::new( task_manager.spawn_handle(), @@ -445,7 +436,6 @@ fn build_import_queue( config: &Configuration, telemetry: Option, task_manager: &TaskManager, - frontier_backend: Arc>, ) -> Result, sc_service::Error> { let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; diff --git a/node/src/service/evm.rs b/node/src/service/evm.rs index f7953884e..5ddc7d628 100644 --- a/node/src/service/evm.rs +++ b/node/src/service/evm.rs @@ -20,7 +20,7 @@ // http://www.apache.org/licenses/LICENSE-2.0 use std::{ - collections::{BTreeMap, HashMap}, + collections::BTreeMap, path::PathBuf, sync::Arc, time::Duration, @@ -39,14 +39,12 @@ use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::EthereumRuntimeRPCApi; use fp_storage::EthereumStorageSchema; use futures::{future, StreamExt}; -use polkadot_cli::Cli; use primitives::Block; -use sc_cli::SubstrateCli; use sc_client_api::{backend::AuxStore, Backend, BlockOf, BlockchainEvents, StateBackend, StorageProvider}; use sc_consensus::{BlockCheckParams, BlockImport as BlockImportT, BlockImportParams, ImportResult}; -use sc_service::{BasePath, Configuration, TFullBackend, TaskManager}; +use sc_service::{Configuration, TFullBackend, TaskManager}; use sc_network_sync::SyncingService; -use sp_api::{ConstructRuntimeApi, ProvideRuntimeApi}; +use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder as BlockBuilderApi; use sp_blockchain::{Error as BlockchainError, HeaderBackend, HeaderMetadata}; use sp_consensus::Error as ConsensusError; @@ -82,8 +80,6 @@ pub struct EthereumConfig { pub eth_statuses_cache: usize, } -pub type Hash = sp_core::H256; - pub struct BlockImport, C>(FrontierBlockImport); impl BlockImport diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index f3efd30a6..4d7fe32b2 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -170,7 +170,6 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-asset-registry/runtime-benchmarks", - "pallet-xcm/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", @@ -281,6 +280,7 @@ std = [ "pallet-evm/std", "pallet-evm-chain-id/std", "pallet-evm-precompile-dispatch/std", +# "ethabi/std", ] try-runtime= [ "frame-try-runtime", @@ -328,13 +328,11 @@ try-runtime= [ "pallet-collator-rewards/try-runtime", "pallet-genesis-history/try-runtime", "pallet-claims/try-runtime", - "pallet-transaction-pause/try-runtime", "pallet-duster/try-runtime", "warehouse-liquidity-mining/try-runtime", "pallet-omnipool-liquidity-mining/try-runtime", "pallet-circuit-breaker/try-runtime", "pallet-xcm-rate-limiter/try-runtime", - "pallet-ema-oracle/try-runtime", "pallet-otc/try-runtime", "pallet-route-executor/try-runtime", "pallet-dynamic-fees/try-runtime", @@ -342,9 +340,9 @@ try-runtime= [ "pallet-bonds/try-runtime", "pallet-stableswap/try-runtime", "pallet-lbp/try-runtime", + "pallet-xyk/try-runtime", "fp-self-contained/try-runtime", "pallet-ethereum/try-runtime", "pallet-evm/try-runtime", "pallet-evm-chain-id/try-runtime", - "pallet-xyk/try-runtime", ] From 5f064d9c81b51460d755233a846a6e1ef786c106 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Tue, 21 Nov 2023 01:52:45 +0100 Subject: [PATCH 057/138] add weight tests for xcm defer and adjust max blocks processed --- integration-tests/src/lib.rs | 3 +- integration-tests/src/xcm_defer.rs | 61 +++++++++++++++++++++++ runtime/hydradx/src/weights/xcmp_queue.rs | 13 ----- runtime/hydradx/src/xcm.rs | 12 +++-- 4 files changed, 71 insertions(+), 18 deletions(-) create mode 100644 integration-tests/src/xcm_defer.rs diff --git a/integration-tests/src/lib.rs b/integration-tests/src/lib.rs index e5c59e0e4..39b100ff8 100644 --- a/integration-tests/src/lib.rs +++ b/integration-tests/src/lib.rs @@ -19,6 +19,5 @@ mod router; mod staking; mod transact_call_filter; mod vesting; +mod xcm_defer; mod xyk; - -// TODO: add xcmp integration test \ No newline at end of file diff --git a/integration-tests/src/xcm_defer.rs b/integration-tests/src/xcm_defer.rs new file mode 100644 index 000000000..f367b6d48 --- /dev/null +++ b/integration-tests/src/xcm_defer.rs @@ -0,0 +1,61 @@ +#![cfg(test)] +use crate::polkadot_test_net::*; + +use cumulus_pallet_xcmp_queue::WeightInfo; +use frame_support::{assert_noop, assert_ok}; + +use hydradx_runtime::weights::xcmp_queue::HydraWeight; +use hydradx_runtime::{MaxBucketsProcessed, MaxDeferredMessages, ReservedXcmpWeight}; +use hydradx_runtime::BlockWeights; + +#[test] +fn xcmp_operations_should_fit_in_weight_budget() { + assert!(HydraWeight::::try_place_in_deferred_queue(MaxDeferredMessages::get()).all_lte(ReservedXcmpWeight::get()), "placing in deferred queue should fit in weight budget"); + assert!(HydraWeight::::service_deferred(MaxBucketsProcessed::get()).all_lte(ReservedXcmpWeight::get()), "processing deferred queue should fit in weight budget"); + // We take half the block weight as an arbitrary upper number for a reasonable weight here. + let half_block = BlockWeights::get().max_block / 2; + assert!(HydraWeight::::discard_deferred_bucket(MaxDeferredMessages::get()).all_lte(half_block), "discarding deferred messages should fit in block weight budget"); + assert!(HydraWeight::::discard_deferred_individual(MaxDeferredMessages::get()).all_lte(half_block), "discarding deferred messages should fit in block weight budget"); +} + + +// #[test] +// fn hydra_should_receive_asset_when_transferred_from_polkadot_relay_chain() { +// //Arrange +// Hydra::execute_with(|| { +// assert_ok!(hydradx_runtime::AssetRegistry::set_location( +// hydradx_runtime::RuntimeOrigin::root(), +// 1, +// hydradx_runtime::AssetLocation(MultiLocation::parent()) +// )); +// }); + +// PolkadotRelay::execute_with(|| { +// //Act +// assert_ok!(polkadot_runtime::XcmPallet::reserve_transfer_assets( +// polkadot_runtime::RuntimeOrigin::signed(ALICE.into()), +// Box::new(Parachain(HYDRA_PARA_ID).into_versioned()), +// Box::new(Junction::AccountId32 { id: BOB, network: None }.into()), +// Box::new((Here, 300 * UNITS).into()), +// 0, +// )); + +// //Assert +// assert_eq!( +// polkadot_runtime::Balances::free_balance(&ParaId::from(HYDRA_PARA_ID).into_account_truncating()), +// 310 * UNITS +// ); +// }); + +// let fees = 401884032343; +// Hydra::execute_with(|| { +// assert_eq!( +// hydradx_runtime::Tokens::free_balance(1, &AccountId::from(BOB)), +// BOB_INITIAL_NATIVE_BALANCE + 300 * UNITS - fees +// ); +// assert_eq!( +// hydradx_runtime::Tokens::free_balance(1, &hydradx_runtime::Treasury::account_id()), +// fees +// ); +// }); +// } diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 738faab1d..d7f7ab3bf 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -150,16 +150,3 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei .saturating_add(Weight::from_parts(0, 15030).saturating_mul(m.into())) } } - - -// TODO: make this an integration test -#[test] -fn xcmp_weights() { - use cumulus_pallet_xcmp_queue::WeightInfo; - dbg!(HydraWeight::::try_place_in_deferred_queue(5)); - // TODO: takes a lot of weight, decide whether to reduce max_processed to 1 or 3 (priority to - // executing 1 deferred queue vs several) - dbg!(HydraWeight::::service_deferred(5)); - dbg!(crate::ReservedXcmpWeight::get()); - assert!(false); -} \ No newline at end of file diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index d7bcfe673..06cf48708 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -140,6 +140,12 @@ impl cumulus_pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; } +parameter_types! { + pub const MaxDeferredMessages: u32 = 20; + pub const MaxDeferredBuckets: u32 = 1_000; + pub const MaxBucketsProcessed: u32 = 3; +} + impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; @@ -151,9 +157,9 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type PriceForSiblingDelivery = (); type WeightInfo = weights::xcmp_queue::HydraWeight; type ExecuteDeferredOrigin = EnsureRoot; - type MaxDeferredMessages = ConstU32<20>; - type MaxDeferredBuckets = ConstU32<1_000>; - type MaxBucketsProcessed = ConstU32<5>; + type MaxDeferredMessages = MaxDeferredMessages; + type MaxDeferredBuckets = MaxDeferredBuckets; + type MaxBucketsProcessed = MaxBucketsProcessed; type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; type XcmDeferFilter = (); } From 2008b0fd4ea68188aca2bf36bbd293ccd6c87115 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Tue, 21 Nov 2023 01:55:08 +0100 Subject: [PATCH 058/138] remove commented code --- integration-tests/src/xcm_defer.rs | 42 ------------------------------ 1 file changed, 42 deletions(-) diff --git a/integration-tests/src/xcm_defer.rs b/integration-tests/src/xcm_defer.rs index f367b6d48..f0518d379 100644 --- a/integration-tests/src/xcm_defer.rs +++ b/integration-tests/src/xcm_defer.rs @@ -17,45 +17,3 @@ fn xcmp_operations_should_fit_in_weight_budget() { assert!(HydraWeight::::discard_deferred_bucket(MaxDeferredMessages::get()).all_lte(half_block), "discarding deferred messages should fit in block weight budget"); assert!(HydraWeight::::discard_deferred_individual(MaxDeferredMessages::get()).all_lte(half_block), "discarding deferred messages should fit in block weight budget"); } - - -// #[test] -// fn hydra_should_receive_asset_when_transferred_from_polkadot_relay_chain() { -// //Arrange -// Hydra::execute_with(|| { -// assert_ok!(hydradx_runtime::AssetRegistry::set_location( -// hydradx_runtime::RuntimeOrigin::root(), -// 1, -// hydradx_runtime::AssetLocation(MultiLocation::parent()) -// )); -// }); - -// PolkadotRelay::execute_with(|| { -// //Act -// assert_ok!(polkadot_runtime::XcmPallet::reserve_transfer_assets( -// polkadot_runtime::RuntimeOrigin::signed(ALICE.into()), -// Box::new(Parachain(HYDRA_PARA_ID).into_versioned()), -// Box::new(Junction::AccountId32 { id: BOB, network: None }.into()), -// Box::new((Here, 300 * UNITS).into()), -// 0, -// )); - -// //Assert -// assert_eq!( -// polkadot_runtime::Balances::free_balance(&ParaId::from(HYDRA_PARA_ID).into_account_truncating()), -// 310 * UNITS -// ); -// }); - -// let fees = 401884032343; -// Hydra::execute_with(|| { -// assert_eq!( -// hydradx_runtime::Tokens::free_balance(1, &AccountId::from(BOB)), -// BOB_INITIAL_NATIVE_BALANCE + 300 * UNITS - fees -// ); -// assert_eq!( -// hydradx_runtime::Tokens::free_balance(1, &hydradx_runtime::Treasury::account_id()), -// fees -// ); -// }); -// } From c920964095dbe7b0289b1b97f4c999f4dd9be14b Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Tue, 21 Nov 2023 01:55:35 +0100 Subject: [PATCH 059/138] formatting --- integration-tests/src/xcm_defer.rs | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/integration-tests/src/xcm_defer.rs b/integration-tests/src/xcm_defer.rs index f0518d379..c89f9e33f 100644 --- a/integration-tests/src/xcm_defer.rs +++ b/integration-tests/src/xcm_defer.rs @@ -5,15 +5,31 @@ use cumulus_pallet_xcmp_queue::WeightInfo; use frame_support::{assert_noop, assert_ok}; use hydradx_runtime::weights::xcmp_queue::HydraWeight; -use hydradx_runtime::{MaxBucketsProcessed, MaxDeferredMessages, ReservedXcmpWeight}; use hydradx_runtime::BlockWeights; +use hydradx_runtime::{MaxBucketsProcessed, MaxDeferredMessages, ReservedXcmpWeight}; #[test] fn xcmp_operations_should_fit_in_weight_budget() { - assert!(HydraWeight::::try_place_in_deferred_queue(MaxDeferredMessages::get()).all_lte(ReservedXcmpWeight::get()), "placing in deferred queue should fit in weight budget"); - assert!(HydraWeight::::service_deferred(MaxBucketsProcessed::get()).all_lte(ReservedXcmpWeight::get()), "processing deferred queue should fit in weight budget"); - // We take half the block weight as an arbitrary upper number for a reasonable weight here. - let half_block = BlockWeights::get().max_block / 2; - assert!(HydraWeight::::discard_deferred_bucket(MaxDeferredMessages::get()).all_lte(half_block), "discarding deferred messages should fit in block weight budget"); - assert!(HydraWeight::::discard_deferred_individual(MaxDeferredMessages::get()).all_lte(half_block), "discarding deferred messages should fit in block weight budget"); + assert!( + HydraWeight::::try_place_in_deferred_queue(MaxDeferredMessages::get()) + .all_lte(ReservedXcmpWeight::get()), + "placing in deferred queue should fit in weight budget" + ); + assert!( + HydraWeight::::service_deferred(MaxBucketsProcessed::get()) + .all_lte(ReservedXcmpWeight::get()), + "processing deferred queue should fit in weight budget" + ); + // We take half the block weight as an arbitrary upper number for a reasonable weight here. + let half_block = BlockWeights::get().max_block / 2; + assert!( + HydraWeight::::discard_deferred_bucket(MaxDeferredMessages::get()) + .all_lte(half_block), + "discarding deferred messages should fit in block weight budget" + ); + assert!( + HydraWeight::::discard_deferred_individual(MaxDeferredMessages::get()) + .all_lte(half_block), + "discarding deferred messages should fit in block weight budget" + ); } From f9fb9f7ce4425be2752b435f345c15f0528a385d Mon Sep 17 00:00:00 2001 From: dmoka Date: Tue, 21 Nov 2023 11:21:39 +0100 Subject: [PATCH 060/138] fix DCA tests as FEE has been changed, it became chaper with ~20% --- integration-tests/src/dca.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 5faef9cf8..f3180acc9 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -552,7 +552,7 @@ mod omnipool { let dca_budget = 1000 * UNITS; - assert_balance!(ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE); + assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance); let amount_in = 100 * UNITS; let no_route = vec![]; @@ -560,7 +560,7 @@ mod omnipool { schedule_fake_with_sell_order_with_route(ALICE.into(), dca_budget, HDX, DAI, amount_in, no_route); create_schedule(ALICE, schedule1); - assert_balance!(ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE - dca_budget); + assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance - dca_budget); assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE); assert_reserved_balance!(&ALICE.into(), HDX, dca_budget); assert_balance!(&Treasury::account_id(), HDX, TREASURY_ACCOUNT_INIT_BALANCE); @@ -571,7 +571,7 @@ mod omnipool { //Assert let fee = Currencies::free_balance(HDX, &Treasury::account_id()) - TREASURY_ACCOUNT_INIT_BALANCE; - assert_balance!(ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE - dca_budget); + assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance - dca_budget); assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE + 71214372591631); assert_reserved_balance!(&ALICE.into(), HDX, dca_budget - amount_in - fee); @@ -2452,7 +2452,7 @@ pub fn init_stableswap_with_three_assets_having_different_decimals( } fn assert_that_fee_is_correct(fee: Balance) { - //The fee is approximately 3795361512418, so we check if we are between 3.5 and 4 UNITS - assert!(fee > 35 / 10 * UNITS); - assert!(fee < 4 * UNITS); + //The fee is approximately 2969051508672, so we check if we are between 2.8 and 3.2 UNITS + assert!(fee > 28 * UNITS / 10); + assert!(fee < 32 * UNITS / 10); } From d6658afb8b904e15fece125edb360e7d19dc6720 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 21 Nov 2023 13:21:02 +0100 Subject: [PATCH 061/138] Update frontier git ref --- Cargo.lock | 34 +++++++++++++++++----------------- Cargo.toml | 30 +++++++++++++++--------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a0d9ea181..e57e4ef6b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3541,7 +3541,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "async-trait", "fp-consensus", @@ -3557,7 +3557,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "async-trait", "fp-storage", @@ -3575,7 +3575,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "fc-db", "fc-storage", @@ -3596,7 +3596,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "ethereum", "ethereum-types", @@ -3651,7 +3651,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "ethereum", "ethereum-types", @@ -3664,7 +3664,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "ethereum", "ethereum-types", @@ -3842,7 +3842,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "hex", "impl-serde", @@ -3861,7 +3861,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "ethereum", "parity-scale-codec", @@ -3873,7 +3873,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "ethereum", "ethereum-types", @@ -3887,7 +3887,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "evm 0.39.1", "frame-support", @@ -3902,7 +3902,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "ethereum", "ethereum-types", @@ -3919,7 +3919,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "frame-support", "parity-scale-codec", @@ -3931,7 +3931,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "parity-scale-codec", "serde", @@ -8010,7 +8010,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "environmental", "ethereum", @@ -8034,7 +8034,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "environmental", "evm 0.39.1", @@ -8059,7 +8059,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "frame-support", "frame-system", @@ -8071,7 +8071,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" dependencies = [ "fp-evm", "frame-support", diff --git a/Cargo.toml b/Cargo.toml index 901d6a631..9c8251dec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -218,21 +218,21 @@ parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # Frontier -fc-consensus = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-db = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-mapping-sync = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-rpc = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-rpc-core = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } - -fp-evm = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fp-rpc = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fp-self-contained = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fp-storage = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } - -pallet-ethereum = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -pallet-evm = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/PureStake/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } + +fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } + +pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } # EVM from acala module-evm-utility-macro = { path = "runtime/hydradx/src/evm/evm-utility/macro", default-features = false} From 39b992f9fa650a08d528c5da1966bdbef1528ac4 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 21 Nov 2023 13:44:37 +0100 Subject: [PATCH 062/138] fix some integration tests --- integration-tests/src/dynamic_fees.rs | 26 ++++++++++----------- integration-tests/src/non_native_fee.rs | 17 +------------- integration-tests/src/oracle.rs | 14 +---------- integration-tests/src/polkadot_test_net.rs | 27 +++++++++++++++------- 4 files changed, 34 insertions(+), 50 deletions(-) diff --git a/integration-tests/src/dynamic_fees.rs b/integration-tests/src/dynamic_fees.rs index 730163d99..43ccf24df 100644 --- a/integration-tests/src/dynamic_fees.rs +++ b/integration-tests/src/dynamic_fees.rs @@ -48,7 +48,7 @@ fn fees_should_initialize_lazily_to_min_value_when_first_trade_happens() { //Arrange init_omnipool(); init_oracle(); - hydradx_run_to_block(10); + hydradx_run_to_block(12); assert!(hydradx_runtime::DynamicFees::current_fees(HDX).is_none()); @@ -69,7 +69,7 @@ fn fees_should_initialize_lazily_to_min_value_when_first_trade_happens() { FeeEntry { asset_fee: asset_fee_params.min_fee, protocol_fee: Permill::from_float(0.000788_f64), - timestamp: 10_u32 + timestamp: 12_u32 } ); }); @@ -83,7 +83,7 @@ fn fees_should_initialize_lazily_to_min_value_when_first_buy_happens() { //Arrange init_omnipool(); init_oracle(); - hydradx_run_to_block(10); + hydradx_run_to_block(12); assert!(hydradx_runtime::DynamicFees::current_fees(HDX).is_none()); @@ -105,7 +105,7 @@ fn fees_should_initialize_lazily_to_min_value_when_first_buy_happens() { FeeEntry { asset_fee: asset_fee_params.min_fee, protocol_fee: Permill::from_float(0.000788_f64), - timestamp: 10_u32 + timestamp: 12_u32 } ); }); @@ -165,7 +165,7 @@ fn fees_should_change_when_sells_happen_in_different_blocks() { //Arrange init_omnipool(); init_oracle(); - hydradx_run_to_block(10); + hydradx_run_to_block(12); assert_ok!(hydradx_runtime::Omnipool::sell( hydradx_runtime::RuntimeOrigin::signed(DAVE.into()), @@ -178,7 +178,7 @@ fn fees_should_change_when_sells_happen_in_different_blocks() { let old_fees = hydradx_runtime::DynamicFees::current_fees(HDX).unwrap(); //Act - hydradx_run_to_block(11); + hydradx_run_to_block(13); assert_ok!(hydradx_runtime::Omnipool::sell( hydradx_runtime::RuntimeOrigin::signed(DAVE.into()), DOT, @@ -195,7 +195,7 @@ fn fees_should_change_when_sells_happen_in_different_blocks() { FeeEntry { asset_fee: Permill::from_float(0.0025_f64), protocol_fee: Permill::from_float(0.000926_f64), - timestamp: 11_u32 + timestamp: 13_u32 } ); }); @@ -209,7 +209,7 @@ fn fees_should_change_when_trades_happen_in_different_blocks() { //Arrange init_omnipool(); init_oracle(); - hydradx_run_to_block(10); + hydradx_run_to_block(12); assert_ok!(hydradx_runtime::Omnipool::sell( hydradx_runtime::RuntimeOrigin::signed(DAVE.into()), @@ -222,7 +222,7 @@ fn fees_should_change_when_trades_happen_in_different_blocks() { let old_fees = hydradx_runtime::DynamicFees::current_fees(HDX).unwrap(); //Act - hydradx_run_to_block(11); + hydradx_run_to_block(13); assert_ok!(hydradx_runtime::Omnipool::buy( hydradx_runtime::RuntimeOrigin::signed(DAVE.into()), DOT, @@ -239,7 +239,7 @@ fn fees_should_change_when_trades_happen_in_different_blocks() { FeeEntry { asset_fee: Permill::from_float(0.0025_f64), protocol_fee: Permill::from_float(0.000926_f64), - timestamp: 11_u32 + timestamp: 13_u32 } ); }); @@ -253,7 +253,7 @@ fn fees_should_change_only_one_when_trades_happen_in_the_same_block() { //Arrange init_omnipool(); init_oracle(); - hydradx_run_to_block(10); + hydradx_run_to_block(12); assert_ok!(hydradx_runtime::Omnipool::sell( hydradx_runtime::RuntimeOrigin::signed(DAVE.into()), @@ -267,7 +267,7 @@ fn fees_should_change_only_one_when_trades_happen_in_the_same_block() { set_balance(DAVE.into(), HDX, 1_000 * UNITS as i128); //Act & assert - hydradx_run_to_block(11); + hydradx_run_to_block(13); assert_ok!(hydradx_runtime::Omnipool::buy( hydradx_runtime::RuntimeOrigin::signed(DAVE.into()), DOT, @@ -283,7 +283,7 @@ fn fees_should_change_only_one_when_trades_happen_in_the_same_block() { FeeEntry { asset_fee: Permill::from_float(0.0025_f64), protocol_fee: Permill::from_float(0.000926_f64), - timestamp: 11_u32 + timestamp: 13_u32 } ); diff --git a/integration-tests/src/non_native_fee.rs b/integration-tests/src/non_native_fee.rs index d90351197..b5ba79d63 100644 --- a/integration-tests/src/non_native_fee.rs +++ b/integration-tests/src/non_native_fee.rs @@ -5,7 +5,6 @@ use frame_support::{ assert_ok, dispatch::DispatchInfo, sp_runtime::traits::SignedExtension, - traits::{OnFinalize, OnInitialize}, weights::Weight, }; use hydradx_runtime::{Balances, Currencies, MultiTransactionPayment, RuntimeOrigin, Tokens}; @@ -13,20 +12,6 @@ use orml_traits::currency::MultiCurrency; use primitives::Price; use xcm_emulator::TestExt; -pub fn hydra_run_to_block(to: BlockNumber) { - while hydradx_runtime::System::block_number() < to { - let b = hydradx_runtime::System::block_number(); - - hydradx_runtime::System::on_finalize(b); - hydradx_runtime::MultiTransactionPayment::on_finalize(b); - - hydradx_runtime::System::on_initialize(b + 1); - hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); - - hydradx_runtime::System::set_block_number(b + 1); - } -} - #[test] fn non_native_fee_payment_works_with_omnipool_spot_price() { TestNet::reset(); @@ -61,7 +46,7 @@ fn non_native_fee_payment_works_with_omnipool_spot_price() { init_omnipool(); - hydra_run_to_block(2); + hydradx_run_to_block(2); let call = hydradx_runtime::RuntimeCall::MultiTransactionPayment( pallet_transaction_multi_payment::Call::set_currency { currency: DAI }, diff --git a/integration-tests/src/oracle.rs b/integration-tests/src/oracle.rs index 7912d790e..df5835839 100644 --- a/integration-tests/src/oracle.rs +++ b/integration-tests/src/oracle.rs @@ -5,7 +5,7 @@ use crate::polkadot_test_net::*; use frame_support::{ assert_ok, sp_runtime::{FixedU128, Permill}, - traits::{tokens::fungibles::Mutate, OnFinalize, OnInitialize}, + traits::tokens::fungibles::Mutate, }; use hydradx_runtime::{EmaOracle, RuntimeOrigin}; use hydradx_traits::{ @@ -16,18 +16,6 @@ use pallet_ema_oracle::OracleError; use primitives::constants::chain::OMNIPOOL_SOURCE; use xcm_emulator::TestExt; -pub fn hydradx_run_to_next_block() { - let b = hydradx_runtime::System::block_number(); - - hydradx_runtime::System::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); - - hydradx_runtime::System::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); - - hydradx_runtime::System::set_block_number(b + 1); -} - const HDX: AssetId = CORE_ASSET_ID; const SUPPORTED_PERIODS: &[OraclePeriod] = &[LastBlock, Short, TenMinutes]; diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index f1c552080..a6f621051 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -560,18 +560,29 @@ pub fn set_relaychain_block_number(number: BlockNumber) { )); } -pub fn hydradx_run_to_block(to: BlockNumber) { +pub fn hydradx_run_to_next_block() { use frame_support::traits::OnFinalize; - while hydradx_runtime::System::block_number() < to { - let b = hydradx_runtime::System::block_number(); - hydradx_runtime::System::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); + let b = hydradx_runtime::System::block_number(); - hydradx_runtime::System::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); + hydradx_runtime::System::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); + hydradx_runtime::MultiTransactionPayment::on_finalize(b); - hydradx_runtime::System::set_block_number(b + 1); + hydradx_runtime::System::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); + hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); + + hydradx_runtime::System::set_block_number(b + 1); +} + +pub fn hydradx_run_to_block(to: BlockNumber) { + + let b = hydradx_runtime::System::block_number(); + assert!(b <= to, "the current block number {:?} is higher than expected.", b); + + while hydradx_runtime::System::block_number() < to { + hydradx_run_to_next_block(); } } From cd906ef224bab30d6719c757a9835515569d8fef Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 21 Nov 2023 14:39:17 +0100 Subject: [PATCH 063/138] fix EVM upgrade --- integration-tests/src/evm.rs | 17 ++-- node/src/rpc.rs | 10 +-- node/src/service.rs | 20 ++++- node/src/service/evm.rs | 18 +---- runtime/hydradx/src/evm/mod.rs | 27 ++++--- runtime/hydradx/src/evm/precompiles/mod.rs | 5 +- runtime/hydradx/src/lib.rs | 92 ++++++++++++++++------ 7 files changed, 121 insertions(+), 68 deletions(-) diff --git a/integration-tests/src/evm.rs b/integration-tests/src/evm.rs index 9e20285b0..1fa35088a 100644 --- a/integration-tests/src/evm.rs +++ b/integration-tests/src/evm.rs @@ -2,7 +2,7 @@ use crate::{assert_balance, polkadot_test_net::*}; use fp_evm::{Context, Transfer}; -use frame_support::{assert_ok, sp_runtime::codec::Encode, dispatch::GetDispatchInfo, traits::Contains}; +use frame_support::{assert_ok, dispatch::GetDispatchInfo, sp_runtime::codec::Encode, traits::Contains}; use frame_system::RawOrigin; use hex_literal::hex; use hydradx_runtime::{ @@ -746,7 +746,7 @@ pub fn init_omnipol() { const DISPATCH_ADDR: H160 = addr(1025); fn gas_price() -> U256 { - U256::from(10_u128.pow(8)) + U256::from(8 * 10_u128.pow(7)) } fn create_dispatch_handle(data: Vec) -> MockHandle { @@ -790,13 +790,16 @@ impl PrecompileHandle for MockHandle { Ok(()) } - fn record_external_cost(&mut self, _ref_time: Option, _proof_size: Option, _storage_growth: Option) -> Result<(), ExitError> { - unimplemented!() + fn record_external_cost( + &mut self, + _ref_time: Option, + _proof_size: Option, + _storage_growth: Option, + ) -> Result<(), ExitError> { + Ok(()) } - fn refund_external_cost(&mut self, _ref_time: Option, _proof_size: Option) { - unimplemented!() - } + fn refund_external_cost(&mut self, _ref_time: Option, _proof_size: Option) {} fn remaining_gas(&self) -> u64 { unimplemented!() diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 328f2ec28..463c9ae64 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -21,6 +21,9 @@ use std::sync::Arc; +use cumulus_primitives_core::PersistedValidationData; +use cumulus_primitives_parachain_inherent::ParachainInherentData; +use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; use fc_db::kv::Backend as FrontierBackend; pub use fc_rpc::{ EthBlockDataCacheTask, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, @@ -28,9 +31,6 @@ pub use fc_rpc::{ }; pub use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::{ConvertTransaction, ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; -use cumulus_primitives_core::PersistedValidationData; -use cumulus_primitives_parachain_inherent::ParachainInherentData; -use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; use hydradx_runtime::{opaque::Block, AccountId, Balance, Index}; use sc_client_api::{ backend::{Backend, StateBackend, StorageProvider}, @@ -131,9 +131,7 @@ pub fn create( deps: Deps, subscription_task_executor: SubscriptionTaskExecutor, pubsub_notification_sinks: Arc< - fc_mapping_sync::EthereumBlockNotificationSinks< - fc_mapping_sync::EthereumBlockNotification, - >, + fc_mapping_sync::EthereumBlockNotificationSinks>, >, ) -> Result> where diff --git a/node/src/service.rs b/node/src/service.rs index 7483d66f5..254a0c6ad 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -19,11 +19,11 @@ #![allow(clippy::all)] -use std::{sync::Arc, time::Duration}; use hydradx_runtime::{ opaque::{Block, Hash}, RuntimeApi, }; +use std::{sync::Arc, time::Duration}; use cumulus_client_cli::CollatorOptions; use cumulus_client_collator::service::CollatorService; @@ -323,7 +323,13 @@ async fn start_node_impl( fee_history_cache_limit: ethereum_config.fee_history_limit, execute_gas_limit_multiplier: ethereum_config.execute_gas_limit_multiplier, }; - rpc::create(module, eth_deps, subscription_task_executor, pubsub_notification_sinks.clone()).map_err(Into::into) + rpc::create( + module, + eth_deps, + subscription_task_executor, + pubsub_notification_sinks.clone(), + ) + .map_err(Into::into) }) }; @@ -534,5 +540,13 @@ pub async fn start_node( para_id: ParaId, hwbench: Option, ) -> sc_service::error::Result<(TaskManager, Arc)> { - start_node_impl(parachain_config, polkadot_config, ethereum_config, collator_options, para_id, hwbench).await + start_node_impl( + parachain_config, + polkadot_config, + ethereum_config, + collator_options, + para_id, + hwbench, + ) + .await } diff --git a/node/src/service/evm.rs b/node/src/service/evm.rs index 5ddc7d628..1556eef42 100644 --- a/node/src/service/evm.rs +++ b/node/src/service/evm.rs @@ -19,12 +19,7 @@ // you may not use this file except in compliance with the License. // http://www.apache.org/licenses/LICENSE-2.0 -use std::{ - collections::BTreeMap, - path::PathBuf, - sync::Arc, - time::Duration, -}; +use std::{collections::BTreeMap, path::PathBuf, sync::Arc, time::Duration}; use crate::service::{ rpc::{RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, SchemaV3Override, StorageOverride}, @@ -42,8 +37,8 @@ use futures::{future, StreamExt}; use primitives::Block; use sc_client_api::{backend::AuxStore, Backend, BlockOf, BlockchainEvents, StateBackend, StorageProvider}; use sc_consensus::{BlockCheckParams, BlockImport as BlockImportT, BlockImportParams, ImportResult}; -use sc_service::{Configuration, TFullBackend, TaskManager}; use sc_network_sync::SyncingService; +use sc_service::{Configuration, TFullBackend, TaskManager}; use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder as BlockBuilderApi; use sp_blockchain::{Error as BlockchainError, HeaderBackend, HeaderMetadata}; @@ -118,10 +113,7 @@ where self.0.check_block(block).await } - async fn import_block( - &mut self, - block: BlockImportParams, - ) -> Result { + async fn import_block(&mut self, block: BlockImportParams) -> Result { self.0.import_block(block).await } } @@ -143,9 +135,7 @@ pub fn spawn_frontier_tasks( fee_history_cache_limit: FeeHistoryCacheLimit, sync: Arc>, pubsub_notification_sinks: Arc< - fc_mapping_sync::EthereumBlockNotificationSinks< - fc_mapping_sync::EthereumBlockNotification, - >, + fc_mapping_sync::EthereumBlockNotificationSinks>, >, ) { task_manager.spawn_essential_handle().spawn( diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 669ed1509..13fa67f51 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -54,9 +54,9 @@ pub const GAS_PER_SECOND: u64 = 40_000_000; // Approximate ratio of the amount of Weight per Gas. const WEIGHT_PER_GAS: u64 = WEIGHT_REF_TIME_PER_SECOND / GAS_PER_SECOND; -// Fixed gas price of 0.1 gwei per gas +// Fixed gas price of 0.08 gwei per gas // pallet-base-fee to be implemented after migration to polkadot-v1.1.0 -const DEFAULT_BASE_FEE_PER_GAS: u128 = 100_000_000; +const DEFAULT_BASE_FEE_PER_GAS: u128 = 80_000_000; parameter_types! { // We allow for a 75% fullness of a 0.5s block @@ -118,8 +118,17 @@ impl FeeCalculator for FixedGasPrice { } parameter_types! { - pub GasLimitPovSizeRatio: u64 = 1; // TODO: clow - pub GasLimitStorageGrowthRatio: u64 = 1; // TODO: clow + /// Configuration values copied from Moonriver + /// + /// The amount of gas per pov. A ratio of 4 if we convert ref_time to gas and we compare + /// it with the pov_size for a block. E.g. + /// ceil( + /// (max_extrinsic.ref_time() / max_extrinsic.proof_size()) / WEIGHT_PER_GAS + /// ) + pub const GasLimitPovSizeRatio: u64 = 4; + /// The amount of gas per storage (in bytes): BLOCK_GAS_LIMIT / BLOCK_STORAGE_LIMIT + /// The current definition of BLOCK_STORAGE_LIMIT is 40 KB, resulting in a value of 366. + pub GasLimitStorageGrowthRatio: u64 = 366; } impl pallet_evm::Config for crate::Runtime { @@ -140,16 +149,16 @@ impl pallet_evm::Config for crate::Runtime { type RuntimeEvent = crate::RuntimeEvent; type WeightPerGas = WeightPerGas; type WithdrawOrigin = EnsureAddressTruncated; - type GasLimitPovSizeRatio = GasLimitPovSizeRatio; // TODO: clow - type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; // TODO: clow - type Timestamp = crate::Timestamp; // TODO: clow - type WeightInfo = (); // TODO: clow + type GasLimitPovSizeRatio = GasLimitPovSizeRatio; + type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; + type Timestamp = crate::Timestamp; + type WeightInfo = pallet_evm::weights::SubstrateWeight; } impl pallet_evm_chain_id::Config for crate::Runtime {} parameter_types! { - pub PostLogContent: pallet_ethereum::PostLogContent = pallet_ethereum::PostLogContent::BlockAndTxnHashes; // TODO: clow + pub PostLogContent: pallet_ethereum::PostLogContent = pallet_ethereum::PostLogContent::BlockAndTxnHashes; } impl pallet_ethereum::Config for crate::Runtime { diff --git a/runtime/hydradx/src/evm/precompiles/mod.rs b/runtime/hydradx/src/evm/precompiles/mod.rs index 30da45154..132fd4993 100644 --- a/runtime/hydradx/src/evm/precompiles/mod.rs +++ b/runtime/hydradx/src/evm/precompiles/mod.rs @@ -99,12 +99,11 @@ where } } - fn is_precompile(&self, address: H160, remaining_gas: u64) -> IsPrecompileResult { - // TODO: clow -> this method has new parameter and return value. Not sure what to do with remaining_gas + fn is_precompile(&self, address: H160, _remaining_gas: u64) -> IsPrecompileResult { let is_precompile = address == DISPATCH_ADDR || is_asset_address(address); IsPrecompileResult::Answer { is_precompile, - extra_cost: remaining_gas, + extra_cost: 0, } } } diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 75000986b..98f576f9f 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -43,6 +43,7 @@ pub use governance::*; pub use system::*; pub use xcm::*; +use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::Hooks; use codec::{Decode, Encode}; use sp_api::impl_runtime_apis; use sp_core::{ConstU128, Get, OpaqueMetadata, H160, H256, U256}; @@ -67,7 +68,7 @@ pub use hex_literal::hex; /// Import HydraDX pallets pub use pallet_claims; use pallet_ethereum::{Transaction as EthereumTransaction, TransactionStatus}; -use pallet_evm::{Account as EVMAccount, FeeCalculator, Runner}; +use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, Runner}; pub use primitives::{ AccountId, Amount, AssetId, Balance, BlockNumber, CollectionId, Hash, Index, ItemId, Price, Signature, }; @@ -412,20 +413,18 @@ impl_runtime_apis! { gas_price } - fn account_code_at(_address: H160) -> Vec { - // EVM::account_codes(address) - vec![] // TODO: clow + fn account_code_at(address: H160) -> Vec { + pallet_evm::AccountCodes::::get(address) } fn author() -> H160 { >::find_author() } - fn storage_at(_address: H160, _index: U256) -> H256 { - // let mut tmp = [0u8; 32]; - // index.to_big_endian(&mut tmp); - // EVM::account_storages(address, H256::from_slice(&tmp[..])) - H256::default() // TODO: clow + fn storage_at(address: H160, index: U256) -> H256 { + let mut tmp = [0u8; 32]; + index.to_big_endian(&mut tmp); + pallet_evm::AccountStorages::::get(address, H256::from_slice(&tmp[..])) } fn call( @@ -445,6 +444,44 @@ impl_runtime_apis! { let is_transactional = false; let validate = true; + + // Copied from Moonbeam + // + // Estimated encoded transaction size must be based on the heaviest transaction + // type (EIP1559Transaction) to be compatible with all transaction types. + let mut estimated_transaction_len = data.len() + + // pallet ethereum index: 1 + // transact call index: 1 + // Transaction enum variant: 1 + // chain_id 8 bytes + // nonce: 32 + // max_priority_fee_per_gas: 32 + // max_fee_per_gas: 32 + // gas_limit: 32 + // action: 21 (enum varianrt + call address) + // value: 32 + // access_list: 1 (empty vec size) + // 65 bytes signature + 258; + + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + + let gas_limit = gas_limit.min(u64::MAX.into()).low_u64(); + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; + ::Runner::call( from, to, @@ -457,8 +494,8 @@ impl_runtime_apis! { access_list.unwrap_or_default(), is_transactional, validate, - None, // TODO: clow - None, // TODO: clow + weight_limit, + proof_size_base_cost, &config, ) .map_err(|err| err.error.into()) @@ -481,18 +518,15 @@ impl_runtime_apis! { } fn current_transaction_statuses() -> Option> { - // Ethereum::current_transaction_statuses() - None // TODO: clow + pallet_ethereum::CurrentTransactionStatuses::::get() } fn current_block() -> Option { - // Ethereum::current_block() - None // TODO: clow + pallet_ethereum::CurrentBlock::::get() } fn current_receipts() -> Option> { - // Ethereum::current_receipts() - None // TODO: clow + pallet_ethereum::CurrentReceipts::::get() } fn current_all() -> ( @@ -501,12 +535,9 @@ impl_runtime_apis! { Option>, ) { ( - // Ethereum::current_block(), - // Ethereum::current_receipts(), - // Ethereum::current_transaction_statuses(), - None, // TODO: clow - None, // TODO: clow - None, // TODO: clow + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentReceipts::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get(), ) } @@ -526,10 +557,19 @@ impl_runtime_apis! { fn gas_limit_multiplier_support() {} fn pending_block( - _xts: Vec<::Extrinsic>, + xts: Vec<::Extrinsic>, ) -> (Option, Option>) { - (None, None) // TODO: clow - } + for ext in xts.into_iter() { + let _ = Executive::apply_extrinsic(ext); + } + + Ethereum::on_finalize(System::block_number() + 1); + + ( + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() + ) + } } impl fp_rpc::ConvertTransactionRuntimeApi for Runtime { From 89f9658c19f75466b3e39a5d79c188bf91546116 Mon Sep 17 00:00:00 2001 From: dmoka Date: Tue, 21 Nov 2023 14:51:22 +0100 Subject: [PATCH 064/138] fix test for total issuance --- integration-tests/src/evm.rs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/integration-tests/src/evm.rs b/integration-tests/src/evm.rs index 9e20285b0..b55394026 100644 --- a/integration-tests/src/evm.rs +++ b/integration-tests/src/evm.rs @@ -2,7 +2,7 @@ use crate::{assert_balance, polkadot_test_net::*}; use fp_evm::{Context, Transfer}; -use frame_support::{assert_ok, sp_runtime::codec::Encode, dispatch::GetDispatchInfo, traits::Contains}; +use frame_support::{assert_ok, dispatch::GetDispatchInfo, sp_runtime::codec::Encode, traits::Contains}; use frame_system::RawOrigin; use hex_literal::hex; use hydradx_runtime::{ @@ -235,9 +235,9 @@ mod currency_precompile { //Assert - // 950330588000000000 + // 950331588000000000 let expected_output = hex! {" - 00000000000000000000000000000000 00000000000000000D3040A27CED9800 + 00000000000000000000000000000000 00000000000000000D30418B5192A800 "}; assert_eq!( @@ -790,7 +790,12 @@ impl PrecompileHandle for MockHandle { Ok(()) } - fn record_external_cost(&mut self, _ref_time: Option, _proof_size: Option, _storage_growth: Option) -> Result<(), ExitError> { + fn record_external_cost( + &mut self, + _ref_time: Option, + _proof_size: Option, + _storage_growth: Option, + ) -> Result<(), ExitError> { unimplemented!() } From 9abbde9722f532fdc119811fd332fa2d0575473e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 21 Nov 2023 15:18:51 +0100 Subject: [PATCH 065/138] fix non native fee integration test --- integration-tests/src/non_native_fee.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/src/non_native_fee.rs b/integration-tests/src/non_native_fee.rs index b5ba79d63..082cca32a 100644 --- a/integration-tests/src/non_native_fee.rs +++ b/integration-tests/src/non_native_fee.rs @@ -46,7 +46,7 @@ fn non_native_fee_payment_works_with_omnipool_spot_price() { init_omnipool(); - hydradx_run_to_block(2); + hydradx_run_to_block(4); let call = hydradx_runtime::RuntimeCall::MultiTransactionPayment( pallet_transaction_multi_payment::Call::set_currency { currency: DAI }, @@ -62,7 +62,7 @@ fn non_native_fee_payment_works_with_omnipool_spot_price() { ); let dave_balance = hydradx_runtime::Tokens::free_balance(DAI, &AccountId::from(DAVE)); - assert_eq!(dave_balance, 999_991_799_671_574_511_701); //Omnipool spot price + assert_eq!(dave_balance, 999_992_364_637_822_103_501); //Omnipool spot price }); } From b5ca288a0ba1e7d8139c72c693e865c8a7700906 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 21 Nov 2023 15:20:52 +0100 Subject: [PATCH 066/138] formatting --- integration-tests/src/non_native_fee.rs | 7 +------ integration-tests/src/polkadot_test_net.rs | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/integration-tests/src/non_native_fee.rs b/integration-tests/src/non_native_fee.rs index 082cca32a..c21b27c87 100644 --- a/integration-tests/src/non_native_fee.rs +++ b/integration-tests/src/non_native_fee.rs @@ -1,12 +1,7 @@ #![cfg(test)] use crate::polkadot_test_net::*; -use frame_support::{ - assert_ok, - dispatch::DispatchInfo, - sp_runtime::traits::SignedExtension, - weights::Weight, -}; +use frame_support::{assert_ok, dispatch::DispatchInfo, sp_runtime::traits::SignedExtension, weights::Weight}; use hydradx_runtime::{Balances, Currencies, MultiTransactionPayment, RuntimeOrigin, Tokens}; use orml_traits::currency::MultiCurrency; use primitives::Price; diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index a6f621051..82cd9d9e0 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -577,7 +577,6 @@ pub fn hydradx_run_to_next_block() { } pub fn hydradx_run_to_block(to: BlockNumber) { - let b = hydradx_runtime::System::block_number(); assert!(b <= to, "the current block number {:?} is higher than expected.", b); From 91ea7a40e9896d855d163244dfee47c24c4f71af Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 22 Nov 2023 10:55:54 +0100 Subject: [PATCH 067/138] remove pallet xcm migration --- Makefile | 3 ++- README.md | 2 +- runtime/hydradx/src/migrations.rs | 5 ----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index a98181b8a..7bdab6f52 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,8 @@ format: .PHONY: try-runtime try-runtime: - try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri --uri wss://rpc.hydradx.cloud:443 + cargo build --release --features try-runtime + try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri wss://rpc.hydradx.cloud:443 .PHONY: build-docs build-docs: diff --git a/README.md b/README.md index 2021da775..00e69ba4d 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ The `try-runtime` tool can be used to test storage migrations and runtime upgrad Run the following command to test against the state on HydraDX. Don't forget to use a runtime built with `try-runtime` feature. ```bash -try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri --uri wss://rpc.hydradx.cloud:443 +try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri wss://rpc.hydradx.cloud:443 ``` or against HydraDX testnet on Rococo using `--uri wss://rococo-hydradx-rpc.hydration.dev:443` diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 716d72d5f..7d90bb15e 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -27,11 +27,6 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { weight = weight.saturating_add(orml_unknown_tokens::Migration::::on_runtime_upgrade()); log::info!("Migrate Unknown Tokens Pallet to v2 end"); - log::info!("Migrate XCM Pallet to v1 start"); - weight = weight - .saturating_add(pallet_xcm::migration::v1::VersionUncheckedMigrateToV1::::on_runtime_upgrade()); - log::info!("Migrate XCM Pallet to v1 end"); - let evm_id: u64 = 222_222u64; ChainId::::put(evm_id); weight = weight.saturating_add(::DbWeight::get().reads_writes(0, 1)); From 475a308d391b0ded532afa9a9ca76c043577ecd1 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 Nov 2023 16:17:28 +0100 Subject: [PATCH 068/138] bump crate versions --- Cargo.lock | 29 ++++++++++---------- math/Cargo.toml | 2 +- node/Cargo.toml | 2 +- pallets/asset-registry/Cargo.toml | 2 +- pallets/circuit-breaker/Cargo.toml | 2 +- pallets/dca/Cargo.toml | 2 +- pallets/lbp/Cargo.toml | 2 +- pallets/omnipool-liquidity-mining/Cargo.toml | 2 +- pallets/omnipool/Cargo.toml | 2 +- pallets/route-executor/Cargo.toml | 2 +- pallets/stableswap/Cargo.toml | 2 +- pallets/transaction-multi-payment/Cargo.toml | 2 +- pallets/xcm-rate-limiter/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- traits/Cargo.toml | 2 +- 16 files changed, 29 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 240fe1d63..e3ae45bbf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4804,7 +4804,7 @@ dependencies = [ [[package]] name = "hydra-dx-math" -version = "7.6.3" +version = "7.6.4" dependencies = [ "approx", "criterion", @@ -4825,7 +4825,7 @@ dependencies = [ [[package]] name = "hydradx" -version = "11.0.0" +version = "12.0.0" dependencies = [ "async-trait", "clap 4.4.8", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "191.0.0" +version = "192.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -5074,7 +5074,7 @@ dependencies = [ [[package]] name = "hydradx-traits" -version = "2.8.0" +version = "2.8.1" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -7395,7 +7395,7 @@ dependencies = [ [[package]] name = "pallet-asset-registry" -version = "2.3.2" +version = "2.3.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7668,7 +7668,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.17" +version = "1.1.18" dependencies = [ "frame-benchmarking", "frame-support", @@ -7811,7 +7811,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.2.3" +version = "1.2.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8195,7 +8195,7 @@ dependencies = [ [[package]] name = "pallet-lbp" -version = "4.7.1" +version = "4.7.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8442,7 +8442,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "4.0.0" +version = "4.0.1" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8469,7 +8469,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.0.12" +version = "2.0.13" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8617,7 +8617,7 @@ dependencies = [ [[package]] name = "pallet-route-executor" -version = "1.2.1" +version = "1.2.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8716,7 +8716,7 @@ dependencies = [ [[package]] name = "pallet-stableswap" -version = "3.4.0" +version = "3.4.1" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8886,7 +8886,7 @@ dependencies = [ [[package]] name = "pallet-transaction-multi-payment" -version = "9.0.2" +version = "9.0.3" dependencies = [ "frame-support", "frame-system", @@ -9093,7 +9093,7 @@ dependencies = [ [[package]] name = "pallet-xcm-rate-limiter" -version = "0.1.2" +version = "0.1.3" dependencies = [ "cumulus-pallet-xcmp-queue", "frame-benchmarking", @@ -11788,7 +11788,6 @@ dependencies = [ "pallet-session", "pallet-stableswap", "pallet-staking 2.1.1", - "pallet-sudo", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", diff --git a/math/Cargo.toml b/math/Cargo.toml index 3fed7d577..bb2d4a79b 100644 --- a/math/Cargo.toml +++ b/math/Cargo.toml @@ -6,7 +6,7 @@ license = 'Apache-2.0' name = "hydra-dx-math" description = "A collection of utilities to make performing liquidity pool calculations more convenient." repository = 'https://github.com/galacticcouncil/hydradx-math' -version = "7.6.3" +version = "7.6.4" [dependencies] primitive-types = {default-features = false, version = '0.12.0'} diff --git a/node/Cargo.toml b/node/Cargo.toml index 6be816d20..b201a7f70 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx" -version = "11.0.0" +version = "12.0.0" description = "HydraDX node" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 344f34728..13a9788ae 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-asset-registry" -version = "2.3.2" +version = "2.3.3" description = "Pallet for asset registry management" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 0252f8333..4a3ed1719 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.17" +version = "1.1.18" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index 603a15f64..45868139f 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dca' -version = "1.2.3" +version = "1.2.4" description = 'A pallet to manage DCA scheduling' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 8dc0774e0..b0090f121 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-lbp" -version = "4.7.1" +version = "4.7.2" description = "HydraDX Liquidity Bootstrapping Pool Pallet" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index af594b858..78dddca28 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool-liquidity-mining" -version = "2.0.12" +version = "2.0.13" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index 90a7e36e6..d59a416be 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "4.0.0" +version = "4.0.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index 14d2826a7..bab7b46bf 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-route-executor' -version = '1.2.1' +version = '1.2.2' description = 'A pallet to execute a route containing a sequence of trades' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index 54e1a085d..7809ba4e2 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-stableswap' -version = '3.4.0' +version = '3.4.1' description = 'AMM for correlated assets' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index c4d3fd236..550b40ce4 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-multi-payment" -version = "9.0.2" +version = "9.0.3" description = "Transaction multi currency payment support module" authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index 17123ca08..e0580fb65 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xcm-rate-limiter" -version = "0.1.2" +version = "0.1.3" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 9dc7755bd..949f1180c 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "191.0.0" +version = "192.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index d38c306a1..c4534dbec 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 191, + spec_version: 192, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 0c16bc8b4..750f806fd 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-traits" -version = "2.8.0" +version = "2.8.1" description = "Shared traits" authors = ["GalacticCouncil"] edition = "2021" From 25742c4d1eb1f2fa398d7d9c34e8389af3f25d0a Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 27 Nov 2023 11:18:39 +0100 Subject: [PATCH 069/138] fix some integration tests --- integration-tests/src/staking.rs | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/integration-tests/src/staking.rs b/integration-tests/src/staking.rs index 0b9a34348..298a4d459 100644 --- a/integration-tests/src/staking.rs +++ b/integration-tests/src/staking.rs @@ -956,17 +956,15 @@ fn staking_should_not_allow_to_remove_vote_when_referendum_is_finished_and_staki HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Staking::stake( @@ -1039,17 +1037,15 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Staking::stake( @@ -1124,17 +1120,15 @@ fn staking_should_allow_to_remove_vote_when_user_won() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Staking::stake( @@ -1207,17 +1201,15 @@ fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { HDX, (10_000 * UNITS) as i128, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), 1_000_000 * UNITS, - 0, )); - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, - 0, )); let r = begin_referendum(); assert_ok!(Staking::stake( From e3db2d6a1c1ce9a63b0b1550fa1a5d5b995bfa2c Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 28 Nov 2023 14:24:48 +0100 Subject: [PATCH 070/138] fix pallet-route-executor tests --- pallets/route-executor/src/tests/mock.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/route-executor/src/tests/mock.rs b/pallets/route-executor/src/tests/mock.rs index c7a877231..48c4d33a3 100644 --- a/pallets/route-executor/src/tests/mock.rs +++ b/pallets/route-executor/src/tests/mock.rs @@ -86,7 +86,7 @@ pub type Amount = i128; parameter_type_with_key! { pub ExistentialDeposits: |_currency_id: AssetId| -> Balance { - 1/2 + 1 }; } @@ -105,7 +105,7 @@ impl orml_tokens::Config for Test { } parameter_types! { - pub const ExistentialDeposit: u128 = 1/2; + pub const ExistentialDeposit: u128 = 1; pub const MaxReserves: u32 = 50; } From c1cd97b3e44cd1c48555e39bd9d69918d2675bfc Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 28 Nov 2023 14:57:03 +0100 Subject: [PATCH 071/138] add transfer impl to currencies::Mutate --- pallets/currencies/src/fungibles.rs | 16 ++++++++++++++++ pallets/currencies/src/tests_fungibles.rs | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pallets/currencies/src/fungibles.rs b/pallets/currencies/src/fungibles.rs index 2fab1c69a..51ef5032f 100644 --- a/pallets/currencies/src/fungibles.rs +++ b/pallets/currencies/src/fungibles.rs @@ -222,4 +222,20 @@ where .into() } } + + fn transfer(asset: Self::AssetId, source: &T::AccountId, dest: &T::AccountId, amount: Self::Balance, preservation: Preservation) -> Result { + if asset == T::GetNativeCurrencyId::get() { + >::transfer(source, dest, amount.into(), preservation) + .into() + } else { + >::transfer( + asset.into(), + source, + dest, + amount.into(), + preservation, + ) + .into() + } + } } diff --git a/pallets/currencies/src/tests_fungibles.rs b/pallets/currencies/src/tests_fungibles.rs index e287edef2..7a2c69f98 100644 --- a/pallets/currencies/src/tests_fungibles.rs +++ b/pallets/currencies/src/tests_fungibles.rs @@ -119,7 +119,7 @@ fn fungibles_transfer_trait_should_work() { assert_noop!( FungibleCurrencies::::transfer(X_TOKEN_ID, &BOB, &ALICE, 100, Preservation::Preserve), - TokenError::NotExpendable + orml_tokens::Error::::KeepAlive ); assert_ok!(FungibleCurrencies::::transfer( X_TOKEN_ID, From 0d87ede684451f1ece0227501260673435d4f957 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 28 Nov 2023 17:36:55 +0100 Subject: [PATCH 072/138] fix staking integration tests --- integration-tests/src/staking.rs | 34 +++++++++++++++-------------- pallets/currencies/src/fungibles.rs | 8 ++++++- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/integration-tests/src/staking.rs b/integration-tests/src/staking.rs index 298a4d459..112b6c58f 100644 --- a/integration-tests/src/staking.rs +++ b/integration-tests/src/staking.rs @@ -1,7 +1,7 @@ #![cfg(test)] use crate::polkadot_test_net::*; -use frame_support::traits::{LockIdentifier, WithdrawReasons}; +use frame_support::traits::LockIdentifier; use frame_support::{ assert_noop, assert_ok, dispatch::DispatchResult, @@ -1101,7 +1101,7 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { assert!(stake_voting.votes.is_empty()); let position = pallet_staking::Pallet::::get_position(stake_position_id).unwrap(); assert_eq!(position.get_action_points(), 1); - assert_lock(&BOB.into(), 0, DEMOCRACY_ID); + assert_no_lock(&BOB.into(), DEMOCRACY_ID); }); } @@ -1263,26 +1263,28 @@ fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { assert!(stake_voting.votes.is_empty()); let position = pallet_staking::Pallet::::get_position(stake_position_id).unwrap(); assert_eq!(position.get_action_points(), 1); - assert_lock(&BOB.into(), 0, DEMOCRACY_ID); + assert_no_lock(&BOB.into(), DEMOCRACY_ID); }); } const DEMOCRACY_ID: LockIdentifier = *b"democrac"; -use pallet_balances::BalanceLock; fn assert_lock(who: &AccountId, amount: Balance, lock_id: LockIdentifier) { let locks = Balances::locks(who); let lock = locks.iter().find(|e| e.id == lock_id); - if amount == 0 { - assert_eq!(lock, None); - } else { - assert_eq!( - lock, - Some(&BalanceLock { - id: lock_id, - amount: amount, - reasons: WithdrawReasons::TRANSFER.into() - }) - ); - } + assert_eq!( + lock, + Some(&pallet_balances::BalanceLock { + id: lock_id, + amount: amount, + reasons: pallet_balances::Reasons::All + }) + ); +} + +fn assert_no_lock(who: &AccountId, lock_id: LockIdentifier) { + let locks = Balances::locks(who); + let lock = locks.iter().find(|e| e.id == lock_id); + + assert_eq!(lock, None); } diff --git a/pallets/currencies/src/fungibles.rs b/pallets/currencies/src/fungibles.rs index 51ef5032f..66d52952c 100644 --- a/pallets/currencies/src/fungibles.rs +++ b/pallets/currencies/src/fungibles.rs @@ -223,7 +223,13 @@ where } } - fn transfer(asset: Self::AssetId, source: &T::AccountId, dest: &T::AccountId, amount: Self::Balance, preservation: Preservation) -> Result { + fn transfer( + asset: Self::AssetId, + source: &T::AccountId, + dest: &T::AccountId, + amount: Self::Balance, + preservation: Preservation, + ) -> Result { if asset == T::GetNativeCurrencyId::get() { >::transfer(source, dest, amount.into(), preservation) .into() From 151dc3ce069aedfa73caaa00f7fcb88c6644e253 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 29 Nov 2023 13:06:10 +0100 Subject: [PATCH 073/138] remove commented out lines --- integration-tests/src/polkadot_test_net.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 82cd9d9e0..45bd84799 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -127,7 +127,7 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - // Assets: hydradx_runtime::Assets, + Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } }, @@ -145,7 +145,7 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - // Assets: hydradx_runtime::Assets, + Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } }, @@ -163,7 +163,7 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - // Assets: hydradx_runtime::Assets, + Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } }, @@ -181,7 +181,7 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - // Assets: hydradx_runtime::Assets, + Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } } @@ -196,8 +196,6 @@ decl_test_networks! { Interlay, Hydra, ], - // TODO: uncomment when https://github.com/paritytech/cumulus/pull/2528 is merged - // bridge = KusamaPolkadotMockBridge bridge = () }, } From 345d82cb08657e69c42d9a067fa11fa8f5dbc33a Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 29 Nov 2023 13:08:59 +0100 Subject: [PATCH 074/138] bump crate versions --- Cargo.lock | 14 +++++++------- pallets/lbp/Cargo.toml | 2 +- pallets/omnipool/Cargo.toml | 2 +- pallets/stableswap/Cargo.toml | 2 +- pallets/xyk/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- traits/Cargo.toml | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 88528ff78..120f93103 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4959,7 +4959,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "193.0.0" +version = "194.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -5075,7 +5075,7 @@ dependencies = [ [[package]] name = "hydradx-traits" -version = "2.8.1" +version = "2.8.2" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -8196,7 +8196,7 @@ dependencies = [ [[package]] name = "pallet-lbp" -version = "4.7.2" +version = "4.7.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8443,7 +8443,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "4.0.1" +version = "4.0.2" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "pallet-stableswap" -version = "3.4.1" +version = "3.4.2" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -9122,7 +9122,7 @@ dependencies = [ [[package]] name = "pallet-xyk" -version = "6.3.3" +version = "6.3.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -10895,7 +10895,7 @@ dependencies = [ [[package]] name = "primitives" -version = "6.0.1" +version = "6.0.2" dependencies = [ "frame-support", "hex-literal 0.3.4", diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index df9d24d3f..297c239b1 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-lbp" -version = "4.7.2" +version = "4.7.3" description = "HydraDX Liquidity Bootstrapping Pool Pallet" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index d59a416be..838a8663e 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "4.0.1" +version = "4.0.2" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index 7809ba4e2..e9b2cd21b 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-stableswap' -version = '3.4.1' +version = '3.4.2' description = 'AMM for correlated assets' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/xyk/Cargo.toml b/pallets/xyk/Cargo.toml index 6bfb80870..cfe61379c 100644 --- a/pallets/xyk/Cargo.toml +++ b/pallets/xyk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-xyk' -version = "6.3.3" +version = "6.3.4" description = 'XYK automated market maker' authors = ['GalacticCouncil'] edition = '2021' diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 2edc5a180..bc24303e3 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitives" -version = "6.0.1" +version = "6.0.2" authors = ["GalacticCouncil"] edition = "2021" repository = "https://github.com/galacticcouncil/HydraDX-node" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 43bb0b0b9..fa91a28af 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "193.0.0" +version = "194.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index c64a3d2b7..de4723bcf 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 193, + spec_version: 194, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 750f806fd..2de96f053 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-traits" -version = "2.8.1" +version = "2.8.2" description = "Shared traits" authors = ["GalacticCouncil"] edition = "2021" From ed6e7ce63d1f2eb15bac7b544e4be2f2526ce47a Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 29 Nov 2023 15:25:33 +0100 Subject: [PATCH 075/138] fix integration testnet --- integration-tests/src/polkadot_test_net.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 45bd84799..3638d8f57 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -127,7 +127,6 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } }, @@ -145,7 +144,6 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } }, @@ -163,7 +161,6 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } }, @@ -181,7 +178,6 @@ decl_test_parachains! { }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, - Assets: hydradx_runtime::Assets, Balances: hydradx_runtime::Balances, } } From 46395692d8215d39c6499a0a09f03f703ed5383c Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 29 Nov 2023 17:43:30 +0100 Subject: [PATCH 076/138] fix some integration tests --- integration-tests/src/dca.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index aad320c6a..7ee887b77 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -2172,14 +2172,14 @@ mod xyk { assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance - dca_budget); assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE); assert_reserved_balance!(&ALICE.into(), HDX, dca_budget); - assert_balance!(&Treasury::account_id(), HDX, 0); + let treasury_init_balance = Balances::free_balance(Treasury::account_id()); //Act set_relaychain_block_number(11); //Assert let amount_out = 151105924242426; - let fee = Currencies::free_balance(HDX, &Treasury::account_id()); + let fee = Currencies::free_balance(HDX, &Treasury::account_id()) - treasury_init_balance; assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE + amount_out); assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance - dca_budget); @@ -2227,7 +2227,6 @@ mod xyk { assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance - dca_budget); assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE); assert_reserved_balance!(&ALICE.into(), HDX, dca_budget); - assert_balance!(&Treasury::account_id(), HDX, 0); //Act set_relaychain_block_number(11); From 3dabe52324875c3710c2602885a6f0c5913fa601 Mon Sep 17 00:00:00 2001 From: dmoka Date: Thu, 30 Nov 2023 10:56:53 +0100 Subject: [PATCH 077/138] fix nonnative fee test with onchain routing as onchain-oracle-price is used instead of fallback price --- integration-tests/src/non_native_fee.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration-tests/src/non_native_fee.rs b/integration-tests/src/non_native_fee.rs index e5d5b7ca4..1cd7c9eae 100644 --- a/integration-tests/src/non_native_fee.rs +++ b/integration-tests/src/non_native_fee.rs @@ -58,6 +58,9 @@ fn non_native_fee_payment_works_with_oracle_price_based_on_onchain_route() { hydradx_run_to_block(4); + let dave_balance = hydradx_runtime::Tokens::free_balance(DAI, &AccountId::from(DAVE)); + assert_eq!(dave_balance, 1_000_000_000_000_000_000_000); + let call = hydradx_runtime::RuntimeCall::MultiTransactionPayment( pallet_transaction_multi_payment::Call::set_currency { currency: DAI }, ); @@ -72,7 +75,7 @@ fn non_native_fee_payment_works_with_oracle_price_based_on_onchain_route() { ); let dave_balance = hydradx_runtime::Tokens::free_balance(DAI, &AccountId::from(DAVE)); - assert_eq!(dave_balance, 999_999_999_692_871_594_551); //Price based on oracle with onchain route + assert_eq!(dave_balance, 999_992_364_637_822_103_500); //Price based on oracle with onchain route }); } From 6793c87ac6de44a8ef24f962b4dbb78a1ec1fddf Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sat, 2 Dec 2023 11:54:44 +0100 Subject: [PATCH 078/138] client fix: database opening --- Cargo.lock | 487 +++++++++++++++++++++++-------------- node/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 6 +- 3 files changed, 311 insertions(+), 184 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 120f93103..2e1fb6a69 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,7 +27,7 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.28.0", + "gimli 0.28.1", ] [[package]] @@ -609,12 +609,12 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d37875bd9915b7d67c2f117ea2c30a0989874d0b2cb694fe25403c85763c0c9e" +checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" dependencies = [ "concurrent-queue", - "event-listener 3.1.0", + "event-listener 4.0.0", "event-listener-strategy", "futures-core", "pin-project-lite 0.2.13", @@ -622,11 +622,11 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.7.2" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc5ea910c42e5ab19012bab31f53cb4d63d54c3a27730f9a833a88efcf4bb52d" +checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" dependencies = [ - "async-lock 3.1.1", + "async-lock 3.1.2", "async-task", "concurrent-queue", "fastrand 2.0.1", @@ -668,22 +668,21 @@ dependencies = [ [[package]] name = "async-io" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41ed9d5715c2d329bf1b4da8d60455b99b187f27ba726df2883799af9af60997" +checksum = "d6d3b15875ba253d1110c740755e246537483f152fa334f91abd7fe84c88b3ff" dependencies = [ - "async-lock 3.1.1", + "async-lock 3.1.2", "cfg-if", "concurrent-queue", "futures-io", "futures-lite 2.0.1", "parking", - "polling 3.3.0", - "rustix 0.38.25", + "polling 3.3.1", + "rustix 0.38.26", "slab", "tracing", - "waker-fn", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -697,11 +696,11 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.1.1" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "655b9c7fe787d3b25cc0f804a1a8401790f0c5bc395beb5a64dc77d8de079105" +checksum = "dea8b3453dd7cc96711834b75400d671b73e3656975fa68d9f277163b7f7e316" dependencies = [ - "event-listener 3.1.0", + "event-listener 4.0.0", "event-listener-strategy", "pin-project-lite 0.2.13", ] @@ -730,7 +729,7 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.25", + "rustix 0.38.26", "windows-sys 0.48.0", ] @@ -751,13 +750,13 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io 2.2.0", + "async-io 2.2.1", "async-lock 2.8.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.25", + "rustix 0.38.26", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -1130,8 +1129,8 @@ version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ - "async-channel 2.1.0", - "async-lock 3.1.1", + "async-channel 2.1.1", + "async-lock 3.1.2", "async-task", "fastrand 2.0.1", "futures-io", @@ -1489,9 +1488,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.8" +version = "4.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2275f18819641850fa26c89acc84d465c1bf91ce57bc2748b28c420473352f64" +checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" dependencies = [ "clap_builder", "clap_derive 4.4.7", @@ -1499,9 +1498,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.8" +version = "4.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07cdf1b148b25c1e1f7a42225e30a0d99a615cd4637eae7365548dd4529b95bc" +checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" dependencies = [ "anstream", "anstyle", @@ -1676,9 +1675,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" dependencies = [ "core-foundation-sys", "libc", @@ -1686,9 +1685,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "core2" @@ -2012,7 +2011,7 @@ name = "cumulus-client-cli" version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "clap 4.4.8", + "clap 4.4.10", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -2284,7 +2283,7 @@ name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -2690,15 +2689,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" +checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "data-encoding-macro" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c904b33cc60130e1aeea4956ab803d08a3f4a0ca82d64ed757afac3891f2bb99" +checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2706,9 +2705,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fdf3fce3ce863539ec1d7fd1b6dcc3c645663376b43ed376bbf887733e4f772" +checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" dependencies = [ "data-encoding", "syn 1.0.109", @@ -2951,18 +2950,18 @@ dependencies = [ [[package]] name = "docify" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4235e9b248e2ba4b92007fe9c646f3adf0ffde16dc74713eacc92b8bc58d8d2f" +checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47020e12d7c7505670d1363dd53d6c23724f71a90a3ae32ff8eba40de8404626" +checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" dependencies = [ "common-path", "derive-syn-parse", @@ -2972,7 +2971,7 @@ dependencies = [ "regex", "syn 2.0.39", "termcolor", - "toml 0.7.8", + "toml 0.8.8", "walkdir", ] @@ -3044,7 +3043,7 @@ dependencies = [ "elliptic-curve 0.13.8", "rfc6979 0.4.0", "signature 2.2.0", - "spki 0.7.2", + "spki 0.7.3", ] [[package]] @@ -3094,7 +3093,7 @@ checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ "curve25519-dalek 4.1.1", "ed25519", - "hashbrown 0.14.2", + "hashbrown 0.14.3", "hex", "rand_core 0.6.4", "sha2 0.10.8", @@ -3237,12 +3236,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f258a7194e7f7c2a7837a8913aeab7fd8c383457034fa20ce4dd3dcb813e8eb8" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -3322,13 +3321,24 @@ dependencies = [ "pin-project-lite 0.2.13", ] +[[package]] +name = "event-listener" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "770d968249b5d99410d61f5bf89057f3199a077a04d087092f58e7d10692baae" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] + [[package]] name = "event-listener-strategy" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96b852f1345da36d551b9473fa1e2b1eb5c5195585c6c018118bc92a8d91160" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ - "event-listener 3.1.0", + "event-listener 4.0.0", "pin-project-lite 0.2.13", ] @@ -3531,7 +3541,7 @@ checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" dependencies = [ "expander 0.0.4", "indexmap 1.9.3", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -3541,7 +3551,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "async-trait", "fp-consensus", @@ -3557,15 +3567,17 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "async-trait", "fp-storage", + "kvdb-rocksdb", "log", "parity-db", "parity-scale-codec", "parking_lot 0.12.1", "sc-client-db", + "smallvec", "sp-blockchain", "sp-core", "sp-database", @@ -3575,7 +3587,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fc-db", "fc-storage", @@ -3596,7 +3608,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3651,7 +3663,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3664,7 +3676,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3711,7 +3723,7 @@ dependencies = [ [[package]] name = "fflonk" version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1beb0585e1c8488956fac7f05da061f9b41e8948" +source = "git+https://github.com/w3f/fflonk#95f3a57d1f4252fe95310c1567d153f25f3066b4" dependencies = [ "ark-ec", "ark-ff", @@ -3832,9 +3844,9 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ "percent-encoding", ] @@ -3842,7 +3854,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "hex", "impl-serde", @@ -3861,7 +3873,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "parity-scale-codec", @@ -3873,7 +3885,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3887,7 +3899,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "evm 0.39.1", "frame-support", @@ -3902,7 +3914,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3919,7 +3931,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "frame-support", "parity-scale-codec", @@ -3931,7 +3943,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "parity-scale-codec", "serde", @@ -3976,7 +3988,7 @@ dependencies = [ "Inflector", "array-bytes", "chrono", - "clap 4.4.8", + "clap 4.4.10", "comfy-table", "frame-benchmarking", "frame-support", @@ -4021,7 +4033,7 @@ name = "frame-election-provider-solution-type" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -4160,7 +4172,7 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -4256,7 +4268,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "rustix 0.38.25", + "rustix 0.38.26", "windows-sys 0.48.0", ] @@ -4496,9 +4508,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "glob" @@ -4508,15 +4520,15 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" +checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" dependencies = [ "aho-corasick", "bstr", - "fnv", "log", - "regex", + "regex-automata 0.4.3", + "regex-syntax 0.8.2", ] [[package]] @@ -4631,9 +4643,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash 0.8.6", "allocator-api2", @@ -4828,7 +4840,7 @@ name = "hydradx" version = "12.0.0" dependencies = [ "async-trait", - "clap 4.4.8", + "clap 4.4.10", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -5124,7 +5136,7 @@ dependencies = [ "rustls-native-certs", "tokio", "tokio-rustls", - "webpki-roots 0.25.2", + "webpki-roots 0.25.3", ] [[package]] @@ -5169,9 +5181,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -5179,21 +5191,21 @@ dependencies = [ [[package]] name = "if-addrs" -version = "0.7.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc0fa01ffc752e9dbc72818cdb072cd028b86be5e09dd04c5a643704fe101a9" +checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" dependencies = [ "libc", - "winapi", + "windows-sys 0.48.0", ] [[package]] name = "if-watch" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb892e5777fe09e16f3d44de7802f4daa7267ecbe8c466f19d94e25bb0c303e" +checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 1.13.0", + "async-io 2.2.1", "core-foundation", "fnv", "futures", @@ -5281,7 +5293,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" dependencies = [ "equivalent", - "hashbrown 0.14.2", + "hashbrown 0.14.3", ] [[package]] @@ -5397,7 +5409,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.3", - "rustix 0.38.25", + "rustix 0.38.26", "windows-sys 0.48.0", ] @@ -5445,9 +5457,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.65" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" +checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" dependencies = [ "wasm-bindgen", ] @@ -5499,7 +5511,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tracing", - "webpki-roots 0.25.2", + "webpki-roots 0.25.3", ] [[package]] @@ -5602,7 +5614,7 @@ version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd67957d4280217247588ac86614ead007b301ca2fa9f19c19f880a536f029e3" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -5615,7 +5627,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" dependencies = [ "heck", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -6377,9 +6389,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829" +checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" [[package]] name = "lock_api" @@ -6557,7 +6569,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.25", + "rustix 0.38.26", ] [[package]] @@ -6803,7 +6815,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro-error", "proc-macro2", "quote", @@ -7092,7 +7104,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -7199,7 +7211,7 @@ dependencies = [ "expander 0.0.6", "itertools 0.10.5", "petgraph", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -8011,7 +8023,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "environmental", "ethereum", @@ -8035,7 +8047,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "environmental", "evm 0.39.1", @@ -8060,7 +8072,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "frame-support", "frame-system", @@ -8072,7 +8084,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#916a6c8bfe89a8696ffee32c850eda0ec4daa284" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fp-evm", "frame-support", @@ -8791,7 +8803,7 @@ name = "pallet-staking-reward-curve" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -9218,9 +9230,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.5" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -9233,11 +9245,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.5" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -9374,9 +9386,9 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" @@ -9499,7 +9511,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ "der 0.7.8", - "spki 0.7.2", + "spki 0.7.3", ] [[package]] @@ -9631,7 +9643,7 @@ name = "polkadot-cli" version = "1.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "clap 4.4.8", + "clap 4.4.10", "frame-benchmarking-cli", "futures", "log", @@ -10754,16 +10766,16 @@ dependencies = [ [[package]] name = "polling" -version = "3.3.0" +version = "3.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e53b6af1f60f36f8c2ac2aad5459d75a5a9b4be1e8cdd40264f315d78193e531" +checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite 0.2.13", - "rustix 0.38.25", + "rustix 0.38.26", "tracing", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -10931,7 +10943,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ "once_cell", - "toml_edit", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +dependencies = [ + "toml_edit 0.20.7", ] [[package]] @@ -10971,9 +10992,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.69" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" dependencies = [ "unicode-ident", ] @@ -11509,9 +11530,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.5" +version = "0.17.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" +checksum = "684d5e6e18f669ccebf64a92236bb7db9a34f07be010e3627368182027180866" dependencies = [ "cc", "getrandom 0.2.11", @@ -11900,15 +11921,15 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.25" +version = "0.38.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc99bc2d4f1fed22595588a013687477aedf3cdcfb26558c559edb67b4d9b22e" +checksum = "9470c4bf8246c8daf25f9598dca807fb6510347b1e1cfa55749113850c79d88a" dependencies = [ "bitflags 2.4.1", "errno", "libc", - "linux-raw-sys 0.4.11", - "windows-sys 0.48.0", + "linux-raw-sys 0.4.12", + "windows-sys 0.52.0", ] [[package]] @@ -11943,7 +11964,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9" dependencies = [ "log", - "ring 0.17.5", + "ring 0.17.6", "rustls-webpki", "sct 0.7.1", ] @@ -11975,7 +11996,7 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.5", + "ring 0.17.6", "untrusted 0.9.0", ] @@ -12144,7 +12165,7 @@ name = "sc-chain-spec-derive" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -12157,7 +12178,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-for dependencies = [ "array-bytes", "chrono", - "clap 4.4.8", + "clap 4.4.10", "fdlimit", "futures", "libp2p-identity", @@ -12969,7 +12990,7 @@ name = "sc-storage-monitor" version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "clap 4.4.8", + "clap 4.4.10", "fs4", "log", "sc-client-db", @@ -13069,7 +13090,7 @@ name = "sc-tracing-proc-macro" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -13152,7 +13173,7 @@ version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -13256,7 +13277,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.5", + "ring 0.17.6", "untrusted 0.9.0", ] @@ -13376,18 +13397,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", @@ -13576,9 +13597,9 @@ dependencies = [ [[package]] name = "slotmap" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e08e261d0e8f5c43123b7adf3e4ca1690d655377ac93a03b2c9d3e98de1342" +checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" dependencies = [ "version_check", ] @@ -13628,7 +13649,7 @@ dependencies = [ "fnv", "futures-lite 1.13.0", "futures-util", - "hashbrown 0.14.2", + "hashbrown 0.14.3", "hex", "hmac 0.12.1", "itertools 0.11.0", @@ -13677,7 +13698,7 @@ dependencies = [ "futures-channel", "futures-lite 1.13.0", "futures-util", - "hashbrown 0.14.2", + "hashbrown 0.14.3", "hex", "itertools 0.11.0", "log", @@ -13713,7 +13734,7 @@ dependencies = [ "chacha20poly1305", "curve25519-dalek 4.1.1", "rand_core 0.6.4", - "ring 0.17.5", + "ring 0.17.6", "rustc_version", "sha2 0.10.8", "subtle", @@ -13785,7 +13806,7 @@ dependencies = [ "Inflector", "blake2", "expander 2.0.0", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -14260,7 +14281,7 @@ version = "11.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -14500,9 +14521,9 @@ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" [[package]] name = "spinners" -version = "4.1.0" +version = "4.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08615eea740067d9899969bc2891c68a19c315cb1f66640af9a9ecb91b13bcab" +checksum = "a0ef947f358b9c238923f764c72a4a9d42f2d637c46e059dbd319d6e7cfb4f82" dependencies = [ "lazy_static", "maplit", @@ -14521,9 +14542,9 @@ dependencies = [ [[package]] name = "spki" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", "der 0.7.8", @@ -15009,7 +15030,7 @@ dependencies = [ "cfg-if", "fastrand 2.0.1", "redox_syscall 0.4.1", - "rustix 0.38.25", + "rustix 0.38.26", "windows-sys 0.48.0", ] @@ -15374,7 +15395,19 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.19.15", +] + +[[package]] +name = "toml" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.21.0", ] [[package]] @@ -15399,6 +15432,30 @@ dependencies = [ "winnow", ] +[[package]] +name = "toml_edit" +version = "0.20.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +dependencies = [ + "indexmap 2.1.0", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.1.0", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + [[package]] name = "tower" version = "0.4.13" @@ -15501,7 +15558,7 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "expander 2.0.0", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -15641,7 +15698,7 @@ version = "0.10.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", - "clap 4.4.8", + "clap 4.4.10", "frame-remote-externalities", "hex", "log", @@ -15825,12 +15882,12 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", - "idna 0.4.0", + "idna 0.5.0", "percent-encoding", ] @@ -15930,9 +15987,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" +checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -15940,9 +15997,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" +checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" dependencies = [ "bumpalo", "log", @@ -15955,9 +16012,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.38" +version = "0.4.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02" +checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" dependencies = [ "cfg-if", "js-sys", @@ -15967,9 +16024,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" +checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -15977,9 +16034,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" +checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", @@ -15990,9 +16047,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" +checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" [[package]] name = "wasm-instrument" @@ -16305,9 +16362,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.65" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" +checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" dependencies = [ "js-sys", "wasm-bindgen", @@ -16329,7 +16386,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.5", + "ring 0.17.6", "untrusted 0.9.0", ] @@ -16344,9 +16401,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.25.2" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" +checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" [[package]] name = "webrtc" @@ -16678,7 +16735,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.25", + "rustix 0.38.26", ] [[package]] @@ -16780,6 +16837,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -16810,6 +16876,21 @@ dependencies = [ "windows_x86_64_msvc 0.48.5", ] +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -16822,6 +16903,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -16834,6 +16921,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -16846,6 +16939,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -16858,6 +16957,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -16870,6 +16975,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -16882,6 +16993,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -16894,6 +17011,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + [[package]] name = "winnow" version = "0.5.19" @@ -17056,18 +17179,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.26" +version = "0.7.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e97e415490559a91254a2979b4829267a57d2fcd741a98eee8b722fb57289aa0" +checksum = "7d6f15f7ade05d2a4935e34a457b936c23dc70a05cc1d97133dc99e7a3fe0f0e" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.26" +version = "0.7.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd7e48ccf166952882ca8bd778a43502c64f33bf94c12ebe2a7f08e5a0f6689f" +checksum = "dbbad221e3f78500350ecbd7dfa4e63ef945c05f4c61cb7f4d3f84cd0bba649b" dependencies = [ "proc-macro2", "quote", diff --git a/node/Cargo.toml b/node/Cargo.toml index b201a7f70..5f6c0c135 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -103,7 +103,7 @@ polkadot-service = { workspace = true } # Frontier fc-consensus = { workspace = true } -fc-db = { workspace = true } +fc-db = { workspace = true, features = ["default"] } fc-mapping-sync = { workspace = true } fc-rpc = { workspace = true } fc-rpc-core = { workspace = true } diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index de4723bcf..780d720d6 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -569,7 +569,11 @@ impl_runtime_apis! { pallet_ethereum::CurrentBlock::::get(), pallet_ethereum::CurrentTransactionStatuses::::get() ) - } + } + + fn initialize_pending_block(header: &::Header) { + Executive::initialize_block(header) + } } impl fp_rpc::ConvertTransactionRuntimeApi for Runtime { From 17e3c09328afffbd328a6ab4d25fbbeee830c418 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 5 Dec 2023 15:58:08 +0100 Subject: [PATCH 079/138] small fixes --- node/src/cli.rs | 2 +- runtime/hydradx/Cargo.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/node/src/cli.rs b/node/src/cli.rs index 7b1e8ef7e..70b60fe22 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -118,6 +118,6 @@ pub enum Subcommand { /// Try-runtime has migrated to a standalone /// [CLI](). The subcommand exists as a stub and - /// deprecation notice. It will be removed entirely some time after Janurary 2024. + /// deprecation notice. It will be removed entirely some time after January 2024. TryRuntime, } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index fa91a28af..3e44804d9 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -280,7 +280,6 @@ std = [ "pallet-evm/std", "pallet-evm-chain-id/std", "pallet-evm-precompile-dispatch/std", -# "ethabi/std", ] try-runtime= [ "frame-try-runtime", From 57d228750f5a521aa3c5c746e2758dfa26ce3852 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 5 Dec 2023 16:28:40 +0100 Subject: [PATCH 080/138] add conditional compilation for EVM stuff in transaction multi payment pallet --- integration-tests/Cargo.toml | 2 +- pallets/transaction-multi-payment/Cargo.toml | 3 +- pallets/transaction-multi-payment/src/lib.rs | 2 + runtime/adapters/Cargo.toml | 2 +- runtime/common/Cargo.toml | 118 ------------------- runtime/hydradx/Cargo.toml | 2 +- 6 files changed, 7 insertions(+), 122 deletions(-) delete mode 100644 runtime/common/Cargo.toml diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 8758854fe..0dba04926 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -24,7 +24,7 @@ pallet-stableswap = { workspace = true } # Warehouse dependencies pallet-asset-registry = { workspace = true } hydradx-traits = { workspace = true } -pallet-transaction-multi-payment = { workspace = true } +pallet-transaction-multi-payment = { workspace = true, features = ["evm"] } pallet-currencies = { workspace = true } pallet-duster = { workspace = true } pallet-ema-oracle = { workspace = true } diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index ba4539faa..e888b20e8 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -41,7 +41,7 @@ sp-io = { workspace = true } test-utils = { workspace = true } [features] -default = ["std"] +default = ["std", "evm"] std = [ "codec/std", "sp-core/std", @@ -57,3 +57,4 @@ std = [ "primitives/std", ] try-runtime = ["frame-support/try-runtime"] +evm = [] diff --git a/pallets/transaction-multi-payment/src/lib.rs b/pallets/transaction-multi-payment/src/lib.rs index 056bc3dd7..dedc7ac9f 100644 --- a/pallets/transaction-multi-payment/src/lib.rs +++ b/pallets/transaction-multi-payment/src/lib.rs @@ -366,9 +366,11 @@ type PositiveImbalanceFor = type NegativeImbalanceFor = <::Currency as PalletCurrency>>::NegativeImbalance; +#[cfg(feature = "evm")] /// Implements the transaction payment for EVM transactions. pub struct TransferEvmFees(PhantomData); +#[cfg(feature = "evm")] impl OnChargeEVMTransaction for TransferEvmFees where T: Config + pallet_evm::Config, diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index 9f99ea6e8..04fd81699 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -16,7 +16,7 @@ scale-info = { version = "2.3.1", default-features = false, features = ["derive" primitives = { workspace = true } hydradx-traits = { workspace = true } hydra-dx-math = { workspace = true } -pallet-transaction-multi-payment = { workspace = true } +pallet-transaction-multi-payment = { workspace = true, features = ["evm"] } pallet-omnipool = { workspace = true } pallet-ema-oracle = { workspace = true } pallet-circuit-breaker = { workspace = true } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml deleted file mode 100644 index c54d9ee42..000000000 --- a/runtime/common/Cargo.toml +++ /dev/null @@ -1,118 +0,0 @@ -[package] -name = "common-runtime" -version = "102.4.1" -authors = ["GalacticCouncil"] -edition = "2021" -license = "Apache 2.0" -repository = "https://github.com/galacticcouncil/HydraDX-node" - -[package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] - -[build-dependencies] -substrate-wasm-builder = { workspace = true } - -[dependencies] -codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false, features = ["derive"] } -scale-info = { version = "2.3.1", default-features = false, features = ["derive"] } -primitives = { workspace = true } -primitive-types = {default-features = false, version = '0.12.0'} - -pallet-omnipool = { workspace = true } -pallet-circuit-breaker = { workspace = true } -pallet-omnipool-liquidity-mining = { workspace = true } -pallet-claims = { workspace = true } -pallet-dca = { workspace = true } - -hydra-dx-math = { workspace = true } - -# Warehouse dependencies -hydradx-traits = { workspace = true } -pallet-transaction-multi-payment = { workspace = true } -pallet-asset-registry = { workspace = true } -pallet-currencies = { workspace = true } -pallet-transaction-pause = { workspace = true } -pallet-otc = { workspace = true } -pallet-ema-oracle = { workspace = true } -warehouse-liquidity-mining = { workspace = true } -pallet-route-executor = { workspace = true } -pallet-duster = { workspace = true } - -# Substrate dependencies -sp-runtime = { workspace = true } -sp-core = { workspace = true } -sp-std = { workspace = true } -frame-support = { workspace = true } -frame-system = { workspace = true } -sp-npos-elections = { workspace = true } -pallet-transaction-payment = { workspace = true } -pallet-collective = { workspace = true } -pallet-treasury = { workspace = true } -pallet-utility = { workspace = true } -pallet-democracy = { workspace = true } -pallet-identity = { workspace = true } -pallet-preimage = { workspace = true } -pallet-proxy = { workspace = true } -pallet-scheduler = { workspace = true } -pallet-timestamp = { workspace = true } -pallet-balances = { workspace = true } -pallet-tips = { workspace = true } - -# Polkadot dependencies -pallet-xcm = { workspace = true } - -# ORML dependencies -orml-tokens = { workspace = true } -orml-vesting = { workspace = true } -orml-traits = { workspace = true } -orml-xcm-support = { workspace = true } - -# Cumulus dependencies -pallet-collator-selection = { workspace = true } -cumulus-pallet-xcmp-queue = { workspace = true } -cumulus-primitives-core = { workspace = true } -cumulus-pallet-parachain-system = { workspace = true } - -# Polkadot dependencies -xcm = { workspace = true } -xcm-executor = { workspace = true } - -[features] -default = ["std"] - -std = [ - "scale-info/std", - "primitives/std", - "pallet-omnipool/std", - "sp-runtime/std", - "sp-core/std", - "sp-std/std", - "frame-support/std", - "frame-system/std", - "sp-npos-elections/std", - "pallet-transaction-multi-payment/std", - "pallet-collective/std", - "pallet-treasury/std", - "pallet-utility/std", - "pallet-democracy/std", - "pallet-identity/std", - "pallet-preimage/std", - "pallet-proxy/std", - "pallet-route-executor/std", - "pallet-scheduler/std", - "pallet-timestamp/std", - "pallet-balances/std", - "pallet-claims/std", - "pallet-transaction-multi-payment/std", - "pallet-asset-registry/std", - "pallet-currencies/std", - "pallet-transaction-pause/std", - "orml-tokens/std", - "orml-vesting/std", - "orml-traits/std", - "orml-xcm-support/std", - "pallet-collator-selection/std", - "cumulus-pallet-xcmp-queue/std", - "xcm/std", - "xcm-executor/std", -] diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 3e44804d9..b1f25d1b3 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -61,7 +61,7 @@ pallet-xcm-rate-limiter = { workspace = true } hydradx-adapters = { workspace = true } hydradx-traits = { workspace = true } pallet-relaychain-info = { workspace = true } -pallet-transaction-multi-payment = { workspace = true } +pallet-transaction-multi-payment = { workspace = true, features = ["evm"] } pallet-asset-registry = { workspace = true } pallet-collator-rewards = { workspace = true } pallet-currencies = { workspace = true } From ec8dcf928ed690319166f5deb03ef361acbfafbe Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 5 Dec 2023 16:48:40 +0100 Subject: [PATCH 081/138] don't use evm feature as default feature in tx multi payment pallet --- pallets/transaction-multi-payment/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index e888b20e8..f572dbb49 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -41,7 +41,7 @@ sp-io = { workspace = true } test-utils = { workspace = true } [features] -default = ["std", "evm"] +default = ["std"] std = [ "codec/std", "sp-core/std", From e58ecadf4d611d3a28806e5c1c26fcba7dd0003d Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 5 Dec 2023 19:01:24 +0100 Subject: [PATCH 082/138] revert use of evm feature in adapters crate --- runtime/adapters/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index 04fd81699..9f99ea6e8 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -16,7 +16,7 @@ scale-info = { version = "2.3.1", default-features = false, features = ["derive" primitives = { workspace = true } hydradx-traits = { workspace = true } hydra-dx-math = { workspace = true } -pallet-transaction-multi-payment = { workspace = true, features = ["evm"] } +pallet-transaction-multi-payment = { workspace = true } pallet-omnipool = { workspace = true } pallet-ema-oracle = { workspace = true } pallet-circuit-breaker = { workspace = true } From 984493474696e0cdbf96342128f1e4ed1a888e2b Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 5 Dec 2023 19:33:01 +0100 Subject: [PATCH 083/138] make pallet-evm optional dependency in tx multi payment pallet --- pallets/transaction-multi-payment/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index f572dbb49..b0ff62601 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -31,7 +31,7 @@ sp-std = { workspace = true } sp-runtime = { workspace = true } pallet-transaction-payment = { workspace = true } -pallet-evm = { workspace = true } +pallet-evm = { workspace = true, optional = true } [dev-dependencies] pallet-currencies = { workspace = true } @@ -57,4 +57,4 @@ std = [ "primitives/std", ] try-runtime = ["frame-support/try-runtime"] -evm = [] +evm = ["pallet-evm"] From 6300a42593387a0f350ba32d5812efae41ce24ef Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 5 Dec 2023 21:21:03 +0100 Subject: [PATCH 084/138] tidy up conditional compilation in tx multi payment pallet --- pallets/transaction-multi-payment/src/lib.rs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/pallets/transaction-multi-payment/src/lib.rs b/pallets/transaction-multi-payment/src/lib.rs index dedc7ac9f..006ec3ebc 100644 --- a/pallets/transaction-multi-payment/src/lib.rs +++ b/pallets/transaction-multi-payment/src/lib.rs @@ -29,7 +29,6 @@ mod mock; mod tests; mod traits; -use frame_support::traits::Currency as PalletCurrency; use frame_support::{dispatch::DispatchResult, ensure, traits::Get, weights::Weight}; use frame_system::{ensure_signed, pallet_prelude::BlockNumberFor}; use hydra_dx_math::ema::EmaPrice; @@ -49,12 +48,9 @@ use hydradx_traits::NativePriceOracle; use orml_traits::{Happened, MultiCurrency}; pub use crate::traits::*; -use frame_support::traits::{Imbalance, IsSubType, OnUnbalanced}; +use frame_support::traits::IsSubType; use hydradx_traits::router::{AssetPair, RouteProvider}; use hydradx_traits::{OraclePeriod, PriceOracle}; -use pallet_evm::{EVMCurrencyAdapter, OnChargeEVMTransaction}; -use sp_core::{H160, U256}; -use sp_runtime::traits::UniqueSaturatedInto; type AssetIdOf = <::Currencies as MultiCurrency<::AccountId>>::CurrencyId; type BalanceOf = <::Currencies as MultiCurrency<::AccountId>>::Balance; @@ -359,13 +355,25 @@ impl DepositFee, BalanceOf> for Deposit } } +#[cfg(feature = "evm")] +use { + pallet_evm::{EVMCurrencyAdapter, OnChargeEVMTransaction}, + sp_core::{H160, U256}, + frame_support::traits::{Imbalance, OnUnbalanced, Currency as PalletCurrency}, + sp_runtime::traits::UniqueSaturatedInto, +}; +#[cfg(feature = "evm")] type CurrencyAccountId = ::AccountId; +#[cfg(feature = "evm")] type BalanceFor = <::Currency as PalletCurrency>>::Balance; +#[cfg(feature = "evm")] type PositiveImbalanceFor = <::Currency as PalletCurrency>>::PositiveImbalance; +#[cfg(feature = "evm")] type NegativeImbalanceFor = <::Currency as PalletCurrency>>::NegativeImbalance; + #[cfg(feature = "evm")] /// Implements the transaction payment for EVM transactions. pub struct TransferEvmFees(PhantomData); From 10bc08ddac1b8cd23bbb64e1e70fdaa98842a508 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 6 Dec 2023 14:53:56 +0100 Subject: [PATCH 085/138] configurable pool type for default route in route executor pallet --- pallets/dca/src/tests/mock.rs | 2 ++ pallets/route-executor/src/lib.rs | 5 ++++- pallets/route-executor/src/tests/mock.rs | 2 ++ pallets/transaction-multi-payment/src/lib.rs | 3 +-- runtime/adapters/src/lib.rs | 3 +-- runtime/adapters/src/tests/mock.rs | 4 +++- runtime/hydradx/src/assets.rs | 5 +++++ 7 files changed, 18 insertions(+), 6 deletions(-) diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index af3db8e4a..a93329c52 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -344,6 +344,7 @@ pub const ASSET_PAIR_ACCOUNT: AccountId = 12; parameter_types! { pub MaxNumberOfTrades: u8 = 3; + pub DefaultRoutePoolType: PoolType = PoolType::Omnipool; } type Pools = (OmniPool, Xyk); @@ -355,6 +356,7 @@ impl pallet_route_executor::Config for Test { type NativeAssetId = NativeCurrencyId; type Currency = FungibleCurrencies; type AMM = Pools; + type DefaultRoutePoolType = DefaultRoutePoolType; type WeightInfo = (); } diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index ece32a9fa..e9f026222 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -99,6 +99,9 @@ pub mod pallet { Error = DispatchError, >; + /// Pool type used in the default route + type DefaultRoutePoolType: Get>; + /// Weight information for the extrinsics. type WeightInfo: AmmTradeWeights>; } @@ -709,7 +712,7 @@ impl RouteProvider for Pallet { let onchain_route = Routes::::get(asset_pair.ordered_pair()); let default_route = vec![Trade { - pool: PoolType::Omnipool, + pool: T::DefaultRoutePoolType::get(), asset_in: asset_pair.asset_in, asset_out: asset_pair.asset_out, }]; diff --git a/pallets/route-executor/src/tests/mock.rs b/pallets/route-executor/src/tests/mock.rs index 48c4d33a3..f69271dd2 100644 --- a/pallets/route-executor/src/tests/mock.rs +++ b/pallets/route-executor/src/tests/mock.rs @@ -137,6 +137,7 @@ type Pools = (XYK, StableSwap, OmniPool, LBP); parameter_types! { pub NativeCurrencyId: AssetId = HDX; + pub DefaultRoutePoolType: PoolType = PoolType::Omnipool; } impl Config for Test { @@ -146,6 +147,7 @@ impl Config for Test { type NativeAssetId = NativeCurrencyId; type Currency = FungibleCurrencies; type AMM = Pools; + type DefaultRoutePoolType = DefaultRoutePoolType; type WeightInfo = (); } diff --git a/pallets/transaction-multi-payment/src/lib.rs b/pallets/transaction-multi-payment/src/lib.rs index 006ec3ebc..ad6c1a138 100644 --- a/pallets/transaction-multi-payment/src/lib.rs +++ b/pallets/transaction-multi-payment/src/lib.rs @@ -357,9 +357,9 @@ impl DepositFee, BalanceOf> for Deposit #[cfg(feature = "evm")] use { + frame_support::traits::{Currency as PalletCurrency, Imbalance, OnUnbalanced}, pallet_evm::{EVMCurrencyAdapter, OnChargeEVMTransaction}, sp_core::{H160, U256}, - frame_support::traits::{Imbalance, OnUnbalanced, Currency as PalletCurrency}, sp_runtime::traits::UniqueSaturatedInto, }; #[cfg(feature = "evm")] @@ -373,7 +373,6 @@ type PositiveImbalanceFor = type NegativeImbalanceFor = <::Currency as PalletCurrency>>::NegativeImbalance; - #[cfg(feature = "evm")] /// Implements the transaction payment for EVM transactions. pub struct TransferEvmFees(PhantomData); diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index e2ab33308..ab1b8a2cd 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -28,12 +28,11 @@ use frame_support::{ traits::{Contains, LockIdentifier, OriginTrait}, weights::{Weight, WeightToFee}, }; -use hydra_dx_math::support::rational::round_u512_to_rational; use hydra_dx_math::{ ema::EmaPrice, ensure, omnipool::types::BalanceUpdate, - support::rational::{round_to_rational, Rounding}, + support::rational::{round_to_rational, round_u512_to_rational, Rounding}, }; use hydradx_traits::router::{PoolType, Trade}; use hydradx_traits::{ diff --git a/runtime/adapters/src/tests/mock.rs b/runtime/adapters/src/tests/mock.rs index 7ca851594..5eee69147 100644 --- a/runtime/adapters/src/tests/mock.rs +++ b/runtime/adapters/src/tests/mock.rs @@ -31,7 +31,7 @@ use hydra_dx_math::ema::EmaPrice; use hydra_dx_math::support::rational::Rounding; use hydra_dx_math::to_u128_wrapper; use hydradx_traits::pools::DustRemovalAccountWhitelist; -use hydradx_traits::{AssetKind, AssetPairAccountIdFor, CanCreatePool, Registry, ShareTokenRegistry}; +use hydradx_traits::{router::PoolType, AssetKind, AssetPairAccountIdFor, CanCreatePool, Registry, ShareTokenRegistry}; use orml_traits::{parameter_type_with_key, GetByKey}; use pallet_currencies::fungibles::FungibleCurrencies; use pallet_currencies::BasicCurrencyAdapter; @@ -310,6 +310,7 @@ pub const ASSET_PAIR_ACCOUNT: AccountId = 12; parameter_types! { pub NativeCurrencyId: AssetId = HDX; + pub DefaultRoutePoolType: PoolType = PoolType::Omnipool; } type Pools = (Omnipool, XYK); @@ -321,6 +322,7 @@ impl pallet_route_executor::Config for Test { type NativeAssetId = NativeCurrencyId; type Currency = FungibleCurrencies; type AMM = Pools; + type DefaultRoutePoolType = DefaultRoutePoolType; type WeightInfo = (); } diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index cbeb192ae..c126f49fc 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -734,6 +734,10 @@ impl AmmTradeWeights> for RouterWeightInfo { } } +parameter_types! { + pub const DefaultRoutePoolType: PoolType = PoolType::Omnipool; +} + impl pallet_route_executor::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; @@ -741,6 +745,7 @@ impl pallet_route_executor::Config for Runtime { type Currency = FungibleCurrencies; type WeightInfo = RouterWeightInfo; type AMM = (Omnipool, Stableswap, XYK, LBP); + type DefaultRoutePoolType = DefaultRoutePoolType; type NativeAssetId = NativeAssetId; } From 0bd0ae835d848ee94d57221837f69f27b25fd0f8 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 7 Dec 2023 13:40:38 +0100 Subject: [PATCH 086/138] rebenchmark xyk and lbp pallet --- runtime/hydradx/src/weights/lbp.rs | 296 ++++++++++++++++------------ runtime/hydradx/src/weights/xyk.rs | 305 ++++++++++++++++------------- 2 files changed, 333 insertions(+), 268 deletions(-) diff --git a/runtime/hydradx/src/weights/lbp.rs b/runtime/hydradx/src/weights/lbp.rs index e832956b0..702acf1ea 100644 --- a/runtime/hydradx/src/weights/lbp.rs +++ b/runtime/hydradx/src/weights/lbp.rs @@ -15,11 +15,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_lbp + +//! Autogenerated weights for `pallet_lbp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-07, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx @@ -28,12 +31,11 @@ // --chain=dev // --steps=10 // --repeat=30 -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-lbp -// --output=lbp.rs +// --output=weights-1.1.0/lbp.rs // --extrinsic=* #![allow(unused_parens)] @@ -52,148 +54,184 @@ use pallet_lbp::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:1 w:1) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:1) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 141_654 nanoseconds. - Weight::from_parts(143_331_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `992` + // Estimated: `11322` + // Minimum execution time: 144_239_000 picoseconds. + Weight::from_parts(145_493_000, 11322) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:1 w:2) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:2) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn update_pool_data() -> Weight { - // Minimum execution time: 30_269 nanoseconds. - Weight::from_parts(30_677_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `3628` + // Minimum execution time: 30_335_000 picoseconds. + Weight::from_parts(30_851_000, 3628) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 98_867 nanoseconds. - Weight::from_parts(100_102_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `1180` + // Estimated: `11322` + // Minimum execution time: 101_829_000 picoseconds. + Weight::from_parts(102_585_000, 11322) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:0) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:0 w:1) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:0) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:0 w:1) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 125_051 nanoseconds. - Weight::from_parts(126_556_000, 0) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1368` + // Estimated: `11322` + // Minimum execution time: 133_454_000 picoseconds. + Weight::from_parts(134_608_000, 11322) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 217_207 nanoseconds. - Weight::from_parts(218_401_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `1585` + // Estimated: `13905` + // Minimum execution time: 218_509_000 picoseconds. + Weight::from_parts(220_220_000, 13905) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 211_853 nanoseconds. - Weight::from_parts(213_114_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `1585` + // Estimated: `13905` + // Minimum execution time: 218_313_000 picoseconds. + Weight::from_parts(220_221_000, 13905) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 66_725 nanoseconds. - Weight::from_parts(67_159_000, 0) // Standard Error: 592_525 - .saturating_add(Weight::from_parts(2_278_417, 0).saturating_mul(c as u64)) - // Standard Error: 1_300_761 - .saturating_add(Weight::from_parts(151_794_260, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + fn router_execution_sell(c: u32, e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `756 + e * (829 ±0)` + // Estimated: `6156 + e * (7749 ±34_606_984_459_695_172)` + // Minimum execution time: 65_871_000 picoseconds. + Weight::from_parts(66_318_000, 6156) + // Standard Error: 630_436 + .saturating_add(Weight::from_parts(2_423_224, 0).saturating_mul(c.into())) + // Standard Error: 1_383_987 + .saturating_add(Weight::from_parts(159_366_005, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 118_181 nanoseconds. - Weight::from_parts(118_740_000, 0) // Standard Error: 769_691 - .saturating_add(Weight::from_parts(3_767_843, 0).saturating_mul(c as u64)) - // Standard Error: 2_541_567 - .saturating_add(Weight::from_parts(124_213_432, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + fn router_execution_buy(c: u32, e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `756 + e * (829 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 117_007_000 picoseconds. + Weight::from_parts(117_584_000, 6156) + // Standard Error: 756_511 + .saturating_add(Weight::from_parts(3_725_645, 0).saturating_mul(c.into())) + // Standard Error: 2_498_048 + .saturating_add(Weight::from_parts(131_621_688, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:0) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_buy() -> Weight { - // Minimum execution time: 66_824 nanoseconds. - Weight::from_parts(67_440_000, 0).saturating_add(T::DbWeight::get().reads(3 as u64)) + // Proof Size summary in bytes: + // Measured: `756` + // Estimated: `6156` + // Minimum execution time: 67_314_000 picoseconds. + Weight::from_parts(67_687_000, 6156) + .saturating_add(T::DbWeight::get().reads(3_u64)) } } diff --git a/runtime/hydradx/src/weights/xyk.rs b/runtime/hydradx/src/weights/xyk.rs index d5ecde0ae..29ed73199 100644 --- a/runtime/hydradx/src/weights/xyk.rs +++ b/runtime/hydradx/src/weights/xyk.rs @@ -15,11 +15,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_xyk + +//! Autogenerated weights for `pallet_xyk` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-07, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx @@ -28,12 +31,11 @@ // --chain=dev // --steps=10 // --repeat=30 -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-xyk -// --output=xyk.rs +// --output=weights-1.1.0/xyk.rs // --extrinsic=* #![allow(unused_parens)] @@ -52,154 +54,179 @@ use pallet_xyk::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: XYK ShareToken (r:1 w:1) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:1 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:2 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:0 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: XYK PoolAssets (r:0 w:1) - // Proof: XYK PoolAssets (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:1 w:1) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:0 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `XYK::PoolAssets` (r:0 w:1) + /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 190_185 nanoseconds. - Weight::from_parts(192_567_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `1140` + // Estimated: `13905` + // Minimum execution time: 197_380_000 picoseconds. + Weight::from_parts(198_746_000, 13905) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(16_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:1 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:1 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 164_323 nanoseconds. - Weight::from_parts(165_841_000, 0) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Proof Size summary in bytes: + // Measured: `1803` + // Estimated: `13905` + // Minimum execution time: 170_843_000 picoseconds. + Weight::from_parts(172_005_000, 13905) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:1 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:1 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 155_404 nanoseconds. - Weight::from_parts(156_560_000, 0) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1749` + // Estimated: `13905` + // Minimum execution time: 163_301_000 picoseconds. + Weight::from_parts(164_383_000, 13905) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 119_610 nanoseconds. - Weight::from_parts(120_418_000, 0) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1492` + // Estimated: `11322` + // Minimum execution time: 123_476_000 picoseconds. + Weight::from_parts(124_420_000, 11322) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 119_865 nanoseconds. - Weight::from_parts(120_541_000, 0) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1492` + // Estimated: `11322` + // Minimum execution time: 122_832_000 picoseconds. + Weight::from_parts(124_531_000, 11322) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 20_906 nanoseconds. - Weight::from_parts(8_365_948, 0) // Standard Error: 43_229 - .saturating_add(Weight::from_parts(6_554_981, 0).saturating_mul(c as u64)) - // Standard Error: 43_229 - .saturating_add(Weight::from_parts(105_218_621, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) + fn router_execution_sell(c: u32, e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `583 + e * (909 ±0)` + // Estimated: `6156 + e * (5166 ±213_489_293_787_578_112)` + // Minimum execution time: 21_224_000 picoseconds. + Weight::from_parts(6_571_292, 6156) + // Standard Error: 35_974 + .saturating_add(Weight::from_parts(7_580_298, 0).saturating_mul(c.into())) + // Standard Error: 35_974 + .saturating_add(Weight::from_parts(109_257_210, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 27_261 nanoseconds. - Weight::from_parts(7_044_054, 0) // Standard Error: 46_197 - .saturating_add(Weight::from_parts(7_022_106, 0).saturating_mul(c as u64)) - // Standard Error: 78_379 - .saturating_add(Weight::from_parts(105_927_586, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) + fn router_execution_buy(c: u32, e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `583 + e * (909 ±0)` + // Estimated: `6156 + e * (5166 ±0)` + // Minimum execution time: 28_835_000 picoseconds. + Weight::from_parts(6_492_939, 6156) + // Standard Error: 21_362 + .saturating_add(Weight::from_parts(7_668_020, 0).saturating_mul(c.into())) + // Standard Error: 36_243 + .saturating_add(Weight::from_parts(109_179_610, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } } From 66db772ecfc5e457f937ca6f415a24c068209566 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 7 Dec 2023 13:46:44 +0100 Subject: [PATCH 087/138] rebenchmark router pallet --- runtime/hydradx/src/weights/route_executor.rs | 145 ++++++++++-------- 1 file changed, 80 insertions(+), 65 deletions(-) diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/route_executor.rs index a9cc1b3da..aa06fd3ba 100644 --- a/runtime/hydradx/src/weights/route_executor.rs +++ b/runtime/hydradx/src/weights/route_executor.rs @@ -15,11 +15,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_route_executor + +//! Autogenerated weights for `pallet_route_executor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-24, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-07, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx @@ -28,12 +31,11 @@ // --chain=dev // --steps=10 // --repeat=30 -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-route-executor -// --output=route-executorp.rs +// --output=weights-1.1.0/route_executor.rs // --extrinsic=* #![allow(unused_parens)] @@ -52,72 +54,85 @@ use pallet_route_executor::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. /// The range of component `s` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, s: u32) -> Weight { - // Minimum execution time: 76_217 nanoseconds. - Weight::from_parts(25_542_379, 0) // Standard Error: 108_648 - .saturating_add(Weight::from_parts(51_664_642, 0).saturating_mul(c as u64)) - // Standard Error: 108_648 - .saturating_add(Weight::from_parts(299_167_877, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(s as u64))) + fn calculate_and_execute_sell_in_lbp(c: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1600 + s * (1416 ±0)` + // Estimated: `256132379456316 + s * (7749 ±0)` + // Minimum execution time: 73_947_000 picoseconds. + Weight::from_parts(22_711_786, 256132379456316) + // Standard Error: 88_020 + .saturating_add(Weight::from_parts(52_144_169, 0).saturating_mul(c.into())) + // Standard Error: 88_020 + .saturating_add(Weight::from_parts(292_779_044, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(s.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(s.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(s.into())) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { - // Minimum execution time: 76_324 nanoseconds. - Weight::from_parts(77_144_000, 0) // Standard Error: 602_104 - .saturating_add(Weight::from_parts(2_491_556, 0).saturating_mul(c as u64)) - // Standard Error: 1_321_790 - .saturating_add(Weight::from_parts(250_641_794, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(b as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(b as u64))) + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1567 + b * (1418 ±0)` + // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` + // Minimum execution time: 74_174_000 picoseconds. + Weight::from_parts(74_960_000, 6156) + // Standard Error: 621_035 + .saturating_add(Weight::from_parts(2_411_577, 0).saturating_mul(c.into())) + // Standard Error: 1_363_349 + .saturating_add(Weight::from_parts(243_881_415, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(b.into())) } - // Storage: Router Routes (r:1 w:1) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:9 w:0) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:4 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:3 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: XYK ShareToken (r:3 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:0) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Router::Routes` (r:1 w:1) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:9 w:0) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:2 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:3 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:3 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:0) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { - // Minimum execution time: 651_581 nanoseconds. - Weight::from_parts(655_822_000, 0) - .saturating_add(T::DbWeight::get().reads(26 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `4201` + // Estimated: `24237` + // Minimum execution time: 1_114_706_000 picoseconds. + Weight::from_parts(1_119_899_000, 24237) + .saturating_add(T::DbWeight::get().reads(27_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } From 9eefe5fcbd596065cfe17d1f86bbe3737445cbd8 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 7 Dec 2023 14:21:13 +0100 Subject: [PATCH 088/138] simplify router weight method --- pallets/route-executor/src/weights.rs | 83 +++++++++---------- runtime/hydradx/src/assets.rs | 1 - .../src/benchmarking/route_executor.rs | 15 ++-- runtime/hydradx/src/weights/route_executor.rs | 23 ++--- 4 files changed, 55 insertions(+), 67 deletions(-) diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index 61b276842..21a97906b 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -48,7 +48,7 @@ use sp_std::marker::PhantomData; /// Weight functions needed for pallet_route_executor. pub trait WeightInfo { - fn calculate_and_execute_sell_in_lbp(c: u32, s: u32) -> Weight; + fn calculate_and_execute_sell_in_lbp(c: u32) -> Weight; fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight; fn set_route_for_xyk() -> Weight; } @@ -57,27 +57,27 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - /// The range of component `s` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, s: u32) -> Weight { - // Minimum execution time: 76_730 nanoseconds. - Weight::from_parts(19_321_625, 0) // Standard Error: 254_069 - .saturating_add(Weight::from_parts(58_065_650, 0).saturating_mul(c as u64)) - // Standard Error: 254_069 - .saturating_add(Weight::from_parts(304_323_425, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(s as u64))) + fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `3016` + // Estimated: `13905` + // Minimum execution time: 235_000_000 picoseconds. + Weight::from_parts(237_720_588, 13905) + // Standard Error: 215_130 + .saturating_add(Weight::from_parts(31_279_411, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } // Storage: LBP PoolData (r:1 w:0) // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) @@ -129,28 +129,27 @@ impl WeightInfo for HydraWeight { // For backwards compatibility and tests impl WeightInfo for () { - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - /// The range of component `s` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, s: u32) -> Weight { - // Minimum execution time: 76_730 nanoseconds. - Weight::from_parts(19_321_625, 0) - // Standard Error: 254_069 - .saturating_add(Weight::from_parts(58_065_650, 0).saturating_mul(c.into())) - // Standard Error: 254_069 - .saturating_add(Weight::from_parts(304_323_425, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(3)) - .saturating_add(RocksDbWeight::get().reads((9_u64).saturating_mul(s.into()))) - .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(s.into()))) + fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `3016` + // Estimated: `13905` + // Minimum execution time: 235_000_000 picoseconds. + Weight::from_parts(237_720_588, 13905) + // Standard Error: 215_130 + .saturating_add(Weight::from_parts(31_279_411, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } // Storage: LBP PoolData (r:1 w:0) // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index c126f49fc..7fff425b2 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -516,7 +516,6 @@ impl RouterWeightInfo { ) -> Weight { weights::route_executor::HydraWeight::::calculate_and_execute_sell_in_lbp( num_of_calc_sell, - num_of_execute_sell, ) .saturating_sub(weights::lbp::HydraWeight::::router_execution_sell( num_of_calc_sell.saturating_add(num_of_execute_sell), diff --git a/runtime/hydradx/src/benchmarking/route_executor.rs b/runtime/hydradx/src/benchmarking/route_executor.rs index 79d05b9d2..fa588a27b 100644 --- a/runtime/hydradx/src/benchmarking/route_executor.rs +++ b/runtime/hydradx/src/benchmarking/route_executor.rs @@ -128,7 +128,6 @@ runtime_benchmarks! { // Calculates the weight of LBP trade. Used in the calculation to determine the weight of the overhead. calculate_and_execute_sell_in_lbp { let c in 0..1; // if c == 1, calculate_sell_trade_amounts is executed - let s in 0..1; // if e == 1, sell is executed let asset_in = 1u32; let asset_out = 2u32; @@ -149,17 +148,13 @@ runtime_benchmarks! { if c != 0 { Router::calculate_sell_trade_amounts(trades.as_slice(), amount_to_sell)?; } - if s != 0 { - Router::sell(RawOrigin::Signed(seller.clone()).into(), asset_in, asset_out, amount_to_sell, 0u128, trades.clone())?; - } + Router::sell(RawOrigin::Signed(seller.clone()).into(), asset_in, asset_out, amount_to_sell, 0u128, trades.clone())?; } verify { - if s != 0 { - assert_eq!(>::free_balance( - asset_in, - &seller, - ), INITIAL_BALANCE - amount_to_sell); - } + assert_eq!(>::free_balance( + asset_in, + &seller, + ), INITIAL_BALANCE - amount_to_sell); } // Calculates the weight of LBP trade. Used in the calculation to determine the weight of the overhead. diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/route_executor.rs index aa06fd3ba..642f5c879 100644 --- a/runtime/hydradx/src/weights/route_executor.rs +++ b/runtime/hydradx/src/weights/route_executor.rs @@ -65,21 +65,16 @@ impl WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - /// The range of component `s` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, s: u32, ) -> Weight { + fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1600 + s * (1416 ±0)` - // Estimated: `256132379456316 + s * (7749 ±0)` - // Minimum execution time: 73_947_000 picoseconds. - Weight::from_parts(22_711_786, 256132379456316) - // Standard Error: 88_020 - .saturating_add(Weight::from_parts(52_144_169, 0).saturating_mul(c.into())) - // Standard Error: 88_020 - .saturating_add(Weight::from_parts(292_779_044, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(s.into()))) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(s.into()))) - .saturating_add(Weight::from_parts(0, 7749).saturating_mul(s.into())) + // Measured: `3016` + // Estimated: `13905` + // Minimum execution time: 235_000_000 picoseconds. + Weight::from_parts(237_720_588, 13905) + // Standard Error: 215_130 + .saturating_add(Weight::from_parts(31_279_411, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) From c768e363e17cd7bbbd36f59d3a5906025cc7dda9 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 7 Dec 2023 14:47:50 +0100 Subject: [PATCH 089/138] rebenchmark router pallet --- pallets/route-executor/src/weights.rs | 193 ++++++++++-------- runtime/hydradx/src/weights/route_executor.rs | 24 +-- 2 files changed, 116 insertions(+), 101 deletions(-) diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index 21a97906b..594b0e70a 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -72,58 +72,66 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` - // Minimum execution time: 235_000_000 picoseconds. - Weight::from_parts(237_720_588, 13905) - // Standard Error: 215_130 - .saturating_add(Weight::from_parts(31_279_411, 0).saturating_mul(c.into())) + // Minimum execution time: 319_428_000 picoseconds. + Weight::from_parts(322_791_455, 13905) + // Standard Error: 166_077 + .saturating_add(Weight::from_parts(49_583_606, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { - // Minimum execution time: 76_740 nanoseconds. - Weight::from_parts(77_204_000, 0) // Standard Error: 1_377_095 - .saturating_add(Weight::from_parts(4_062_223, 0).saturating_mul(c as u64)) - // Standard Error: 2_974_866 - .saturating_add(Weight::from_parts(253_276_319, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(b as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(b as u64))) + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1567 + b * (1418 ±0)` + // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` + // Minimum execution time: 74_844_000 picoseconds. + Weight::from_parts(75_590_000, 6156) + // Standard Error: 629_589 + .saturating_add(Weight::from_parts(2_457_356, 0).saturating_mul(c.into())) + // Standard Error: 1_382_129 + .saturating_add(Weight::from_parts(249_588_283, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(b.into())) } - // Storage: Router Routes (r:1 w:1) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:9 w:0) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:4 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:3 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: XYK ShareToken (r:3 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:0) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Router::Routes` (r:1 w:1) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:9 w:0) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:2 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:3 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:3 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:0) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { - // Minimum execution time: 637_916 nanoseconds. - Weight::from_parts(640_758_000, 0) - .saturating_add(T::DbWeight::get().reads(26 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `4201` + // Estimated: `24237` + // Minimum execution time: 1_151_470_000 picoseconds. + Weight::from_parts(1_157_296_000, 24237) + .saturating_add(T::DbWeight::get().reads(27_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -144,58 +152,65 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` - // Minimum execution time: 235_000_000 picoseconds. - Weight::from_parts(237_720_588, 13905) - // Standard Error: 215_130 - .saturating_add(Weight::from_parts(31_279_411, 0).saturating_mul(c.into())) + // Minimum execution time: 319_428_000 picoseconds. + Weight::from_parts(322_791_455, 13905) + // Standard Error: 166_077 + .saturating_add(Weight::from_parts(49_583_606, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { - // Minimum execution time: 76_740 nanoseconds. - Weight::from_parts(77_204_000, 0) - // Standard Error: 1_377_095 - .saturating_add(Weight::from_parts(4_062_223, 0).saturating_mul(c.into())) - // Standard Error: 2_974_866 - .saturating_add(Weight::from_parts(253_276_319, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(3)) + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1567 + b * (1418 ±0)` + // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` + // Minimum execution time: 74_844_000 picoseconds. + Weight::from_parts(75_590_000, 6156) + // Standard Error: 629_589 + .saturating_add(Weight::from_parts(2_457_356, 0).saturating_mul(c.into())) + // Standard Error: 1_382_129 + .saturating_add(Weight::from_parts(249_588_283, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((9_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(b.into())) } - // Storage: Router Routes (r:1 w:1) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:9 w:0) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:4 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:3 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: XYK ShareToken (r:3 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:0) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Router::Routes` (r:1 w:1) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:9 w:0) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:2 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:3 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:3 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:0) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { - // Minimum execution time: 637_916 nanoseconds. - Weight::from_parts(640_758_000, 0) - .saturating_add(RocksDbWeight::get().reads(26)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `4201` + // Estimated: `24237` + // Minimum execution time: 1_151_470_000 picoseconds. + Weight::from_parts(1_157_296_000, 24237) + .saturating_add(RocksDbWeight::get().reads(27_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/route_executor.rs index 642f5c879..46bb3904b 100644 --- a/runtime/hydradx/src/weights/route_executor.rs +++ b/runtime/hydradx/src/weights/route_executor.rs @@ -69,10 +69,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` - // Minimum execution time: 235_000_000 picoseconds. - Weight::from_parts(237_720_588, 13905) - // Standard Error: 215_130 - .saturating_add(Weight::from_parts(31_279_411, 0).saturating_mul(c.into())) + // Minimum execution time: 319_428_000 picoseconds. + Weight::from_parts(322_791_455, 13905) + // Standard Error: 166_077 + .saturating_add(Weight::from_parts(49_583_606, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -92,12 +92,12 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` - // Minimum execution time: 74_174_000 picoseconds. - Weight::from_parts(74_960_000, 6156) - // Standard Error: 621_035 - .saturating_add(Weight::from_parts(2_411_577, 0).saturating_mul(c.into())) - // Standard Error: 1_363_349 - .saturating_add(Weight::from_parts(243_881_415, 0).saturating_mul(b.into())) + // Minimum execution time: 74_844_000 picoseconds. + Weight::from_parts(75_590_000, 6156) + // Standard Error: 629_589 + .saturating_add(Weight::from_parts(2_457_356, 0).saturating_mul(c.into())) + // Standard Error: 1_382_129 + .saturating_add(Weight::from_parts(249_588_283, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) @@ -125,8 +125,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4201` // Estimated: `24237` - // Minimum execution time: 1_114_706_000 picoseconds. - Weight::from_parts(1_119_899_000, 24237) + // Minimum execution time: 1_151_470_000 picoseconds. + Weight::from_parts(1_157_296_000, 24237) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } From 3015b7da8702e1a2ee1d834cb2204e0647e65df9 Mon Sep 17 00:00:00 2001 From: martinfridrich Date: Thu, 7 Dec 2023 14:52:43 +0100 Subject: [PATCH 090/138] Fixed pallet-claims tests --- pallets/claims/src/mock.rs | 3 ++- pallets/claims/src/tests.rs | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pallets/claims/src/mock.rs b/pallets/claims/src/mock.rs index cc3e0993c..0d9fcdcfd 100644 --- a/pallets/claims/src/mock.rs +++ b/pallets/claims/src/mock.rs @@ -118,7 +118,8 @@ impl ExtBuilder { let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(ALICE, 1), (BOB, 1), (CHARLIE, Balance::MAX - 1)], + //NOTE: total issuance must be less than Balance::MAX + balances: vec![(ALICE, 1), (BOB, 1), (CHARLIE, Balance::MAX - 2)], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/claims/src/tests.rs b/pallets/claims/src/tests.rs index 756ebd932..d51865886 100644 --- a/pallets/claims/src/tests.rs +++ b/pallets/claims/src/tests.rs @@ -1,7 +1,5 @@ // This file is part of HydraDX. - -// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 +// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). 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. @@ -65,12 +63,12 @@ fn claim_cant_overflow() { let charlie_eth_addr = EthereumAddress(hex!["8202c0af5962b750123ce1a9b12e1c30a4973557"]); assert_eq!(Claims::::get(charlie_eth_addr), CLAIM_AMOUNT); - assert_eq!(Balances::free_balance(CHARLIE), primitives::Balance::MAX - 1); + assert_eq!(Balances::free_balance(CHARLIE), primitives::Balance::MAX - 2); assert_noop!(ClaimsPallet::claim(RuntimeOrigin::signed(CHARLIE), EcdsaSignature(signature)), Error::::BalanceOverflow); assert_eq!(Claims::::get(charlie_eth_addr), CLAIM_AMOUNT); - assert_eq!(Balances::free_balance(CHARLIE), primitives::Balance::MAX - 1); + assert_eq!(Balances::free_balance(CHARLIE), primitives::Balance::MAX - 2); }) } From 741599883f24512ad3bc478423ddd02d5fcf5ae0 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Thu, 7 Dec 2023 17:07:23 +0100 Subject: [PATCH 091/138] evm stuff --- node/src/chain_spec/mod.rs | 2 +- node/src/service/evm.rs | 1 - runtime/hydradx/src/evm/mod.rs | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index c97288136..ed607a409 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -187,7 +187,7 @@ pub fn parachain_genesis( omnipool_warehouse_lm: Default::default(), omnipool_liquidity_mining: Default::default(), evm_chain_id: hydradx_runtime::EVMChainIdConfig { - chain_id: 222_222u32.into(), + chain_id: 222_223u32.into(), ..Default::default() }, ethereum: Default::default(), diff --git a/node/src/service/evm.rs b/node/src/service/evm.rs index 1556eef42..515d910b9 100644 --- a/node/src/service/evm.rs +++ b/node/src/service/evm.rs @@ -47,7 +47,6 @@ use sp_core::H256; use sp_runtime::traits::{BlakeTwo256, Block as BlockT}; /// The ethereum-compatibility configuration used to run a node. -/// evmTODO: revise settings, these are by Centrifuge #[derive(Clone, Copy, Debug, clap::Parser)] pub struct EthereumConfig { /// Maximum number of logs in a query. diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 13fa67f51..f9e84968b 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -44,7 +44,6 @@ use sp_core::{Get, U256}; mod accounts_conversion; pub mod precompiles; -// Centrifuge / Moonbeam: // Current approximation of the gas per second consumption considering // EVM execution over compiled WASM (on 4.4Ghz CPU). // Given the 500ms Weight, from which 75% only are used for transactions, @@ -118,8 +117,6 @@ impl FeeCalculator for FixedGasPrice { } parameter_types! { - /// Configuration values copied from Moonriver - /// /// The amount of gas per pov. A ratio of 4 if we convert ref_time to gas and we compare /// it with the pov_size for a block. E.g. /// ceil( From 0eeefc1fde76bab526522ca77e03ade74af01839 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Thu, 7 Dec 2023 17:12:38 +0100 Subject: [PATCH 092/138] more evm stuff --- runtime/hydradx/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 780d720d6..e5a7892c6 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -445,8 +445,6 @@ impl_runtime_apis! { let is_transactional = false; let validate = true; - // Copied from Moonbeam - // // Estimated encoded transaction size must be based on the heaviest transaction // type (EIP1559Transaction) to be compatible with all transaction types. let mut estimated_transaction_len = data.len() + From 2739cfedd80057afdd0a128c96e058ed823b0eca Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 7 Dec 2023 17:16:56 +0100 Subject: [PATCH 093/138] fix benchmarking --- pallets/route-executor/src/weights.rs | 8 ++++---- runtime/hydradx/Cargo.toml | 2 ++ runtime/hydradx/src/assets.rs | 12 +++++------- runtime/hydradx/src/lib.rs | 13 +++++++++++-- runtime/hydradx/src/weights/lbp.rs | 8 +++----- runtime/hydradx/src/weights/route_executor.rs | 5 ++--- runtime/hydradx/src/weights/xyk.rs | 5 ++--- 7 files changed, 29 insertions(+), 24 deletions(-) diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index 594b0e70a..77bdc2914 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -68,7 +68,7 @@ impl WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { + fn calculate_and_execute_sell_in_lbp(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` @@ -91,7 +91,7 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` @@ -148,7 +148,7 @@ impl WeightInfo for () { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { + fn calculate_and_execute_sell_in_lbp(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` @@ -171,7 +171,7 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index b1f25d1b3..3c71409b8 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -171,6 +171,7 @@ runtime-benchmarks = [ "pallet-democracy/runtime-benchmarks", "pallet-asset-registry/runtime-benchmarks", "sp-runtime/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", "pallet-omnipool/runtime-benchmarks", @@ -188,6 +189,7 @@ runtime-benchmarks = [ "pallet-stableswap/runtime-benchmarks", "pallet-lbp/runtime-benchmarks", "pallet-xyk/runtime-benchmarks", + "pallet-elections-phragmen/runtime-benchmarks", ] std = [ "codec/std", diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 7fff425b2..f65dd21b3 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -514,13 +514,11 @@ impl RouterWeightInfo { num_of_calc_sell: u32, num_of_execute_sell: u32, ) -> Weight { - weights::route_executor::HydraWeight::::calculate_and_execute_sell_in_lbp( - num_of_calc_sell, - ) - .saturating_sub(weights::lbp::HydraWeight::::router_execution_sell( - num_of_calc_sell.saturating_add(num_of_execute_sell), - num_of_execute_sell, - )) + weights::route_executor::HydraWeight::::calculate_and_execute_sell_in_lbp(num_of_calc_sell) + .saturating_sub(weights::lbp::HydraWeight::::router_execution_sell( + num_of_calc_sell.saturating_add(num_of_execute_sell), + num_of_execute_sell, + )) } pub fn buy_and_calculate_buy_trade_amounts_overhead_weight( diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index e5a7892c6..02180558e 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -642,11 +642,20 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark}; + use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch, add_benchmark}; use frame_support::traits::TrackedStorageKey; use orml_benchmarking::add_benchmark as orml_add_benchmark; use frame_system_benchmarking::Pallet as SystemBench; - impl frame_system_benchmarking::Config for Runtime {} + impl frame_system_benchmarking::Config for Runtime { + fn setup_set_code_requirements(code: &sp_std::vec::Vec) -> Result<(), BenchmarkError> { + ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); + Ok(()) + } + + fn verify_set_code() { + System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); + } + } let whitelist: Vec = vec![ // Block Number diff --git a/runtime/hydradx/src/weights/lbp.rs b/runtime/hydradx/src/weights/lbp.rs index 702acf1ea..035f026a7 100644 --- a/runtime/hydradx/src/weights/lbp.rs +++ b/runtime/hydradx/src/weights/lbp.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - //! Autogenerated weights for `pallet_lbp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev @@ -180,7 +179,7 @@ impl WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32, ) -> Weight { + fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `756 + e * (829 ±0)` // Estimated: `6156 + e * (7749 ±34_606_984_459_695_172)` @@ -207,7 +206,7 @@ impl WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32, ) -> Weight { + fn router_execution_buy(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `756 + e * (829 ±0)` // Estimated: `6156 + e * (7749 ±0)` @@ -231,7 +230,6 @@ impl WeightInfo for HydraWeight { // Measured: `756` // Estimated: `6156` // Minimum execution time: 67_314_000 picoseconds. - Weight::from_parts(67_687_000, 6156) - .saturating_add(T::DbWeight::get().reads(3_u64)) + Weight::from_parts(67_687_000, 6156).saturating_add(T::DbWeight::get().reads(3_u64)) } } diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/route_executor.rs index 46bb3904b..812ab2ec9 100644 --- a/runtime/hydradx/src/weights/route_executor.rs +++ b/runtime/hydradx/src/weights/route_executor.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - //! Autogenerated weights for `pallet_route_executor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev @@ -65,7 +64,7 @@ impl WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { + fn calculate_and_execute_sell_in_lbp(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` @@ -88,7 +87,7 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` diff --git a/runtime/hydradx/src/weights/xyk.rs b/runtime/hydradx/src/weights/xyk.rs index 29ed73199..25650898d 100644 --- a/runtime/hydradx/src/weights/xyk.rs +++ b/runtime/hydradx/src/weights/xyk.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - //! Autogenerated weights for `pallet_xyk` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev @@ -187,7 +186,7 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32, ) -> Weight { + fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `583 + e * (909 ±0)` // Estimated: `6156 + e * (5166 ±213_489_293_787_578_112)` @@ -214,7 +213,7 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32, ) -> Weight { + fn router_execution_buy(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `583 + e * (909 ±0)` // Estimated: `6156 + e * (5166 ±0)` From 65a46d1b42f161c550671201e805dfe370e7a699 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 8 Dec 2023 11:52:08 +0100 Subject: [PATCH 094/138] update makefile --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b8331a7b0..4a352d26d 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ coverage: .PHONY: clippy clippy: cargo clippy --release --all-targets --all-features -- -D warnings -A deprecated + cargo clippy --release --locked --all-targets -- -D warnings -A deprecated .PHONY: format format: From d958f16e9e10839a4884b7b40d0d85789c75ea45 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 8 Dec 2023 12:49:31 +0100 Subject: [PATCH 095/138] configure defer duration --- runtime/hydradx/src/xcm.rs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index e78d0dd46..0d50aa4af 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -230,8 +230,25 @@ impl pallet_xcm::Config for Runtime { type ReachableDest = ReachableDest; } +#[test] +fn defer_duration_configuration() { + use sp_runtime::{traits::One, FixedPointNumber, FixedU128}; + /// Calculate the configuration value for the defer duration based on the desired defer duration and + /// the threshold percentage when to start deferring. + /// - `defer_by`: the desired defer duration when reaching the rate limit + /// - `a``: the fraction of the rate limit where we start deferring, e.g. 0.9 + fn defer_duration(defer_by: u32, a: FixedU128) -> u32 { + assert!(a < FixedU128::one()); + // defer_by * a / (1 - a) + (FixedU128::one() / (FixedU128::one() - a)).saturating_mul_int(a.saturating_mul_int(defer_by)) + } + assert_eq!( + defer_duration(600 * 4, FixedU128::from_rational(9, 10)), + DeferDuration::get() + ); +} parameter_types! { - pub DeferDuration: RelayChainBlockNumber = 600; // 1 hour + pub DeferDuration: RelayChainBlockNumber = 600 * 36; // 36 hours pub MaxDeferDuration: RelayChainBlockNumber = 600 * 24 * 10; // 10 days } From 544cb4aadb98ea032744e95e158b844a6b16eabe Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 8 Dec 2023 14:24:23 +0100 Subject: [PATCH 096/138] bump runtime version --- Cargo.lock | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e1fb6a69..974d204e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4971,7 +4971,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "194.0.0" +version = "195.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 3c71409b8..bf92c4696 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "194.0.0" +version = "195.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 02180558e..b5a5ea10b 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 194, + spec_version: 195, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 7e997371d7f2110f7719d2f279a153feb973b994 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 8 Dec 2023 16:01:06 +0100 Subject: [PATCH 097/138] pin orml dependencies --- Cargo.lock | 1281 +++++++--------------------------------------------- Cargo.toml | 20 +- 2 files changed, 174 insertions(+), 1127 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 974d204e8..5e12e72d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -36,25 +36,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "aead" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331" -dependencies = [ - "generic-array 0.14.7", -] - -[[package]] -name = "aead" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" -dependencies = [ - "generic-array 0.14.7", - "rand_core 0.6.4", -] - [[package]] name = "aead" version = "0.5.2" @@ -65,29 +46,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "aes" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884391ef1066acaa41e766ba8f596341b96e93ce34f9a43e7d24bf0a0eaf0561" -dependencies = [ - "aes-soft", - "aesni", - "cipher 0.2.5", -] - -[[package]] -name = "aes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" -dependencies = [ - "cfg-if", - "cipher 0.3.0", - "cpufeatures", - "opaque-debug 0.3.0", -] - [[package]] name = "aes" version = "0.8.3" @@ -95,58 +53,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" dependencies = [ "cfg-if", - "cipher 0.4.4", + "cipher", "cpufeatures", ] -[[package]] -name = "aes-gcm" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" -dependencies = [ - "aead 0.4.3", - "aes 0.7.5", - "cipher 0.3.0", - "ctr 0.8.0", - "ghash 0.4.4", - "subtle", -] - [[package]] name = "aes-gcm" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ - "aead 0.5.2", - "aes 0.8.3", - "cipher 0.4.4", - "ctr 0.9.2", - "ghash 0.5.0", + "aead", + "aes", + "cipher", + "ctr", + "ghash", "subtle", ] -[[package]] -name = "aes-soft" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072" -dependencies = [ - "cipher 0.2.5", - "opaque-debug 0.3.0", -] - -[[package]] -name = "aesni" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce" -dependencies = [ - "cipher 0.2.5", - "opaque-debug 0.3.0", -] - [[package]] name = "ahash" version = "0.7.7" @@ -244,30 +168,30 @@ checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" [[package]] name = "anstyle-parse" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +checksum = "a3a318f1f38d2418400f8209655bfd825785afd25aa30bb7ba6cc792e4596748" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -299,12 +223,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "arc-swap" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" - [[package]] name = "ark-bls12-381" version = "0.4.0" @@ -417,9 +335,9 @@ dependencies = [ [[package]] name = "ark-scale" -version = "0.0.11" +version = "0.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bd73bb6ddb72630987d37fa963e99196896c0d0ea81b7c894567e74a2f83af" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" dependencies = [ "ark-ec", "ark-ff", @@ -492,9 +410,9 @@ dependencies = [ [[package]] name = "array-bytes" -version = "6.2.0" +version = "6.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de17a919934ad8c5cc99a1a74de4e2dab95d6121a8f27f94755ff525b630382c" +checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" [[package]] name = "arrayref" @@ -523,29 +441,13 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" -[[package]] -name = "asn1-rs" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ff05a702273012438132f449575dbc804e27b2f3cbe3069aa237d26c98fa33" -dependencies = [ - "asn1-rs-derive 0.1.0", - "asn1-rs-impl", - "displaydoc", - "nom", - "num-traits", - "rusticata-macros", - "thiserror", - "time", -] - [[package]] name = "asn1-rs" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" dependencies = [ - "asn1-rs-derive 0.4.0", + "asn1-rs-derive", "asn1-rs-impl", "displaydoc", "nom", @@ -555,18 +457,6 @@ dependencies = [ "time", ] -[[package]] -name = "asn1-rs-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db8b7511298d5b7784b40b092d9e9dcd3a627a5707e4b5e507931ab0d44eeebf" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure", -] - [[package]] name = "asn1-rs-derive" version = "0.4.0" @@ -626,11 +516,11 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" dependencies = [ - "async-lock 3.1.2", + "async-lock 3.2.0", "async-task", "concurrent-queue", "fastrand 2.0.1", - "futures-lite 2.0.1", + "futures-lite 2.1.0", "slab", ] @@ -672,14 +562,14 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6d3b15875ba253d1110c740755e246537483f152fa334f91abd7fe84c88b3ff" dependencies = [ - "async-lock 3.1.2", + "async-lock 3.2.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.0.1", + "futures-lite 2.1.0", "parking", "polling 3.3.1", - "rustix 0.38.26", + "rustix 0.38.27", "slab", "tracing", "windows-sys 0.52.0", @@ -696,9 +586,9 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.1.2" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dea8b3453dd7cc96711834b75400d671b73e3656975fa68d9f277163b7f7e316" +checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" dependencies = [ "event-listener 4.0.0", "event-listener-strategy", @@ -729,7 +619,7 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.26", + "rustix 0.38.27", "windows-sys 0.48.0", ] @@ -756,7 +646,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 0.38.26", + "rustix 0.38.27", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -863,7 +753,7 @@ dependencies = [ "ark-ec", "ark-ed-on-bls12-381-bandersnatch", "ark-ff", - "ark-scale 0.0.11", + "ark-scale 0.0.12", "ark-serialize", "ark-std", "dleq_vrf", @@ -882,12 +772,6 @@ version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" -[[package]] -name = "base16ct" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" - [[package]] name = "base16ct" version = "0.2.0" @@ -1074,7 +958,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" dependencies = [ - "block-padding 0.1.5", + "block-padding", "byte-tools", "byteorder", "generic-array 0.12.4", @@ -1098,16 +982,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "block-modes" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a0e8073e8baa88212fb5823574c02ebccb395136ba9a164ab89379ec6072f0" -dependencies = [ - "block-padding 0.2.1", - "cipher 0.2.5", -] - [[package]] name = "block-padding" version = "0.1.5" @@ -1117,12 +991,6 @@ dependencies = [ "byte-tools", ] -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - [[package]] name = "blocking" version = "1.5.1" @@ -1130,11 +998,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ "async-channel 2.1.1", - "async-lock 3.1.2", + "async-lock 3.2.0", "async-task", "fastrand 2.0.1", "futures-io", - "futures-lite 2.0.1", + "futures-lite 2.1.0", "piper", "tracing", ] @@ -1301,17 +1169,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ccm" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aca1a8fbc20b50ac9673ff014abfb2b5f4085ee1a850d408f14a159c5853ac7" -dependencies = [ - "aead 0.3.2", - "cipher 0.2.5", - "subtle", -] - [[package]] name = "cexpr" version = "0.6.0" @@ -1349,7 +1206,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", - "cipher 0.4.4", + "cipher", "cpufeatures", ] @@ -1359,9 +1216,9 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ - "aead 0.5.2", + "aead", "chacha20", - "cipher 0.4.4", + "cipher", "poly1305", "zeroize", ] @@ -1420,24 +1277,6 @@ dependencies = [ "unsigned-varint", ] -[[package]] -name = "cipher" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" -dependencies = [ - "generic-array 0.14.7", -] - -[[package]] -name = "cipher" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array 0.14.7", -] - [[package]] name = "cipher" version = "0.4.4" @@ -1488,9 +1327,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.10" +version = "4.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" +checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" dependencies = [ "clap_builder", "clap_derive 4.4.7", @@ -1498,9 +1337,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.9" +version = "4.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" +checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" dependencies = [ "anstream", "anstyle", @@ -1609,9 +1448,9 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "concurrent-queue" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" dependencies = [ "crossbeam-utils", ] @@ -1824,21 +1663,6 @@ dependencies = [ "wasmtime-types", ] -[[package]] -name = "crc" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" - [[package]] name = "crc32fast" version = "1.3.2" @@ -1933,18 +1757,6 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" -[[package]] -name = "crypto-bigint" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" -dependencies = [ - "generic-array 0.14.7", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - [[package]] name = "crypto-bigint" version = "0.5.5" @@ -1988,22 +1800,13 @@ dependencies = [ "subtle", ] -[[package]] -name = "ctr" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" -dependencies = [ - "cipher 0.3.0", -] - [[package]] name = "ctr" version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cipher 0.4.4", + "cipher", ] [[package]] @@ -2011,7 +1814,7 @@ name = "cumulus-client-cli" version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "clap 4.4.10", + "clap 4.4.11", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -2652,41 +2455,6 @@ dependencies = [ "syn 2.0.39", ] -[[package]] -name = "darling" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn 1.0.109", -] - -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core", - "quote", - "syn 1.0.109", -] - [[package]] name = "data-encoding" version = "2.5.0" @@ -2713,17 +2481,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "der" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" -dependencies = [ - "const-oid", - "pem-rfc7468", - "zeroize", -] - [[package]] name = "der" version = "0.7.8" @@ -2734,27 +2491,13 @@ dependencies = [ "zeroize", ] -[[package]] -name = "der-parser" -version = "7.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe398ac75057914d7d07307bf67dc7f3f574a26783b4fc7805a20ffa9f506e82" -dependencies = [ - "asn1-rs 0.3.1", - "displaydoc", - "nom", - "num-bigint", - "num-traits", - "rusticata-macros", -] - [[package]] name = "der-parser" version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs", "displaydoc", "nom", "num-bigint", @@ -2764,9 +2507,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" dependencies = [ "powerfmt", ] @@ -2793,37 +2536,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "derive_builder" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07adf7be193b71cc36b193d0f5fe60b918a3a9db4dad0449f57bcfd519704a3" -dependencies = [ - "derive_builder_macro", -] - -[[package]] -name = "derive_builder_core" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive_builder_macro" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68" -dependencies = [ - "derive_builder_core", - "syn 1.0.109", -] - [[package]] name = "derive_more" version = "0.99.17" @@ -2971,7 +2683,7 @@ dependencies = [ "regex", "syn 2.0.39", "termcolor", - "toml 0.8.8", + "toml 0.8.2", "walkdir", ] @@ -3020,30 +2732,18 @@ version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" -[[package]] -name = "ecdsa" -version = "0.14.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" -dependencies = [ - "der 0.6.1", - "elliptic-curve 0.12.3", - "rfc6979 0.3.1", - "signature 1.6.4", -] - [[package]] name = "ecdsa" version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der 0.7.8", + "der", "digest 0.10.7", - "elliptic-curve 0.13.8", - "rfc6979 0.4.0", - "signature 2.2.0", - "spki 0.7.3", + "elliptic-curve", + "rfc6979", + "signature", + "spki", ] [[package]] @@ -3052,8 +2752,8 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "pkcs8 0.10.2", - "signature 2.2.0", + "pkcs8", + "signature", ] [[package]] @@ -3106,43 +2806,21 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" -[[package]] -name = "elliptic-curve" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" -dependencies = [ - "base16ct 0.1.1", - "crypto-bigint 0.4.9", - "der 0.6.1", - "digest 0.10.7", - "ff 0.12.1", - "generic-array 0.14.7", - "group 0.12.1", - "hkdf", - "pem-rfc7468", - "pkcs8 0.9.0", - "rand_core 0.6.4", - "sec1 0.3.0", - "subtle", - "zeroize", -] - [[package]] name = "elliptic-curve" version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ - "base16ct 0.2.0", - "crypto-bigint 0.5.5", + "base16ct", + "crypto-bigint", "digest 0.10.7", - "ff 0.13.0", + "ff", "generic-array 0.14.7", - "group 0.13.0", - "pkcs8 0.10.2", + "group", + "pkcs8", "rand_core 0.6.4", - "sec1 0.7.3", + "sec1", "subtle", "zeroize", ] @@ -3700,16 +3378,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ff" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "ff" version = "0.13.0" @@ -3723,7 +3391,7 @@ dependencies = [ [[package]] name = "fflonk" version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#95f3a57d1f4252fe95310c1567d153f25f3066b4" +source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" dependencies = [ "ark-ec", "ark-ff", @@ -3751,14 +3419,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.22" +version = "0.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", - "windows-sys 0.48.0", + "redox_syscall 0.4.1", + "windows-sys 0.52.0", ] [[package]] @@ -3988,7 +3656,7 @@ dependencies = [ "Inflector", "array-bytes", "chrono", - "clap 4.4.10", + "clap 4.4.11", "comfy-table", "frame-benchmarking", "frame-support", @@ -4268,7 +3936,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "rustix 0.38.26", + "rustix 0.38.27", "windows-sys 0.48.0", ] @@ -4344,14 +4012,13 @@ dependencies = [ [[package]] name = "futures-lite" -version = "2.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3831c2651acb5177cbd83943f3d9c8912c5ad03c76afcc0e9511ba568ec5ebb" +checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" dependencies = [ "fastrand 2.0.1", "futures-core", "futures-io", - "memchr", "parking", "pin-project-lite 0.2.13", ] @@ -4375,7 +4042,7 @@ checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", "rustls 0.20.9", - "webpki 0.22.4", + "webpki", ] [[package]] @@ -4475,16 +4142,6 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] -[[package]] -name = "ghash" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" -dependencies = [ - "opaque-debug 0.3.0", - "polyval 0.5.3", -] - [[package]] name = "ghash" version = "0.5.0" @@ -4492,7 +4149,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" dependencies = [ "opaque-debug 0.3.0", - "polyval 0.6.1", + "polyval", ] [[package]] @@ -4541,24 +4198,13 @@ dependencies = [ "windows-sys 0.42.0", ] -[[package]] -name = "group" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" -dependencies = [ - "ff 0.12.1", - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "group" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "ff 0.13.0", + "ff", "rand_core 0.6.4", "subtle", ] @@ -4840,7 +4486,7 @@ name = "hydradx" version = "12.0.0" dependencies = [ "async-trait", - "clap 4.4.10", + "clap 4.4.11", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -5132,7 +4778,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.21.9", + "rustls 0.21.10", "rustls-native-certs", "tokio", "tokio-rustls", @@ -5162,12 +4808,6 @@ dependencies = [ "cc", ] -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - [[package]] name = "idna" version = "0.2.3" @@ -5348,25 +4988,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "interceptor" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e8a11ae2da61704edada656798b61c94b35ecac2c58eb955156987d5e6be90b" -dependencies = [ - "async-trait", - "bytes", - "log", - "rand 0.8.5", - "rtcp", - "rtp", - "thiserror", - "tokio", - "waitgroup", - "webrtc-srtp", - "webrtc-util", -] - [[package]] name = "io-lifetimes" version = "1.0.11" @@ -5409,7 +5030,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.3", - "rustix 0.38.26", + "rustix 0.38.27", "windows-sys 0.48.0", ] @@ -5722,8 +5343,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" dependencies = [ "cfg-if", - "ecdsa 0.16.9", - "elliptic-curve 0.13.8", + "ecdsa", + "elliptic-curve", "once_cell", "sha2 0.10.8", ] @@ -5834,9 +5455,9 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" -version = "0.51.3" +version = "0.51.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f210d259724eae82005b5c48078619b7745edb7b76de370b03f8ba59ea103097" +checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" dependencies = [ "bytes", "futures", @@ -5859,7 +5480,6 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-wasm-ext", - "libp2p-webrtc", "libp2p-websocket", "libp2p-yamux", "multiaddr", @@ -6171,12 +5791,12 @@ dependencies = [ "futures-rustls", "libp2p-core", "libp2p-identity", - "rcgen 0.10.0", + "rcgen", "ring 0.16.20", "rustls 0.20.9", "thiserror", - "webpki 0.22.4", - "x509-parser 0.14.0", + "webpki", + "x509-parser", "yasna", ] @@ -6194,37 +5814,6 @@ dependencies = [ "wasm-bindgen-futures", ] -[[package]] -name = "libp2p-webrtc" -version = "0.4.0-alpha.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dba48592edbc2f60b4bc7c10d65445b0c3964c07df26fdf493b6880d33be36f8" -dependencies = [ - "async-trait", - "asynchronous-codec", - "bytes", - "futures", - "futures-timer", - "hex", - "if-watch", - "libp2p-core", - "libp2p-identity", - "libp2p-noise", - "log", - "multihash", - "quick-protobuf", - "quick-protobuf-codec", - "rand 0.8.5", - "rcgen 0.9.3", - "serde", - "stun", - "thiserror", - "tinytemplate", - "tokio", - "tokio-util", - "webrtc", -] - [[package]] name = "libp2p-websocket" version = "0.41.0" @@ -6547,16 +6136,6 @@ dependencies = [ "rawpointer", ] -[[package]] -name = "md-5" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" -dependencies = [ - "cfg-if", - "digest 0.10.7", -] - [[package]] name = "memchr" version = "2.6.4" @@ -6569,7 +6148,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.26", + "rustix 0.38.27", ] [[package]] @@ -6581,15 +6160,6 @@ dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.8.0" @@ -6669,9 +6239,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.9" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" +checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -6960,7 +6530,6 @@ dependencies = [ "bitflags 1.3.2", "cfg-if", "libc", - "memoffset 0.6.5", ] [[package]] @@ -7137,29 +6706,20 @@ dependencies = [ "memchr", ] -[[package]] -name = "oid-registry" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38e20717fa0541f39bd146692035c37bedfa532b3e5071b35761082407546b2a" -dependencies = [ - "asn1-rs 0.3.1", -] - [[package]] name = "oid-registry" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs", ] [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "oorandom" @@ -7229,7 +6789,7 @@ dependencies = [ [[package]] name = "orml-benchmarking" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7249,7 +6809,7 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -7266,7 +6826,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -7286,7 +6846,7 @@ dependencies = [ [[package]] name = "orml-unknown-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -7301,7 +6861,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "parity-scale-codec", @@ -7316,7 +6876,7 @@ dependencies = [ [[package]] name = "orml-vesting" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -7331,7 +6891,7 @@ dependencies = [ [[package]] name = "orml-xcm" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "frame-system", @@ -7345,7 +6905,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "frame-support", "orml-traits", @@ -7359,7 +6919,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -7384,28 +6944,6 @@ version = "6.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" -[[package]] -name = "p256" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" -dependencies = [ - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - -[[package]] -name = "p384" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" -dependencies = [ - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - [[package]] name = "pallet-asset-registry" version = "2.3.3" @@ -9249,7 +8787,7 @@ version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate 2.0.1", "proc-macro2", "quote", "syn 1.0.109", @@ -9375,15 +8913,6 @@ dependencies = [ "base64 0.13.1", ] -[[package]] -name = "pem-rfc7468" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d159833a9105500e0398934e205e0773f0b27529557134ecfc51c27646adac" -dependencies = [ - "base64ct", -] - [[package]] name = "percent-encoding" version = "2.3.1" @@ -9494,24 +9023,14 @@ dependencies = [ "futures-io", ] -[[package]] -name = "pkcs8" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" -dependencies = [ - "der 0.6.1", - "spki 0.6.0", -] - [[package]] name = "pkcs8" version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der 0.7.8", - "spki 0.7.3", + "der", + "spki", ] [[package]] @@ -9643,7 +9162,7 @@ name = "polkadot-cli" version = "1.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "clap 4.4.10", + "clap 4.4.11", "frame-benchmarking-cli", "futures", "log", @@ -10773,7 +10292,7 @@ dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite 0.2.13", - "rustix 0.38.26", + "rustix 0.38.27", "tracing", "windows-sys 0.52.0", ] @@ -10786,19 +10305,7 @@ checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", "opaque-debug 0.3.0", - "universal-hash 0.5.1", -] - -[[package]] -name = "polyval" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" -dependencies = [ - "cfg-if", - "cpufeatures", - "opaque-debug 0.3.0", - "universal-hash 0.4.1", + "universal-hash", ] [[package]] @@ -10810,14 +10317,14 @@ dependencies = [ "cfg-if", "cpufeatures", "opaque-debug 0.3.0", - "universal-hash 0.5.1", + "universal-hash", ] [[package]] name = "portable-atomic" -version = "1.5.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bccab0e7fd7cc19f820a1c8c91720af652d0c88dc9664dd72aef2614f04af3b" +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" [[package]] name = "powerfmt" @@ -10948,11 +10455,12 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" dependencies = [ - "toml_edit 0.20.7", + "toml_datetime", + "toml_edit 0.20.2", ] [[package]] @@ -11173,7 +10681,7 @@ dependencies = [ "thiserror", "tinyvec", "tracing", - "webpki 0.22.4", + "webpki", ] [[package]] @@ -11315,19 +10823,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "rcgen" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" -dependencies = [ - "pem", - "ring 0.16.20", - "time", - "x509-parser 0.13.2", - "yasna", -] - [[package]] name = "rcgen" version = "0.10.0" @@ -11349,15 +10844,6 @@ dependencies = [ "bitflags 1.3.2", ] -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags 1.3.2", -] - [[package]] name = "redox_syscall" version = "0.4.1" @@ -11477,17 +10963,6 @@ dependencies = [ "quick-error", ] -[[package]] -name = "rfc6979" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" -dependencies = [ - "crypto-bigint 0.4.9", - "hmac 0.12.1", - "zeroize", -] - [[package]] name = "rfc6979" version = "0.4.0" @@ -11530,9 +11005,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.6" +version = "0.17.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "684d5e6e18f669ccebf64a92236bb7db9a34f07be010e3627368182027180866" +checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" dependencies = [ "cc", "getrandom 0.2.11", @@ -11687,17 +11162,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "rtcp" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1919efd6d4a6a85d13388f9487549bb8e359f17198cc03ffd72f79b553873691" -dependencies = [ - "bytes", - "thiserror", - "webrtc-util", -] - [[package]] name = "rtnetlink" version = "0.10.1" @@ -11723,20 +11187,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "rtp" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2a095411ff00eed7b12e4c6a118ba984d113e1079582570d56a5ee723f11f80" -dependencies = [ - "async-trait", - "bytes", - "rand 0.8.5", - "serde", - "thiserror", - "webrtc-util", -] - [[package]] name = "rug" version = "1.22.0" @@ -11921,9 +11371,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.26" +version = "0.38.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9470c4bf8246c8daf25f9598dca807fb6510347b1e1cfa55749113850c79d88a" +checksum = "bfeae074e687625746172d639330f1de242a178bf3189b51e35a7a21573513ac" dependencies = [ "bitflags 2.4.1", "errno", @@ -11932,19 +11382,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64 0.13.1", - "log", - "ring 0.16.20", - "sct 0.6.1", - "webpki 0.21.4", -] - [[package]] name = "rustls" version = "0.20.9" @@ -11953,20 +11390,20 @@ checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ "log", "ring 0.16.20", - "sct 0.7.1", - "webpki 0.22.4", + "sct", + "webpki", ] [[package]] name = "rustls" -version = "0.21.9" +version = "0.21.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9" +checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", - "ring 0.17.6", + "ring 0.17.7", "rustls-webpki", - "sct 0.7.1", + "sct", ] [[package]] @@ -11996,7 +11433,7 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.6", + "ring 0.17.7", "untrusted 0.9.0", ] @@ -12178,7 +11615,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-for dependencies = [ "array-bytes", "chrono", - "clap 4.4.10", + "clap 4.4.11", "fdlimit", "futures", "libp2p-identity", @@ -12990,7 +12427,7 @@ name = "sc-storage-monitor" version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "clap 4.4.10", + "clap 4.4.11", "fs4", "log", "sc-client-db", @@ -13261,50 +12698,14 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - [[package]] name = "sct" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" -dependencies = [ - "ring 0.17.6", - "untrusted 0.9.0", -] - -[[package]] -name = "sdp" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d22a5ef407871893fd72b4562ee15e4742269b173959db4b8df6f538c414e13" -dependencies = [ - "rand 0.8.5", - "substring", - "thiserror", - "url", -] - -[[package]] -name = "sec1" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" -dependencies = [ - "base16ct 0.1.1", - "der 0.6.1", - "generic-array 0.14.7", - "pkcs8 0.9.0", - "subtle", - "zeroize", +dependencies = [ + "ring 0.17.7", + "untrusted 0.9.0", ] [[package]] @@ -13313,10 +12714,10 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ - "base16ct 0.2.0", - "der 0.7.8", + "base16ct", + "der", "generic-array 0.14.7", - "pkcs8 0.10.2", + "pkcs8", "subtle", "zeroize", ] @@ -13448,17 +12849,6 @@ dependencies = [ "opaque-debug 0.3.0", ] -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.7", -] - [[package]] name = "sha2" version = "0.8.2" @@ -13529,16 +12919,6 @@ dependencies = [ "libc", ] -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - [[package]] name = "signature" version = "2.2.0" @@ -13719,9 +13099,9 @@ dependencies = [ [[package]] name = "snap" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" +checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "snow" @@ -13729,12 +13109,12 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" dependencies = [ - "aes-gcm 0.10.3", + "aes-gcm", "blake2", "chacha20poly1305", "curve25519-dalek 4.1.1", "rand_core 0.6.4", - "ring 0.17.6", + "ring 0.17.7", "rustc_version", "sha2 0.10.8", "subtle", @@ -14342,7 +13722,7 @@ name = "sp-statement-store" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ - "aes-gcm 0.10.3", + "aes-gcm", "curve25519-dalek 4.1.1", "ed25519-dalek", "hkdf", @@ -14530,16 +13910,6 @@ dependencies = [ "strum 0.24.1", ] -[[package]] -name = "spki" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" -dependencies = [ - "base64ct", - "der 0.6.1", -] - [[package]] name = "spki" version = "0.7.3" @@ -14547,7 +13917,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der 0.7.8", + "der", ] [[package]] @@ -14817,25 +14187,6 @@ dependencies = [ "syn 2.0.39", ] -[[package]] -name = "stun" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7e94b1ec00bad60e6410e058b52f1c66de3dc5fe4d62d09b3e52bb7d3b73e25" -dependencies = [ - "base64 0.13.1", - "crc", - "lazy_static", - "md-5", - "rand 0.8.5", - "ring 0.16.20", - "subtle", - "thiserror", - "tokio", - "url", - "webrtc-util", -] - [[package]] name = "substrate-bip39" version = "0.4.5" @@ -14933,15 +14284,6 @@ dependencies = [ "wasm-opt", ] -[[package]] -name = "substring" -version = "1.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ee6433ecef213b2e72f587ef64a2f5943e7cd16fbd82dbe8bc07486c534c86" -dependencies = [ - "autocfg", -] - [[package]] name = "subtle" version = "2.4.1" @@ -15030,7 +14372,7 @@ dependencies = [ "cfg-if", "fastrand 2.0.1", "redox_syscall 0.4.1", - "rustix 0.38.26", + "rustix 0.38.27", "windows-sys 0.48.0", ] @@ -15346,7 +14688,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.9", + "rustls 0.21.10", "tokio", ] @@ -15400,21 +14742,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.8" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" +checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.21.0", + "toml_edit 0.20.2", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] @@ -15434,20 +14776,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.20.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" -dependencies = [ - "indexmap 2.1.0", - "toml_datetime", - "winnow", -] - -[[package]] -name = "toml_edit" -version = "0.21.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" dependencies = [ "indexmap 2.1.0", "serde", @@ -15688,9 +15019,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" @@ -15698,7 +15029,7 @@ version = "0.10.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", - "clap 4.4.10", + "clap 4.4.11", "frame-remote-externalities", "hex", "log", @@ -15733,25 +15064,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" -[[package]] -name = "turn" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4712ee30d123ec7ae26d1e1b218395a16c87cdbaf4b3925d170d684af62ea5e8" -dependencies = [ - "async-trait", - "base64 0.13.1", - "futures", - "log", - "md-5", - "rand 0.8.5", - "ring 0.16.20", - "stun", - "thiserror", - "tokio", - "webrtc-util", -] - [[package]] name = "twox-hash" version = "1.6.3" @@ -15805,9 +15117,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" [[package]] name = "unicode-ident" @@ -15836,16 +15148,6 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" -[[package]] -name = "universal-hash" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" -dependencies = [ - "generic-array 0.14.7", - "subtle", -] - [[package]] name = "universal-hash" version = "0.5.1" @@ -15897,15 +15199,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" -[[package]] -name = "uuid" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" -dependencies = [ - "getrandom 0.2.11", -] - [[package]] name = "valuable" version = "0.1.0" @@ -15939,15 +15232,6 @@ dependencies = [ "libc", ] -[[package]] -name = "waitgroup" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1f50000a783467e6c0200f9d10642f4bc424e39efc1b770203e88b488f79292" -dependencies = [ - "atomic-waker", -] - [[package]] name = "waker-fn" version = "1.1.1" @@ -16117,9 +15401,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.31.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f341edb80021141d4ae6468cbeefc50798716a347d4085c3811900049ea8945" +checksum = "acfc1e384a36ca532d070a315925887247f3c7e23567e23e0ac9b1c5d6b8bf76" dependencies = [ "smallvec", "spin 0.9.8", @@ -16370,23 +15654,13 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - [[package]] name = "webpki" version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.6", + "ring 0.17.7", "untrusted 0.9.0", ] @@ -16396,7 +15670,7 @@ version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ - "webpki 0.22.4", + "webpki", ] [[package]] @@ -16405,214 +15679,6 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" -[[package]] -name = "webrtc" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d3bc9049bdb2cea52f5fd4f6f728184225bdb867ed0dc2410eab6df5bdd67bb" -dependencies = [ - "arc-swap", - "async-trait", - "bytes", - "hex", - "interceptor", - "lazy_static", - "log", - "rand 0.8.5", - "rcgen 0.9.3", - "regex", - "ring 0.16.20", - "rtcp", - "rtp", - "rustls 0.19.1", - "sdp", - "serde", - "serde_json", - "sha2 0.10.8", - "stun", - "thiserror", - "time", - "tokio", - "turn", - "url", - "waitgroup", - "webrtc-data", - "webrtc-dtls", - "webrtc-ice", - "webrtc-mdns", - "webrtc-media", - "webrtc-sctp", - "webrtc-srtp", - "webrtc-util", -] - -[[package]] -name = "webrtc-data" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ef36a4d12baa6e842582fe9ec16a57184ba35e1a09308307b67d43ec8883100" -dependencies = [ - "bytes", - "derive_builder", - "log", - "thiserror", - "tokio", - "webrtc-sctp", - "webrtc-util", -] - -[[package]] -name = "webrtc-dtls" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" -dependencies = [ - "aes 0.6.0", - "aes-gcm 0.10.3", - "async-trait", - "bincode", - "block-modes", - "byteorder", - "ccm", - "curve25519-dalek 3.2.0", - "der-parser 8.2.0", - "elliptic-curve 0.12.3", - "hkdf", - "hmac 0.12.1", - "log", - "p256", - "p384", - "rand 0.8.5", - "rand_core 0.6.4", - "rcgen 0.10.0", - "ring 0.16.20", - "rustls 0.19.1", - "sec1 0.3.0", - "serde", - "sha1", - "sha2 0.10.8", - "signature 1.6.4", - "subtle", - "thiserror", - "tokio", - "webpki 0.21.4", - "webrtc-util", - "x25519-dalek 2.0.0", - "x509-parser 0.13.2", -] - -[[package]] -name = "webrtc-ice" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "465a03cc11e9a7d7b4f9f99870558fe37a102b65b93f8045392fef7c67b39e80" -dependencies = [ - "arc-swap", - "async-trait", - "crc", - "log", - "rand 0.8.5", - "serde", - "serde_json", - "stun", - "thiserror", - "tokio", - "turn", - "url", - "uuid", - "waitgroup", - "webrtc-mdns", - "webrtc-util", -] - -[[package]] -name = "webrtc-mdns" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" -dependencies = [ - "log", - "socket2 0.4.10", - "thiserror", - "tokio", - "webrtc-util", -] - -[[package]] -name = "webrtc-media" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f72e1650a8ae006017d1a5280efb49e2610c19ccc3c0905b03b648aee9554991" -dependencies = [ - "byteorder", - "bytes", - "rand 0.8.5", - "rtp", - "thiserror", -] - -[[package]] -name = "webrtc-sctp" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d47adcd9427eb3ede33d5a7f3424038f63c965491beafcc20bc650a2f6679c0" -dependencies = [ - "arc-swap", - "async-trait", - "bytes", - "crc", - "log", - "rand 0.8.5", - "thiserror", - "tokio", - "webrtc-util", -] - -[[package]] -name = "webrtc-srtp" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6183edc4c1c6c0175f8812eefdce84dfa0aea9c3ece71c2bf6ddd3c964de3da5" -dependencies = [ - "aead 0.4.3", - "aes 0.7.5", - "aes-gcm 0.9.4", - "async-trait", - "byteorder", - "bytes", - "ctr 0.8.0", - "hmac 0.11.0", - "log", - "rtcp", - "rtp", - "sha-1", - "subtle", - "thiserror", - "tokio", - "webrtc-util", -] - -[[package]] -name = "webrtc-util" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f1db1727772c05cf7a2cfece52c3aca8045ca1e176cd517d323489aa3c6d87" -dependencies = [ - "async-trait", - "bitflags 1.3.2", - "bytes", - "cc", - "ipnet", - "lazy_static", - "libc", - "log", - "nix", - "rand 0.8.5", - "thiserror", - "tokio", - "winapi", -] - [[package]] name = "westend-runtime" version = "1.0.0" @@ -16735,7 +15801,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.26", + "rustix 0.38.27", ] [[package]] @@ -17019,9 +16085,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.5.19" +version = "0.5.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" +checksum = "b67b5f0a4e7a27a64c651977932b9dc5667ca7fc31ac44b03ed37a0cf42fdfff" dependencies = [ "memchr", ] @@ -17068,38 +16134,19 @@ dependencies = [ "zeroize", ] -[[package]] -name = "x509-parser" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb9bace5b5589ffead1afb76e43e34cff39cd0f3ce7e170ae0c29e53b88eb1c" -dependencies = [ - "asn1-rs 0.3.1", - "base64 0.13.1", - "data-encoding", - "der-parser 7.0.0", - "lazy_static", - "nom", - "oid-registry 0.4.0", - "ring 0.16.20", - "rusticata-macros", - "thiserror", - "time", -] - [[package]] name = "x509-parser" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs", "base64 0.13.1", "data-encoding", - "der-parser 8.2.0", + "der-parser", "lazy_static", "nom", - "oid-registry 0.6.1", + "oid-registry", "rusticata-macros", "thiserror", "time", @@ -17179,18 +16226,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.28" +version = "0.7.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d6f15f7ade05d2a4935e34a457b936c23dc70a05cc1d97133dc99e7a3fe0f0e" +checksum = "5d075cf85bbb114e933343e087b92f2146bac0d55b534cbb8188becf0039948e" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.28" +version = "0.7.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbbad221e3f78500350ecbd7dfa4e63ef945c05f4c61cb7f4d3f84cd0bba649b" +checksum = "86cd5ca076997b97ef09d3ad65efe811fa68c9e874cb636ccb211223a813b0c2" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 9c8251dec..ec53435b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -179,18 +179,18 @@ substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", bra substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } # ORML dependencies -orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-utilities = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-vesting = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-utilities = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-vesting = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-xcm = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false } +orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-xcm = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } # Cumulus dependencies cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } From 67235ef05f6ae3c5476ec7c1d60f0527d0b2652a Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 8 Dec 2023 16:24:21 +0100 Subject: [PATCH 098/138] pin dependencies --- Cargo.lock | 576 +++++++++++++++++------------------ Cargo.toml | 858 ++++++++++++++++++++++++++--------------------------- 2 files changed, 717 insertions(+), 717 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5e12e72d3..dbea5a207 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -808,7 +808,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db 0.16.0", "log", @@ -1812,7 +1812,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "clap 4.4.11", "parity-scale-codec", @@ -1828,7 +1828,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1851,7 +1851,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-client-collator", @@ -1893,7 +1893,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1922,7 +1922,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "async-trait", @@ -1937,7 +1937,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1960,7 +1960,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1984,7 +1984,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2019,7 +2019,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2054,7 +2054,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2084,7 +2084,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -2095,7 +2095,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2111,7 +2111,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2164,7 +2164,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "futures", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2218,7 +2218,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2242,7 +2242,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2260,7 +2260,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-trait", @@ -2295,7 +2295,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2333,7 +2333,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3229,7 +3229,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "async-trait", "fp-consensus", @@ -3245,7 +3245,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "async-trait", "fp-storage", @@ -3265,7 +3265,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fc-db", "fc-storage", @@ -3286,7 +3286,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3341,7 +3341,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3354,7 +3354,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3505,7 +3505,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", ] @@ -3522,7 +3522,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "hex", "impl-serde", @@ -3541,7 +3541,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "parity-scale-codec", @@ -3553,7 +3553,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3567,7 +3567,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "evm 0.39.1", "frame-support", @@ -3582,7 +3582,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "ethereum", "ethereum-types", @@ -3599,7 +3599,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "frame-support", "parity-scale-codec", @@ -3611,7 +3611,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "parity-scale-codec", "serde", @@ -3626,7 +3626,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-support-procedural", @@ -3651,7 +3651,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "array-bytes", @@ -3699,7 +3699,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -3710,7 +3710,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3727,7 +3727,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -3757,7 +3757,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-recursion", "futures", @@ -3779,7 +3779,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3819,7 +3819,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "cfg-expr", @@ -3837,7 +3837,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.3.1", @@ -3849,7 +3849,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro2", "quote", @@ -3859,7 +3859,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cfg-if", "frame-support", @@ -3878,7 +3878,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -3893,7 +3893,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sp-api", @@ -3902,7 +3902,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "parity-scale-codec", @@ -5361,7 +5361,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -6251,7 +6251,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "log", @@ -6270,7 +6270,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "jsonrpsee 0.16.3", @@ -6972,7 +6972,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -6990,7 +6990,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7006,7 +7006,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7023,7 +7023,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7039,7 +7039,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7053,7 +7053,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7077,7 +7077,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "aquamarine", "docify", @@ -7099,7 +7099,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7114,7 +7114,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7134,7 +7134,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7183,7 +7183,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7201,7 +7201,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7291,7 +7291,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7310,7 +7310,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7327,7 +7327,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7401,7 +7401,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7482,7 +7482,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7505,7 +7505,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7519,7 +7519,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7561,7 +7561,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "environmental", "ethereum", @@ -7585,7 +7585,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "environmental", "evm 0.39.1", @@ -7610,7 +7610,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "frame-support", "frame-system", @@ -7622,7 +7622,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.1.0#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fp-evm", "frame-support", @@ -7634,7 +7634,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "docify", "frame-benchmarking", @@ -7671,7 +7671,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7694,7 +7694,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7710,7 +7710,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7730,7 +7730,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7797,7 +7797,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7814,7 +7814,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7833,7 +7833,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7851,7 +7851,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7887,7 +7887,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7903,7 +7903,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7922,7 +7922,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7942,7 +7942,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7953,7 +7953,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -7970,7 +7970,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8071,7 +8071,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8088,7 +8088,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8103,7 +8103,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8121,7 +8121,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8136,7 +8136,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8193,7 +8193,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "docify", "frame-benchmarking", @@ -8211,7 +8211,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -8233,7 +8233,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8250,7 +8250,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8316,7 +8316,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8339,7 +8339,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -8350,7 +8350,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "sp-arithmetic", @@ -8359,7 +8359,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sp-api", @@ -8368,7 +8368,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8385,7 +8385,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8400,7 +8400,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8484,7 +8484,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -8500,7 +8500,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8516,7 +8516,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8528,7 +8528,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8560,7 +8560,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8576,7 +8576,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8591,7 +8591,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8627,7 +8627,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -8699,7 +8699,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8713,7 +8713,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -9082,7 +9082,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "always-assert", "futures", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "derive_more", "fatality", @@ -9139,7 +9139,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fatality", "futures", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "1.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "clap 4.4.11", "frame-benchmarking-cli", @@ -9187,7 +9187,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9209,7 +9209,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -9221,7 +9221,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "derive_more", "fatality", @@ -9246,7 +9246,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9260,7 +9260,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -9281,7 +9281,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "always-assert", "async-trait", @@ -9304,7 +9304,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "parity-scale-codec", @@ -9322,7 +9322,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "derive_more", @@ -9351,7 +9351,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "futures", @@ -9373,7 +9373,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9392,7 +9392,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9407,7 +9407,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -9428,7 +9428,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-metrics", @@ -9443,7 +9443,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -9460,7 +9460,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fatality", "futures", @@ -9479,7 +9479,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -9496,7 +9496,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9513,7 +9513,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "fatality", @@ -9530,7 +9530,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "always-assert", "futures", @@ -9558,7 +9558,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-primitives", @@ -9574,7 +9574,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cpu-time", "futures", @@ -9597,7 +9597,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "libc", @@ -9620,7 +9620,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "polkadot-node-metrics", @@ -9635,7 +9635,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "lazy_static", "log", @@ -9653,7 +9653,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bs58 0.5.0", "futures", @@ -9672,7 +9672,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -9696,7 +9696,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-vec", "futures", @@ -9718,7 +9718,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9728,7 +9728,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "derive_more", @@ -9752,7 +9752,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "derive_more", @@ -9785,7 +9785,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -9808,7 +9808,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-collections", "derive_more", @@ -9825,7 +9825,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "env_logger 0.9.3", "log", @@ -9843,7 +9843,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -9869,7 +9869,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "mmr-rpc", @@ -9901,7 +9901,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "frame-benchmarking", @@ -9998,7 +9998,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitvec", "frame-benchmarking", @@ -10044,7 +10044,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -10058,7 +10058,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -10071,7 +10071,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -10117,7 +10117,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "frame-benchmarking", @@ -10236,7 +10236,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10260,7 +10260,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -11052,7 +11052,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11140,7 +11140,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -11504,7 +11504,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "sp-core", @@ -11515,7 +11515,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11543,7 +11543,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "futures-timer", @@ -11566,7 +11566,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11581,7 +11581,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11600,7 +11600,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -11611,7 +11611,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "chrono", @@ -11650,7 +11650,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fnv", "futures", @@ -11676,7 +11676,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -11702,7 +11702,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11727,7 +11727,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11756,7 +11756,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "fork-tree", @@ -11792,7 +11792,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11814,7 +11814,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -11848,7 +11848,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11867,7 +11867,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11880,7 +11880,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ahash 0.8.6", "array-bytes", @@ -11921,7 +11921,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "finality-grandpa", "futures", @@ -11941,7 +11941,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -11964,7 +11964,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -11986,7 +11986,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -11998,7 +11998,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "cfg-if", @@ -12015,7 +12015,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ansi_term", "futures", @@ -12031,7 +12031,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -12045,7 +12045,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12086,7 +12086,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-channel 1.9.0", "cid", @@ -12106,7 +12106,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12123,7 +12123,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ahash 0.8.6", "futures", @@ -12141,7 +12141,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12162,7 +12162,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12196,7 +12196,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "futures", @@ -12214,7 +12214,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "bytes", @@ -12248,7 +12248,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12257,7 +12257,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -12288,7 +12288,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12307,7 +12307,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -12322,7 +12322,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "futures", @@ -12350,7 +12350,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "directories", @@ -12414,7 +12414,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "log", "parity-scale-codec", @@ -12425,7 +12425,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "clap 4.4.11", "fs4", @@ -12439,7 +12439,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -12458,7 +12458,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "libc", @@ -12477,7 +12477,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "chrono", "futures", @@ -12496,7 +12496,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ansi_term", "atty", @@ -12525,7 +12525,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -12536,7 +12536,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -12562,7 +12562,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -12578,7 +12578,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-channel 1.9.0", "futures", @@ -12966,7 +12966,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "enumn", "parity-scale-codec", @@ -13160,7 +13160,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db 0.16.0", "log", @@ -13181,7 +13181,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "blake2", @@ -13195,7 +13195,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13208,7 +13208,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "integer-sqrt", "num-traits", @@ -13222,7 +13222,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13235,7 +13235,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sp-api", "sp-inherents", @@ -13246,7 +13246,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "futures", "log", @@ -13264,7 +13264,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "futures", @@ -13279,7 +13279,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13296,7 +13296,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13315,7 +13315,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13334,7 +13334,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "finality-grandpa", "log", @@ -13352,7 +13352,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13364,7 +13364,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -13411,7 +13411,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "blake2b_simd", "byteorder", @@ -13424,7 +13424,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "quote", "sp-core-hashing", @@ -13434,7 +13434,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13443,7 +13443,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "proc-macro2", "quote", @@ -13453,7 +13453,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "environmental", "parity-scale-codec", @@ -13464,7 +13464,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "serde_json", "sp-api", @@ -13475,7 +13475,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13489,7 +13489,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bytes", "ed25519-dalek", @@ -13513,7 +13513,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "lazy_static", "sp-core", @@ -13524,7 +13524,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -13536,7 +13536,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13545,7 +13545,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13556,7 +13556,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13574,7 +13574,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13588,7 +13588,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sp-api", "sp-core", @@ -13598,7 +13598,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "backtrace", "lazy_static", @@ -13608,7 +13608,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "rustc-hash", "serde", @@ -13618,7 +13618,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "either", "hash256-std-hasher", @@ -13640,7 +13640,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13658,7 +13658,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "proc-macro-crate 1.3.1", @@ -13670,7 +13670,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13685,7 +13685,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -13699,7 +13699,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hash-db 0.16.0", "log", @@ -13720,7 +13720,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.1", @@ -13744,12 +13744,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13762,7 +13762,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13775,7 +13775,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "sp-std", @@ -13787,7 +13787,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "sp-api", "sp-runtime", @@ -13796,7 +13796,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "parity-scale-codec", @@ -13811,7 +13811,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ahash 0.8.6", "hash-db 0.16.0", @@ -13834,7 +13834,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13851,7 +13851,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13862,7 +13862,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -13875,7 +13875,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13944,7 +13944,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14050,7 +14050,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "bounded-collections", "derivative", @@ -14067,7 +14067,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "frame-system", @@ -14089,7 +14089,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "environmental", "frame-benchmarking", @@ -14203,12 +14203,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14227,7 +14227,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "hyper", "log", @@ -14239,7 +14239,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -14252,7 +14252,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -14269,7 +14269,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "ansi_term", "build-helper", @@ -14874,7 +14874,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "coarsetime", "polkadot-node-jaeger", @@ -14886,7 +14886,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "expander 2.0.0", "proc-macro-crate 1.3.1", @@ -15026,7 +15026,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "async-trait", "clap 4.4.11", @@ -15682,7 +15682,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" [[package]] name = "westend-runtime" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "binary-merkle-tree", "bitvec", @@ -15781,7 +15781,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "frame-support", "polkadot-primitives", @@ -16155,7 +16155,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -16187,7 +16187,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=hydradx-fork-v1.1.0#317971823bc341b5726b9009232534a5169129bc" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=317971823bc341b5726b9009232534a5169129bc#317971823bc341b5726b9009232534a5169129bc" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index ec53435b9..a345e24ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -91,92 +91,92 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" primitive-types = { version = "0.12.0", default-features = false } # Frame -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } # Substrate Pallets -pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } - -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } + +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } # ORML dependencies orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } @@ -193,373 +193,373 @@ orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-modu orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } +cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } # Frontier -fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } - -fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } - -pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.1.0", default-features = false } +fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +fc-db = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } + +fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } + +pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } # EVM from acala module-evm-utility-macro = { path = "runtime/hydradx/src/evm/evm-utility/macro", default-features = false} # Polkadot dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false, features = [ +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false, features = [ "wasm-api", ]} -polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -polkadot-xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false } - -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } - -cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +polkadot-xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } + +kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } + +cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } [patch."https://github.com/paritytech/polkadot-sdk"] -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } # Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } - -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } + +substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0"} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } - -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } - -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc"} +polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } + +kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } + +cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } [patch."https://github.com/moonbeam-foundation/polkadot-sdk"] -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-panic-handler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-panic-handler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } # Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } - -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } + +substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } +cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0"} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } - -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } - -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "hydradx-fork-v1.1.0" } \ No newline at end of file +pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc"} +polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } + +kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } + +cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "317971823bc341b5726b9009232534a5169129bc" } \ No newline at end of file From 8031bea12792eb359b6195d4da9276ade803f273 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 8 Dec 2023 17:09:32 +0100 Subject: [PATCH 099/138] rebenchmark dca pallet --- pallets/dca/src/weights.rs | 339 ++++++++++++++++------------- runtime/hydradx/src/weights/dca.rs | 175 ++++++++------- 2 files changed, 284 insertions(+), 230 deletions(-) diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index 74a93f44d..6fecb0e09 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -15,11 +15,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_dca + +//! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-08, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx @@ -33,7 +36,7 @@ // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-dca -// --output=dca.rs +// --output=weights-1.1.0/dca.rs // --extrinsic=* #![allow(unused_parens)] @@ -59,176 +62,208 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { - // Minimum execution time: 202_152 nanoseconds. - Weight::from_parts(205_108_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `38787` + // Estimated: `31902` + // Minimum execution time: 238_810_000 picoseconds. + Weight::from_parts(242_451_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { - // Minimum execution time: 200_514 nanoseconds. - Weight::from_parts(204_215_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `38787` + // Estimated: `31902` + // Minimum execution time: 240_665_000 picoseconds. + Weight::from_parts(244_132_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } - // Storage: DCA ScheduleIdsPerBlock (r:1 w:0) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { - // Minimum execution time: 18_232 nanoseconds. - Weight::from_parts(18_655_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1071` + // Estimated: `3566` + // Minimum execution time: 17_536_000 picoseconds. + Weight::from_parts(17_850_000, 3566) + .saturating_add(RocksDbWeight::get().reads(1_u64)) } - // Storage: DCA ScheduleIdSequencer (r:1 w:1) - // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:11 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:0 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:0 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) + /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:0 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:0 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { - // Minimum execution time: 133_110 nanoseconds. - Weight::from_parts(134_484_000, 0) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `3290` + // Estimated: `29326` + // Minimum execution time: 141_305_000 picoseconds. + Weight::from_parts(143_415_000, 29326) + .saturating_add(RocksDbWeight::get().reads(14_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } - // Storage: DCA Schedules (r:1 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:1 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) + /// Storage: `DCA::Schedules` (r:1 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { - // Minimum execution time: 74_610 nanoseconds. - Weight::from_parts(75_402_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `2451` + // Estimated: `4714` + // Minimum execution time: 81_425_000 picoseconds. + Weight::from_parts(82_218_000, 4714) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { - // Minimum execution time: 202_152 nanoseconds. - Weight::from_parts(205_108_000, 0) - .saturating_add(RocksDbWeight::get().reads(17 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `38787` + // Estimated: `31902` + // Minimum execution time: 238_810_000 picoseconds. + Weight::from_parts(242_451_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { - // Minimum execution time: 200_514 nanoseconds. - Weight::from_parts(204_215_000, 0) - .saturating_add(RocksDbWeight::get().reads(17 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `38787` + // Estimated: `31902` + // Minimum execution time: 240_665_000 picoseconds. + Weight::from_parts(244_132_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } - // Storage: DCA ScheduleIdsPerBlock (r:1 w:0) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { - // Minimum execution time: 18_232 nanoseconds. - Weight::from_parts(18_655_000, 0).saturating_add(RocksDbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1071` + // Estimated: `3566` + // Minimum execution time: 17_536_000 picoseconds. + Weight::from_parts(17_850_000, 3566) + .saturating_add(RocksDbWeight::get().reads(1_u64)) } - // Storage: DCA ScheduleIdSequencer (r:1 w:1) - // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:11 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:0 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:0 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) + /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:0 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:0 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { - // Minimum execution time: 133_110 nanoseconds. - Weight::from_parts(134_484_000 as u64, 0) - .saturating_add(RocksDbWeight::get().reads(14 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `3290` + // Estimated: `29326` + // Minimum execution time: 141_305_000 picoseconds. + Weight::from_parts(143_415_000, 29326) + .saturating_add(RocksDbWeight::get().reads(14_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } - // Storage: DCA Schedules (r:1 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:1 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) + /// Storage: `DCA::Schedules` (r:1 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { - // Minimum execution time: 74_610 nanoseconds. - Weight::from_parts(75_402_000, 0) - .saturating_add(RocksDbWeight::get().reads(5 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `2451` + // Estimated: `4714` + // Minimum execution time: 81_425_000 picoseconds. + Weight::from_parts(82_218_000, 4714) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } } diff --git a/runtime/hydradx/src/weights/dca.rs b/runtime/hydradx/src/weights/dca.rs index d5d891396..37b565dbb 100644 --- a/runtime/hydradx/src/weights/dca.rs +++ b/runtime/hydradx/src/weights/dca.rs @@ -15,11 +15,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_dca + +//! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-08, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx @@ -33,7 +36,7 @@ // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-dca -// --output=dca.rs +// --output=weights-1.1.0/dca.rs // --extrinsic=* #![allow(unused_parens)] @@ -52,88 +55,104 @@ use pallet_dca::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { - // Minimum execution time: 202_152 nanoseconds. - Weight::from_parts(205_108_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `38787` + // Estimated: `31902` + // Minimum execution time: 238_810_000 picoseconds. + Weight::from_parts(242_451_000, 31902) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { - // Minimum execution time: 200_514 nanoseconds. - Weight::from_parts(204_215_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `38787` + // Estimated: `31902` + // Minimum execution time: 240_665_000 picoseconds. + Weight::from_parts(244_132_000, 31902) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: DCA ScheduleIdsPerBlock (r:1 w:0) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { - // Minimum execution time: 18_232 nanoseconds. - Weight::from_parts(18_655_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1071` + // Estimated: `3566` + // Minimum execution time: 17_536_000 picoseconds. + Weight::from_parts(17_850_000, 3566) + .saturating_add(T::DbWeight::get().reads(1_u64)) } - // Storage: DCA ScheduleIdSequencer (r:1 w:1) - // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:11 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:0 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:0 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) + /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:0 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:0 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { - // Minimum execution time: 133_110 nanoseconds. - Weight::from_parts(134_484_000, 0) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `3290` + // Estimated: `29326` + // Minimum execution time: 141_305_000 picoseconds. + Weight::from_parts(143_415_000, 29326) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: DCA Schedules (r:1 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:1 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) + /// Storage: `DCA::Schedules` (r:1 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { - // Minimum execution time: 74_610 nanoseconds. - Weight::from_parts(75_402_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `2451` + // Estimated: `4714` + // Minimum execution time: 81_425_000 picoseconds. + Weight::from_parts(82_218_000, 4714) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } } From 0b797d9143315f18fa9f1435cdff7a99857e8c8d Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 12 Dec 2023 15:02:16 +0100 Subject: [PATCH 100/138] update benchmarking script --- .maintain/pallet-weight-template-no-back.hbs | 2 +- runtime/hydradx/src/governance.rs | 2 +- runtime/hydradx/src/weights/mod.rs | 2 +- ...cal_comittee.rs => technical_committee.rs} | 0 scripts/benchmark.all.sh | 48 ++++++++++--------- 5 files changed, 29 insertions(+), 25 deletions(-) rename runtime/hydradx/src/weights/{technical_comittee.rs => technical_committee.rs} (100%) mode change 100644 => 100755 scripts/benchmark.all.sh diff --git a/.maintain/pallet-weight-template-no-back.hbs b/.maintain/pallet-weight-template-no-back.hbs index 13e41e0de..e0aa0bba2 100644 --- a/.maintain/pallet-weight-template-no-back.hbs +++ b/.maintain/pallet-weight-template-no-back.hbs @@ -34,7 +34,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; /// Weight functions needed for `{{pallet}}`. diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index fbd064027..6f7471efd 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -151,7 +151,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = TechnicalMaxProposals; type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::technical_comittee::HydraWeight; + type WeightInfo = weights::technical_committee::HydraWeight; type MaxProposalWeight = MaxProposalWeight; type SetMembersOrigin = EnsureRoot; } diff --git a/runtime/hydradx/src/weights/mod.rs b/runtime/hydradx/src/weights/mod.rs index 1b7827d67..6ec6dd9f8 100644 --- a/runtime/hydradx/src/weights/mod.rs +++ b/runtime/hydradx/src/weights/mod.rs @@ -23,7 +23,7 @@ pub mod scheduler; pub mod stableswap; pub mod staking; pub mod system; -pub mod technical_comittee; +pub mod technical_committee; pub mod timestamp; pub mod tokens; pub mod transaction_pause; diff --git a/runtime/hydradx/src/weights/technical_comittee.rs b/runtime/hydradx/src/weights/technical_committee.rs similarity index 100% rename from runtime/hydradx/src/weights/technical_comittee.rs rename to runtime/hydradx/src/weights/technical_committee.rs diff --git a/scripts/benchmark.all.sh b/scripts/benchmark.all.sh old mode 100644 new mode 100755 index dc446f8e1..4499ec74e --- a/scripts/benchmark.all.sh +++ b/scripts/benchmark.all.sh @@ -1,40 +1,44 @@ #!/bin/bash -pallets=("frame-system:system" +pallets=( "pallet-balances:balances" +"pallet-bonds:bonds" +"pallet-circuit-breaker:circuit_breaker" +"pallet-claims:claims" "pallet-collator-selection:collator_selection" -"pallet-timestamp:timestamp" -"pallet-democracy:democracy" -"pallet-treasury:treasury" -"pallet-scheduler:scheduler" -"pallet-utility:utility" -"pallet-identity:identity" -"pallet-tips:tips" -"pallet-proxy:proxy" "council:council" -"tech:technical_committee" -"pallet-xcm:xcm" -"cumulus-pallet-xcmp-queue:xcmp_queue" "pallet-currencies:currencies" -"orml-tokens:tokens" -"orml-vesting:vesting" +"pallet-dca:dca" +"pallet-democracy:democracy" "pallet-duster:duster" -"pallet-transaction-multi-payment:payment" +"pallet-ema-oracle:ema_oracle" +"pallet-identity:identity" +"pallet-lbp:lbp" "pallet-omnipool:omnipool" "pallet-omnipool-liquidity-mining:omnipool_lm" -"pallet-circuit-breaker:circuit_breaker" -"pallet-claims:claims" -"pallet-transaction-pause:transaction_pause" -"pallet-dca:dca" -"pallet-asset-registry:registry" -"pallet-ema-oracle:ema_oracle" "pallet-otc:otc" +"pallet-transaction-multi-payment:payment" +"pallet-preimage:preimage" +"pallet-proxy:proxy" +"pallet-asset-registry:registry" "pallet-route-executor:route_executor" +"pallet-scheduler:scheduler" "pallet-stableswap:stableswap" "pallet-staking:staking" +"frame-system:system" +"tech:technical_committee" +"pallet-timestamp:timestamp" +"orml-tokens:tokens" +"pallet-transaction-pause:transaction_pause" +"pallet-treasury:treasury" +"pallet-utility:utility" +"orml-vesting:vesting" +"pallet-xcm:xcm" +"cumulus-pallet-xcmp-queue:xcmp_queue" +"pallet-xyk:xyk" ) -command="cargo run --bin hydradx --release --features=runtime-benchmarks -- benchmark pallet --pallet=[pallet] --execution=wasm --wasm-execution=compiled --heap-pages=4096 --chain=dev --extrinsic='*' --steps=5 --repeat=20 --output [output].rs --template .maintain/pallet-weight-template-no-back.hbs" +command="cargo run --bin hydradx --release --features=runtime-benchmarks -- benchmark pallet --pallet=[pallet] --wasm-execution=compiled --heap-pages=4096 --chain=dev --extrinsic='*' --steps=5 --repeat=20 --output ./new_weights/[output].rs --template .maintain/pallet-weight-runtime-template.hbs" for string in "${pallets[@]}"; do From d3ca7a43a7a95e2185df2dcf09f44f8ea00a4a4b Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 12 Dec 2023 15:13:12 +0100 Subject: [PATCH 101/138] fix weight template file --- scripts/benchmark.all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/benchmark.all.sh b/scripts/benchmark.all.sh index 4499ec74e..57538c964 100755 --- a/scripts/benchmark.all.sh +++ b/scripts/benchmark.all.sh @@ -38,7 +38,7 @@ pallets=( "pallet-xyk:xyk" ) -command="cargo run --bin hydradx --release --features=runtime-benchmarks -- benchmark pallet --pallet=[pallet] --wasm-execution=compiled --heap-pages=4096 --chain=dev --extrinsic='*' --steps=5 --repeat=20 --output ./new_weights/[output].rs --template .maintain/pallet-weight-runtime-template.hbs" +command="cargo run --bin hydradx --release --features=runtime-benchmarks -- benchmark pallet --pallet=[pallet] --wasm-execution=compiled --heap-pages=4096 --chain=dev --extrinsic='*' --steps=5 --repeat=20 --output [output].rs --template .maintain/pallet-weight-template-no-back.hbs" for string in "${pallets[@]}"; do From 060bb848b5cb1217003b12c508b24a0172655920 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 12 Dec 2023 17:27:10 +0100 Subject: [PATCH 102/138] fix stableswap integration tests --- integration-tests/src/staking.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/integration-tests/src/staking.rs b/integration-tests/src/staking.rs index f43ec9311..08319c20c 100644 --- a/integration-tests/src/staking.rs +++ b/integration-tests/src/staking.rs @@ -109,7 +109,6 @@ fn staking_should_transfer_hdx_fees_to_pot_account_when_omnipool_trade_is_execut fn democracy_vote_should_record_stake_vote() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -159,7 +158,6 @@ fn democracy_vote_should_record_stake_vote() { fn staking_action_should_claim_points_for_finished_referendums_when_voted() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -213,7 +211,6 @@ fn staking_action_should_claim_points_for_finished_referendums_when_voted() { fn staking_should_transfer_rewards_when_claimed() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -278,7 +275,6 @@ fn staking_should_transfer_rewards_when_claimed() { fn staking_should_not_reward_when_double_claimed() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -337,7 +333,6 @@ fn staking_should_not_reward_when_double_claimed() { fn staking_should_not_reward_when_increase_stake_again_and_no_vote_activity() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -402,7 +397,6 @@ fn staking_should_not_reward_when_increase_stake_again_and_no_vote_activity() { fn staking_should_claim_and_unreserve_rewards_when_unstaked() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -464,7 +458,6 @@ fn staking_should_claim_and_unreserve_rewards_when_unstaked() { fn staking_should_remove_vote_when_democracy_removes_vote() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -520,7 +513,6 @@ fn staking_should_remove_vote_when_democracy_removes_vote() { fn staking_should_not_reward_when_refenrendum_is_ongoing() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -570,7 +562,6 @@ fn staking_should_not_reward_when_refenrendum_is_ongoing() { fn democracy_vote_should_work_correctly_when_account_has_no_stake() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -600,7 +591,6 @@ fn democracy_vote_should_work_correctly_when_account_has_no_stake() { fn democracy_remote_vote_should_work_correctly_when_account_has_no_stake() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -635,7 +625,6 @@ fn democracy_remote_vote_should_work_correctly_when_account_has_no_stake() { fn staking_position_transfer_should_fail_when_origin_is_owner() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -681,7 +670,6 @@ fn staking_position_transfer_should_fail_when_origin_is_owner() { fn thaw_staking_position_should_fail_when_origin_is_position_owner() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -726,7 +714,6 @@ fn thaw_staking_position_should_fail_when_origin_is_position_owner() { fn thaw_staking_collection_should_fail_when_origin_is_not_pallet_account() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -764,7 +751,6 @@ fn thaw_staking_collection_should_fail_when_origin_is_not_pallet_account() { fn stake_should_fail_when_tokens_are_vested() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -801,7 +787,6 @@ fn stake_should_fail_when_tokens_are_vested() { fn stake_should_fail_when_tokens_are_already_staked() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -848,7 +833,6 @@ fn stake_should_fail_when_tokens_are_already_staked() { fn staking_should_assign_less_action_points_when_portion_of_staking_lock_is_vested() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -945,7 +929,6 @@ fn staking_should_assign_less_action_points_when_portion_of_staking_lock_is_vest fn staking_should_not_allow_to_remove_vote_when_referendum_is_finished_and_staking_position_exists_and_user_lost() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -1026,7 +1009,6 @@ fn staking_should_not_allow_to_remove_vote_when_referendum_is_finished_and_staki fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -1109,7 +1091,6 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { fn staking_should_allow_to_remove_vote_when_user_won() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); @@ -1190,7 +1171,6 @@ fn staking_should_allow_to_remove_vote_when_user_won() { fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { TestNet::reset(); Hydra::execute_with(|| { - System::set_block_number(0); init_omnipool(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); From 65ab1cee2f3c29eda47ec401a73c4a9050395a06 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 12 Dec 2023 18:29:01 +0100 Subject: [PATCH 103/138] rebenchmark some pallets --- runtime/hydradx/src/weights/balances.rs | 132 ++-- runtime/hydradx/src/weights/bonds.rs | 117 +-- .../hydradx/src/weights/circuit_breaker.rs | 152 ++-- runtime/hydradx/src/weights/claims.rs | 30 +- runtime/hydradx/src/weights/council.rs | 355 +++++---- runtime/hydradx/src/weights/currencies.rs | 122 +-- runtime/hydradx/src/weights/democracy.rs | 666 ++++++++++------ runtime/hydradx/src/weights/duster.rs | 81 +- runtime/hydradx/src/weights/ema_oracle.rs | 108 +-- runtime/hydradx/src/weights/identity.rs | 412 +++++----- runtime/hydradx/src/weights/lbp.rs | 70 +- runtime/hydradx/src/weights/omnipool.rs | 724 ++++++++++-------- runtime/hydradx/src/weights/omnipool_lm.rs | 468 +++++------ runtime/hydradx/src/weights/otc.rs | 127 +-- runtime/hydradx/src/weights/payment.rs | 75 +- runtime/hydradx/src/weights/preimage.rs | 197 +++-- runtime/hydradx/src/weights/proxy.rs | 229 +++--- runtime/hydradx/src/weights/registry.rs | 107 +-- runtime/hydradx/src/weights/scheduler.rs | 190 +++-- runtime/hydradx/src/weights/stableswap.rs | 520 +++++++------ runtime/hydradx/src/weights/staking.rs | 234 +++--- runtime/hydradx/src/weights/system.rs | 124 ++- .../src/weights/technical_committee.rs | 355 +++++---- runtime/hydradx/src/weights/timestamp.rs | 33 +- runtime/hydradx/src/weights/tokens.rs | 170 ++-- .../hydradx/src/weights/transaction_pause.rs | 41 +- runtime/hydradx/src/weights/treasury.rs | 132 ++-- runtime/hydradx/src/weights/utility.rs | 55 +- runtime/hydradx/src/weights/vesting.rs | 88 ++- runtime/hydradx/src/weights/xcm.rs | 332 ++++---- runtime/hydradx/src/weights/xyk.rs | 62 +- 31 files changed, 3777 insertions(+), 2731 deletions(-) diff --git a/runtime/hydradx/src/weights/balances.rs b/runtime/hydradx/src/weights/balances.rs index 5cc0e10e5..6e7229980 100644 --- a/runtime/hydradx/src/weights/balances.rs +++ b/runtime/hydradx/src/weights/balances.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_balances +//! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-balances -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// balances.rs +// ./weights-1.1.0/balances.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,63 +55,96 @@ use pallet_balances::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { - // Minimum execution time: 74_451 nanoseconds. - Weight::from_parts(75_188_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `103` + // Estimated: `6196` + // Minimum execution time: 99_306_000 picoseconds. + Weight::from_parts(99_852_000, 6196) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 47_136 nanoseconds. - Weight::from_parts(47_791_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 57_733_000 picoseconds. + Weight::from_parts(58_369_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { - // Minimum execution time: 34_683 nanoseconds. - Weight::from_parts(34_991_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 23_571_000 picoseconds. + Weight::from_parts(24_090_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { - // Minimum execution time: 39_349 nanoseconds. - Weight::from_parts(39_994_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 33_669_000 picoseconds. + Weight::from_parts(34_145_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:3 w:3) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { - // Minimum execution time: 72_499 nanoseconds. - Weight::from_parts(73_570_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `206` + // Estimated: `8799` + // Minimum execution time: 99_790_000 picoseconds. + Weight::from_parts(100_634_000, 8799) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { - // Minimum execution time: 56_555 nanoseconds. - Weight::from_parts(57_161_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 71_626_000 picoseconds. + Weight::from_parts(72_046_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { - // Minimum execution time: 31_280 nanoseconds. - Weight::from_parts(31_829_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 27_226_000 picoseconds. + Weight::from_parts(27_500_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn upgrade_accounts(_u: u32) -> Weight { - Weight::zero() + /// Storage: `System::Account` (r:1000 w:1000) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (136 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 25_150_000 picoseconds. + Weight::from_parts(25_357_000, 990) + // Standard Error: 34_523 + .saturating_add(Weight::from_parts(19_216_979, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } } diff --git a/runtime/hydradx/src/weights/bonds.rs b/runtime/hydradx/src/weights/bonds.rs index 1eb3fa8c4..045ba325d 100644 --- a/runtime/hydradx/src/weights/bonds.rs +++ b/runtime/hydradx/src/weights/bonds.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_bonds +//! Autogenerated weights for `pallet_bonds` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-11, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-bonds // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-bonds -// --output=bonds.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/bonds.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -52,52 +55,58 @@ use pallet_bonds::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Bonds BondIds (r:1 w:1) - // Proof: Bonds BondIds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: Timestamp Now (r:1 w:0) - // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:3) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Bonds Bonds (r:0 w:1) - // Proof: Bonds Bonds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:0 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Bonds::BondIds` (r:1 w:1) + /// Proof: `Bonds::BondIds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Bonds::Bonds` (r:0 w:1) + /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:0 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn issue() -> Weight { - // Minimum execution time: 154_679 nanoseconds. - Weight::from_parts(159_169_000, 0) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Proof Size summary in bytes: + // Measured: `1240` + // Estimated: `8799` + // Minimum execution time: 208_163_000 picoseconds. + Weight::from_parts(209_241_000, 8799) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } - // Storage: Bonds Bonds (r:1 w:0) - // Proof: Bonds Bonds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: Timestamp Now (r:1 w:0) - // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Bonds::Bonds` (r:1 w:0) + /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn redeem() -> Weight { - // Minimum execution time: 114_799 nanoseconds. - Weight::from_parts(116_103_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1415` + // Estimated: `6196` + // Minimum execution time: 146_646_000 picoseconds. + Weight::from_parts(147_343_000, 6196) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } diff --git a/runtime/hydradx/src/weights/circuit_breaker.rs b/runtime/hydradx/src/weights/circuit_breaker.rs index 6bc5f77e3..c3929949d 100644 --- a/runtime/hydradx/src/weights/circuit_breaker.rs +++ b/runtime/hydradx/src/weights/circuit_breaker.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_circuit_breaker +//! Autogenerated weights for `pallet_circuit_breaker` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-22, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-circuit-breaker -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// circuit_breaker.rs +// ./weights-1.1.0/circuit_breaker.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -57,78 +58,109 @@ impl WeightInfo for HydraWeight { /// The range of component `n` is `[0, 400]`. /// The range of component `m` is `[0, 400]`. fn on_finalize(n: u32, m: u32) -> Weight { - // Minimum execution time: 310_147 nanoseconds. - Weight::from_parts(314_819_000, 0) // Standard Error: 32_862 - .saturating_add(Weight::from_parts(290_334, 0).saturating_mul(n as u64)) - // Standard Error: 32_862 - .saturating_add(Weight::from_parts(1_084_558, 0).saturating_mul(m as u64)) + // Proof Size summary in bytes: + // Measured: `105 + m * (113 ±0) + n * (56 ±0)` + // Estimated: `0` + // Minimum execution time: 336_709_000 picoseconds. + Weight::from_parts(338_100_000, 0) + // Standard Error: 34_770 + .saturating_add(Weight::from_parts(304_235, 0).saturating_mul(n.into())) + // Standard Error: 34_770 + .saturating_add(Weight::from_parts(1_161_474, 0).saturating_mul(m.into())) } fn on_finalize_single_liquidity_limit_entry() -> Weight { - // Minimum execution time: 8_356 nanoseconds. - Weight::from_parts(8_620_000, 0) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `0` + // Minimum execution time: 9_370_000 picoseconds. + Weight::from_parts(9_492_000, 0) } fn on_finalize_single_trade_limit_entry() -> Weight { - // Minimum execution time: 8_409 nanoseconds. - Weight::from_parts(8_627_000, 0) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `0` + // Minimum execution time: 9_297_000 picoseconds. + Weight::from_parts(9_518_000, 0) } fn on_finalize_empty() -> Weight { - // Minimum execution time: 8_492 nanoseconds. - Weight::from_parts(8_759_000, 0) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `0` + // Minimum execution time: 9_320_000 picoseconds. + Weight::from_parts(9_566_000, 0) } - // Storage: CircuitBreaker TradeVolumeLimitPerAsset (r:0 w:1) - // Proof: CircuitBreaker TradeVolumeLimitPerAsset (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:0 w:1) + /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_trade_volume_limit() -> Weight { - // Minimum execution time: 12_557 nanoseconds. - Weight::from_parts(12_852_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_401_000 picoseconds. + Weight::from_parts(12_601_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:0 w:1) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:0 w:1) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) fn set_add_liquidity_limit() -> Weight { - // Minimum execution time: 12_968 nanoseconds. - Weight::from_parts(13_333_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_366_000 picoseconds. + Weight::from_parts(12_660_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:0 w:1) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:0 w:1) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) fn set_remove_liquidity_limit() -> Weight { - // Minimum execution time: 12_822 nanoseconds. - Weight::from_parts(13_140_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_543_000 picoseconds. + Weight::from_parts(12_729_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ensure_add_liquidity_limit() -> Weight { - // Minimum execution time: 19_815 nanoseconds. - Weight::from_parts(20_251_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `262` + // Estimated: `3517` + // Minimum execution time: 20_930_000 picoseconds. + Weight::from_parts(21_398_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ensure_remove_liquidity_limit() -> Weight { - // Minimum execution time: 18_011 nanoseconds. - Weight::from_parts(18_202_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `3517` + // Minimum execution time: 17_808_000 picoseconds. + Weight::from_parts(18_193_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker TradeVolumeLimitPerAsset (r:2 w:0) - // Proof: CircuitBreaker TradeVolumeLimitPerAsset (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:2 w:0) + /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn ensure_pool_state_change_limit() -> Weight { - // Minimum execution time: 18_080 nanoseconds. - Weight::from_parts(18_365_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `6076` + // Minimum execution time: 18_243_000 picoseconds. + Weight::from_parts(18_729_000, 6076) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/hydradx/src/weights/claims.rs b/runtime/hydradx/src/weights/claims.rs index aeb81caa2..631a69ff6 100644 --- a/runtime/hydradx/src/weights/claims.rs +++ b/runtime/hydradx/src/weights/claims.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_claims +//! Autogenerated weights for `pallet_claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-claims -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// claims.rs +// ./weights-1.1.0/claims.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,14 +55,17 @@ use pallet_claims::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Claims Claims (r:1 w:1) - // Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Claims::Claims` (r:1 w:1) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim() -> Weight { - // Minimum execution time: 79_271 nanoseconds. - Weight::from_parts(79_837_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `382` + // Estimated: `3593` + // Minimum execution time: 82_736_000 picoseconds. + Weight::from_parts(83_275_000, 3593) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/hydradx/src/weights/council.rs b/runtime/hydradx/src/weights/council.rs index c2b3f9982..aa07c42de 100644 --- a/runtime/hydradx/src/weights/council.rs +++ b/runtime/hydradx/src/weights/council.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for council +//! Autogenerated weights for `council` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=council -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// council.rs +// ./weights-1.1.0/council.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,188 +55,246 @@ use pallet_collective::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Council Members (r:1 w:1) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Proposals (r:1 w:0) - // Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Voting (r:30 w:30) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - // Storage: Council Prime (r:0 w:1) - // Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:30 w:30) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 13]`. /// The range of component `n` is `[0, 13]`. /// The range of component `p` is `[0, 30]`. fn set_members(m: u32, _n: u32, p: u32) -> Weight { - // Minimum execution time: 12_853 nanoseconds. - Weight::from_parts(12_991_000, 0) // Standard Error: 401_781 - .saturating_add(Weight::from_parts(4_277_402, 0).saturating_mul(m as u64)) - // Standard Error: 175_085 - .saturating_add(Weight::from_parts(3_794_778, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Proof Size summary in bytes: + // Measured: `0 + m * (992 ±0) + p * (405 ±0)` + // Estimated: `21811 + m * (615 ±25) + p * (2394 ±10)` + // Minimum execution time: 13_593_000 picoseconds. + Weight::from_parts(13_892_000, 21811) + // Standard Error: 392_175 + .saturating_add(Weight::from_parts(4_636_136, 0).saturating_mul(m.into())) + // Standard Error: 170_899 + .saturating_add(Weight::from_parts(3_787_560, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 615).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 2394).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 13]`. fn execute(b: u32, m: u32) -> Weight { - // Minimum execution time: 20_787 nanoseconds. - Weight::from_parts(20_730_060, 0) // Standard Error: 72 - .saturating_add(Weight::from_parts(2_261, 0).saturating_mul(b as u64)) - // Standard Error: 6_152 - .saturating_add(Weight::from_parts(58_987, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `104 + m * (32 ±0)` + // Estimated: `1588 + m * (32 ±0)` + // Minimum execution time: 21_886_000 picoseconds. + Weight::from_parts(21_919_709, 1588) + // Standard Error: 49 + .saturating_add(Weight::from_parts(1_347, 0).saturating_mul(b.into())) + // Standard Error: 4_183 + .saturating_add(Weight::from_parts(26_796, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council ProposalOf (r:1 w:0) - // Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 13]`. fn propose_execute(b: u32, m: u32) -> Weight { - // Minimum execution time: 24_302 nanoseconds. - Weight::from_parts(24_951_667, 0) // Standard Error: 86 - .saturating_add(Weight::from_parts(1_343, 0).saturating_mul(b as u64)) - // Standard Error: 7_360 - .saturating_add(Weight::from_parts(20_953, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Proof Size summary in bytes: + // Measured: `104 + m * (32 ±0)` + // Estimated: `3568 + m * (32 ±0)` + // Minimum execution time: 25_705_000 picoseconds. + Weight::from_parts(25_390_343, 3568) + // Standard Error: 58 + .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(b.into())) + // Standard Error: 4_956 + .saturating_add(Weight::from_parts(39_729, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council ProposalOf (r:1 w:1) - // Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - // Storage: Council Proposals (r:1 w:1) - // Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council ProposalCount (r:1 w:1) - // Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Voting (r:0 w:1) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 13]`. /// The range of component `p` is `[1, 30]`. fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - // Minimum execution time: 31_619 nanoseconds. - Weight::from_parts(30_180_102, 0) // Standard Error: 218 - .saturating_add(Weight::from_parts(2_703, 0).saturating_mul(b as u64)) - // Standard Error: 19_537 - .saturating_add(Weight::from_parts(4_352, 0).saturating_mul(m as u64)) - // Standard Error: 7_637 - .saturating_add(Weight::from_parts(330_522, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `187 + m * (32 ±0) + p * (49 ±0)` + // Estimated: `3617 + m * (33 ±0) + p * (51 ±0)` + // Minimum execution time: 32_994_000 picoseconds. + Weight::from_parts(32_250_127, 3617) + // Standard Error: 206 + .saturating_add(Weight::from_parts(2_216, 0).saturating_mul(b.into())) + // Standard Error: 7_213 + .saturating_add(Weight::from_parts(339_379, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 51).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Voting (r:1 w:1) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 13]`. fn vote(m: u32) -> Weight { - // Minimum execution time: 26_243 nanoseconds. - Weight::from_parts(26_642_125, 0) // Standard Error: 10_747 - .saturating_add(Weight::from_parts(71_975, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `638 + m * (64 ±0)` + // Estimated: `4103 + m * (64 ±0)` + // Minimum execution time: 26_864_000 picoseconds. + Weight::from_parts(26_990_860, 4103) + // Standard Error: 5_236 + .saturating_add(Weight::from_parts(51_000, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - // Storage: Council Voting (r:1 w:1) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Proposals (r:1 w:1) - // Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council ProposalOf (r:0 w:1) - // Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 13]`. /// The range of component `p` is `[1, 30]`. fn close_early_disapproved(m: u32, p: u32) -> Weight { - // Minimum execution time: 32_335 nanoseconds. - Weight::from_parts(33_245_498, 0) // Standard Error: 21_775 - .saturating_add(Weight::from_parts(40_033, 0).saturating_mul(m as u64)) - // Standard Error: 6_878 - .saturating_add(Weight::from_parts(235_827, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `208 + m * (64 ±0) + p * (46 ±0)` + // Estimated: `3673 + m * (69 ±1) + p * (45 ±0)` + // Minimum execution time: 34_511_000 picoseconds. + Weight::from_parts(34_588_685, 3673) + // Standard Error: 14_766 + .saturating_add(Weight::from_parts(54_177, 0).saturating_mul(m.into())) + // Standard Error: 4_664 + .saturating_add(Weight::from_parts(280_182, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 69).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 45).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council ProposalOf (r:1 w:1) - // Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - // Storage: Council Proposals (r:1 w:1) - // Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 13]`. /// The range of component `p` is `[1, 30]`. - fn close_early_approved(b: u32, _m: u32, p: u32) -> Weight { - // Minimum execution time: 46_776 nanoseconds. - Weight::from_parts(46_992_416, 0) // Standard Error: 233 - .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(b as u64)) - // Standard Error: 8_179 - .saturating_add(Weight::from_parts(299_666, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `305 + m * (64 ±0) + p * (59 ±0)` + // Estimated: `3683 + b * (1 ±0) + m * (71 ±2) + p * (61 ±0)` + // Minimum execution time: 49_998_000 picoseconds. + Weight::from_parts(48_993_560, 3683) + // Standard Error: 191 + .saturating_add(Weight::from_parts(1_582, 0).saturating_mul(b.into())) + // Standard Error: 21_188 + .saturating_add(Weight::from_parts(44_398, 0).saturating_mul(m.into())) + // Standard Error: 6_705 + .saturating_add(Weight::from_parts(306_716, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 71).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 61).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Prime (r:1 w:0) - // Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Proposals (r:1 w:1) - // Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council ProposalOf (r:0 w:1) - // Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 13]`. /// The range of component `p` is `[1, 30]`. fn close_disapproved(m: u32, p: u32) -> Weight { - // Minimum execution time: 35_291 nanoseconds. - Weight::from_parts(35_123_811, 0) // Standard Error: 23_526 - .saturating_add(Weight::from_parts(98_965, 0).saturating_mul(m as u64)) - // Standard Error: 7_431 - .saturating_add(Weight::from_parts(265_357, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `228 + m * (64 ±0) + p * (46 ±0)` + // Estimated: `3693 + m * (69 ±1) + p * (45 ±0)` + // Minimum execution time: 37_803_000 picoseconds. + Weight::from_parts(37_595_157, 3693) + // Standard Error: 15_571 + .saturating_add(Weight::from_parts(76_506, 0).saturating_mul(m.into())) + // Standard Error: 4_918 + .saturating_add(Weight::from_parts(273_488, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 69).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 45).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - // Storage: Council Members (r:1 w:0) - // Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Prime (r:1 w:0) - // Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council ProposalOf (r:1 w:1) - // Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - // Storage: Council Proposals (r:1 w:1) - // Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 13]`. /// The range of component `p` is `[1, 30]`. fn close_approved(b: u32, m: u32, p: u32) -> Weight { - // Minimum execution time: 49_663 nanoseconds. - Weight::from_parts(49_410_369, 0) // Standard Error: 264 - .saturating_add(Weight::from_parts(1_643, 0).saturating_mul(b as u64)) - // Standard Error: 29_184 - .saturating_add(Weight::from_parts(20_684, 0).saturating_mul(m as u64)) - // Standard Error: 9_235 - .saturating_add(Weight::from_parts(310_205, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `325 + m * (64 ±0) + p * (59 ±0)` + // Estimated: `3703 + b * (1 ±0) + m * (71 ±2) + p * (61 ±0)` + // Minimum execution time: 52_723_000 picoseconds. + Weight::from_parts(52_530_548, 3703) + // Standard Error: 221 + .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(b.into())) + // Standard Error: 24_430 + .saturating_add(Weight::from_parts(29_682, 0).saturating_mul(m.into())) + // Standard Error: 7_731 + .saturating_add(Weight::from_parts(308_096, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 71).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 61).saturating_mul(p.into())) } - // Storage: Council Proposals (r:1 w:1) - // Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Council Voting (r:0 w:1) - // Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - // Storage: Council ProposalOf (r:0 w:1) - // Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 30]`. fn disapprove_proposal(p: u32) -> Weight { - // Minimum execution time: 20_691 nanoseconds. - Weight::from_parts(21_989_046, 0) // Standard Error: 11_768 - .saturating_add(Weight::from_parts(205_589, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `260 + p * (32 ±0)` + // Estimated: `1744 + p * (32 ±0)` + // Minimum execution time: 22_405_000 picoseconds. + Weight::from_parts(23_004_470, 1744) + // Standard Error: 5_058 + .saturating_add(Weight::from_parts(217_141, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/hydradx/src/weights/currencies.rs b/runtime/hydradx/src/weights/currencies.rs index 8dee8eaa2..370d11e43 100644 --- a/runtime/hydradx/src/weights/currencies.rs +++ b/runtime/hydradx/src/weights/currencies.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_currencies +//! Autogenerated weights for `pallet_currencies` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-currencies -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// currencies.rs +// ./weights-1.1.0/currencies.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,62 +55,77 @@ use pallet_currencies::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn transfer_non_native_currency() -> Weight { - // Minimum execution time: 91_916 nanoseconds. - Weight::from_parts(92_767_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2335` + // Estimated: `6156` + // Minimum execution time: 96_394_000 picoseconds. + Weight::from_parts(96_942_000, 6156) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { - // Minimum execution time: 58_008 nanoseconds. - Weight::from_parts(58_773_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1668` + // Estimated: `3593` + // Minimum execution time: 92_953_000 picoseconds. + Weight::from_parts(94_336_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { - // Minimum execution time: 70_841 nanoseconds. - Weight::from_parts(71_599_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `2127` + // Estimated: `3593` + // Minimum execution time: 73_636_000 picoseconds. + Weight::from_parts(74_177_000, 3593) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { - // Minimum execution time: 48_914 nanoseconds. - Weight::from_parts(49_984_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1528` + // Estimated: `3593` + // Minimum execution time: 54_370_000 picoseconds. + Weight::from_parts(55_148_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { - // Minimum execution time: 46_369 nanoseconds. - Weight::from_parts(46_855_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1616` + // Estimated: `3593` + // Minimum execution time: 54_487_000 picoseconds. + Weight::from_parts(55_170_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/democracy.rs b/runtime/hydradx/src/weights/democracy.rs index be5730cb7..b0d2327de 100644 --- a/runtime/hydradx/src/weights/democracy.rs +++ b/runtime/hydradx/src/weights/democracy.rs @@ -1,4 +1,5 @@ // This file is part of HydraDX. +// This file is part of HydraDX. // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 @@ -15,26 +16,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_democracy +//! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-21, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=5 -// --repeat=20 -// --execution=wasm +// --pallet=pallet-democracy // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_democracy -// --output=democracy.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/democracy.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -52,302 +56,476 @@ use pallet_democracy::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Democracy PublicPropCount (r:1 w:1) - // Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Democracy PublicProps (r:1 w:1) - // Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - // Storage: Democracy Blacklist (r:1 w:0) - // Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - // Storage: Democracy DepositOf (r:0 w:1) - // Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { - // Minimum execution time: 45_683 nanoseconds. - Weight::from_parts(46_213_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `4688` + // Estimated: `18187` + // Minimum execution time: 52_594_000 picoseconds. + Weight::from_parts(53_207_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy DepositOf (r:1 w:1) - // Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { - // Minimum execution time: 41_709 nanoseconds. - Weight::from_parts(42_180_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `3443` + // Estimated: `6695` + // Minimum execution time: 47_180_000 picoseconds. + Weight::from_parts(47_748_000, 6695) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy ReferendumInfoOf (r:100 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Democracy VotingOf (r:1 w:1) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Uniques Account (r:2 w:0) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:1) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_new() -> Weight { - // Minimum execution time: 416_420 nanoseconds. - Weight::from_parts(420_164_000, 0) - .saturating_add(T::DbWeight::get().reads(106 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `15343` + // Estimated: `268590` + // Minimum execution time: 452_520_000 picoseconds. + Weight::from_parts(456_752_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Democracy ReferendumInfoOf (r:100 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Democracy VotingOf (r:1 w:1) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Uniques Account (r:2 w:0) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:1) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { - // Minimum execution time: 415_618 nanoseconds. - Weight::from_parts(418_917_000, 0) - .saturating_add(T::DbWeight::get().reads(106 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `15365` + // Estimated: `268590` + // Minimum execution time: 451_312_000 picoseconds. + Weight::from_parts(457_827_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Democracy Cancellations (r:1 w:1) - // Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { - // Minimum execution time: 22_130 nanoseconds. - Weight::from_parts(22_516_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `249` + // Estimated: `3666` + // Minimum execution time: 35_636_000 picoseconds. + Weight::from_parts(36_070_000, 3666) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy PublicProps (r:1 w:1) - // Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - // Storage: Democracy DepositOf (r:1 w:1) - // Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Democracy NextExternal (r:1 w:1) - // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Democracy Blacklist (r:0 w:1) - // Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { - // Minimum execution time: 102_512 nanoseconds. - Weight::from_parts(103_621_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `6191` + // Estimated: `18187` + // Minimum execution time: 132_102_000 picoseconds. + Weight::from_parts(133_131_000, 18187) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: Democracy NextExternal (r:1 w:1) - // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - // Storage: Democracy Blacklist (r:1 w:0) - // Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { - // Minimum execution time: 15_705 nanoseconds. - Weight::from_parts(16_110_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `3276` + // Estimated: `6703` + // Minimum execution time: 16_474_000 picoseconds. + Weight::from_parts(16_722_000, 6703) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy NextExternal (r:0 w:1) - // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { - // Minimum execution time: 5_151 nanoseconds. - Weight::from_parts(5_478_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_354_000 picoseconds. + Weight::from_parts(5_544_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy NextExternal (r:0 w:1) - // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { - // Minimum execution time: 5_449 nanoseconds. - Weight::from_parts(5_654_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_302_000 picoseconds. + Weight::from_parts(5_556_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy NextExternal (r:1 w:1) - // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - // Storage: Democracy ReferendumCount (r:1 w:1) - // Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:0 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { - // Minimum execution time: 21_249 nanoseconds. - Weight::from_parts(21_560_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `147` + // Estimated: `3518` + // Minimum execution time: 35_393_000 picoseconds. + Weight::from_parts(36_025_000, 3518) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Democracy NextExternal (r:1 w:1) - // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - // Storage: Democracy Blacklist (r:1 w:1) - // Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { - // Minimum execution time: 27_789 nanoseconds. - Weight::from_parts(28_426_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `3377` + // Estimated: `6703` + // Minimum execution time: 37_183_000 picoseconds. + Weight::from_parts(37_728_000, 6703) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy PublicProps (r:1 w:1) - // Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - // Storage: Democracy DepositOf (r:1 w:1) - // Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { - // Minimum execution time: 81_206 nanoseconds. - Weight::from_parts(81_785_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `6076` + // Estimated: `18187` + // Minimum execution time: 107_143_000 picoseconds. + Weight::from_parts(107_867_000, 18187) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Democracy ReferendumInfoOf (r:0 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { - // Minimum execution time: 12_168 nanoseconds. - Weight::from_parts(12_379_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `181` + // Estimated: `3518` + // Minimum execution time: 27_379_000 picoseconds. + Weight::from_parts(27_886_000, 3518) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Democracy LowestUnbaked (r:1 w:1) - // Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Democracy ReferendumCount (r:1 w:0) - // Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:99 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32) -> Weight { - // Minimum execution time: 6_027 nanoseconds. - Weight::from_parts(7_967_274, 0) // Standard Error: 15_297 - .saturating_add(Weight::from_parts(3_181_785, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `108 + r * (86 ±0)` + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 6_121_000 picoseconds. + Weight::from_parts(8_592_893, 1489) + // Standard Error: 15_703 + .saturating_add(Weight::from_parts(3_531_200, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - // Storage: Democracy LowestUnbaked (r:1 w:1) - // Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Democracy ReferendumCount (r:1 w:0) - // Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Democracy LastTabledWasExternal (r:1 w:0) - // Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - // Storage: Democracy NextExternal (r:1 w:0) - // Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - // Storage: Democracy PublicProps (r:1 w:0) - // Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:99 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32) -> Weight { - // Minimum execution time: 9_463 nanoseconds. - Weight::from_parts(11_351_448, 0) // Standard Error: 20_855 - .saturating_add(Weight::from_parts(3_232_061, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `108 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 10_482_000 picoseconds. + Weight::from_parts(12_899_855, 18187) + // Standard Error: 16_258 + .saturating_add(Weight::from_parts(3_555_121, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - // Storage: Democracy VotingOf (r:3 w:3) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:99 w:99) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32) -> Weight { - // Minimum execution time: 44_617 nanoseconds. - Weight::from_parts(48_848_842, 0) // Standard Error: 13_644 - .saturating_add(Weight::from_parts(4_709_492, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) + // Proof Size summary in bytes: + // Measured: `658 + r * (108 ±0)` + // Estimated: `19800 + r * (2676 ±0)` + // Minimum execution time: 52_402_000 picoseconds. + Weight::from_parts(54_800_637, 19800) + // Standard Error: 20_146 + .saturating_add(Weight::from_parts(4_621_419, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - // Storage: Democracy VotingOf (r:2 w:2) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:99 w:99) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32) -> Weight { - // Minimum execution time: 25_601 nanoseconds. - Weight::from_parts(28_142_536, 0) // Standard Error: 15_036 - .saturating_add(Weight::from_parts(4_603_513, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) + // Proof Size summary in bytes: + // Measured: `356 + r * (108 ±0)` + // Estimated: `13530 + r * (2676 ±0)` + // Minimum execution time: 25_946_000 picoseconds. + Weight::from_parts(27_003_784, 13530) + // Standard Error: 14_228 + .saturating_add(Weight::from_parts(4_553_164, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - // Storage: Democracy PublicProps (r:0 w:1) - // Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { - // Minimum execution time: 5_167 nanoseconds. - Weight::from_parts(5_294_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_588_000 picoseconds. + Weight::from_parts(5_693_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy VotingOf (r:1 w:1) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32) -> Weight { - // Minimum execution time: 23_905 nanoseconds. - Weight::from_parts(27_865_439, 0) // Standard Error: 10_086 - .saturating_add(Weight::from_parts(82_552, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `432` + // Estimated: `7260` + // Minimum execution time: 31_199_000 picoseconds. + Weight::from_parts(38_826_891, 7260) + // Standard Error: 21_192 + .saturating_add(Weight::from_parts(155_153, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy VotingOf (r:1 w:1) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32) -> Weight { - // Minimum execution time: 31_411 nanoseconds. - Weight::from_parts(31_838_954, 0) // Standard Error: 803 - .saturating_add(Weight::from_parts(61_046, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `432 + r * (22 ±0)` + // Estimated: `7260` + // Minimum execution time: 46_808_000 picoseconds. + Weight::from_parts(47_316_553, 7260) + // Standard Error: 2_010 + .saturating_add(Weight::from_parts(32_507, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Democracy VotingOf (r:1 w:1) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Uniques Account (r:2 w:0) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:1) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32) -> Weight { - // Minimum execution time: 40_945 nanoseconds. - Weight::from_parts(43_077_999, 0) // Standard Error: 5_059 - .saturating_add(Weight::from_parts(121_781, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `1081 + r * (129 ±0)` + // Estimated: `7260 + r * (2676 ±0)` + // Minimum execution time: 50_224_000 picoseconds. + Weight::from_parts(48_115_552, 7260) + // Standard Error: 12_377 + .saturating_add(Weight::from_parts(3_620_792, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Democracy VotingOf (r:1 w:1) - // Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - // Storage: Uniques Account (r:2 w:0) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:1) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32) -> Weight { - // Minimum execution time: 41_589 nanoseconds. - Weight::from_parts(43_200_170, 0) // Standard Error: 4_502 - .saturating_add(Weight::from_parts(122_627, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `1081 + r * (129 ±0)` + // Estimated: `7260 + r * (2676 ±0)` + // Minimum execution time: 50_234_000 picoseconds. + Weight::from_parts(48_913_493, 7260) + // Standard Error: 9_632 + .saturating_add(Weight::from_parts(3_610_105, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `287` + // Estimated: `3556` + // Minimum execution time: 23_854_000 picoseconds. + Weight::from_parts(24_292_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `147` + // Estimated: `3518` + // Minimum execution time: 21_276_000 picoseconds. + Weight::from_parts(21_525_000, 3518) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `4842` + // Estimated: `18187` + // Minimum execution time: 47_143_000 picoseconds. + Weight::from_parts(47_852_000, 18187) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `4706` + // Estimated: `18187` + // Minimum execution time: 43_821_000 picoseconds. + Weight::from_parts(44_144_000, 18187) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `3556` + // Minimum execution time: 20_772_000 picoseconds. + Weight::from_parts(21_133_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `159` + // Estimated: `3666` + // Minimum execution time: 23_308_000 picoseconds. + Weight::from_parts(23_661_000, 3666) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/duster.rs b/runtime/hydradx/src/weights/duster.rs index f0aab1b23..d48869f11 100644 --- a/runtime/hydradx/src/weights/duster.rs +++ b/runtime/hydradx/src/weights/duster.rs @@ -3,6 +3,11 @@ // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 +// This file is part of HydraDX. + +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// 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 @@ -15,18 +20,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_duster +//! Autogenerated weights for `pallet_duster` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-duster -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +40,7 @@ // --steps=5 // --repeat=20 // --output -// duster.rs +// ./weights-1.1.0/duster.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,38 +60,47 @@ use pallet_duster::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Duster AccountBlacklist (r:1 w:0) - // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Duster DustAccount (r:1 w:0) - // Proof Skipped: Duster DustAccount (max_values: Some(1), max_size: None, mode: Measured) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Duster RewardAccount (r:1 w:0) - // Proof Skipped: Duster RewardAccount (max_values: Some(1), max_size: None, mode: Measured) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Duster::DustAccount` (r:1 w:0) + /// Proof: `Duster::DustAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Duster::RewardAccount` (r:1 w:0) + /// Proof: `Duster::RewardAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn dust_account() -> Weight { - // Minimum execution time: 89_223 nanoseconds. - Weight::from_parts(89_896_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2538` + // Estimated: `6156` + // Minimum execution time: 90_102_000 picoseconds. + Weight::from_parts(90_700_000, 6156) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_nondustable_account() -> Weight { - // Minimum execution time: 22_009 nanoseconds. - Weight::from_parts(22_568_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1008` + // Estimated: `0` + // Minimum execution time: 21_071_000 picoseconds. + Weight::from_parts(21_591_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Duster AccountBlacklist (r:1 w:1) - // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) + /// Storage: `Duster::AccountBlacklist` (r:1 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn remove_nondustable_account() -> Weight { - // Minimum execution time: 27_278 nanoseconds. - Weight::from_parts(27_648_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1296` + // Estimated: `3513` + // Minimum execution time: 26_630_000 picoseconds. + Weight::from_parts(27_026_000, 3513) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/ema_oracle.rs b/runtime/hydradx/src/weights/ema_oracle.rs index 38eab2260..78dca3a04 100644 --- a/runtime/hydradx/src/weights/ema_oracle.rs +++ b/runtime/hydradx/src/weights/ema_oracle.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_ema_oracle +//! Autogenerated weights for `pallet_ema_oracle` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-ema-oracle // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-ema-oracle -// --output=ema-oracle.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/ema_oracle.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -52,50 +55,69 @@ use pallet_ema_oracle::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: EmaOracle Accumulator (r:1 w:0) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:0) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn on_finalize_no_entry() -> Weight { - // Minimum execution time: 3_226 nanoseconds. - Weight::from_parts(3_325_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `7406` + // Minimum execution time: 3_108_000 picoseconds. + Weight::from_parts(3_213_000, 7406).saturating_add(T::DbWeight::get().reads(1_u64)) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:117 w:117) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:117 w:117) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 44_637 nanoseconds. - Weight::from_parts(9_798_669, 0) // Standard Error: 47_796 - .saturating_add(Weight::from_parts(33_611_646, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64))) + // Proof Size summary in bytes: + // Measured: `270 + b * (626 ±0)` + // Estimated: `7406 + b * (7956 ±0)` + // Minimum execution time: 46_197_000 picoseconds. + Weight::from_parts(6_894_077, 7406) + // Standard Error: 58_512 + .saturating_add(Weight::from_parts(36_389_579, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7956).saturating_mul(b.into())) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 10_368 nanoseconds. - Weight::from_parts(10_544_600, 0) // Standard Error: 2_268 - .saturating_add(Weight::from_parts(432_909, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + b * (148 ±0)` + // Estimated: `7406` + // Minimum execution time: 9_225_000 picoseconds. + Weight::from_parts(9_309_132, 7406) + // Standard Error: 2_681 + .saturating_add(Weight::from_parts(395_788, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 10_369 nanoseconds. - Weight::from_parts(10_608_047, 0) // Standard Error: 2_062 - .saturating_add(Weight::from_parts(432_350, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + b * (148 ±0)` + // Estimated: `7406` + // Minimum execution time: 9_353_000 picoseconds. + Weight::from_parts(9_378_483, 7406) + // Standard Error: 1_820 + .saturating_add(Weight::from_parts(397_535, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_entry() -> Weight { - // Minimum execution time: 17_936 nanoseconds. - Weight::from_parts(18_521_000, 0).saturating_add(T::DbWeight::get().reads(2 as u64)) + // Proof Size summary in bytes: + // Measured: `604` + // Estimated: `6294` + // Minimum execution time: 18_642_000 picoseconds. + Weight::from_parts(19_015_000, 6294).saturating_add(T::DbWeight::get().reads(2_u64)) } } diff --git a/runtime/hydradx/src/weights/identity.rs b/runtime/hydradx/src/weights/identity.rs index 47ac84359..7eab3d306 100644 --- a/runtime/hydradx/src/weights/identity.rs +++ b/runtime/hydradx/src/weights/identity.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_identity +//! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-identity -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// identity.rs +// ./weights-1.1.0/identity.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,227 +55,292 @@ use pallet_identity::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Identity Registrars (r:1 w:1) - // Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32) -> Weight { - // Minimum execution time: 15_326 nanoseconds. - Weight::from_parts(15_582_094, 0) // Standard Error: 4_653 - .saturating_add(Weight::from_parts(176_404, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `32 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 16_934_000 picoseconds. + Weight::from_parts(17_553_576, 2626) + // Standard Error: 6_083 + .saturating_add(Weight::from_parts(104_428, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity IdentityOf (r:1 w:1) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32) -> Weight { - // Minimum execution time: 38_131 nanoseconds. - Weight::from_parts(37_398_023, 0) // Standard Error: 7_257 - .saturating_add(Weight::from_parts(69_908, 0).saturating_mul(r as u64)) - // Standard Error: 1_408 - .saturating_add(Weight::from_parts(531_880, 0).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `442 + r * (5 ±0)` + // Estimated: `11003` + // Minimum execution time: 44_671_000 picoseconds. + Weight::from_parts(43_380_570, 11003) + // Standard Error: 3_398 + .saturating_add(Weight::from_parts(89_436, 0).saturating_mul(r.into())) + // Standard Error: 659 + .saturating_add(Weight::from_parts(714_757, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity IdentityOf (r:1 w:0) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - // Storage: Identity SubsOf (r:1 w:1) - // Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - // Storage: Identity SuperOf (r:100 w:100) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32) -> Weight { - // Minimum execution time: 13_176 nanoseconds. - Weight::from_parts(20_572_660, 0) // Standard Error: 21_203 - .saturating_add(Weight::from_parts(3_483_533, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Proof Size summary in bytes: + // Measured: `101` + // Estimated: `11003 + s * (2589 ±0)` + // Minimum execution time: 14_570_000 picoseconds. + Weight::from_parts(23_863_560, 11003) + // Standard Error: 25_763 + .saturating_add(Weight::from_parts(4_280_870, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) + .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) } - // Storage: Identity IdentityOf (r:1 w:0) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - // Storage: Identity SubsOf (r:1 w:1) - // Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - // Storage: Identity SuperOf (r:0 w:100) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32) -> Weight { - // Minimum execution time: 12_990 nanoseconds. - Weight::from_parts(20_453_420, 0) // Standard Error: 21_437 - .saturating_add(Weight::from_parts(1_463_947, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Proof Size summary in bytes: + // Measured: `192 + p * (32 ±0)` + // Estimated: `11003` + // Minimum execution time: 14_562_000 picoseconds. + Weight::from_parts(22_949_900, 11003) + // Standard Error: 23_636 + .saturating_add(Weight::from_parts(1_793_279, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } - // Storage: Identity SubsOf (r:1 w:1) - // Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - // Storage: Identity IdentityOf (r:1 w:1) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - // Storage: Identity SuperOf (r:0 w:100) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32) -> Weight { - // Minimum execution time: 60_648 nanoseconds. - Weight::from_parts(33_396_832, 0) // Standard Error: 15_990 - .saturating_add(Weight::from_parts(90_628, 0).saturating_mul(r as u64)) - // Standard Error: 3_105 - .saturating_add(Weight::from_parts(1_358_139, 0).saturating_mul(s as u64)) - // Standard Error: 3_105 - .saturating_add(Weight::from_parts(268_909, 0).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Proof Size summary in bytes: + // Measured: `467 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 78_708_000 picoseconds. + Weight::from_parts(39_980_565, 11003) + // Standard Error: 16_719 + .saturating_add(Weight::from_parts(151_091, 0).saturating_mul(r.into())) + // Standard Error: 3_247 + .saturating_add(Weight::from_parts(1_645_822, 0).saturating_mul(s.into())) + // Standard Error: 3_247 + .saturating_add(Weight::from_parts(372_874, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } - // Storage: Identity Registrars (r:1 w:0) - // Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - // Storage: Identity IdentityOf (r:1 w:1) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32) -> Weight { - // Minimum execution time: 39_197 nanoseconds. - Weight::from_parts(39_378_606, 0) // Standard Error: 10_835 - .saturating_add(Weight::from_parts(30_127, 0).saturating_mul(r as u64)) - // Standard Error: 2_103 - .saturating_add(Weight::from_parts(548_234, 0).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `365 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 45_052_000 picoseconds. + Weight::from_parts(44_230_262, 11003) + // Standard Error: 5_797 + .saturating_add(Weight::from_parts(68_847, 0).saturating_mul(r.into())) + // Standard Error: 1_125 + .saturating_add(Weight::from_parts(723_782, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity IdentityOf (r:1 w:1) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32) -> Weight { - // Minimum execution time: 35_105 nanoseconds. - Weight::from_parts(35_494_233, 0) // Standard Error: 12_119 - .saturating_add(Weight::from_parts(23_586, 0).saturating_mul(r as u64)) - // Standard Error: 2_352 - .saturating_add(Weight::from_parts(548_868, 0).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `396 + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 41_286_000 picoseconds. + Weight::from_parts(40_750_967, 11003) + // Standard Error: 6_724 + .saturating_add(Weight::from_parts(49_172, 0).saturating_mul(r.into())) + // Standard Error: 1_305 + .saturating_add(Weight::from_parts(723_915, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity Registrars (r:1 w:1) - // Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32) -> Weight { - // Minimum execution time: 9_796 nanoseconds. - Weight::from_parts(10_072_944, 0) // Standard Error: 2_858 - .saturating_add(Weight::from_parts(132_724, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 10_775_000 picoseconds. + Weight::from_parts(11_396_553, 2626) + // Standard Error: 6_015 + .saturating_add(Weight::from_parts(78_325, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity Registrars (r:1 w:1) - // Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32) -> Weight { - // Minimum execution time: 11_153 nanoseconds. - Weight::from_parts(11_547_123, 0) // Standard Error: 5_182 - .saturating_add(Weight::from_parts(98_366, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 11_285_000 picoseconds. + Weight::from_parts(11_718_851, 2626) + // Standard Error: 2_957 + .saturating_add(Weight::from_parts(68_141, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity Registrars (r:1 w:1) - // Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32) -> Weight { - // Minimum execution time: 10_612 nanoseconds. - Weight::from_parts(11_180_103, 0) // Standard Error: 7_860 - .saturating_add(Weight::from_parts(118_105, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 10_902_000 picoseconds. + Weight::from_parts(11_350_705, 2626) + // Standard Error: 4_692 + .saturating_add(Weight::from_parts(72_095, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity Registrars (r:1 w:0) - // Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - // Storage: Identity IdentityOf (r:1 w:1) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32) -> Weight { - // Minimum execution time: 30_030 nanoseconds. - Weight::from_parts(28_748_819, 0) // Standard Error: 4_117 - .saturating_add(Weight::from_parts(102_566, 0).saturating_mul(r as u64)) - // Standard Error: 749 - .saturating_add(Weight::from_parts(889_340, 0).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `443 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 32_313_000 picoseconds. + Weight::from_parts(30_931_150, 11003) + // Standard Error: 6_730 + .saturating_add(Weight::from_parts(97_823, 0).saturating_mul(r.into())) + // Standard Error: 1_225 + .saturating_add(Weight::from_parts(1_117_375, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity SubsOf (r:1 w:1) - // Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - // Storage: Identity IdentityOf (r:1 w:1) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Identity SuperOf (r:0 w:100) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn kill_identity(r: u32, s: u32, x: u32) -> Weight { - // Minimum execution time: 80_698 nanoseconds. - Weight::from_parts(55_614_441, 0) // Standard Error: 16_269 - .saturating_add(Weight::from_parts(62_642, 0).saturating_mul(r as u64)) - // Standard Error: 3_159 - .saturating_add(Weight::from_parts(1_363_105, 0).saturating_mul(s as u64)) - // Standard Error: 3_159 - .saturating_add(Weight::from_parts(258_243, 0).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + fn kill_identity(_r: u32, s: u32, x: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `732 + r * (17 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 102_506_000 picoseconds. + Weight::from_parts(68_340_447, 11003) + // Standard Error: 2_827 + .saturating_add(Weight::from_parts(1_654_468, 0).saturating_mul(s.into())) + // Standard Error: 2_827 + .saturating_add(Weight::from_parts(360_303, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } - // Storage: Identity IdentityOf (r:1 w:0) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - // Storage: Identity SuperOf (r:1 w:1) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - // Storage: Identity SubsOf (r:1 w:1) - // Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32) -> Weight { - // Minimum execution time: 34_765 nanoseconds. - Weight::from_parts(37_717_592, 0) // Standard Error: 6_463 - .saturating_add(Weight::from_parts(101_957, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `263 + s * (39 ±0)` + // Estimated: `11003` + // Minimum execution time: 40_861_000 picoseconds. + Weight::from_parts(43_416_491, 11003) + // Standard Error: 5_902 + .saturating_add(Weight::from_parts(84_100, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Identity IdentityOf (r:1 w:0) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - // Storage: Identity SuperOf (r:1 w:1) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32) -> Weight { - // Minimum execution time: 17_138 nanoseconds. - Weight::from_parts(18_541_210, 0) // Standard Error: 3_195 - .saturating_add(Weight::from_parts(32_533, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `450 + s * (5 ±0)` + // Estimated: `11003` + // Minimum execution time: 18_907_000 picoseconds. + Weight::from_parts(20_162_889, 11003) + // Standard Error: 2_842 + .saturating_add(Weight::from_parts(32_962, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity IdentityOf (r:1 w:0) - // Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - // Storage: Identity SuperOf (r:1 w:1) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - // Storage: Identity SubsOf (r:1 w:1) - // Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32) -> Weight { - // Minimum execution time: 39_118 nanoseconds. - Weight::from_parts(41_145_308, 0) // Standard Error: 4_681 - .saturating_add(Weight::from_parts(65_113, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `499 + s * (37 ±0)` + // Estimated: `11003` + // Minimum execution time: 44_474_000 picoseconds. + Weight::from_parts(46_128_496, 11003) + // Standard Error: 3_813 + .saturating_add(Weight::from_parts(55_997, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Identity SuperOf (r:1 w:1) - // Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - // Storage: Identity SubsOf (r:1 w:1) - // Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32) -> Weight { - // Minimum execution time: 25_303 nanoseconds. - Weight::from_parts(27_018_647, 0) // Standard Error: 4_565 - .saturating_add(Weight::from_parts(75_673, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `603 + s * (38 ±0)` + // Estimated: `6723` + // Minimum execution time: 32_790_000 picoseconds. + Weight::from_parts(34_581_789, 6723) + // Standard Error: 3_665 + .saturating_add(Weight::from_parts(57_073, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/hydradx/src/weights/lbp.rs b/runtime/hydradx/src/weights/lbp.rs index 035f026a7..8d7348d11 100644 --- a/runtime/hydradx/src/weights/lbp.rs +++ b/runtime/hydradx/src/weights/lbp.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_lbp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-07, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -27,15 +27,17 @@ // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 +// --pallet=pallet-lbp // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-lbp -// --output=weights-1.1.0/lbp.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/lbp.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -71,8 +73,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `11322` - // Minimum execution time: 144_239_000 picoseconds. - Weight::from_parts(145_493_000, 11322) + // Minimum execution time: 144_386_000 picoseconds. + Weight::from_parts(145_196_000, 11322) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -84,8 +86,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3628` - // Minimum execution time: 30_335_000 picoseconds. - Weight::from_parts(30_851_000, 3628) + // Minimum execution time: 30_461_000 picoseconds. + Weight::from_parts(30_686_000, 3628) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -101,8 +103,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1180` // Estimated: `11322` - // Minimum execution time: 101_829_000 picoseconds. - Weight::from_parts(102_585_000, 11322) + // Minimum execution time: 100_583_000 picoseconds. + Weight::from_parts(101_592_000, 11322) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -124,8 +126,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1368` // Estimated: `11322` - // Minimum execution time: 133_454_000 picoseconds. - Weight::from_parts(134_608_000, 11322) + // Minimum execution time: 133_274_000 picoseconds. + Weight::from_parts(134_648_000, 11322) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -143,8 +145,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1585` // Estimated: `13905` - // Minimum execution time: 218_509_000 picoseconds. - Weight::from_parts(220_220_000, 13905) + // Minimum execution time: 218_344_000 picoseconds. + Weight::from_parts(220_109_000, 13905) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -162,8 +164,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1585` // Estimated: `13905` - // Minimum execution time: 218_313_000 picoseconds. - Weight::from_parts(220_221_000, 13905) + // Minimum execution time: 219_060_000 picoseconds. + Weight::from_parts(220_516_000, 13905) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -182,13 +184,13 @@ impl WeightInfo for HydraWeight { fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `756 + e * (829 ±0)` - // Estimated: `6156 + e * (7749 ±34_606_984_459_695_172)` - // Minimum execution time: 65_871_000 picoseconds. - Weight::from_parts(66_318_000, 6156) - // Standard Error: 630_436 - .saturating_add(Weight::from_parts(2_423_224, 0).saturating_mul(c.into())) - // Standard Error: 1_383_987 - .saturating_add(Weight::from_parts(159_366_005, 0).saturating_mul(e.into())) + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 65_722_000 picoseconds. + Weight::from_parts(66_193_000, 6156) + // Standard Error: 1_355_364 + .saturating_add(Weight::from_parts(3_961_882, 0).saturating_mul(c.into())) + // Standard Error: 2_927_921 + .saturating_add(Weight::from_parts(163_724_923, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) @@ -210,12 +212,12 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `756 + e * (829 ±0)` // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 117_007_000 picoseconds. - Weight::from_parts(117_584_000, 6156) - // Standard Error: 756_511 - .saturating_add(Weight::from_parts(3_725_645, 0).saturating_mul(c.into())) - // Standard Error: 2_498_048 - .saturating_add(Weight::from_parts(131_621_688, 0).saturating_mul(e.into())) + // Minimum execution time: 116_733_000 picoseconds. + Weight::from_parts(117_433_000, 6156) + // Standard Error: 1_509_020 + .saturating_add(Weight::from_parts(5_197_432, 0).saturating_mul(c.into())) + // Standard Error: 4_928_439 + .saturating_add(Weight::from_parts(141_782_318, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) @@ -229,7 +231,7 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `756` // Estimated: `6156` - // Minimum execution time: 67_314_000 picoseconds. - Weight::from_parts(67_687_000, 6156).saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 65_795_000 picoseconds. + Weight::from_parts(66_370_000, 6156).saturating_add(T::DbWeight::get().reads(3_u64)) } } diff --git a/runtime/hydradx/src/weights/omnipool.rs b/runtime/hydradx/src/weights/omnipool.rs index 91144b6b3..466f77295 100644 --- a/runtime/hydradx/src/weights/omnipool.rs +++ b/runtime/hydradx/src/weights/omnipool.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_omnipool +//! Autogenerated weights for `pallet_omnipool` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-15, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-omnipool -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// omnipool.rs +// ./weights-1.1.0/omnipool.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,369 +55,412 @@ use pallet_omnipool::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:2 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { - // Minimum execution time: 148_641 nanoseconds. - Weight::from_parts(150_420_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Proof Size summary in bytes: + // Measured: `3000` + // Estimated: `7406` + // Minimum execution time: 143_315_000 picoseconds. + Weight::from_parts(144_368_000, 7406) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } - // Storage: Tokens Accounts (r:3 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 233_542 nanoseconds. - Weight::from_parts(235_489_000, 0) - .saturating_add(T::DbWeight::get().reads(20 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3915` + // Estimated: `8739` + // Minimum execution time: 223_299_000 picoseconds. + Weight::from_parts(224_797_000, 8739) + .saturating_add(T::DbWeight::get().reads(20_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 295_371 nanoseconds. - Weight::from_parts(297_465_000, 0) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `6621` + // Estimated: `11322` + // Minimum execution time: 298_508_000 picoseconds. + Weight::from_parts(300_331_000, 11322) + .saturating_add(T::DbWeight::get().reads(23_u64)) + .saturating_add(T::DbWeight::get().writes(16_u64)) } - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 258_297 nanoseconds. - Weight::from_parts(260_217_000, 0) - .saturating_add(T::DbWeight::get().reads(22 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `6010` + // Estimated: `11322` + // Minimum execution time: 250_809_000 picoseconds. + Weight::from_parts(253_464_000, 11322) + .saturating_add(T::DbWeight::get().reads(22_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 279_260 nanoseconds. - Weight::from_parts(280_777_000, 0) - .saturating_add(T::DbWeight::get().reads(24 as u64)) - .saturating_add(T::DbWeight::get().writes(15 as u64)) + // Proof Size summary in bytes: + // Measured: `6439` + // Estimated: `11322` + // Minimum execution time: 283_876_000 picoseconds. + Weight::from_parts(285_731_000, 11322) + .saturating_add(T::DbWeight::get().reads(24_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { - // Minimum execution time: 33_892 nanoseconds. - Weight::from_parts(34_292_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1301` + // Estimated: `3550` + // Minimum execution time: 33_588_000 picoseconds. + Weight::from_parts(34_079_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { - // Minimum execution time: 109_440 nanoseconds. - Weight::from_parts(110_207_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2332` + // Estimated: `6196` + // Minimum execution time: 108_136_000 picoseconds. + Weight::from_parts(109_073_000, 6196) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { - // Minimum execution time: 77_870 nanoseconds. - Weight::from_parts(78_533_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2872` + // Estimated: `3655` + // Minimum execution time: 76_830_000 picoseconds. + Weight::from_parts(77_797_000, 3655) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { - // Minimum execution time: 34_229 nanoseconds. - Weight::from_parts(34_689_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1301` + // Estimated: `3550` + // Minimum execution time: 33_908_000 picoseconds. + Weight::from_parts(34_392_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:3 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_protocol_liquidity() -> Weight { - // Minimum execution time: 160_117 nanoseconds. - Weight::from_parts(161_104_000, 0) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `4015` + // Estimated: `8739` + // Minimum execution time: 163_008_000 picoseconds. + Weight::from_parts(163_786_000, 8739) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:2 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_token() -> Weight { - // Minimum execution time: 158_937 nanoseconds. - Weight::from_parts(162_234_000, 0) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `3106` + // Estimated: `11322` + // Minimum execution time: 160_382_000 picoseconds. + Weight::from_parts(161_891_000, 11322) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 54_153 nanoseconds. - Weight::from_parts(40_444_373, 0) // Standard Error: 79_703 - .saturating_add(Weight::from_parts(10_307_875, 0).saturating_mul(c as u64)) - // Standard Error: 136_198 - .saturating_add(Weight::from_parts(216_455_950, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().reads((16 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((14 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `1905 + e * (4105 ±0)` + // Estimated: `1910394244883472 + c * (1 ±301) + e * (5166 ±0)` + // Minimum execution time: 45_953_000 picoseconds. + Weight::from_parts(34_352_200, 1910394244883472) + // Standard Error: 112_799 + .saturating_add(Weight::from_parts(12_190_000, 0).saturating_mul(c.into())) + // Standard Error: 112_799 + .saturating_add(Weight::from_parts(218_840_150, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().reads((16_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((14_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 281_574 nanoseconds. - Weight::from_parts(269_724_625, 0) // Standard Error: 346_676 - .saturating_add(Weight::from_parts(13_487_775, 0).saturating_mul(c as u64)) - // Standard Error: 346_676 - .saturating_add(Weight::from_parts(558_675, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(24 as u64)) - .saturating_add(T::DbWeight::get().writes(15 as u64)) + // Proof Size summary in bytes: + // Measured: `6439` + // Estimated: `11322` + // Minimum execution time: 282_761_000 picoseconds. + Weight::from_parts(271_127_250, 11322) + // Standard Error: 149_628 + .saturating_add(Weight::from_parts(13_692_850, 0).saturating_mul(c.into())) + // Standard Error: 149_628 + .saturating_add(Weight::from_parts(418_650, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(24_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } } diff --git a/runtime/hydradx/src/weights/omnipool_lm.rs b/runtime/hydradx/src/weights/omnipool_lm.rs index 426b51bd0..534e2145a 100644 --- a/runtime/hydradx/src/weights/omnipool_lm.rs +++ b/runtime/hydradx/src/weights/omnipool_lm.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_omnipool_liquidity_mining +//! Autogenerated weights for `pallet_omnipool_liquidity_mining` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-omnipool-liquidity-mining -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// omnipool_lm.rs +// ./weights-1.1.0/omnipool_lm.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,238 +55,271 @@ use pallet_omnipool_liquidity_mining::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM FarmSequencer (r:1 w:1) - // Proof: OmnipoolWarehouseLM FarmSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:0 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { - // Minimum execution time: 72_756 nanoseconds. - Weight::from_parts(73_412_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `462` + // Estimated: `6196` + // Minimum execution time: 104_411_000 picoseconds. + Weight::from_parts(105_372_000, 6196) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:1 w:1) - // Proof Skipped: Duster AccountBlacklist (max_values: None, max_size: None, mode: Measured) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { - // Minimum execution time: 72_102 nanoseconds. - Weight::from_parts(73_946_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `898` + // Estimated: `6196` + // Minimum execution time: 101_766_000 picoseconds. + Weight::from_parts(102_892_000, 6196) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM ActiveYieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM ActiveYieldFarm (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM FarmSequencer (r:1 w:1) - // Proof: OmnipoolWarehouseLM FarmSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:0 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { - // Minimum execution time: 109_579 nanoseconds. - Weight::from_parts(110_494_000, 0) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2287` + // Estimated: `6294` + // Minimum execution time: 140_071_000 picoseconds. + Weight::from_parts(141_599_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM ActiveYieldFarm (r:1 w:0) - // Proof: OmnipoolWarehouseLM ActiveYieldFarm (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { - // Minimum execution time: 114_170 nanoseconds. - Weight::from_parts(114_978_000, 0) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2457` + // Estimated: `6294` + // Minimum execution time: 145_051_000 picoseconds. + Weight::from_parts(146_213_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: OmnipoolWarehouseLM ActiveYieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM ActiveYieldFarm (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { - // Minimum execution time: 108_386 nanoseconds. - Weight::from_parts(110_956_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2096` + // Estimated: `6294` + // Minimum execution time: 139_750_000 picoseconds. + Weight::from_parts(140_646_000, 6294) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM ActiveYieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM ActiveYieldFarm (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { - // Minimum execution time: 109_899 nanoseconds. - Weight::from_parts(110_626_000, 0) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2493` + // Estimated: `6294` + // Minimum execution time: 141_404_000 picoseconds. + Weight::from_parts(142_349_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: OmnipoolWarehouseLM ActiveYieldFarm (r:1 w:0) - // Proof: OmnipoolWarehouseLM ActiveYieldFarm (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { - // Minimum execution time: 61_875 nanoseconds. - Weight::from_parts(62_709_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `924` + // Estimated: `6196` + // Minimum execution time: 90_529_000 picoseconds. + Weight::from_parts(91_011_000, 6196) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Uniques Asset (r:2 w:2) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:1 w:0) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:4 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM DepositSequencer (r:1 w:1) - // Proof: OmnipoolWarehouseLM DepositSequencer (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Class (r:2 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:3) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) - // Storage: OmnipoolLiquidityMining OmniPositionId (r:0 w:1) - // Proof: OmnipoolLiquidityMining OmniPositionId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM Deposit (r:0 w:1) - // Proof: OmnipoolWarehouseLM Deposit (max_values: None, max_size: Some(385), added: 2860, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:2 w:2) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::DepositSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:2 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:3) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:0 w:1) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { - // Minimum execution time: 200_195 nanoseconds. - Weight::from_parts(201_809_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3989` + // Estimated: `11598` + // Minimum execution time: 240_264_000 picoseconds. + Weight::from_parts(241_286_000, 11598) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } - // Storage: Uniques Asset (r:2 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: OmnipoolLiquidityMining OmniPositionId (r:1 w:0) - // Proof: OmnipoolLiquidityMining OmniPositionId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:1 w:0) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM Deposit (r:1 w:1) - // Proof: OmnipoolWarehouseLM Deposit (max_values: None, max_size: Some(385), added: 2860, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:4 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:2 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:0) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { - // Minimum execution time: 164_227 nanoseconds. - Weight::from_parts(165_071_000, 0) - .saturating_add(T::DbWeight::get().reads(15 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `4331` + // Estimated: `11598` + // Minimum execution time: 195_833_000 picoseconds. + Weight::from_parts(196_912_000, 11598) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Uniques Asset (r:1 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM Deposit (r:1 w:1) - // Proof: OmnipoolWarehouseLM Deposit (max_values: None, max_size: Some(385), added: 2860, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:3 w:3) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - // Minimum execution time: 140_309 nanoseconds. - Weight::from_parts(141_100_000, 0) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2896` + // Estimated: `8799` + // Minimum execution time: 195_680_000 picoseconds. + Weight::from_parts(196_827_000, 8799) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Uniques Asset (r:2 w:2) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: OmnipoolLiquidityMining OmniPositionId (r:1 w:1) - // Proof: OmnipoolLiquidityMining OmniPositionId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:1 w:0) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM Deposit (r:1 w:1) - // Proof: OmnipoolWarehouseLM Deposit (max_values: None, max_size: Some(385), added: 2860, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM YieldFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM YieldFarm (max_values: None, max_size: Some(198), added: 2673, mode: MaxEncodedLen) - // Storage: OmnipoolWarehouseLM GlobalFarm (r:1 w:1) - // Proof: OmnipoolWarehouseLM GlobalFarm (max_values: None, max_size: Some(205), added: 2680, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:3 w:3) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Uniques Class (r:2 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:3) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:2) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:2 w:2) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:1) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:2 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:3) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:2) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { - // Minimum execution time: 233_969 nanoseconds. - Weight::from_parts(235_131_000, 0) - .saturating_add(T::DbWeight::get().reads(15 as u64)) - .saturating_add(T::DbWeight::get().writes(15 as u64)) + // Proof Size summary in bytes: + // Measured: `3857` + // Estimated: `8799` + // Minimum execution time: 294_229_000 picoseconds. + Weight::from_parts(296_004_000, 8799) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } } diff --git a/runtime/hydradx/src/weights/otc.rs b/runtime/hydradx/src/weights/otc.rs index d34056965..d26b68380 100644 --- a/runtime/hydradx/src/weights/otc.rs +++ b/runtime/hydradx/src/weights/otc.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_otc +//! Autogenerated weights for `pallet_otc` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-otc -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// otc.rs +// ./weights-1.1.0/otc.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,64 +55,76 @@ use pallet_otc::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: OTC NextOrderId (r:1 w:1) - // Proof: OTC NextOrderId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: OTC Orders (r:0 w:1) - // Proof: OTC Orders (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `OTC::NextOrderId` (r:1 w:1) + /// Proof: `OTC::NextOrderId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OTC::Orders` (r:0 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) fn place_order() -> Weight { - // Minimum execution time: 50_115 nanoseconds. - Weight::from_parts(50_779_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `624` + // Estimated: `6114` + // Minimum execution time: 54_176_000 picoseconds. + Weight::from_parts(54_920_000, 6114) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: OTC Orders (r:1 w:1) - // Proof: OTC Orders (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn partial_fill_order() -> Weight { - // Minimum execution time: 113_797 nanoseconds. - Weight::from_parts(114_944_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `1404` + // Estimated: `6196` + // Minimum execution time: 138_354_000 picoseconds. + Weight::from_parts(140_113_000, 6196) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: OTC Orders (r:1 w:1) - // Proof: OTC Orders (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn fill_order() -> Weight { - // Minimum execution time: 109_213 nanoseconds. - Weight::from_parts(109_978_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `1399` + // Estimated: `6196` + // Minimum execution time: 136_927_000 picoseconds. + Weight::from_parts(137_782_000, 6196) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: OTC Orders (r:1 w:1) - // Proof: OTC Orders (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { - // Minimum execution time: 39_010 nanoseconds. - Weight::from_parts(39_491_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `525` + // Estimated: `4714` + // Minimum execution time: 44_402_000 picoseconds. + Weight::from_parts(44_773_000, 4714) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/runtime/hydradx/src/weights/payment.rs b/runtime/hydradx/src/weights/payment.rs index 7a808e671..808b44802 100644 --- a/runtime/hydradx/src/weights/payment.rs +++ b/runtime/hydradx/src/weights/payment.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_transaction_multi_payment +//! Autogenerated weights for `pallet_transaction_multi_payment` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-21, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-transaction-multi-payment -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// payment.rs +// ./weights-1.1.0/payment.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,38 +55,50 @@ use pallet_transaction_multi_payment::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:1) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { - // Minimum execution time: 26_216 nanoseconds. - Weight::from_parts(26_879_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1172` + // Estimated: `3493` + // Minimum execution time: 25_067_000 picoseconds. + Weight::from_parts(25_530_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:1) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { - // Minimum execution time: 26_713 nanoseconds. - Weight::from_parts(27_072_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1203` + // Estimated: `3493` + // Minimum execution time: 25_321_000 picoseconds. + Weight::from_parts(25_617_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { - // Minimum execution time: 32_050 nanoseconds. - Weight::from_parts(32_478_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1237` + // Estimated: `3493` + // Minimum execution time: 30_547_000 picoseconds. + Weight::from_parts(30_957_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Router Routes (r:1 w:0) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:10 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:10 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { - // Minimum execution time: 87_402 nanoseconds. - Weight::from_parts(87_795_000, 0).saturating_add(T::DbWeight::get().reads(11 as u64)) + // Proof Size summary in bytes: + // Measured: `3217` + // Estimated: `27510` + // Minimum execution time: 93_673_000 picoseconds. + Weight::from_parts(94_241_000, 27510).saturating_add(T::DbWeight::get().reads(11_u64)) } } diff --git a/runtime/hydradx/src/weights/preimage.rs b/runtime/hydradx/src/weights/preimage.rs index dbea4987a..8e3671a5c 100644 --- a/runtime/hydradx/src/weights/preimage.rs +++ b/runtime/hydradx/src/weights/preimage.rs @@ -1,6 +1,6 @@ -// This file is part of Hydra-node. +// This file is part of HydraDX. -// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,25 +15,30 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_preimage +//! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-04-30, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("local"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark -// --chain=local -// --steps=5 -// --repeat=20 -// --execution=wasm +// pallet +// --pallet=pallet-preimage // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_preimage -// --output=preimage.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/preimage.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs + #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -49,67 +54,157 @@ use pallet_preimage::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32) -> Weight { - Weight::zero() // Standard Error: 0 - .saturating_add(Weight::from_parts(2_000, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `210` + // Estimated: `3556` + // Minimum execution time: 41_621_000 picoseconds. + Weight::from_parts(42_113_000, 3556) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_993, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32) -> Weight { - Weight::zero() // Standard Error: 0 - .saturating_add(Weight::from_parts(2_000, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `173` + // Estimated: `3556` + // Minimum execution time: 23_232_000 picoseconds. + Weight::from_parts(23_575_000, 3556) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_998, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32) -> Weight { - Weight::zero() // Standard Error: 0 - .saturating_add(Weight::from_parts(2_000, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `173` + // Estimated: `3556` + // Minimum execution time: 22_316_000 picoseconds. + Weight::from_parts(22_663_000, 3556) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_995, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { - Weight::from_parts(51_415_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `356` + // Estimated: `3556` + // Minimum execution time: 52_679_000 picoseconds. + Weight::from_parts(53_474_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_parts(31_893_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `3556` + // Minimum execution time: 31_545_000 picoseconds. + Weight::from_parts(32_646_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { - Weight::from_parts(48_735_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3556` + // Minimum execution time: 28_243_000 picoseconds. + Weight::from_parts(29_512_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { - Weight::from_parts(31_892_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `3556` + // Minimum execution time: 17_312_000 picoseconds. + Weight::from_parts(18_097_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { - Weight::from_parts(18_172_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3556` + // Minimum execution time: 18_766_000 picoseconds. + Weight::from_parts(19_233_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { - Weight::from_parts(6_494_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `173` + // Estimated: `3556` + // Minimum execution time: 12_350_000 picoseconds. + Weight::from_parts(12_757_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { - Weight::from_parts(33_975_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `3556` + // Minimum execution time: 30_134_000 picoseconds. + Weight::from_parts(31_219_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_parts(19_162_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `173` + // Estimated: `3556` + // Minimum execution time: 12_288_000 picoseconds. + Weight::from_parts(12_700_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_parts(6_343_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `173` + // Estimated: `3556` + // Minimum execution time: 12_628_000 picoseconds. + Weight::from_parts(12_949_000, 3556) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/proxy.rs b/runtime/hydradx/src/weights/proxy.rs index 1a26fbb42..ecc53ef07 100644 --- a/runtime/hydradx/src/weights/proxy.rs +++ b/runtime/hydradx/src/weights/proxy.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_proxy +//! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-proxy -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// proxy.rs +// ./weights-1.1.0/proxy.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,127 +55,161 @@ use pallet_proxy::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Proxy Proxies (r:1 w:0) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32) -> Weight { - // Minimum execution time: 21_677 nanoseconds. - Weight::from_parts(21_692_373, 0) // Standard Error: 5_242 - .saturating_add(Weight::from_parts(117_691, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `293 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 22_719_000 picoseconds. + Weight::from_parts(23_093_311, 4706) + // Standard Error: 1_907 + .saturating_add(Weight::from_parts(38_448, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) } - // Storage: Proxy Proxies (r:1 w:0) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - // Storage: Proxy Announcements (r:1 w:1) - // Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32) -> Weight { - // Minimum execution time: 44_286 nanoseconds. - Weight::from_parts(45_544_640, 0) // Standard Error: 5_443 - .saturating_add(Weight::from_parts(164_483, 0).saturating_mul(a as u64)) - // Standard Error: 5_660 - .saturating_add(Weight::from_parts(24_257, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `620 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 51_590_000 picoseconds. + Weight::from_parts(50_716_699, 5698) + // Standard Error: 4_159 + .saturating_add(Weight::from_parts(178_083, 0).saturating_mul(a.into())) + // Standard Error: 4_325 + .saturating_add(Weight::from_parts(30_784, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Announcements (r:1 w:1) - // Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32) -> Weight { - // Minimum execution time: 28_480 nanoseconds. - Weight::from_parts(29_279_330, 0) // Standard Error: 4_280 - .saturating_add(Weight::from_parts(192_685, 0).saturating_mul(a as u64)) - // Standard Error: 4_450 - .saturating_add(Weight::from_parts(7_973, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + fn remove_announcement(a: u32, _p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `535 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 34_482_000 picoseconds. + Weight::from_parts(34_652_525, 5698) + // Standard Error: 4_201 + .saturating_add(Weight::from_parts(155_744, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Announcements (r:1 w:1) - // Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32) -> Weight { - // Minimum execution time: 28_308 nanoseconds. - Weight::from_parts(28_999_683, 0) // Standard Error: 4_300 - .saturating_add(Weight::from_parts(196_827, 0).saturating_mul(a as u64)) - // Standard Error: 4_471 - .saturating_add(Weight::from_parts(14_183, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + fn reject_announcement(a: u32, _p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `535 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 34_516_000 picoseconds. + Weight::from_parts(34_407_038, 5698) + // Standard Error: 3_233 + .saturating_add(Weight::from_parts(163_369, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Proxies (r:1 w:0) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - // Storage: Proxy Announcements (r:1 w:1) - // Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32) -> Weight { - // Minimum execution time: 39_239 nanoseconds. - Weight::from_parts(39_072_787, 0) // Standard Error: 4_455 - .saturating_add(Weight::from_parts(190_030, 0).saturating_mul(a as u64)) - // Standard Error: 4_632 - .saturating_add(Weight::from_parts(42_751, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `552 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 44_879_000 picoseconds. + Weight::from_parts(44_863_459, 5698) + // Standard Error: 2_277 + .saturating_add(Weight::from_parts(186_705, 0).saturating_mul(a.into())) + // Standard Error: 2_368 + .saturating_add(Weight::from_parts(25_596, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Proxies (r:1 w:1) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32) -> Weight { - // Minimum execution time: 29_935 nanoseconds. - Weight::from_parts(30_909_501, 0) // Standard Error: 5_224 - .saturating_add(Weight::from_parts(63_272, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `293 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 34_980_000 picoseconds. + Weight::from_parts(35_443_005, 4706) + // Standard Error: 2_435 + .saturating_add(Weight::from_parts(30_168, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Proxy Proxies (r:1 w:1) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn remove_proxy(p: u32) -> Weight { - // Minimum execution time: 29_577 nanoseconds. - Weight::from_parts(30_710_353, 0) // Standard Error: 7_177 - .saturating_add(Weight::from_parts(88_813, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn remove_proxy(_p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `293 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 35_573_000 picoseconds. + Weight::from_parts(36_596_298, 4706) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Proxy Proxies (r:1 w:1) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32) -> Weight { - // Minimum execution time: 24_462 nanoseconds. - Weight::from_parts(25_078_965, 0) // Standard Error: 4_049 - .saturating_add(Weight::from_parts(43_040, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `293 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 31_724_000 picoseconds. + Weight::from_parts(32_119_569, 4706) + // Standard Error: 2_666 + .saturating_add(Weight::from_parts(32_815, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Proxy Proxies (r:1 w:1) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32) -> Weight { - // Minimum execution time: 32_673 nanoseconds. - Weight::from_parts(33_296_803, 0) // Standard Error: 3_055 - .saturating_add(Weight::from_parts(10_014, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `305` + // Estimated: `4706` + // Minimum execution time: 37_850_000 picoseconds. + Weight::from_parts(38_490_275, 4706) + // Standard Error: 2_156 + .saturating_add(Weight::from_parts(1_048, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Proxy Proxies (r:1 w:1) - // Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32) -> Weight { - // Minimum execution time: 26_331 nanoseconds. - Weight::from_parts(26_958_368, 0) // Standard Error: 2_427 - .saturating_add(Weight::from_parts(961, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `330 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 32_796_000 picoseconds. + Weight::from_parts(33_380_258, 4706) + // Standard Error: 2_079 + .saturating_add(Weight::from_parts(29_420, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/registry.rs b/runtime/hydradx/src/weights/registry.rs index f1d410c23..4863a7b56 100644 --- a/runtime/hydradx/src/weights/registry.rs +++ b/runtime/hydradx/src/weights/registry.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_asset_registry +//! Autogenerated weights for `pallet_asset_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-asset-registry -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// registry.rs +// ./weights-1.1.0/registry.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,54 +55,66 @@ use pallet_asset_registry::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: AssetRegistry AssetIds (r:1 w:1) - // Proof Skipped: AssetRegistry AssetIds (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof Skipped: AssetRegistry NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - // Storage: AssetRegistry LocationAssets (r:1 w:1) - // Proof Skipped: AssetRegistry LocationAssets (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry AssetLocations (r:0 w:1) - // Proof Skipped: AssetRegistry AssetLocations (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry AssetMetadataMap (r:0 w:1) - // Proof Skipped: AssetRegistry AssetMetadataMap (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry Assets (r:0 w:1) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:0 w:1) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:0 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) fn register() -> Weight { - // Minimum execution time: 44_102 nanoseconds. - Weight::from_parts(44_514_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `305` + // Estimated: `4087` + // Minimum execution time: 46_657_000 picoseconds. + Weight::from_parts(47_059_000, 4087) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry AssetIds (r:1 w:2) - // Proof Skipped: AssetRegistry AssetIds (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:2) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn update() -> Weight { - // Minimum execution time: 28_233 nanoseconds. - Weight::from_parts(28_610_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `372` + // Estimated: `3552` + // Minimum execution time: 29_123_000 picoseconds. + Weight::from_parts(29_400_000, 3552) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry AssetMetadataMap (r:0 w:1) - // Proof Skipped: AssetRegistry AssetMetadataMap (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:0 w:1) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn set_metadata() -> Weight { - // Minimum execution time: 20_998 nanoseconds. - Weight::from_parts(21_273_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `300` + // Estimated: `3552` + // Minimum execution time: 21_806_000 picoseconds. + Weight::from_parts(22_285_000, 3552) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry LocationAssets (r:1 w:1) - // Proof Skipped: AssetRegistry LocationAssets (max_values: None, max_size: None, mode: Measured) - // Storage: AssetRegistry AssetLocations (r:1 w:1) - // Proof Skipped: AssetRegistry AssetLocations (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:1 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`) fn set_location() -> Weight { - // Minimum execution time: 25_144 nanoseconds. - Weight::from_parts(25_552_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `274` + // Estimated: `4087` + // Minimum execution time: 26_900_000 picoseconds. + Weight::from_parts(27_350_000, 4087) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/hydradx/src/weights/scheduler.rs b/runtime/hydradx/src/weights/scheduler.rs index 5a7fba9c1..ea11e8d37 100644 --- a/runtime/hydradx/src/weights/scheduler.rs +++ b/runtime/hydradx/src/weights/scheduler.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_scheduler +//! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-scheduler -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// scheduler.rs +// ./weights-1.1.0/scheduler.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,102 +55,145 @@ use pallet_scheduler::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Scheduler IncompleteSince (r:1 w:1) - // Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { - // Minimum execution time: 4_812 nanoseconds. - Weight::from_parts(5_006_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `31` + // Estimated: `1489` + // Minimum execution time: 4_643_000 picoseconds. + Weight::from_parts(4_787_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Scheduler Agenda (r:1 w:1) - // Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32) -> Weight { - // Minimum execution time: 4_314 nanoseconds. - Weight::from_parts(6_436_098, 0) // Standard Error: 11_138 - .saturating_add(Weight::from_parts(856_025, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 4_686_000 picoseconds. + Weight::from_parts(6_756_919, 42428) + // Standard Error: 11_265 + .saturating_add(Weight::from_parts(959_261, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_base() -> Weight { - // Minimum execution time: 8_044 nanoseconds. - Weight::from_parts(8_280_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_940_000 picoseconds. + Weight::from_parts(8_088_000, 0) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - // Storage: Preimage StatusFor (r:1 w:1) - // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32) -> Weight { - // Minimum execution time: 26_730 nanoseconds. - Weight::from_parts(26_964_000, 0) // Standard Error: 11 - .saturating_add(Weight::from_parts(1_193, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `246 + s * (1 ±0)` + // Estimated: `3708 + s * (1 ±0)` + // Minimum execution time: 27_177_000 picoseconds. + Weight::from_parts(16_696_892, 3708) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_259, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - // Storage: Scheduler Lookup (r:0 w:1) - // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { - // Minimum execution time: 10_464 nanoseconds. - Weight::from_parts(10_733_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_369_000 picoseconds. + Weight::from_parts(10_613_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { - // Minimum execution time: 7_975 nanoseconds. - Weight::from_parts(8_222_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_045_000 picoseconds. + Weight::from_parts(8_135_000, 0) } fn execute_dispatch_signed() -> Weight { - // Minimum execution time: 4_383 nanoseconds. - Weight::from_parts(4_514_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_361_000 picoseconds. + Weight::from_parts(4_491_000, 0) } fn execute_dispatch_unsigned() -> Weight { - // Minimum execution time: 4_380 nanoseconds. - Weight::from_parts(4_477_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_376_000 picoseconds. + Weight::from_parts(4_505_000, 0) } - // Storage: Scheduler Agenda (r:1 w:1) - // Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32) -> Weight { - // Minimum execution time: 18_201 nanoseconds. - Weight::from_parts(20_132_386, 0) // Standard Error: 8_258 - .saturating_add(Weight::from_parts(850_632, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 18_064_000 picoseconds. + Weight::from_parts(20_065_367, 42428) + // Standard Error: 10_260 + .saturating_add(Weight::from_parts(953_244, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Scheduler Agenda (r:1 w:1) - // Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - // Storage: Scheduler Lookup (r:0 w:1) - // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32) -> Weight { - // Minimum execution time: 23_563 nanoseconds. - Weight::from_parts(23_018_657, 0) // Standard Error: 4_580 - .saturating_add(Weight::from_parts(1_408_250, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 24_575_000 picoseconds. + Weight::from_parts(23_596_290, 42428) + // Standard Error: 6_439 + .saturating_add(Weight::from_parts(1_644_619, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: Scheduler Agenda (r:1 w:1) - // Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32) -> Weight { - // Minimum execution time: 22_347 nanoseconds. - Weight::from_parts(25_360_204, 0) // Standard Error: 15_880 - .saturating_add(Weight::from_parts(924_517, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `148 + s * (188 ±0)` + // Estimated: `42428` + // Minimum execution time: 22_396_000 picoseconds. + Weight::from_parts(25_018_609, 42428) + // Standard Error: 12_955 + .saturating_add(Weight::from_parts(1_010_928, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: Scheduler Agenda (r:1 w:1) - // Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32) -> Weight { - // Minimum execution time: 25_410 nanoseconds. - Weight::from_parts(25_945_181, 0) // Standard Error: 8_953 - .saturating_add(Weight::from_parts(1_466_163, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `277 + s * (185 ±0)` + // Estimated: `42428` + // Minimum execution time: 26_539_000 picoseconds. + Weight::from_parts(25_956_508, 42428) + // Standard Error: 4_676 + .saturating_add(Weight::from_parts(1_656_608, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/hydradx/src/weights/stableswap.rs b/runtime/hydradx/src/weights/stableswap.rs index 145e3ad41..45d50f964 100644 --- a/runtime/hydradx/src/weights/stableswap.rs +++ b/runtime/hydradx/src/weights/stableswap.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_stableswap +//! Autogenerated weights for `pallet_stableswap` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-stableswap // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-stableswap -// --output=stableswap.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/stableswap.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -52,260 +55,301 @@ use pallet_stableswap::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:6 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 50_068 nanoseconds. - Weight::from_parts(50_557_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `717` + // Estimated: `16362` + // Minimum execution time: 51_391_000 picoseconds. + Weight::from_parts(51_861_000, 16362) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:5 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:11 w:11) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:6 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:5 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:11 w:11) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 1_140_516 nanoseconds. - Weight::from_parts(1_143_845_000, 0) - .saturating_add(T::DbWeight::get().reads(33 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3168` + // Estimated: `29403` + // Minimum execution time: 1_098_001_000 picoseconds. + Weight::from_parts(1_100_611_000, 29403) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity_shares() -> Weight { - // Minimum execution time: 783_827 nanoseconds. - Weight::from_parts(787_422_000, 0) - .saturating_add(T::DbWeight::get().reads(20 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3014` + // Estimated: `19071` + // Minimum execution time: 769_603_000 picoseconds. + Weight::from_parts(773_417_000, 19071) + .saturating_add(T::DbWeight::get().reads(20_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Stableswap AssetTradability (r:1 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:1 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_liquidity_one_asset() -> Weight { - // Minimum execution time: 817_053 nanoseconds. - Weight::from_parts(821_506_000, 0) - .saturating_add(T::DbWeight::get().reads(21 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `3017` + // Estimated: `19071` + // Minimum execution time: 800_461_000 picoseconds. + Weight::from_parts(805_963_000, 19071) + .saturating_add(T::DbWeight::get().reads(21_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: Stableswap AssetTradability (r:1 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:1 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_asset_amount() -> Weight { - // Minimum execution time: 1_124_456 nanoseconds. - Weight::from_parts(1_133_226_000, 0) - .saturating_add(T::DbWeight::get().reads(22 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3017` + // Estimated: `19071` + // Minimum execution time: 1_095_135_000 picoseconds. + Weight::from_parts(1_106_686_000, 19071) + .saturating_add(T::DbWeight::get().reads(22_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 768_776 nanoseconds. - Weight::from_parts(772_108_000, 0) - .saturating_add(T::DbWeight::get().reads(22 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `3043` + // Estimated: `19071` + // Minimum execution time: 763_407_000 picoseconds. + Weight::from_parts(768_079_000, 19071) + .saturating_add(T::DbWeight::get().reads(22_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 747_434 nanoseconds. - Weight::from_parts(751_463_000, 0) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3013` + // Estimated: `19071` + // Minimum execution time: 729_804_000 picoseconds. + Weight::from_parts(735_605_000, 19071) + .saturating_add(T::DbWeight::get().reads(23_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:1 w:1) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:1 w:1) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { - // Minimum execution time: 24_470 nanoseconds. - Weight::from_parts(24_889_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 25_034_000 picoseconds. + Weight::from_parts(25_366_000, 3522) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn update_pool_fee() -> Weight { - // Minimum execution time: 22_217 nanoseconds. - Weight::from_parts(22_890_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 22_513_000 picoseconds. + Weight::from_parts(22_932_000, 3522) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn update_amplification() -> Weight { - // Minimum execution time: 24_168 nanoseconds. - Weight::from_parts(24_902_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 24_214_000 picoseconds. + Weight::from_parts(24_656_000, 3522) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 333_504 nanoseconds. - Weight::from_parts(30_352_727, 0) // Standard Error: 262_827 - .saturating_add(Weight::from_parts(304_810_632, 0).saturating_mul(c as u64)) - // Standard Error: 262_827 - .saturating_add(Weight::from_parts(742_434_706, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().reads((11 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `1276 + e * (1767 ±0)` + // Estimated: `1910394244883472 + c * (1 ±301) + e * (5166 ±0)` + // Minimum execution time: 314_308_000 picoseconds. + Weight::from_parts(31_662_325, 1910394244883472) + // Standard Error: 416_280 + .saturating_add(Weight::from_parts(284_337_000, 0).saturating_mul(c.into())) + // Standard Error: 416_280 + .saturating_add(Weight::from_parts(734_215_525, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 333_253 nanoseconds. - Weight::from_parts(334_206_000, 0) // Standard Error: 3_608_102 - .saturating_add(Weight::from_parts(13_465_646, 0).saturating_mul(c as u64)) - // Standard Error: 7_920_813 - .saturating_add(Weight::from_parts(456_375_218, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().reads((12 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `1275 + e * (1738 ±0)` + // Estimated: `13905 + e * (5166 ±0)` + // Minimum execution time: 314_177_000 picoseconds. + Weight::from_parts(315_490_000, 13905) + // Standard Error: 7_554_974 + .saturating_add(Weight::from_parts(22_127_088, 0).saturating_mul(c.into())) + // Standard Error: 16_320_610 + .saturating_add(Weight::from_parts(491_126_315, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } } diff --git a/runtime/hydradx/src/weights/staking.rs b/runtime/hydradx/src/weights/staking.rs index ca6bffd12..35b209837 100644 --- a/runtime/hydradx/src/weights/staking.rs +++ b/runtime/hydradx/src/weights/staking.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_staking +//! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-21, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=5 -// --repeat=20 -// --execution=wasm +// --pallet=pallet-staking // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_staking -// --output=staking.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/staking.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -52,108 +55,131 @@ use pallet_staking::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques ClassAccount (r:0 w:1) - // Proof: Uniques ClassAccount (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn initialize_staking() -> Weight { - // Minimum execution time: 46_503 nanoseconds. - Weight::from_parts(47_119_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `513` + // Estimated: `3655` + // Minimum execution time: 46_433_000 picoseconds. + Weight::from_parts(47_121_000, 3655) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Account (r:1 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Staking NextPositionId (r:1 w:1) - // Proof: Staking NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Staking Positions (r:0 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:1 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Staking::NextPositionId` (r:1 w:1) + /// Proof: `Staking::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:0 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn stake() -> Weight { - // Minimum execution time: 93_410 nanoseconds. - Weight::from_parts(94_534_000, 0) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1240` + // Estimated: `6196` + // Minimum execution time: 113_477_000 picoseconds. + Weight::from_parts(114_557_000, 6196) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:1) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn increase_stake() -> Weight { - // Minimum execution time: 237_592 nanoseconds. - Weight::from_parts(239_395_000, 0) - .saturating_add(T::DbWeight::get().reads(107 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3379` + // Estimated: `268590` + // Minimum execution time: 297_204_000 picoseconds. + Weight::from_parts(300_714_000, 268590) + .saturating_add(T::DbWeight::get().reads(108_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:1) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn claim() -> Weight { - // Minimum execution time: 233_614 nanoseconds. - Weight::from_parts(236_034_000, 0) - .saturating_add(T::DbWeight::get().reads(107 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3379` + // Estimated: `268590` + // Minimum execution time: 291_136_000 picoseconds. + Weight::from_parts(294_313_000, 268590) + .saturating_add(T::DbWeight::get().reads(108_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:1) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { - // Minimum execution time: 264_098 nanoseconds. - Weight::from_parts(266_429_000, 0) - .saturating_add(T::DbWeight::get().reads(108 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Proof Size summary in bytes: + // Measured: `3598` + // Estimated: `268590` + // Minimum execution time: 330_733_000 picoseconds. + Weight::from_parts(334_301_000, 268590) + .saturating_add(T::DbWeight::get().reads(109_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } } diff --git a/runtime/hydradx/src/weights/system.rs b/runtime/hydradx/src/weights/system.rs index 23c3cc949..238cd887f 100644 --- a/runtime/hydradx/src/weights/system.rs +++ b/runtime/hydradx/src/weights/system.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for frame_system +//! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=frame-system -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// system.rs +// ./weights-1.1.0/system.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -56,54 +57,97 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32) -> Weight { - // Minimum execution time: 3_382 nanoseconds. - Weight::from_parts(3_438_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(413, 0).saturating_mul(b as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_478_000 picoseconds. + Weight::from_parts(3_592_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(411, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32) -> Weight { - // Minimum execution time: 10_562 nanoseconds. - Weight::from_parts(10_656_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_722, 0).saturating_mul(b as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_351_000 picoseconds. + Weight::from_parts(11_460_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_443, 0).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - // Storage: unknown `0x3a686561707061676573` (r:0 w:1) - // Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 6_106 nanoseconds. - Weight::from_parts(6_366_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 6_633_000 picoseconds. + Weight::from_parts(6_863_000, 1485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Skipped Metadata (r:0 w:0) - // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `198` + // Estimated: `1683` + // Minimum execution time: 119_638_616_000 picoseconds. + Weight::from_parts(121_649_253_000, 1683) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32) -> Weight { - // Minimum execution time: 3_233 nanoseconds. - Weight::from_parts(3_332_000, 0) // Standard Error: 9_692 - .saturating_add(Weight::from_parts(802_375, 0).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_817_000 picoseconds. + Weight::from_parts(3_879_000, 0) + // Standard Error: 8_053 + .saturating_add(Weight::from_parts(944_155, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) - // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32) -> Weight { - // Minimum execution time: 3_364 nanoseconds. - Weight::from_parts(3_438_000, 0) // Standard Error: 2_518 - .saturating_add(Weight::from_parts(546_238, 0).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_690_000 picoseconds. + Weight::from_parts(3_824_000, 0) + // Standard Error: 2_460 + .saturating_add(Weight::from_parts(642_858, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) - // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32) -> Weight { - // Minimum execution time: 6_339 nanoseconds. - Weight::from_parts(6_429_000, 0) // Standard Error: 3_366 - .saturating_add(Weight::from_parts(1_024_606, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) - } - fn set_code() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `194 + p * (69 ±0)` + // Estimated: `148 + p * (70 ±0)` + // Minimum execution time: 7_319_000 picoseconds. + Weight::from_parts(7_381_000, 148) + // Standard Error: 2_908 + .saturating_add(Weight::from_parts(1_100_356, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } } diff --git a/runtime/hydradx/src/weights/technical_committee.rs b/runtime/hydradx/src/weights/technical_committee.rs index 7f81669e8..78bba68bf 100644 --- a/runtime/hydradx/src/weights/technical_committee.rs +++ b/runtime/hydradx/src/weights/technical_committee.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for tech +//! Autogenerated weights for `tech` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=tech -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// technical_committee.rs +// ./weights-1.1.0/technical_committee.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,188 +55,246 @@ use pallet_collective::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: TechnicalCommittee Members (r:1 w:1) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Proposals (r:1 w:0) - // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Voting (r:20 w:20) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Prime (r:0 w:1) - // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:20 w:20) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 10]`. /// The range of component `n` is `[0, 10]`. /// The range of component `p` is `[0, 20]`. fn set_members(m: u32, _n: u32, p: u32) -> Weight { - // Minimum execution time: 12_309 nanoseconds. - Weight::from_parts(12_459_000, 0) // Standard Error: 341_347 - .saturating_add(Weight::from_parts(3_850_003, 0).saturating_mul(m as u64)) - // Standard Error: 172_398 - .saturating_add(Weight::from_parts(3_766_044, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Proof Size summary in bytes: + // Measured: `0 + m * (666 ±0) + p * (310 ±0)` + // Estimated: `15440 + m * (409 ±16) + p * (2331 ±8)` + // Minimum execution time: 13_516_000 picoseconds. + Weight::from_parts(13_611_000, 15440) + // Standard Error: 346_205 + .saturating_add(Weight::from_parts(3_915_806, 0).saturating_mul(m.into())) + // Standard Error: 174_852 + .saturating_add(Weight::from_parts(3_762_675, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 409).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 2331).saturating_mul(p.into())) } - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 10]`. fn execute(b: u32, m: u32) -> Weight { - // Minimum execution time: 20_335 nanoseconds. - Weight::from_parts(20_891_871, 0) // Standard Error: 86 - .saturating_add(Weight::from_parts(2_049, 0).saturating_mul(b as u64)) - // Standard Error: 9_628 - .saturating_add(Weight::from_parts(23_909, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `70 + m * (32 ±0)` + // Estimated: `1554 + m * (32 ±0)` + // Minimum execution time: 21_681_000 picoseconds. + Weight::from_parts(21_863_772, 1554) + // Standard Error: 55 + .saturating_add(Weight::from_parts(1_268, 0).saturating_mul(b.into())) + // Standard Error: 6_176 + .saturating_add(Weight::from_parts(21_902, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalOf (r:1 w:0) - // Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 10]`. fn propose_execute(b: u32, m: u32) -> Weight { - // Minimum execution time: 23_953 nanoseconds. - Weight::from_parts(23_301_823, 0) // Standard Error: 93 - .saturating_add(Weight::from_parts(2_073, 0).saturating_mul(b as u64)) - // Standard Error: 10_319 - .saturating_add(Weight::from_parts(106_174, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Proof Size summary in bytes: + // Measured: `70 + m * (32 ±0)` + // Estimated: `3534 + m * (32 ±0)` + // Minimum execution time: 25_160_000 picoseconds. + Weight::from_parts(25_278_856, 3534) + // Standard Error: 55 + .saturating_add(Weight::from_parts(1_402, 0).saturating_mul(b.into())) + // Standard Error: 6_187 + .saturating_add(Weight::from_parts(55_858, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalOf (r:1 w:1) - // Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Proposals (r:1 w:1) - // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalCount (r:1 w:1) - // Proof Skipped: TechnicalCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Voting (r:0 w:1) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 10]`. /// The range of component `p` is `[1, 20]`. fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - // Minimum execution time: 31_710 nanoseconds. - Weight::from_parts(31_018_735, 0) // Standard Error: 224 - .saturating_add(Weight::from_parts(2_728, 0).saturating_mul(b as u64)) - // Standard Error: 28_624 - .saturating_add(Weight::from_parts(8_221, 0).saturating_mul(m as u64)) - // Standard Error: 11_790 - .saturating_add(Weight::from_parts(349_453, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `0 + m * (32 ±0) + p * (58 ±0)` + // Estimated: `3460 + m * (36 ±1) + p * (56 ±0)` + // Minimum execution time: 32_705_000 picoseconds. + Weight::from_parts(30_842_242, 3460) + // Standard Error: 168 + .saturating_add(Weight::from_parts(2_782, 0).saturating_mul(b.into())) + // Standard Error: 21_583 + .saturating_add(Weight::from_parts(45_202, 0).saturating_mul(m.into())) + // Standard Error: 8_890 + .saturating_add(Weight::from_parts(408_142, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(p.into())) } - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Voting (r:1 w:1) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 10]`. fn vote(m: u32) -> Weight { - // Minimum execution time: 25_807 nanoseconds. - Weight::from_parts(26_425_005, 0) // Standard Error: 26_156 - .saturating_add(Weight::from_parts(28_677, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `538 + m * (64 ±0)` + // Estimated: `4003 + m * (64 ±0)` + // Minimum execution time: 26_154_000 picoseconds. + Weight::from_parts(26_371_710, 4003) + // Standard Error: 9_771 + .saturating_add(Weight::from_parts(58_004, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - // Storage: TechnicalCommittee Voting (r:1 w:1) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Proposals (r:1 w:1) - // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalOf (r:0 w:1) - // Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 10]`. /// The range of component `p` is `[1, 20]`. fn close_early_disapproved(m: u32, p: u32) -> Weight { - // Minimum execution time: 32_606 nanoseconds. - Weight::from_parts(33_190_941, 0) // Standard Error: 27_382 - .saturating_add(Weight::from_parts(70_836, 0).saturating_mul(m as u64)) - // Standard Error: 8_778 - .saturating_add(Weight::from_parts(279_858, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `231 + m * (64 ±0) + p * (48 ±0)` + // Estimated: `3651 + m * (66 ±1) + p * (50 ±0)` + // Minimum execution time: 34_121_000 picoseconds. + Weight::from_parts(35_042_411, 3651) + // Standard Error: 5_417 + .saturating_add(Weight::from_parts(321_198, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 50).saturating_mul(p.into())) } - // Storage: TechnicalCommittee Voting (r:1 w:1) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalOf (r:1 w:1) - // Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Proposals (r:1 w:1) - // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 10]`. /// The range of component `p` is `[1, 20]`. fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { - // Minimum execution time: 47_728 nanoseconds. - Weight::from_parts(47_191_770, 0) // Standard Error: 254 - .saturating_add(Weight::from_parts(1_607, 0).saturating_mul(b as u64)) - // Standard Error: 41_695 - .saturating_add(Weight::from_parts(93_099, 0).saturating_mul(m as u64)) - // Standard Error: 13_384 - .saturating_add(Weight::from_parts(337_647, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `178 + b * (1 ±0) + m * (64 ±0) + p * (71 ±0)` + // Estimated: `3620 + b * (1 ±0) + m * (71 ±3) + p * (69 ±0)` + // Minimum execution time: 49_393_000 picoseconds. + Weight::from_parts(49_577_674, 3620) + // Standard Error: 179 + .saturating_add(Weight::from_parts(1_043, 0).saturating_mul(b.into())) + // Standard Error: 29_444 + .saturating_add(Weight::from_parts(20_887, 0).saturating_mul(m.into())) + // Standard Error: 9_451 + .saturating_add(Weight::from_parts(371_478, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 71).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 69).saturating_mul(p.into())) } - // Storage: TechnicalCommittee Voting (r:1 w:1) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Prime (r:1 w:0) - // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Proposals (r:1 w:1) - // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalOf (r:0 w:1) - // Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 10]`. /// The range of component `p` is `[1, 20]`. - fn close_disapproved(_m: u32, p: u32) -> Weight { - // Minimum execution time: 35_291 nanoseconds. - Weight::from_parts(36_722_445, 0) // Standard Error: 11_196 - .saturating_add(Weight::from_parts(291_277, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + fn close_disapproved(m: u32, p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `251 + m * (64 ±0) + p * (48 ±0)` + // Estimated: `3671 + m * (66 ±1) + p * (50 ±0)` + // Minimum execution time: 37_061_000 picoseconds. + Weight::from_parts(37_585_589, 3671) + // Standard Error: 18_492 + .saturating_add(Weight::from_parts(16_560, 0).saturating_mul(m.into())) + // Standard Error: 5_928 + .saturating_add(Weight::from_parts(325_412, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 50).saturating_mul(p.into())) } - // Storage: TechnicalCommittee Voting (r:1 w:1) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Members (r:1 w:0) - // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Prime (r:1 w:0) - // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalOf (r:1 w:1) - // Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee Proposals (r:1 w:1) - // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 10]`. /// The range of component `p` is `[1, 20]`. fn close_approved(b: u32, m: u32, p: u32) -> Weight { - // Minimum execution time: 49_758 nanoseconds. - Weight::from_parts(49_427_044, 0) // Standard Error: 278 - .saturating_add(Weight::from_parts(1_243, 0).saturating_mul(b as u64)) - // Standard Error: 45_617 - .saturating_add(Weight::from_parts(117_485, 0).saturating_mul(m as u64)) - // Standard Error: 14_643 - .saturating_add(Weight::from_parts(379_567, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `198 + b * (1 ±0) + m * (64 ±0) + p * (71 ±0)` + // Estimated: `3640 + b * (1 ±0) + m * (71 ±3) + p * (69 ±0)` + // Minimum execution time: 52_845_000 picoseconds. + Weight::from_parts(52_535_618, 3640) + // Standard Error: 191 + .saturating_add(Weight::from_parts(1_017, 0).saturating_mul(b.into())) + // Standard Error: 31_471 + .saturating_add(Weight::from_parts(81_957, 0).saturating_mul(m.into())) + // Standard Error: 10_102 + .saturating_add(Weight::from_parts(356_674, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 71).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 69).saturating_mul(p.into())) } - // Storage: TechnicalCommittee Proposals (r:1 w:1) - // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - // Storage: TechnicalCommittee Voting (r:0 w:1) - // Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - // Storage: TechnicalCommittee ProposalOf (r:0 w:1) - // Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 20]`. fn disapprove_proposal(p: u32) -> Weight { - // Minimum execution time: 21_493 nanoseconds. - Weight::from_parts(22_471_004, 0) // Standard Error: 11_107 - .saturating_add(Weight::from_parts(191_656, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `226 + p * (32 ±0)` + // Estimated: `1710 + p * (32 ±0)` + // Minimum execution time: 22_267_000 picoseconds. + Weight::from_parts(22_677_377, 1710) + // Standard Error: 4_842 + .saturating_add(Weight::from_parts(232_066, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/hydradx/src/weights/timestamp.rs b/runtime/hydradx/src/weights/timestamp.rs index 01bdeab0b..c6da1f0a6 100644 --- a/runtime/hydradx/src/weights/timestamp.rs +++ b/runtime/hydradx/src/weights/timestamp.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_timestamp +//! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-timestamp -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// timestamp.rs +// ./weights-1.1.0/timestamp.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,16 +55,22 @@ use pallet_timestamp::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Timestamp Now (r:1 w:1) - // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { - // Minimum execution time: 9_093 nanoseconds. - Weight::from_parts(9_342_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `1493` + // Minimum execution time: 9_605_000 picoseconds. + Weight::from_parts(9_858_000, 1493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_finalize() -> Weight { - // Minimum execution time: 4_982 nanoseconds. - Weight::from_parts(5_155_000, 0) + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `0` + // Minimum execution time: 4_868_000 picoseconds. + Weight::from_parts(4_992_000, 0) } } diff --git a/runtime/hydradx/src/weights/tokens.rs b/runtime/hydradx/src/weights/tokens.rs index 2e56c9880..47a4ab420 100644 --- a/runtime/hydradx/src/weights/tokens.rs +++ b/runtime/hydradx/src/weights/tokens.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for orml_tokens +//! Autogenerated weights for `orml_tokens` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=orml-tokens -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// tokens.rs +// ./weights-1.1.0/tokens.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,86 +55,101 @@ use orml_tokens::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn transfer() -> Weight { - // Minimum execution time: 88_520 nanoseconds. - Weight::from_parts(89_174_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2335` + // Estimated: `6156` + // Minimum execution time: 91_456_000 picoseconds. + Weight::from_parts(92_161_000, 6156) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { - // Minimum execution time: 91_438 nanoseconds. - Weight::from_parts(91_965_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2335` + // Estimated: `6156` + // Minimum execution time: 95_160_000 picoseconds. + Weight::from_parts(95_870_000, 6156) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 76_130 nanoseconds. - Weight::from_parts(77_015_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `2195` + // Estimated: `6156` + // Minimum execution time: 75_713_000 picoseconds. + Weight::from_parts(76_553_000, 6156) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { - // Minimum execution time: 92_082 nanoseconds. - Weight::from_parts(93_140_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `2333` + // Estimated: `6196` + // Minimum execution time: 79_242_000 picoseconds. + Weight::from_parts(79_954_000, 6196) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof Skipped: AssetRegistry Assets (max_values: None, max_size: None, mode: Measured) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_balance() -> Weight { - // Minimum execution time: 79_716 nanoseconds. - Weight::from_parts(80_405_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `2127` + // Estimated: `3593` + // Minimum execution time: 68_117_000 picoseconds. + Weight::from_parts(68_690_000, 3593) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/runtime/hydradx/src/weights/transaction_pause.rs b/runtime/hydradx/src/weights/transaction_pause.rs index 7031bbcc4..a8c7f1e5d 100644 --- a/runtime/hydradx/src/weights/transaction_pause.rs +++ b/runtime/hydradx/src/weights/transaction_pause.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_transaction_pause +//! Autogenerated weights for `pallet_transaction_pause` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-transaction-pause -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// transaction_pause.rs +// ./weights-1.1.0/transaction_pause.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,20 +55,26 @@ use pallet_transaction_pause::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: TransactionPause PausedTransactions (r:1 w:1) - // Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn pause_transaction() -> Weight { - // Minimum execution time: 14_526 nanoseconds. - Weight::from_parts(14_862_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3555` + // Minimum execution time: 15_060_000 picoseconds. + Weight::from_parts(15_317_000, 3555) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: TransactionPause PausedTransactions (r:1 w:1) - // Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn unpause_transaction() -> Weight { - // Minimum execution time: 15_803 nanoseconds. - Weight::from_parts(16_215_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `160` + // Estimated: `3555` + // Minimum execution time: 17_304_000 picoseconds. + Weight::from_parts(17_780_000, 3555) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/treasury.rs b/runtime/hydradx/src/weights/treasury.rs index f7f8b0365..52dca557b 100644 --- a/runtime/hydradx/src/weights/treasury.rs +++ b/runtime/hydradx/src/weights/treasury.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_treasury +//! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-treasury -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// treasury.rs +// ./weights-1.1.0/treasury.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -55,67 +56,88 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { fn spend() -> Weight { - // Minimum execution time: 318 nanoseconds. - Weight::from_parts(332_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 422_000 picoseconds. + Weight::from_parts(449_000, 0) } - // Storage: Treasury ProposalCount (r:1 w:1) - // Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Treasury Proposals (r:0 w:1) - // Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { - // Minimum execution time: 31_779 nanoseconds. - Weight::from_parts(32_295_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `210` + // Estimated: `1489` + // Minimum execution time: 39_374_000 picoseconds. + Weight::from_parts(39_839_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Treasury Proposals (r:1 w:1) - // Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { - // Minimum execution time: 47_741 nanoseconds. - Weight::from_parts(48_401_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `471` + // Estimated: `6196` + // Minimum execution time: 58_400_000 picoseconds. + Weight::from_parts(58_832_000, 6196) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Treasury Proposals (r:1 w:0) - // Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Treasury Approvals (r:1 w:1) - // Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32) -> Weight { - // Minimum execution time: 12_747 nanoseconds. - Weight::from_parts(14_827_929, 0) // Standard Error: 5_363 - .saturating_add(Weight::from_parts(66_075, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `417 + p * (11 ±0)` + // Estimated: `3573` + // Minimum execution time: 14_121_000 picoseconds. + Weight::from_parts(15_974_273, 3573) + // Standard Error: 4_650 + .saturating_add(Weight::from_parts(58_332, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Treasury Approvals (r:1 w:1) - // Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { - // Minimum execution time: 9_222 nanoseconds. - Weight::from_parts(9_485_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `194` + // Estimated: `1887` + // Minimum execution time: 9_887_000 picoseconds. + Weight::from_parts(10_028_000, 1887) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:201 w:201) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Treasury Deactivated (r:1 w:1) - // Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Balances InactiveIssuance (r:1 w:1) - // Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Treasury Approvals (r:1 w:1) - // Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - // Storage: Treasury Proposals (r:100 w:100) - // Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:201 w:201) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:100 w:100) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32) -> Weight { - // Minimum execution time: 37_461 nanoseconds. - Weight::from_parts(48_793_780, 0) // Standard Error: 70_185 - .saturating_add(Weight::from_parts(40_231_484, 0).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64))) + // Proof Size summary in bytes: + // Measured: `459 + p * (251 ±0)` + // Estimated: `3593 + p * (5206 ±0)` + // Minimum execution time: 39_458_000 picoseconds. + Weight::from_parts(53_941_800, 3593) + // Standard Error: 121_853 + .saturating_add(Weight::from_parts(51_771_233, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) } } diff --git a/runtime/hydradx/src/weights/utility.rs b/runtime/hydradx/src/weights/utility.rs index 9044a9d89..4839f642f 100644 --- a/runtime/hydradx/src/weights/utility.rs +++ b/runtime/hydradx/src/weights/utility.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_utility +//! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-utility -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// utility.rs +// ./weights-1.1.0/utility.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -56,28 +57,46 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32) -> Weight { - // Minimum execution time: 9_548 nanoseconds. - Weight::from_parts(20_043_320, 0) // Standard Error: 6_918 - .saturating_add(Weight::from_parts(6_230_163, 0).saturating_mul(c as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_344_000 picoseconds. + Weight::from_parts(18_082_840, 0) + // Standard Error: 4_915 + .saturating_add(Weight::from_parts(6_792_341, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { - // Minimum execution time: 8_348 nanoseconds. - Weight::from_parts(8_572_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_899_000 picoseconds. + Weight::from_parts(8_182_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32) -> Weight { - // Minimum execution time: 9_774 nanoseconds. - Weight::from_parts(24_400_000, 0) // Standard Error: 5_980 - .saturating_add(Weight::from_parts(6_581_930, 0).saturating_mul(c as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_308_000 picoseconds. + Weight::from_parts(14_711_160, 0) + // Standard Error: 4_844 + .saturating_add(Weight::from_parts(7_186_588, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - // Minimum execution time: 12_774 nanoseconds. - Weight::from_parts(13_068_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_395_000 picoseconds. + Weight::from_parts(13_566_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32) -> Weight { - // Minimum execution time: 10_143 nanoseconds. - Weight::from_parts(21_443_840, 0) // Standard Error: 6_255 - .saturating_add(Weight::from_parts(6_118_477, 0).saturating_mul(c as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_686_000 picoseconds. + Weight::from_parts(7_857_460, 0) + // Standard Error: 4_105 + .saturating_add(Weight::from_parts(6_820_383, 0).saturating_mul(c.into())) } } diff --git a/runtime/hydradx/src/weights/vesting.rs b/runtime/hydradx/src/weights/vesting.rs index 03db4b426..f35946a95 100644 --- a/runtime/hydradx/src/weights/vesting.rs +++ b/runtime/hydradx/src/weights/vesting.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for orml_vesting +//! Autogenerated weights for `orml_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=orml-vesting -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// vesting.rs +// ./weights-1.1.0/vesting.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,42 +55,59 @@ use orml_vesting::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Vesting VestingSchedules (r:1 w:1) - // Proof: Vesting VestingSchedules (max_values: None, max_size: Some(2850), added: 5325, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: `Vesting::VestingSchedules` (r:1 w:1) + /// Proof: `Vesting::VestingSchedules` (`max_values`: None, `max_size`: Some(2850), added: 5325, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vested_transfer() -> Weight { - // Minimum execution time: 84_347 nanoseconds. - Weight::from_parts(85_089_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `1914` + // Estimated: `6315` + // Minimum execution time: 119_563_000 picoseconds. + Weight::from_parts(120_581_000, 6315) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Vesting VestingSchedules (r:1 w:1) - // Proof: Vesting VestingSchedules (max_values: None, max_size: Some(2850), added: 5325, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: `Vesting::VestingSchedules` (r:1 w:1) + /// Proof: `Vesting::VestingSchedules` (`max_values`: None, `max_size`: Some(2850), added: 5325, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `i` is `[1, 100]`. fn claim(i: u32) -> Weight { - // Minimum execution time: 52_945 nanoseconds. - Weight::from_parts(56_504_723, 0) // Standard Error: 10_837 - .saturating_add(Weight::from_parts(63_081, 0).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `2032 + i * (18 ±0)` + // Estimated: `6315` + // Minimum execution time: 68_015_000 picoseconds. + Weight::from_parts(68_850_181, 6315) + // Standard Error: 1_475 + .saturating_add(Weight::from_parts(86_367, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Vesting VestingSchedules (r:0 w:1) - // Proof: Vesting VestingSchedules (max_values: None, max_size: Some(2850), added: 5325, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Vesting::VestingSchedules` (r:0 w:1) + /// Proof: `Vesting::VestingSchedules` (`max_values`: None, `max_size`: Some(2850), added: 5325, mode: `MaxEncodedLen`) /// The range of component `i` is `[1, 100]`. fn update_vesting_schedules(i: u32) -> Weight { - // Minimum execution time: 44_932 nanoseconds. - Weight::from_parts(46_379_059, 0) // Standard Error: 3_056 - .saturating_add(Weight::from_parts(91_387, 0).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `1615` + // Estimated: `4764` + // Minimum execution time: 59_122_000 picoseconds. + Weight::from_parts(59_638_156, 4764) + // Standard Error: 730 + .saturating_add(Weight::from_parts(78_296, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/runtime/hydradx/src/weights/xcm.rs b/runtime/hydradx/src/weights/xcm.rs index 91009b939..796617c51 100644 --- a/runtime/hydradx/src/weights/xcm.rs +++ b/runtime/hydradx/src/weights/xcm.rs @@ -15,18 +15,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_xcm +//! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-xcm -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --chain=dev @@ -34,7 +35,7 @@ // --steps=5 // --repeat=20 // --output -// xcm.rs +// ./weights-1.1.0/xcm.rs // --template // .maintain/pallet-weight-template-no-back.hbs @@ -54,165 +55,218 @@ use pallet_xcm::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: PolkadotXcm SupportedVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem HostConfiguration (r:1 w:0) - // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn send() -> Weight { - // Minimum execution time: 37_052 nanoseconds. - Weight::from_parts(37_742_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `145` + // Estimated: `3610` + // Minimum execution time: 38_308_000 picoseconds. + Weight::from_parts(39_025_000, 3610) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Benchmark Override (r:0 w:0) - // Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { - // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. Weight::from_parts(18_446_744_073_709_551_000, 0) } - // Storage: ParachainInfo ParachainId (r:1 w:0) - // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { - // Minimum execution time: 28_961 nanoseconds. - Weight::from_parts(29_264_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `69` + // Estimated: `1489` + // Minimum execution time: 30_501_000 picoseconds. + Weight::from_parts(31_561_000, 1489).saturating_add(T::DbWeight::get().reads(1_u64)) } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { - // Minimum execution time: 13_191 nanoseconds. - Weight::from_parts(13_453_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) } - // Storage: PolkadotXcm SupportedVersion (r:0 w:1) - // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { - // Minimum execution time: 13_630 nanoseconds. - Weight::from_parts(14_213_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 14_258_000 picoseconds. + Weight::from_parts(14_635_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) - // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_default_xcm_version() -> Weight { - // Minimum execution time: 4_489 nanoseconds. - Weight::from_parts(4_780_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm QueryCounter (r:1 w:1) - // Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm SupportedVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem HostConfiguration (r:1 w:0) - // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm Queries (r:0 w:1) - // Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_144_000 picoseconds. + Weight::from_parts(5_275_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { - // Minimum execution time: 44_665 nanoseconds. - Weight::from_parts(45_562_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) - } - // Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm SupportedVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem HostConfiguration (r:1 w:0) - // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm Queries (r:0 w:1) - // Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + // Proof Size summary in bytes: + // Measured: `145` + // Estimated: `3610` + // Minimum execution time: 45_191_000 picoseconds. + Weight::from_parts(45_866_000, 3610) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { - // Minimum execution time: 44_616 nanoseconds. - Weight::from_parts(45_322_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `328` + // Estimated: `3793` + // Minimum execution time: 45_127_000 picoseconds. + Weight::from_parts(45_519_000, 3793) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_213_000 picoseconds. + Weight::from_parts(5_354_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: PolkadotXcm SupportedVersion (r:4 w:2) - // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { - // Minimum execution time: 22_345 nanoseconds. - Weight::from_parts(22_606_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `167` + // Estimated: `11057` + // Minimum execution time: 24_438_000 picoseconds. + Weight::from_parts(24_889_000, 11057) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: PolkadotXcm VersionNotifiers (r:4 w:2) - // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { - // Minimum execution time: 22_362 nanoseconds. - Weight::from_parts(23_138_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `171` + // Estimated: `11061` + // Minimum execution time: 24_317_000 picoseconds. + Weight::from_parts(24_952_000, 11061) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) - // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { - // Minimum execution time: 24_977 nanoseconds. - Weight::from_parts(25_546_000, 0).saturating_add(T::DbWeight::get().reads(5 as u64)) - } - // Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) - // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm SupportedVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem HostConfiguration (r:1 w:0) - // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `13543` + // Minimum execution time: 25_401_000 picoseconds. + Weight::from_parts(25_725_000, 13543).saturating_add(T::DbWeight::get().reads(5_u64)) + } + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { - // Minimum execution time: 40_109 nanoseconds. - Weight::from_parts(41_074_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `212` + // Estimated: `6152` + // Minimum execution time: 41_914_000 picoseconds. + Weight::from_parts(42_385_000, 6152) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) - // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { - // Minimum execution time: 12_194 nanoseconds. - Weight::from_parts(12_618_000, 0).saturating_add(T::DbWeight::get().reads(3 as u64)) + // Proof Size summary in bytes: + // Measured: `172` + // Estimated: `8587` + // Minimum execution time: 13_727_000 picoseconds. + Weight::from_parts(13_964_000, 8587).saturating_add(T::DbWeight::get().reads(3_u64)) } - // Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { - // Minimum execution time: 23_097 nanoseconds. - Weight::from_parts(23_446_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm SupportedVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem HostConfiguration (r:1 w:0) - // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn migrate_and_notify_old_targets() -> Weight { - // Minimum execution time: 49_535 nanoseconds. - Weight::from_parts(50_265_000, 0) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `11068` + // Minimum execution time: 24_882_000 picoseconds. + Weight::from_parts(25_611_000, 11068) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - fn force_suspension() -> Weight { - Weight::zero() + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn migrate_and_notify_old_targets() -> Weight { + // Proof Size summary in bytes: + // Measured: `254` + // Estimated: `11144` + // Minimum execution time: 51_859_000 picoseconds. + Weight::from_parts(52_412_000, 11144) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } } diff --git a/runtime/hydradx/src/weights/xyk.rs b/runtime/hydradx/src/weights/xyk.rs index 25650898d..62ee3d5c9 100644 --- a/runtime/hydradx/src/weights/xyk.rs +++ b/runtime/hydradx/src/weights/xyk.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_xyk` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-07, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -27,15 +27,17 @@ // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 +// --pallet=pallet-xyk // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-xyk -// --output=weights-1.1.0/xyk.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/xyk.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -83,8 +85,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1140` // Estimated: `13905` - // Minimum execution time: 197_380_000 picoseconds. - Weight::from_parts(198_746_000, 13905) + // Minimum execution time: 202_507_000 picoseconds. + Weight::from_parts(203_717_000, 13905) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -108,8 +110,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1803` // Estimated: `13905` - // Minimum execution time: 170_843_000 picoseconds. - Weight::from_parts(172_005_000, 13905) + // Minimum execution time: 176_176_000 picoseconds. + Weight::from_parts(177_422_000, 13905) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -131,8 +133,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1749` // Estimated: `13905` - // Minimum execution time: 163_301_000 picoseconds. - Weight::from_parts(164_383_000, 13905) + // Minimum execution time: 168_176_000 picoseconds. + Weight::from_parts(169_296_000, 13905) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -150,8 +152,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1492` // Estimated: `11322` - // Minimum execution time: 123_476_000 picoseconds. - Weight::from_parts(124_420_000, 11322) + // Minimum execution time: 127_203_000 picoseconds. + Weight::from_parts(127_918_000, 11322) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -169,8 +171,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1492` // Estimated: `11322` - // Minimum execution time: 122_832_000 picoseconds. - Weight::from_parts(124_531_000, 11322) + // Minimum execution time: 126_846_000 picoseconds. + Weight::from_parts(127_737_000, 11322) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -189,13 +191,13 @@ impl WeightInfo for HydraWeight { fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `583 + e * (909 ±0)` - // Estimated: `6156 + e * (5166 ±213_489_293_787_578_112)` - // Minimum execution time: 21_224_000 picoseconds. - Weight::from_parts(6_571_292, 6156) - // Standard Error: 35_974 - .saturating_add(Weight::from_parts(7_580_298, 0).saturating_mul(c.into())) - // Standard Error: 35_974 - .saturating_add(Weight::from_parts(109_257_210, 0).saturating_mul(e.into())) + // Estimated: `6156 + e * (5166 ±0)` + // Minimum execution time: 22_072_000 picoseconds. + Weight::from_parts(5_201_125, 6156) + // Standard Error: 56_711 + .saturating_add(Weight::from_parts(8_630_075, 0).saturating_mul(c.into())) + // Standard Error: 56_711 + .saturating_add(Weight::from_parts(113_479_825, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) @@ -217,12 +219,12 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `583 + e * (909 ±0)` // Estimated: `6156 + e * (5166 ±0)` - // Minimum execution time: 28_835_000 picoseconds. - Weight::from_parts(6_492_939, 6156) - // Standard Error: 21_362 - .saturating_add(Weight::from_parts(7_668_020, 0).saturating_mul(c.into())) - // Standard Error: 36_243 - .saturating_add(Weight::from_parts(109_179_610, 0).saturating_mul(e.into())) + // Minimum execution time: 30_065_000 picoseconds. + Weight::from_parts(6_816_200, 6156) + // Standard Error: 42_652 + .saturating_add(Weight::from_parts(7_927_825, 0).saturating_mul(c.into())) + // Standard Error: 69_651 + .saturating_add(Weight::from_parts(112_378_650, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) From a2a355699d2ef2e08826b964c0c6839cded3cbd7 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 12 Dec 2023 21:14:27 +0100 Subject: [PATCH 104/138] rebenchmark route executor pallet --- runtime/hydradx/src/weights/route_executor.rs | 47 ++++++++++--------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/route_executor.rs index 812ab2ec9..545422bfe 100644 --- a/runtime/hydradx/src/weights/route_executor.rs +++ b/runtime/hydradx/src/weights/route_executor.rs @@ -15,10 +15,11 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_route_executor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-07, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -27,15 +28,17 @@ // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 +// --pallet=pallet-route-executor // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-route-executor -// --output=weights-1.1.0/route_executor.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/route_executor.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -64,14 +67,14 @@ impl WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32) -> Weight { + fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` - // Minimum execution time: 319_428_000 picoseconds. - Weight::from_parts(322_791_455, 13905) - // Standard Error: 166_077 - .saturating_add(Weight::from_parts(49_583_606, 0).saturating_mul(c.into())) + // Minimum execution time: 316_311_000 picoseconds. + Weight::from_parts(318_353_450, 13905) + // Standard Error: 164_994 + .saturating_add(Weight::from_parts(50_546_750, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -87,16 +90,16 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` - // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` - // Minimum execution time: 74_844_000 picoseconds. - Weight::from_parts(75_590_000, 6156) - // Standard Error: 629_589 - .saturating_add(Weight::from_parts(2_457_356, 0).saturating_mul(c.into())) - // Standard Error: 1_382_129 - .saturating_add(Weight::from_parts(249_588_283, 0).saturating_mul(b.into())) + // Estimated: `6156 + b * (7749 ±0)` + // Minimum execution time: 75_646_000 picoseconds. + Weight::from_parts(76_052_000, 6156) + // Standard Error: 1_389_058 + .saturating_add(Weight::from_parts(4_096_946, 0).saturating_mul(c.into())) + // Standard Error: 3_000_708 + .saturating_add(Weight::from_parts(250_139_938, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) @@ -124,8 +127,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4201` // Estimated: `24237` - // Minimum execution time: 1_151_470_000 picoseconds. - Weight::from_parts(1_157_296_000, 24237) + // Minimum execution time: 1_126_027_000 picoseconds. + Weight::from_parts(1_133_155_000, 24237) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } From 70aad84f033f0a8bd97a95e465b2fdd96e22688f Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 12 Dec 2023 21:25:21 +0100 Subject: [PATCH 105/138] rebenchmark dca pallet --- runtime/hydradx/src/weights/dca.rs | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/runtime/hydradx/src/weights/dca.rs b/runtime/hydradx/src/weights/dca.rs index b2318283d..a24f7a6df 100644 --- a/runtime/hydradx/src/weights/dca.rs +++ b/runtime/hydradx/src/weights/dca.rs @@ -15,10 +15,11 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-12, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -70,8 +71,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `38787` // Estimated: `31902` - // Minimum execution time: 238_810_000 picoseconds. - Weight::from_parts(242_451_000, 31902) + // Minimum execution time: 234_825_000 picoseconds. + Weight::from_parts(240_565_000, 31902) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -91,8 +92,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `38787` // Estimated: `31902` - // Minimum execution time: 240_665_000 picoseconds. - Weight::from_parts(244_132_000, 31902) + // Minimum execution time: 236_989_000 picoseconds. + Weight::from_parts(240_871_000, 31902) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -102,8 +103,9 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1071` // Estimated: `3566` - // Minimum execution time: 17_536_000 picoseconds. - Weight::from_parts(17_850_000, 3566).saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 18_241_000 picoseconds. + Weight::from_parts(18_519_000, 3566) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -125,8 +127,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3290` // Estimated: `29326` - // Minimum execution time: 141_305_000 picoseconds. - Weight::from_parts(143_415_000, 29326) + // Minimum execution time: 140_204_000 picoseconds. + Weight::from_parts(142_118_000, 29326) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -148,8 +150,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2451` // Estimated: `4714` - // Minimum execution time: 81_425_000 picoseconds. - Weight::from_parts(82_218_000, 4714) + // Minimum execution time: 81_882_000 picoseconds. + Weight::from_parts(82_424_000, 4714) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } From 0dd2e7b5d062f467058c29b9050049f05196007d Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 12 Dec 2023 21:25:32 +0100 Subject: [PATCH 106/138] formatting --- runtime/hydradx/src/weights/dca.rs | 4 +--- runtime/hydradx/src/weights/route_executor.rs | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/runtime/hydradx/src/weights/dca.rs b/runtime/hydradx/src/weights/dca.rs index a24f7a6df..fd33a0f40 100644 --- a/runtime/hydradx/src/weights/dca.rs +++ b/runtime/hydradx/src/weights/dca.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - //! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev @@ -104,8 +103,7 @@ impl WeightInfo for HydraWeight { // Measured: `1071` // Estimated: `3566` // Minimum execution time: 18_241_000 picoseconds. - Weight::from_parts(18_519_000, 3566) - .saturating_add(T::DbWeight::get().reads(1_u64)) + Weight::from_parts(18_519_000, 3566).saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/route_executor.rs index 545422bfe..8dc7fe923 100644 --- a/runtime/hydradx/src/weights/route_executor.rs +++ b/runtime/hydradx/src/weights/route_executor.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - //! Autogenerated weights for `pallet_route_executor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev @@ -67,7 +66,7 @@ impl WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { + fn calculate_and_execute_sell_in_lbp(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` @@ -90,7 +89,7 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { + fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` // Estimated: `6156 + b * (7749 ±0)` From 42d1b151bca74c254fcf50767896f8cbdd240c2b Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 13 Dec 2023 12:05:36 +0100 Subject: [PATCH 107/138] fix transact call filter integration tests --- integration-tests/src/transact_call_filter.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration-tests/src/transact_call_filter.rs b/integration-tests/src/transact_call_filter.rs index 011247931..f1c49ce1d 100644 --- a/integration-tests/src/transact_call_filter.rs +++ b/integration-tests/src/transact_call_filter.rs @@ -1,7 +1,7 @@ #![cfg(test)] use crate::polkadot_test_net::*; -use frame_support::{assert_ok, weights::Weight}; +use frame_support::{assert_ok, dispatch::GetDispatchInfo}; use sp_runtime::codec::Encode; use polkadot_xcm::latest::prelude::*; @@ -49,7 +49,7 @@ fn allowed_transact_call_should_pass_filter() { weight_limit: Unlimited, }, Transact { - require_weight_at_most: Weight::from_parts(10_000_000_000, 0u64), + require_weight_at_most: call.get_dispatch_info().weight, origin_kind: OriginKind::SovereignAccount, call: hydradx_runtime::RuntimeCall::Balances(call).encode().into(), }, @@ -128,7 +128,7 @@ fn blocked_transact_calls_should_not_pass_filter() { weight_limit: Unlimited, }, Transact { - require_weight_at_most: Weight::from_parts(10_000_000_000, 0u64), + require_weight_at_most: call.get_dispatch_info().weight, origin_kind: OriginKind::Native, call: hydradx_runtime::RuntimeCall::Tips(call).encode().into(), }, @@ -206,7 +206,7 @@ fn safe_call_filter_should_respect_runtime_call_filter() { weight_limit: Unlimited, }, Transact { - require_weight_at_most: Weight::from_parts(1_000_000_000, 2653u64), + require_weight_at_most: call.get_dispatch_info().weight, origin_kind: OriginKind::Native, call: hydradx_runtime::RuntimeCall::Balances(call).encode().into(), }, From 3287312cf1795d023128dd61c8d87a9ca5908087 Mon Sep 17 00:00:00 2001 From: dmoka Date: Wed, 13 Dec 2023 14:16:22 +0100 Subject: [PATCH 108/138] fix dca tests - the fee became smaller due to new polkadot version --- integration-tests/src/dca.rs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index d8d2b8e27..7e2367892 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -2704,8 +2704,8 @@ mod with_onchain_route { //Assert let fee = Currencies::free_balance(DOT, &Treasury::account_id()); assert!(fee > 0, "The treasury did not receive the fee"); - assert!(fee < 19 * UNITS); - assert!(fee > 18 * UNITS); + assert!(fee < 17 * UNITS); + assert!(fee > 13 * UNITS); assert_balance!(ALICE.into(), DOT, alice_init_dot_balance - dca_budget); assert_balance!(ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE + 398004528624916); @@ -2846,12 +2846,11 @@ mod with_onchain_route { let fee = Currencies::free_balance(stable_asset_1, &Treasury::account_id()); assert!(fee > 0, "The treasury did not receive the fee"); - //If the fee would be HDX, it would cost around 6503744780645 - assert!(fee < 58 * UNITS / 10); - assert!(fee > 57 * UNITS / 10); + assert!(fee < 47 * UNITS / 10); + assert!(fee > 44 * UNITS / 10); assert_balance!(ALICE.into(), stable_asset_1, alice_init_stable_balance - dca_budget); - assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 237185260073197); + assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 237095795349022); assert_reserved_balance!(&ALICE.into(), stable_asset_1, dca_budget - amount_to_sell - fee); }); @@ -2968,11 +2967,10 @@ mod with_onchain_route { let fee = Currencies::free_balance(DOT, &Treasury::account_id()); assert!(fee > 0, "The treasury did not receive the fee"); - //The fee would be 5310255478763 in HDX, so it is less in DOT, which checks out - assert!(fee < 38 * UNITS / 10); - assert!(fee > 37 * UNITS / 10); + assert!(fee < 32 * UNITS / 10); + assert!(fee > 28 * UNITS / 10); - assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 278060378846663); + assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 277955496295825); assert_reserved_balance!(&ALICE.into(), DOT, dca_budget - amount_to_sell - fee); }); } From d065dcac9206f5c4a4381bdc0d6622cebddaf8e6 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 14 Dec 2023 18:52:49 +0100 Subject: [PATCH 109/138] rebenchmark xcmp queue pallet --- runtime/hydradx/src/weights/xcmp_queue.rs | 70 +++++++++++------------ 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index d7f7ab3bf..c6197d1d7 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-17, STEPS: `20`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-14, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -28,15 +28,15 @@ // benchmark // pallet // --chain=dev -// --steps=20 +// --steps=10 // --repeat=30 // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=cumulus_pallet_xcmp_queue -// --output=xcmp_queue.rs -// --extrinsic=* +// --pallet=cumulus-pallet-xcmp-queue +// --output=weights-1.1.0/xcmp-queue.rs +// --extrinsic= #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,8 +55,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 8_204_000 picoseconds. - Weight::from_parts(8_399_000, 1627) + // Minimum execution time: 8_061_000 picoseconds. + Weight::from_parts(8_243_000, 1627) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,8 +66,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 8_407_000 picoseconds. - Weight::from_parts(8_612_000, 1627) + // Minimum execution time: 8_255_000 picoseconds. + Weight::from_parts(8_413_000, 1627) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -79,28 +79,28 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei /// Proof: `XcmpQueue::DeferredQueueSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::DeferredIndices` (r:1 w:1) /// Proof: `XcmpQueue::DeferredIndices` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:5 w:5) + /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:3 w:3) /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::CounterForOverweight` (r:1 w:1) /// Proof: `XcmpQueue::CounterForOverweight` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OverweightCount` (r:1 w:1) /// Proof: `XcmpQueue::OverweightCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::Overweight` (r:100 w:100) + /// Storage: `XcmpQueue::Overweight` (r:60 w:60) /// Proof: `XcmpQueue::Overweight` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `b` is `[1, 5]`. + /// The range of component `b` is `[1, 3]`. fn service_deferred(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6279 + b * (324355 ±0)` - // Estimated: `9744 + b * (373855 ±0)` - // Minimum execution time: 33_468_003_000 picoseconds. - Weight::from_parts(33_584_855_000, 9744) - // Standard Error: 292_376_788 - .saturating_add(Weight::from_parts(22_851_834_746, 0).saturating_mul(b.into())) + // Measured: `6275 + b * (324357 ±0)` + // Estimated: `9740 + b * (373857 ±0)` + // Minimum execution time: 32_529_153_000 picoseconds. + Weight::from_parts(160_904_784, 9740) + // Standard Error: 8_949_581 + .saturating_add(Weight::from_parts(32_575_018_568, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((21_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((21_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 373855).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 373857).saturating_mul(b.into())) } /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:1 w:1) /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -108,11 +108,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei fn discard_deferred_bucket(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252 + m * (16216 ±0)` - // Estimated: `3717 + m * (16216 ±0)` - // Minimum execution time: 1_287_457_000 picoseconds. - Weight::from_parts(232_204_798, 3717) - // Standard Error: 239_085 - .saturating_add(Weight::from_parts(1_114_837_193, 0).saturating_mul(m.into())) + // Estimated: `3716 + m * (16216 ±0)` + // Minimum execution time: 1_269_514_000 picoseconds. + Weight::from_parts(254_832_812, 3716) + // Standard Error: 451_448 + .saturating_add(Weight::from_parts(1_075_219_465, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 16216).saturating_mul(m.into())) @@ -123,11 +123,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei fn discard_deferred_individual(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252 + m * (16216 ±0)` - // Estimated: `3717 + m * (16216 ±0)` - // Minimum execution time: 1_334_412_000 picoseconds. - Weight::from_parts(83_478_858, 3717) - // Standard Error: 229_819 - .saturating_add(Weight::from_parts(1_242_440_660, 0).saturating_mul(m.into())) + // Estimated: `3716 + m * (16216 ±0)` + // Minimum execution time: 1_331_675_000 picoseconds. + Weight::from_parts(131_637_639, 3716) + // Standard Error: 513_067 + .saturating_add(Weight::from_parts(1_197_225_867, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 16216).saturating_mul(m.into())) @@ -140,13 +140,13 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei fn try_place_in_deferred_queue(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (16216 ±0)` - // Estimated: `9724 + m * (15030 ±36)` - // Minimum execution time: 109_834_000 picoseconds. - Weight::from_parts(131_284_524, 9724) - // Standard Error: 140_265 - .saturating_add(Weight::from_parts(6_742_816, 0).saturating_mul(m.into())) + // Estimated: `9724 + m * (15020 ±55)` + // Minimum execution time: 106_584_000 picoseconds. + Weight::from_parts(125_484_886, 9724) + // Standard Error: 199_725 + .saturating_add(Weight::from_parts(6_590_187, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 15030).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 15020).saturating_mul(m.into())) } } From c9c32c958cf373523bc3da1e3c39f9d65d1bc61c Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 15 Dec 2023 14:55:49 +0100 Subject: [PATCH 110/138] rebenchmark collator selection pallet --- .../hydradx/src/weights/collator_selection.rs | 212 ++++++++++++++---- 1 file changed, 169 insertions(+), 43 deletions(-) diff --git a/runtime/hydradx/src/weights/collator_selection.rs b/runtime/hydradx/src/weights/collator_selection.rs index 53436d559..e1f72a306 100644 --- a/runtime/hydradx/src/weights/collator_selection.rs +++ b/runtime/hydradx/src/weights/collator_selection.rs @@ -1,6 +1,6 @@ -// This file is part of Hydra-node. +// This file is part of HydraDX. -// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,28 +15,32 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_collator_selection +//! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-04-30, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("local"), DB CACHE: 1024 +//! DATE: 2023-12-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark -// --chain=local -// --steps=5 -// --repeat=20 -// --execution=wasm +// pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_collator_selection -// --output=collator_selection.rs +// --pallet=pallet-collator-selection +// --output=weights-1.1.0/collator-selection.rs // --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] use frame_support::{ traits::Get, @@ -49,45 +53,167 @@ use pallet_collator_selection::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - fn set_invulnerables(b: u32) -> Weight { - Weight::from_parts(12_265_000, 0) // Standard Error: 7_000 - .saturating_add(Weight::from_parts(87_000, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + /// Storage: `Session::NextKeys` (r:50 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 50]`. + fn set_invulnerables(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `205 + b * (79 ±0)` + // Estimated: `1194 + b * (2554 ±0)` + // Minimum execution time: 20_455_000 picoseconds. + Weight::from_parts(19_594_151, 1194) + // Standard Error: 8_370 + .saturating_add(Weight::from_parts(3_470_262, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into())) + } + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(193), added: 688, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 49]`. + /// The range of component `c` is `[1, 3]`. + fn add_invulnerable(b: u32, c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `835 + b * (44 ±0) + c * (48 ±0)` + // Estimated: `4283 + b * (45 ±0) + c * (56 ±2)` + // Minimum execution time: 58_595_000 picoseconds. + Weight::from_parts(58_147_234, 4283) + // Standard Error: 2_112 + .saturating_add(Weight::from_parts(110_403, 0).saturating_mul(b.into())) + // Standard Error: 41_169 + .saturating_add(Weight::from_parts(341_824, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::Candidates` (r:1 w:0) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(193), added: 688, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// The range of component `b` is `[5, 50]`. + fn remove_invulnerable(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `285 + b * (32 ±0)` + // Estimated: `3086` + // Minimum execution time: 22_755_000 picoseconds. + Weight::from_parts(23_093_354, 3086) + // Standard Error: 1_094 + .saturating_add(Weight::from_parts(46_083, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { - Weight::from_parts(15_221_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_217_000 picoseconds. + Weight::from_parts(11_385_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_candidacy_bond() -> Weight { - Weight::from_parts(11_762_000, 0).saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_244_000 picoseconds. + Weight::from_parts(11_602_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } - fn register_as_candidate(c: u32) -> Weight { - Weight::from_parts(47_945_000, 0) // Standard Error: 8_000 - .saturating_add(Weight::from_parts(459_000, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(193), added: 688, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 3]`. + fn register_as_candidate(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `700 + c * (82 ±0)` + // Estimated: `4179 + c * (71 ±0)` + // Minimum execution time: 55_650_000 picoseconds. + Weight::from_parts(56_276_004, 4179) + // Standard Error: 19_512 + .saturating_add(Weight::from_parts(185_775, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 71).saturating_mul(c.into())) } - fn leave_intent(c: u32) -> Weight { - Weight::from_parts(34_269_000, 0) // Standard Error: 7_000 - .saturating_add(Weight::from_parts(488_000, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(193), added: 688, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[3, 4]`. + fn leave_intent(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `445 + c * (82 ±0)` + // Estimated: `3086` + // Minimum execution time: 45_906_000 picoseconds. + Weight::from_parts(45_386_687, 3086) + // Standard Error: 27_981 + .saturating_add(Weight::from_parts(387_687, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { - Weight::from_parts(43_846_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - } - fn new_session(r: u32, c: u32) -> Weight { - Weight::zero() - .saturating_add(Weight::from_parts(4_049_000, 0).saturating_mul(r as u64)) // Standard Error: 1_694_000 - .saturating_add(Weight::from_parts(18_735_000, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64))) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) - } - fn add_invulnerable(_b: u32, _c: u32) -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `192` + // Estimated: `6196` + // Minimum execution time: 64_565_000 picoseconds. + Weight::from_parts(65_177_000, 6196) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } - fn remove_invulnerable(_b: u32) -> Weight { - Weight::zero() + /// Storage: `CollatorSelection::Candidates` (r:1 w:0) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(193), added: 688, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:4 w:0) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 4]`. + /// The range of component `c` is `[1, 4]`. + fn new_session(r: u32, c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `764 + c * (101 ±0)` + // Estimated: `3593 + c * (2519 ±0) + r * (1302 ±64)` + // Minimum execution time: 28_492_000 picoseconds. + Weight::from_parts(43_856_926, 3593) + // Standard Error: 1_235_538 + .saturating_add(Weight::from_parts(17_366_925, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 1302).saturating_mul(r.into())) } } From 57e3f46b3343835bceda63e7795fa316d256d0ec Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 18 Dec 2023 13:16:40 +0100 Subject: [PATCH 111/138] fix router_execution_sell benchmarks in stablepool and omnipool --- pallets/stableswap/src/benchmarks.rs | 6 ++---- runtime/hydradx/src/benchmarking/omnipool.rs | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/pallets/stableswap/src/benchmarks.rs b/pallets/stableswap/src/benchmarks.rs index a5bcb11a9..839ac6b49 100644 --- a/pallets/stableswap/src/benchmarks.rs +++ b/pallets/stableswap/src/benchmarks.rs @@ -478,7 +478,7 @@ benchmarks! { } router_execution_sell{ - let c in 0..1; // if c == 1, calculate_sell is executed + let c in 1..2; let e in 0..1; // if e == 1, execute_sell is executed let caller: T::AccountId = account("caller", 0, 1); @@ -529,9 +529,7 @@ benchmarks! { )?; System::::set_block_number(500u32.into()); }: { - if c != 0 { - assert!( as TradeExecution>::calculate_sell(PoolType::Stableswap(pool_id), asset_in, asset_out, amount_sell).is_ok()); - } + assert!( as TradeExecution>::calculate_sell(PoolType::Stableswap(pool_id), asset_in, asset_out, amount_sell).is_ok()); if e != 0 { assert!( as TradeExecution>::execute_sell(RawOrigin::Signed(seller.clone()).into(), PoolType::Stableswap(pool_id), asset_in, asset_out, amount_sell, buy_min_amount).is_ok()); } diff --git a/runtime/hydradx/src/benchmarking/omnipool.rs b/runtime/hydradx/src/benchmarking/omnipool.rs index 79bdd50ea..4a850a9c8 100644 --- a/runtime/hydradx/src/benchmarking/omnipool.rs +++ b/runtime/hydradx/src/benchmarking/omnipool.rs @@ -402,7 +402,7 @@ runtime_benchmarks! { } router_execution_sell { - let c in 0..1; // if c == 1, calculate_sell is executed + let c in 1..2; let e in 0..1; // if e == 1, execute_sell is executed init()?; @@ -443,9 +443,7 @@ runtime_benchmarks! { let buy_min_amount = 10_000_000_000_u128; }: { - if c != 0 { - assert!(>::calculate_sell(PoolType::Omnipool, token_id, DAI, amount_sell).is_ok()); - } + assert!(>::calculate_sell(PoolType::Omnipool, token_id, DAI, amount_sell).is_ok()); if e != 0 { assert!(>::execute_sell(RawOrigin::Signed(seller.clone()).into(), PoolType::Omnipool, token_id, DAI, amount_sell, buy_min_amount).is_ok()); } From d6c76e66d059bb224c702fd837194282586d487b Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 18 Dec 2023 13:42:59 +0100 Subject: [PATCH 112/138] rebenchmark stableswap and omnipool --- runtime/hydradx/src/weights/omnipool.rs | 172 +++++++++++----------- runtime/hydradx/src/weights/stableswap.rs | 143 +++++++++--------- 2 files changed, 154 insertions(+), 161 deletions(-) diff --git a/runtime/hydradx/src/weights/omnipool.rs b/runtime/hydradx/src/weights/omnipool.rs index 466f77295..01af1976a 100644 --- a/runtime/hydradx/src/weights/omnipool.rs +++ b/runtime/hydradx/src/weights/omnipool.rs @@ -18,30 +18,29 @@ //! Autogenerated weights for `pallet_omnipool` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=pallet-omnipool +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-omnipool +// --output=weights-1.1.0/omnipool.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// ./weights-1.1.0/omnipool.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] use frame_support::{ traits::Get, @@ -81,12 +80,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3000` + // Measured: `3004` // Estimated: `7406` - // Minimum execution time: 143_315_000 picoseconds. - Weight::from_parts(144_368_000, 7406) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(10_u64)) + // Minimum execution time: 141_493_000 picoseconds. + Weight::from_parts(142_927_000, 7406) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(10)) } /// Storage: `Tokens::Accounts` (r:3 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -126,12 +125,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3915` + // Measured: `3919` // Estimated: `8739` - // Minimum execution time: 223_299_000 picoseconds. - Weight::from_parts(224_797_000, 8739) - .saturating_add(T::DbWeight::get().reads(20_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) + // Minimum execution time: 221_846_000 picoseconds. + Weight::from_parts(223_179_000, 8739) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(14)) } /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -173,12 +172,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `6621` + // Measured: `6625` // Estimated: `11322` - // Minimum execution time: 298_508_000 picoseconds. - Weight::from_parts(300_331_000, 11322) - .saturating_add(T::DbWeight::get().reads(23_u64)) - .saturating_add(T::DbWeight::get().writes(16_u64)) + // Minimum execution time: 294_859_000 picoseconds. + Weight::from_parts(297_556_000, 11322) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(16)) } /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -210,12 +209,12 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `6010` + // Measured: `6014` // Estimated: `11322` - // Minimum execution time: 250_809_000 picoseconds. - Weight::from_parts(253_464_000, 11322) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) + // Minimum execution time: 247_505_000 picoseconds. + Weight::from_parts(249_251_000, 11322) + .saturating_add(T::DbWeight::get().reads(22)) + .saturating_add(T::DbWeight::get().writes(14)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -249,23 +248,23 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `6439` + // Measured: `6443` // Estimated: `11322` - // Minimum execution time: 283_876_000 picoseconds. - Weight::from_parts(285_731_000, 11322) - .saturating_add(T::DbWeight::get().reads(24_u64)) - .saturating_add(T::DbWeight::get().writes(15_u64)) + // Minimum execution time: 280_133_000 picoseconds. + Weight::from_parts(281_564_000, 11322) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1301` + // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_588_000 picoseconds. - Weight::from_parts(34_079_000, 3550) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 33_253_000 picoseconds. + Weight::from_parts(33_814_000, 3550) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Omnipool::Assets` (r:1 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -281,12 +280,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `2332` + // Measured: `2336` // Estimated: `6196` - // Minimum execution time: 108_136_000 picoseconds. - Weight::from_parts(109_073_000, 6196) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 107_190_000 picoseconds. + Weight::from_parts(108_156_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Omnipool::Positions` (r:1 w:1) /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) @@ -302,23 +301,23 @@ impl WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { // Proof Size summary in bytes: - // Measured: `2872` + // Measured: `2876` // Estimated: `3655` - // Minimum execution time: 76_830_000 picoseconds. - Weight::from_parts(77_797_000, 3655) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 76_760_000 picoseconds. + Weight::from_parts(77_553_000, 3655) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { // Proof Size summary in bytes: - // Measured: `1301` + // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_908_000 picoseconds. - Weight::from_parts(34_392_000, 3550) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 33_043_000 picoseconds. + Weight::from_parts(33_547_000, 3550) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -340,12 +339,12 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_protocol_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4015` + // Measured: `4019` // Estimated: `8739` - // Minimum execution time: 163_008_000 picoseconds. - Weight::from_parts(163_786_000, 8739) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Minimum execution time: 160_860_000 picoseconds. + Weight::from_parts(161_957_000, 8739) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -365,12 +364,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3106` + // Measured: `3110` // Estimated: `11322` - // Minimum execution time: 160_382_000 picoseconds. - Weight::from_parts(161_891_000, 11322) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Minimum execution time: 160_268_000 picoseconds. + Weight::from_parts(161_240_000, 11322) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -400,22 +399,21 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 1]`. + /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { + fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1905 + e * (4105 ±0)` - // Estimated: `1910394244883472 + c * (1 ±301) + e * (5166 ±0)` - // Minimum execution time: 45_953_000 picoseconds. - Weight::from_parts(34_352_200, 1910394244883472) - // Standard Error: 112_799 - .saturating_add(Weight::from_parts(12_190_000, 0).saturating_mul(c.into())) - // Standard Error: 112_799 - .saturating_add(Weight::from_parts(218_840_150, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `1909 + e * (4105 ±0)` + // Estimated: `6156 + e * (5166 ±118_379_753_737_997_488)` + // Minimum execution time: 45_519_000 picoseconds. + Weight::from_parts(45_863_808, 6156) + // Standard Error: 75_701 + .saturating_add(Weight::from_parts(299_033, 0).saturating_mul(c.into())) + // Standard Error: 75_701 + .saturating_add(Weight::from_parts(215_300_658, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((16_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((14_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) @@ -450,17 +448,15 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { + fn router_execution_buy(c: u32, _e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6439` + // Measured: `6443` // Estimated: `11322` - // Minimum execution time: 282_761_000 picoseconds. - Weight::from_parts(271_127_250, 11322) - // Standard Error: 149_628 - .saturating_add(Weight::from_parts(13_692_850, 0).saturating_mul(c.into())) - // Standard Error: 149_628 - .saturating_add(Weight::from_parts(418_650, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(24_u64)) - .saturating_add(T::DbWeight::get().writes(15_u64)) + // Minimum execution time: 279_717_000 picoseconds. + Weight::from_parts(270_714_140, 11322) + // Standard Error: 109_168 + .saturating_add(Weight::from_parts(12_603_359, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(15)) } } diff --git a/runtime/hydradx/src/weights/stableswap.rs b/runtime/hydradx/src/weights/stableswap.rs index 45d50f964..60d676438 100644 --- a/runtime/hydradx/src/weights/stableswap.rs +++ b/runtime/hydradx/src/weights/stableswap.rs @@ -1,4 +1,5 @@ // This file is part of HydraDX. +// This file is part of HydraDX. // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 @@ -18,30 +19,29 @@ //! Autogenerated weights for `pallet_stableswap` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=pallet-stableswap +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-stableswap +// --output=weights-1.1.0/stableswap.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// ./weights-1.1.0/stableswap.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] use frame_support::{ traits::Get, @@ -65,10 +65,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `717` // Estimated: `16362` - // Minimum execution time: 51_391_000 picoseconds. - Weight::from_parts(51_861_000, 16362) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 52_498_000 picoseconds. + Weight::from_parts(52_992_000, 16362) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -94,10 +94,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3168` // Estimated: `29403` - // Minimum execution time: 1_098_001_000 picoseconds. - Weight::from_parts(1_100_611_000, 29403) - .saturating_add(T::DbWeight::get().reads(33_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) + // Minimum execution time: 1_087_109_000 picoseconds. + Weight::from_parts(1_090_256_000, 29403) + .saturating_add(T::DbWeight::get().reads(33)) + .saturating_add(T::DbWeight::get().writes(14)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -121,10 +121,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3014` // Estimated: `19071` - // Minimum execution time: 769_603_000 picoseconds. - Weight::from_parts(773_417_000, 19071) - .saturating_add(T::DbWeight::get().reads(20_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 739_668_000 picoseconds. + Weight::from_parts(743_517_000, 19071) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -150,10 +150,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3017` // Estimated: `19071` - // Minimum execution time: 800_461_000 picoseconds. - Weight::from_parts(805_963_000, 19071) - .saturating_add(T::DbWeight::get().reads(21_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Minimum execution time: 777_557_000 picoseconds. + Weight::from_parts(781_094_000, 19071) + .saturating_add(T::DbWeight::get().reads(21)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -179,10 +179,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3017` // Estimated: `19071` - // Minimum execution time: 1_095_135_000 picoseconds. - Weight::from_parts(1_106_686_000, 19071) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 1_041_027_000 picoseconds. + Weight::from_parts(1_050_193_000, 19071) + .saturating_add(T::DbWeight::get().reads(22)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -208,10 +208,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3043` // Estimated: `19071` - // Minimum execution time: 763_407_000 picoseconds. - Weight::from_parts(768_079_000, 19071) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Minimum execution time: 730_301_000 picoseconds. + Weight::from_parts(735_887_000, 19071) + .saturating_add(T::DbWeight::get().reads(22)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -237,10 +237,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3013` // Estimated: `19071` - // Minimum execution time: 729_804_000 picoseconds. - Weight::from_parts(735_605_000, 19071) - .saturating_add(T::DbWeight::get().reads(23_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 710_874_000 picoseconds. + Weight::from_parts(714_006_000, 19071) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -250,10 +250,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 25_034_000 picoseconds. - Weight::from_parts(25_366_000, 3522) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 25_547_000 picoseconds. + Weight::from_parts(25_951_000, 3522) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -261,10 +261,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 22_513_000 picoseconds. - Weight::from_parts(22_932_000, 3522) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 23_026_000 picoseconds. + Weight::from_parts(23_457_000, 3522) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -272,10 +272,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 24_214_000 picoseconds. - Weight::from_parts(24_656_000, 3522) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 24_839_000 picoseconds. + Weight::from_parts(25_332_000, 3522) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -297,23 +297,20 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 1]`. + /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { + fn router_execution_sell(_c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1276 + e * (1767 ±0)` - // Estimated: `1910394244883472 + c * (1 ±301) + e * (5166 ±0)` - // Minimum execution time: 314_308_000 picoseconds. - Weight::from_parts(31_662_325, 1910394244883472) - // Standard Error: 416_280 - .saturating_add(Weight::from_parts(284_337_000, 0).saturating_mul(c.into())) - // Standard Error: 416_280 - .saturating_add(Weight::from_parts(734_215_525, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) + // Estimated: `13905 + e * (5797 ±124_823_812_913_251_024)` + // Minimum execution time: 305_934_000 picoseconds. + Weight::from_parts(312_030_194, 13905) + // Standard Error: 324_777 + .saturating_add(Weight::from_parts(704_923_524, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -337,19 +334,19 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { + fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1275 + e * (1738 ±0)` - // Estimated: `13905 + e * (5166 ±0)` - // Minimum execution time: 314_177_000 picoseconds. - Weight::from_parts(315_490_000, 13905) - // Standard Error: 7_554_974 - .saturating_add(Weight::from_parts(22_127_088, 0).saturating_mul(c.into())) - // Standard Error: 16_320_610 - .saturating_add(Weight::from_parts(491_126_315, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) + // Estimated: `13905 + e * (5797 ±201_913_854_157_949_888)` + // Minimum execution time: 304_954_000 picoseconds. + Weight::from_parts(306_226_000, 13905) + // Standard Error: 3_224_854 + .saturating_add(Weight::from_parts(12_176_535, 0).saturating_mul(c.into())) + // Standard Error: 7_079_475 + .saturating_add(Weight::from_parts(445_329_428, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) } } From 976035a78d8a80e54b52ec89bf81c424db914df7 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 18 Dec 2023 14:21:17 +0100 Subject: [PATCH 113/138] fix integration test --- integration-tests/src/dca.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 7e2367892..f87148fea 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -2846,8 +2846,8 @@ mod with_onchain_route { let fee = Currencies::free_balance(stable_asset_1, &Treasury::account_id()); assert!(fee > 0, "The treasury did not receive the fee"); - assert!(fee < 47 * UNITS / 10); - assert!(fee > 44 * UNITS / 10); + assert!(fee < 48 * UNITS / 10); + assert!(fee > 40 * UNITS / 10); assert_balance!(ALICE.into(), stable_asset_1, alice_init_stable_balance - dca_budget); assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 237095795349022); From 2cdb4306dd413483843c88639b3236005a389658 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 18 Dec 2023 15:40:29 +0100 Subject: [PATCH 114/138] update pallet weights --- pallets/asset-registry/src/weights.rs | 156 +- pallets/bonds/src/weights.rs | 211 +-- pallets/circuit-breaker/src/weights.rs | 128 +- pallets/claims/src/weights.rs | 62 +- pallets/currencies/src/weights.rs | 125 +- pallets/dca/src/tests/mock.rs | 8 +- pallets/dca/src/tests/on_initialize.rs | 2 +- pallets/dca/src/weights.rs | 58 +- pallets/democracy/src/weights.rs | 1244 ++++++++------- pallets/duster/src/weights.rs | 123 +- pallets/ema-oracle/src/weights.rs | 193 ++- pallets/lbp/src/weights.rs | 581 ++++--- pallets/nft/src/weights.rs | 264 +++- .../omnipool-liquidity-mining/src/weights.rs | 585 ++++++- pallets/omnipool/src/weights.rs | 1386 +++++++++-------- pallets/otc/src/weights.rs | 180 ++- pallets/route-executor/src/weights.rs | 75 +- pallets/stableswap/src/weights.rs | 1008 ++++++------ pallets/staking/src/weights.rs | 445 +++--- .../transaction-multi-payment/src/weights.rs | 151 +- pallets/transaction-pause/src/weights.rs | 107 +- pallets/xyk/src/weights.rs | 601 +++---- 22 files changed, 4653 insertions(+), 3040 deletions(-) diff --git a/pallets/asset-registry/src/weights.rs b/pallets/asset-registry/src/weights.rs index 046273ebd..3b02c5aef 100644 --- a/pallets/asset-registry/src/weights.rs +++ b/pallets/asset-registry/src/weights.rs @@ -1,13 +1,13 @@ -// This file is part of pallet-asset-registry. +// This file is part of HydraDX. -// Copyright (C) 2020-2022 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // 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 +// 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, @@ -15,25 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for asset-registry +//! Autogenerated weights for `pallet_asset_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-06-16, STEPS: [5, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// target/release/basilisk +// target/release/hydradx // benchmark -// --pallet=asset-registry +// pallet +// --pallet=pallet-asset-registry +// --wasm-execution=compiled +// --heap-pages=4096 // --chain=dev +// --extrinsic=* // --steps=5 // --repeat=20 -// --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --output=lbp.rs +// --output +// ./weights-1.1.0/registry.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -56,38 +60,132 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:0 w:1) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:0 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) fn register() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `305` + // Estimated: `4087` + // Minimum execution time: 46_657_000 picoseconds. + Weight::from_parts(47_059_000, 4087) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:2) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn update() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `372` + // Estimated: `3552` + // Minimum execution time: 29_123_000 picoseconds. + Weight::from_parts(29_400_000, 3552) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:0 w:1) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn set_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `300` + // Estimated: `3552` + // Minimum execution time: 21_806_000 picoseconds. + Weight::from_parts(22_285_000, 3552) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:1 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`) fn set_location() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `274` + // Estimated: `4087` + // Minimum execution time: 26_900_000 picoseconds. + Weight::from_parts(27_350_000, 4087) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:0 w:1) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:0 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) fn register() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `305` + // Estimated: `4087` + // Minimum execution time: 46_657_000 picoseconds. + Weight::from_parts(47_059_000, 4087) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } - + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:2) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn update() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `372` + // Estimated: `3552` + // Minimum execution time: 29_123_000 picoseconds. + Weight::from_parts(29_400_000, 3552) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:0 w:1) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn set_metadata() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `300` + // Estimated: `3552` + // Minimum execution time: 21_806_000 picoseconds. + Weight::from_parts(22_285_000, 3552) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:1 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`) fn set_location() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `274` + // Estimated: `4087` + // Minimum execution time: 26_900_000 picoseconds. + Weight::from_parts(27_350_000, 4087) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } } diff --git a/pallets/bonds/src/weights.rs b/pallets/bonds/src/weights.rs index 8f03ca4b8..3e2392821 100644 --- a/pallets/bonds/src/weights.rs +++ b/pallets/bonds/src/weights.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_bonds +//! Autogenerated weights for `pallet_bonds` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-11, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-bonds // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --pallet=pallet-bonds -// --output=bonds.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/bonds.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -56,104 +59,116 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Bonds BondIds (r:1 w:1) - // Proof: Bonds BondIds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: Timestamp Now (r:1 w:0) - // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:3) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Bonds Bonds (r:0 w:1) - // Proof: Bonds Bonds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:0 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Bonds::BondIds` (r:1 w:1) + /// Proof: `Bonds::BondIds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Bonds::Bonds` (r:0 w:1) + /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:0 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn issue() -> Weight { - // Minimum execution time: 154_679 nanoseconds. - Weight::from_parts(159_169_000, 0) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Proof Size summary in bytes: + // Measured: `1240` + // Estimated: `8799` + // Minimum execution time: 208_163_000 picoseconds. + Weight::from_parts(209_241_000, 8799) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } - // Storage: Bonds Bonds (r:1 w:0) - // Proof: Bonds Bonds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: Timestamp Now (r:1 w:0) - // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Bonds::Bonds` (r:1 w:0) + /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn redeem() -> Weight { - // Minimum execution time: 114_799 nanoseconds. - Weight::from_parts(116_103_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1415` + // Estimated: `6196` + // Minimum execution time: 146_646_000 picoseconds. + Weight::from_parts(147_343_000, 6196) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Bonds BondIds (r:1 w:1) - // Proof: Bonds BondIds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: Timestamp Now (r:1 w:0) - // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:3) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Bonds Bonds (r:0 w:1) - // Proof: Bonds Bonds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:0 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Bonds::BondIds` (r:1 w:1) + /// Proof: `Bonds::BondIds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Bonds::Bonds` (r:0 w:1) + /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:0 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn issue() -> Weight { - // Minimum execution time: 154_679 nanoseconds. - Weight::from_parts(159_169_000, 0) - .saturating_add(RocksDbWeight::get().reads(11)) - .saturating_add(RocksDbWeight::get().writes(10)) + // Proof Size summary in bytes: + // Measured: `1240` + // Estimated: `8799` + // Minimum execution time: 208_163_000 picoseconds. + Weight::from_parts(209_241_000, 8799) + .saturating_add(RocksDbWeight::get().reads(11_u64)) + .saturating_add(RocksDbWeight::get().writes(10_u64)) } - // Storage: Bonds Bonds (r:1 w:0) - // Proof: Bonds Bonds (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - // Storage: Timestamp Now (r:1 w:0) - // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Bonds::Bonds` (r:1 w:0) + /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn redeem() -> Weight { - // Minimum execution time: 114_799 nanoseconds. - Weight::from_parts(116_103_000, 0) - .saturating_add(RocksDbWeight::get().reads(7)) - .saturating_add(RocksDbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `1415` + // Estimated: `6196` + // Minimum execution time: 146_646_000 picoseconds. + Weight::from_parts(147_343_000, 6196) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } } diff --git a/pallets/circuit-breaker/src/weights.rs b/pallets/circuit-breaker/src/weights.rs index 939bf55e4..9fe074fbe 100644 --- a/pallets/circuit-breaker/src/weights.rs +++ b/pallets/circuit-breaker/src/weights.rs @@ -1,6 +1,6 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,28 +15,30 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_circuit_breaker +//! Autogenerated weights for `pallet_circuit_breaker` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-26, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("local"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet // --pallet=pallet-circuit-breaker -// --chain=local -// --steps=5 -// --repeat=20 -// --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 +// --chain=dev +// --extrinsic=* +// --steps=5 +// --repeat=20 // --output -// weights.rs +// ./weights-1.1.0/circuit_breaker.rs // --template -// .maintain/pallet-weight-template.hbs +// .maintain/pallet-weight-template-no-back.hbs + #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -63,34 +65,112 @@ pub trait WeightInfo { // For backwards compatibility and tests impl WeightInfo for () { - fn on_finalize(_m: u32, _n: u32) -> Weight { - Weight::zero() + /// The range of component `n` is `[0, 400]`. + /// The range of component `m` is `[0, 400]`. + fn on_finalize(n: u32, m: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `105 + m * (113 ±0) + n * (56 ±0)` + // Estimated: `0` + // Minimum execution time: 336_709_000 picoseconds. + Weight::from_parts(338_100_000, 0) + // Standard Error: 34_770 + .saturating_add(Weight::from_parts(304_235, 0).saturating_mul(n.into())) + // Standard Error: 34_770 + .saturating_add(Weight::from_parts(1_161_474, 0).saturating_mul(m.into())) } fn on_finalize_single_liquidity_limit_entry() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `0` + // Minimum execution time: 9_370_000 picoseconds. + Weight::from_parts(9_492_000, 0) } fn on_finalize_single_trade_limit_entry() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `0` + // Minimum execution time: 9_297_000 picoseconds. + Weight::from_parts(9_518_000, 0) } fn on_finalize_empty() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `0` + // Minimum execution time: 9_320_000 picoseconds. + Weight::from_parts(9_566_000, 0) } + /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:0 w:1) + /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_trade_volume_limit() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_401_000 picoseconds. + Weight::from_parts(12_601_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:0 w:1) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) fn set_add_liquidity_limit() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_366_000 picoseconds. + Weight::from_parts(12_660_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:0 w:1) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) fn set_remove_liquidity_limit() -> Weight { - Weight::zero() - } - fn ensure_pool_state_change_limit() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_543_000 picoseconds. + Weight::from_parts(12_729_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ensure_add_liquidity_limit() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `262` + // Estimated: `3517` + // Minimum execution time: 20_930_000 picoseconds. + Weight::from_parts(21_398_000, 3517) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ensure_remove_liquidity_limit() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `3517` + // Minimum execution time: 17_808_000 picoseconds. + Weight::from_parts(18_193_000, 3517) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + } + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:2 w:0) + /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + fn ensure_pool_state_change_limit() -> Weight { + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `6076` + // Minimum execution time: 18_243_000 picoseconds. + Weight::from_parts(18_729_000, 6076) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } } diff --git a/pallets/claims/src/weights.rs b/pallets/claims/src/weights.rs index c562ae289..ad2f63ee6 100644 --- a/pallets/claims/src/weights.rs +++ b/pallets/claims/src/weights.rs @@ -1,13 +1,13 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // 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 +// 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, @@ -15,25 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for claims +//! Autogenerated weights for `pallet_claims` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2021-02-12, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// target/release/hydra-dx +// target/release/hydradx // benchmark -// --chain=dev -// --steps=50 -// --repeat=20 -// --pallet=claims -// --extrinsic=* -// --execution=wasm +// pallet +// --pallet=pallet-claims // --wasm-execution=compiled // --heap-pages=4096 -// --output=weights.rs -// --template=.maintain/pallet-weight-template.hbs +// --chain=dev +// --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/claims.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -53,18 +57,34 @@ pub trait WeightInfo { /// Weights for claims using the hydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { + /// Storage: `Claims::Claims` (r:1 w:1) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim() -> Weight { - Weight::from_parts(248_181_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `382` + // Estimated: `3593` + // Minimum execution time: 82_736_000 picoseconds. + Weight::from_parts(83_275_000, 3593) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `Claims::Claims` (r:1 w:1) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim() -> Weight { - Weight::from_parts(248_181_000, 0) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `382` + // Estimated: `3593` + // Minimum execution time: 82_736_000 picoseconds. + Weight::from_parts(83_275_000, 3593) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } } diff --git a/pallets/currencies/src/weights.rs b/pallets/currencies/src/weights.rs index d6119781f..ede399f83 100644 --- a/pallets/currencies/src/weights.rs +++ b/pallets/currencies/src/weights.rs @@ -1,24 +1,43 @@ -//! Autogenerated weights for module_currencies +// This file is part of HydraDX. + +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// 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. + +//! Autogenerated weights for `pallet_currencies` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-04, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// /Users/xiliangchen/projects/acala/target/release/acala +// target/release/hydradx // benchmark -// --chain=dev -// --steps=50 -// --repeat=20 -// --pallet=module_currencies -// --extrinsic=* -// --execution=wasm +// pallet +// --pallet=pallet-currencies // --wasm-execution=compiled // --heap-pages=4096 -// --output=./currencies/src/weights.rs +// --chain=dev +// --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/currencies.rs // --template -// ../templates/orml-weight-template.hbs - +// .maintain/pallet-weight-template-no-back.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -39,29 +58,77 @@ pub trait WeightInfo { /// Default weights. impl WeightInfo for () { + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn transfer_non_native_currency() -> Weight { - Weight::from_parts(60_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(5 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2335` + // Estimated: `6156` + // Minimum execution time: 96_394_000 picoseconds. + Weight::from_parts(96_942_000, 6156) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { - Weight::from_parts(60_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `1668` + // Estimated: `3593` + // Minimum execution time: 92_953_000 picoseconds. + Weight::from_parts(94_336_000, 3593) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { - Weight::from_parts(29_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `2127` + // Estimated: `3593` + // Minimum execution time: 73_636_000 picoseconds. + Weight::from_parts(74_177_000, 3593) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { - Weight::from_parts(31_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1528` + // Estimated: `3593` + // Minimum execution time: 54_370_000 picoseconds. + Weight::from_parts(55_148_000, 3593) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { - Weight::from_parts(37_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `1616` + // Estimated: `3593` + // Minimum execution time: 54_487_000 picoseconds. + Weight::from_parts(55_170_000, 3593) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index aa174448a..67670dbef 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -54,10 +54,10 @@ pub type BlockNumber = u64; pub type AssetId = u32; type NamedReserveIdentifier = [u8; 8]; -pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1367451000; -pub const BUY_DCA_FEE_IN_DAI: Balance = 1203356880; -pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1369132000; -pub const SELL_DCA_FEE_IN_DAI: Balance = 1204836160; +pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1365565000; +pub const BUY_DCA_FEE_IN_DAI: Balance = 1201697200; +pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1365871000; +pub const SELL_DCA_FEE_IN_DAI: Balance = 1201966480; pub const HDX: AssetId = 0; pub const LRNA: AssetId = 1; diff --git a/pallets/dca/src/tests/on_initialize.rs b/pallets/dca/src/tests/on_initialize.rs index a98716acb..5f46eba49 100644 --- a/pallets/dca/src/tests/on_initialize.rs +++ b/pallets/dca/src/tests/on_initialize.rs @@ -864,7 +864,7 @@ fn full_buy_dca_should_be_completed_when_some_execution_is_successful_but_not_en //Assert assert_number_of_executed_buy_trades!(4); assert_eq!(0, Currencies::reserved_balance(HDX, &ALICE)); - let left_over_which_is_not_enough_for_last_trade = 9994530196000; + let left_over_which_is_not_enough_for_last_trade = 9994537740000; assert_balance!( ALICE, HDX, diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index a1162cb40..07649f1fd 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-12, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -77,10 +77,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `38787` // Estimated: `31902` - // Minimum execution time: 238_810_000 picoseconds. - Weight::from_parts(242_451_000, 31902) - .saturating_add(RocksDbWeight::get().reads(17_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) + // Minimum execution time: 234_825_000 picoseconds. + Weight::from_parts(240_565_000, 31902) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -98,10 +98,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `38787` // Estimated: `31902` - // Minimum execution time: 240_665_000 picoseconds. - Weight::from_parts(244_132_000, 31902) - .saturating_add(RocksDbWeight::get().reads(17_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) + // Minimum execution time: 236_989_000 picoseconds. + Weight::from_parts(240_871_000, 31902) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -109,8 +109,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1071` // Estimated: `3566` - // Minimum execution time: 17_536_000 picoseconds. - Weight::from_parts(17_850_000, 3566).saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 18_241_000 picoseconds. + Weight::from_parts(18_519_000, 3566).saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -132,10 +132,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3290` // Estimated: `29326` - // Minimum execution time: 141_305_000 picoseconds. - Weight::from_parts(143_415_000, 29326) - .saturating_add(RocksDbWeight::get().reads(14_u64)) - .saturating_add(RocksDbWeight::get().writes(8_u64)) + // Minimum execution time: 140_204_000 picoseconds. + Weight::from_parts(142_118_000, 29326) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `DCA::Schedules` (r:1 w:1) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) @@ -155,10 +155,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2451` // Estimated: `4714` - // Minimum execution time: 81_425_000 picoseconds. - Weight::from_parts(82_218_000, 4714) - .saturating_add(RocksDbWeight::get().reads(5_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) + // Minimum execution time: 81_882_000 picoseconds. + Weight::from_parts(82_424_000, 4714) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } } @@ -180,8 +180,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `38787` // Estimated: `31902` - // Minimum execution time: 238_810_000 picoseconds. - Weight::from_parts(242_451_000, 31902) + // Minimum execution time: 234_825_000 picoseconds. + Weight::from_parts(240_565_000, 31902) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -201,8 +201,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `38787` // Estimated: `31902` - // Minimum execution time: 240_665_000 picoseconds. - Weight::from_parts(244_132_000, 31902) + // Minimum execution time: 236_989_000 picoseconds. + Weight::from_parts(240_871_000, 31902) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -212,8 +212,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1071` // Estimated: `3566` - // Minimum execution time: 17_536_000 picoseconds. - Weight::from_parts(17_850_000, 3566).saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 18_241_000 picoseconds. + Weight::from_parts(18_519_000, 3566).saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -235,8 +235,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3290` // Estimated: `29326` - // Minimum execution time: 141_305_000 picoseconds. - Weight::from_parts(143_415_000, 29326) + // Minimum execution time: 140_204_000 picoseconds. + Weight::from_parts(142_118_000, 29326) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -258,8 +258,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2451` // Estimated: `4714` - // Minimum execution time: 81_425_000 picoseconds. - Weight::from_parts(82_218_000, 4714) + // Minimum execution time: 81_882_000 picoseconds. + Weight::from_parts(82_424_000, 4714) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } diff --git a/pallets/democracy/src/weights.rs b/pallets/democracy/src/weights.rs index 241f6c3cb..464316c00 100644 --- a/pallets/democracy/src/weights.rs +++ b/pallets/democracy/src/weights.rs @@ -1,13 +1,14 @@ -// This file is part of Substrate. +// This file is part of HydraDX. +// This file is part of HydraDX. -// Copyright (C) Parity Technologies (UK) Ltd. +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // 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 +// 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, @@ -15,32 +16,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_democracy +//! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/production/substrate +// target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_democracy -// --no-storage-info -// --no-median-slopes -// --no-min-squares -// --extrinsic=* -// --execution=wasm +// --pallet=pallet-democracy // --wasm-execution=compiled // --heap-pages=4096 -// --output=./frame/democracy/src/weights.rs -// --header=./HEADER-APACHE2 -// --template=./.maintain/frame-weight-template.hbs +// --chain=dev +// --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/democracy.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -85,450 +83,475 @@ pub trait WeightInfo { /// Weights for pallet_democracy using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4801` + // Measured: `4688` // Estimated: `18187` - // Minimum execution time: 49_339_000 picoseconds. - Weight::from_parts(50_942_000, 18187) + // Minimum execution time: 52_594_000 picoseconds. + Weight::from_parts(53_207_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3556` + // Measured: `3443` // Estimated: `6695` - // Minimum execution time: 43_291_000 picoseconds. - Weight::from_parts(44_856_000, 6695) + // Minimum execution time: 47_180_000 picoseconds. + Weight::from_parts(47_748_000, 6695) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3470` - // Estimated: `7260` - // Minimum execution time: 61_890_000 picoseconds. - Weight::from_parts(63_626_000, 7260) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `15343` + // Estimated: `268590` + // Minimum execution time: 452_520_000 picoseconds. + Weight::from_parts(456_752_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3492` - // Estimated: `7260` - // Minimum execution time: 67_802_000 picoseconds. - Weight::from_parts(69_132_000, 7260) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `15365` + // Estimated: `268590` + // Minimum execution time: 451_312_000 picoseconds. + Weight::from_parts(457_827_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `249` // Estimated: `3666` - // Minimum execution time: 25_757_000 picoseconds. - Weight::from_parts(27_226_000, 3666) + // Minimum execution time: 35_636_000 picoseconds. + Weight::from_parts(36_070_000, 3666) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `5910` + // Measured: `6191` // Estimated: `18187` - // Minimum execution time: 113_060_000 picoseconds. - Weight::from_parts(114_813_000, 18187) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + // Minimum execution time: 132_102_000 picoseconds. + Weight::from_parts(133_131_000, 18187) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3416` + // Measured: `3276` // Estimated: `6703` - // Minimum execution time: 13_413_000 picoseconds. - Weight::from_parts(13_794_000, 6703) + // Minimum execution time: 16_474_000 picoseconds. + Weight::from_parts(16_722_000, 6703) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_213_000 picoseconds. - Weight::from_parts(3_429_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_354_000 picoseconds. + Weight::from_parts(5_544_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_280_000 picoseconds. - Weight::from_parts(3_389_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_302_000 picoseconds. + Weight::from_parts(5_556_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `147` // Estimated: `3518` - // Minimum execution time: 28_142_000 picoseconds. - Weight::from_parts(28_862_000, 3518) + // Minimum execution time: 35_393_000 picoseconds. + Weight::from_parts(36_025_000, 3518) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3519` + // Measured: `3377` // Estimated: `6703` - // Minimum execution time: 32_395_000 picoseconds. - Weight::from_parts(33_617_000, 6703) + // Minimum execution time: 37_183_000 picoseconds. + Weight::from_parts(37_728_000, 6703) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5821` + // Measured: `6076` // Estimated: `18187` - // Minimum execution time: 92_255_000 picoseconds. - Weight::from_parts(93_704_000, 18187) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 107_143_000 picoseconds. + Weight::from_parts(107_867_000, 18187) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `271` + // Measured: `181` // Estimated: `3518` - // Minimum execution time: 19_623_000 picoseconds. - Weight::from_parts(20_545_000, 3518) + // Minimum execution time: 27_379_000 picoseconds. + Weight::from_parts(27_886_000, 3518) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base(r: u32, ) -> Weight { + fn on_initialize_base(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `108 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 7_032_000 picoseconds. - Weight::from_parts(7_931_421, 1489) - // Standard Error: 7_395 - .saturating_add(Weight::from_parts(3_236_964, 0).saturating_mul(r.into())) + // Minimum execution time: 6_121_000 picoseconds. + Weight::from_parts(8_592_893, 1489) + // Standard Error: 15_703 + .saturating_add(Weight::from_parts(3_531_200, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { + fn on_initialize_base_with_launch_period(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `108 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_524_000 picoseconds. - Weight::from_parts(10_369_064, 18187) - // Standard Error: 8_385 - .saturating_add(Weight::from_parts(3_242_334, 0).saturating_mul(r.into())) + // Minimum execution time: 10_482_000 picoseconds. + Weight::from_parts(12_899_855, 18187) + // Standard Error: 16_258 + .saturating_add(Weight::from_parts(3_555_121, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn delegate(r: u32, ) -> Weight { + fn delegate(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `830 + r * (108 ±0)` + // Measured: `658 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 46_106_000 picoseconds. - Weight::from_parts(48_936_654, 19800) - // Standard Error: 8_879 - .saturating_add(Weight::from_parts(4_708_141, 0).saturating_mul(r.into())) + // Minimum execution time: 52_402_000 picoseconds. + Weight::from_parts(54_800_637, 19800) + // Standard Error: 20_146 + .saturating_add(Weight::from_parts(4_621_419, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn undelegate(r: u32, ) -> Weight { + fn undelegate(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `493 + r * (108 ±0)` + // Measured: `356 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 21_078_000 picoseconds. - Weight::from_parts(22_732_737, 13530) - // Standard Error: 7_969 - .saturating_add(Weight::from_parts(4_626_458, 0).saturating_mul(r.into())) + // Minimum execution time: 25_946_000 picoseconds. + Weight::from_parts(27_003_784, 13530) + // Standard Error: 14_228 + .saturating_add(Weight::from_parts(4_553_164, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_229_000 picoseconds. - Weight::from_parts(3_415_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_588_000 picoseconds. + Weight::from_parts(5_693_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_remove(r: u32, ) -> Weight { + fn unlock_remove(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `563` + // Measured: `432` // Estimated: `7260` - // Minimum execution time: 25_735_000 picoseconds. - Weight::from_parts(41_341_468, 7260) - // Standard Error: 3_727 - .saturating_add(Weight::from_parts(94_755, 0).saturating_mul(r.into())) + // Minimum execution time: 31_199_000 picoseconds. + Weight::from_parts(38_826_891, 7260) + // Standard Error: 21_192 + .saturating_add(Weight::from_parts(155_153, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_set(r: u32, ) -> Weight { + fn unlock_set(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `564 + r * (22 ±0)` + // Measured: `432 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 36_233_000 picoseconds. - Weight::from_parts(39_836_017, 7260) - // Standard Error: 1_791 - .saturating_add(Weight::from_parts(132_158, 0).saturating_mul(r.into())) + // Minimum execution time: 46_808_000 picoseconds. + Weight::from_parts(47_316_553, 7260) + // Standard Error: 2_010 + .saturating_add(Weight::from_parts(32_507, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_vote(r: u32, ) -> Weight { + fn remove_vote(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` - // Estimated: `7260` - // Minimum execution time: 16_081_000 picoseconds. - Weight::from_parts(19_624_101, 7260) - // Standard Error: 1_639 - .saturating_add(Weight::from_parts(133_630, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `1081 + r * (129 ±0)` + // Estimated: `7260 + r * (2676 ±0)` + // Minimum execution time: 50_224_000 picoseconds. + Weight::from_parts(48_115_552, 7260) + // Standard Error: 12_377 + .saturating_add(Weight::from_parts(3_620_792, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_other_vote(r: u32, ) -> Weight { + fn remove_other_vote(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` - // Estimated: `7260` - // Minimum execution time: 15_634_000 picoseconds. - Weight::from_parts(19_573_407, 7260) - // Standard Error: 1_790 - .saturating_add(Weight::from_parts(139_707, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `1081 + r * (129 ±0)` + // Estimated: `7260 + r * (2676 ±0)` + // Minimum execution time: 50_234_000 picoseconds. + Weight::from_parts(48_913_493, 7260) + // Standard Error: 9_632 + .saturating_add(Weight::from_parts(3_610_105, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `356` + // Measured: `287` // Estimated: `3556` - // Minimum execution time: 18_344_000 picoseconds. - Weight::from_parts(18_727_000, 3556) + // Minimum execution time: 23_854_000 picoseconds. + Weight::from_parts(24_292_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `147` // Estimated: `3518` - // Minimum execution time: 16_497_000 picoseconds. - Weight::from_parts(16_892_000, 3518) + // Minimum execution time: 21_276_000 picoseconds. + Weight::from_parts(21_525_000, 3518) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4888` + // Measured: `4842` // Estimated: `18187` - // Minimum execution time: 39_517_000 picoseconds. - Weight::from_parts(40_632_000, 18187) + // Minimum execution time: 47_143_000 picoseconds. + Weight::from_parts(47_852_000, 18187) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4822` + // Measured: `4706` // Estimated: `18187` - // Minimum execution time: 37_108_000 picoseconds. - Weight::from_parts(37_599_000, 18187) + // Minimum execution time: 43_821_000 picoseconds. + Weight::from_parts(44_144_000, 18187) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `144` + // Measured: `211` // Estimated: `3556` - // Minimum execution time: 13_997_000 picoseconds. - Weight::from_parts(14_298_000, 3556) + // Minimum execution time: 20_772_000 picoseconds. + Weight::from_parts(21_133_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `302` + // Measured: `159` // Estimated: `3666` - // Minimum execution time: 18_122_000 picoseconds. - Weight::from_parts(18_655_000, 3666) + // Minimum execution time: 23_308_000 picoseconds. + Weight::from_parts(23_661_000, 3666) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -536,450 +559,475 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4801` + // Measured: `4688` // Estimated: `18187` - // Minimum execution time: 49_339_000 picoseconds. - Weight::from_parts(50_942_000, 18187) + // Minimum execution time: 52_594_000 picoseconds. + Weight::from_parts(53_207_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3556` + // Measured: `3443` // Estimated: `6695` - // Minimum execution time: 43_291_000 picoseconds. - Weight::from_parts(44_856_000, 6695) + // Minimum execution time: 47_180_000 picoseconds. + Weight::from_parts(47_748_000, 6695) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3470` - // Estimated: `7260` - // Minimum execution time: 61_890_000 picoseconds. - Weight::from_parts(63_626_000, 7260) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `15343` + // Estimated: `268590` + // Minimum execution time: 452_520_000 picoseconds. + Weight::from_parts(456_752_000, 268590) + .saturating_add(RocksDbWeight::get().reads(107_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3492` - // Estimated: `7260` - // Minimum execution time: 67_802_000 picoseconds. - Weight::from_parts(69_132_000, 7260) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `15365` + // Estimated: `268590` + // Minimum execution time: 451_312_000 picoseconds. + Weight::from_parts(457_827_000, 268590) + .saturating_add(RocksDbWeight::get().reads(107_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `249` // Estimated: `3666` - // Minimum execution time: 25_757_000 picoseconds. - Weight::from_parts(27_226_000, 3666) + // Minimum execution time: 35_636_000 picoseconds. + Weight::from_parts(36_070_000, 3666) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `5910` + // Measured: `6191` // Estimated: `18187` - // Minimum execution time: 113_060_000 picoseconds. - Weight::from_parts(114_813_000, 18187) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) - } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + // Minimum execution time: 132_102_000 picoseconds. + Weight::from_parts(133_131_000, 18187) + .saturating_add(RocksDbWeight::get().reads(9_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) + } + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3416` + // Measured: `3276` // Estimated: `6703` - // Minimum execution time: 13_413_000 picoseconds. - Weight::from_parts(13_794_000, 6703) + // Minimum execution time: 16_474_000 picoseconds. + Weight::from_parts(16_722_000, 6703) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_213_000 picoseconds. - Weight::from_parts(3_429_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 5_354_000 picoseconds. + Weight::from_parts(5_544_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_280_000 picoseconds. - Weight::from_parts(3_389_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 5_302_000 picoseconds. + Weight::from_parts(5_556_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `147` // Estimated: `3518` - // Minimum execution time: 28_142_000 picoseconds. - Weight::from_parts(28_862_000, 3518) + // Minimum execution time: 35_393_000 picoseconds. + Weight::from_parts(36_025_000, 3518) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3519` + // Measured: `3377` // Estimated: `6703` - // Minimum execution time: 32_395_000 picoseconds. - Weight::from_parts(33_617_000, 6703) + // Minimum execution time: 37_183_000 picoseconds. + Weight::from_parts(37_728_000, 6703) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5821` + // Measured: `6076` // Estimated: `18187` - // Minimum execution time: 92_255_000 picoseconds. - Weight::from_parts(93_704_000, 18187) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Minimum execution time: 107_143_000 picoseconds. + Weight::from_parts(107_867_000, 18187) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `271` + // Measured: `181` // Estimated: `3518` - // Minimum execution time: 19_623_000 picoseconds. - Weight::from_parts(20_545_000, 3518) + // Minimum execution time: 27_379_000 picoseconds. + Weight::from_parts(27_886_000, 3518) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base(r: u32, ) -> Weight { + fn on_initialize_base(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `108 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 7_032_000 picoseconds. - Weight::from_parts(7_931_421, 1489) - // Standard Error: 7_395 - .saturating_add(Weight::from_parts(3_236_964, 0).saturating_mul(r.into())) + // Minimum execution time: 6_121_000 picoseconds. + Weight::from_parts(8_592_893, 1489) + // Standard Error: 15_703 + .saturating_add(Weight::from_parts(3_531_200, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { + fn on_initialize_base_with_launch_period(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `108 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_524_000 picoseconds. - Weight::from_parts(10_369_064, 18187) - // Standard Error: 8_385 - .saturating_add(Weight::from_parts(3_242_334, 0).saturating_mul(r.into())) + // Minimum execution time: 10_482_000 picoseconds. + Weight::from_parts(12_899_855, 18187) + // Standard Error: 16_258 + .saturating_add(Weight::from_parts(3_555_121, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn delegate(r: u32, ) -> Weight { + fn delegate(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `830 + r * (108 ±0)` + // Measured: `658 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 46_106_000 picoseconds. - Weight::from_parts(48_936_654, 19800) - // Standard Error: 8_879 - .saturating_add(Weight::from_parts(4_708_141, 0).saturating_mul(r.into())) + // Minimum execution time: 52_402_000 picoseconds. + Weight::from_parts(54_800_637, 19800) + // Standard Error: 20_146 + .saturating_add(Weight::from_parts(4_621_419, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn undelegate(r: u32, ) -> Weight { + fn undelegate(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `493 + r * (108 ±0)` + // Measured: `356 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 21_078_000 picoseconds. - Weight::from_parts(22_732_737, 13530) - // Standard Error: 7_969 - .saturating_add(Weight::from_parts(4_626_458, 0).saturating_mul(r.into())) + // Minimum execution time: 25_946_000 picoseconds. + Weight::from_parts(27_003_784, 13530) + // Standard Error: 14_228 + .saturating_add(Weight::from_parts(4_553_164, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_229_000 picoseconds. - Weight::from_parts(3_415_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 5_588_000 picoseconds. + Weight::from_parts(5_693_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_remove(r: u32, ) -> Weight { + fn unlock_remove(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `563` + // Measured: `432` // Estimated: `7260` - // Minimum execution time: 25_735_000 picoseconds. - Weight::from_parts(41_341_468, 7260) - // Standard Error: 3_727 - .saturating_add(Weight::from_parts(94_755, 0).saturating_mul(r.into())) + // Minimum execution time: 31_199_000 picoseconds. + Weight::from_parts(38_826_891, 7260) + // Standard Error: 21_192 + .saturating_add(Weight::from_parts(155_153, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_set(r: u32, ) -> Weight { + fn unlock_set(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `564 + r * (22 ±0)` + // Measured: `432 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 36_233_000 picoseconds. - Weight::from_parts(39_836_017, 7260) - // Standard Error: 1_791 - .saturating_add(Weight::from_parts(132_158, 0).saturating_mul(r.into())) + // Minimum execution time: 46_808_000 picoseconds. + Weight::from_parts(47_316_553, 7260) + // Standard Error: 2_010 + .saturating_add(Weight::from_parts(32_507, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_vote(r: u32, ) -> Weight { + fn remove_vote(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` - // Estimated: `7260` - // Minimum execution time: 16_081_000 picoseconds. - Weight::from_parts(19_624_101, 7260) - // Standard Error: 1_639 - .saturating_add(Weight::from_parts(133_630, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `1081 + r * (129 ±0)` + // Estimated: `7260 + r * (2676 ±0)` + // Minimum execution time: 50_224_000 picoseconds. + Weight::from_parts(48_115_552, 7260) + // Standard Error: 12_377 + .saturating_add(Weight::from_parts(3_620_792, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_other_vote(r: u32, ) -> Weight { + fn remove_other_vote(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` - // Estimated: `7260` - // Minimum execution time: 15_634_000 picoseconds. - Weight::from_parts(19_573_407, 7260) - // Standard Error: 1_790 - .saturating_add(Weight::from_parts(139_707, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `1081 + r * (129 ±0)` + // Estimated: `7260 + r * (2676 ±0)` + // Minimum execution time: 50_234_000 picoseconds. + Weight::from_parts(48_913_493, 7260) + // Standard Error: 9_632 + .saturating_add(Weight::from_parts(3_610_105, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `356` + // Measured: `287` // Estimated: `3556` - // Minimum execution time: 18_344_000 picoseconds. - Weight::from_parts(18_727_000, 3556) + // Minimum execution time: 23_854_000 picoseconds. + Weight::from_parts(24_292_000, 3556) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `147` // Estimated: `3518` - // Minimum execution time: 16_497_000 picoseconds. - Weight::from_parts(16_892_000, 3518) + // Minimum execution time: 21_276_000 picoseconds. + Weight::from_parts(21_525_000, 3518) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4888` + // Measured: `4842` // Estimated: `18187` - // Minimum execution time: 39_517_000 picoseconds. - Weight::from_parts(40_632_000, 18187) + // Minimum execution time: 47_143_000 picoseconds. + Weight::from_parts(47_852_000, 18187) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4822` + // Measured: `4706` // Estimated: `18187` - // Minimum execution time: 37_108_000 picoseconds. - Weight::from_parts(37_599_000, 18187) + // Minimum execution time: 43_821_000 picoseconds. + Weight::from_parts(44_144_000, 18187) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `144` + // Measured: `211` // Estimated: `3556` - // Minimum execution time: 13_997_000 picoseconds. - Weight::from_parts(14_298_000, 3556) + // Minimum execution time: 20_772_000 picoseconds. + Weight::from_parts(21_133_000, 3556) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `302` + // Measured: `159` // Estimated: `3666` - // Minimum execution time: 18_122_000 picoseconds. - Weight::from_parts(18_655_000, 3666) + // Minimum execution time: 23_308_000 picoseconds. + Weight::from_parts(23_661_000, 3666) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/duster/src/weights.rs b/pallets/duster/src/weights.rs index 0904b50ef..920078063 100644 --- a/pallets/duster/src/weights.rs +++ b/pallets/duster/src/weights.rs @@ -1,13 +1,18 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2022 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// SPDX-License-Identifier: Apache-2.0 + +// This file is part of HydraDX. + +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // 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 +// 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, @@ -15,25 +20,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for duster +//! Autogenerated weights for `pallet_duster` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2021-02-12, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// target/release/hydra-dx +// target/release/hydradx // benchmark -// --chain=dev -// --steps=50 -// --repeat=20 -// --pallet=duster -// --extrinsic=* -// --execution=wasm +// pallet +// --pallet=pallet-duster // --wasm-execution=compiled // --heap-pages=4096 -// --output=weights.rs -// --template=.maintain/pallet-weight-template.hbs +// --chain=dev +// --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/duster.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -55,30 +64,94 @@ pub trait WeightInfo { /// Weights for claims using the hydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Duster::DustAccount` (r:1 w:0) + /// Proof: `Duster::DustAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Duster::RewardAccount` (r:1 w:0) + /// Proof: `Duster::RewardAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn dust_account() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `2538` + // Estimated: `6156` + // Minimum execution time: 90_102_000 picoseconds. + Weight::from_parts(90_700_000, 6156) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_nondustable_account() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `1008` + // Estimated: `0` + // Minimum execution time: 21_071_000 picoseconds. + Weight::from_parts(21_591_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `Duster::AccountBlacklist` (r:1 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn remove_nondustable_account() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `1296` + // Estimated: `3513` + // Minimum execution time: 26_630_000 picoseconds. + Weight::from_parts(27_026_000, 3513) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Duster::DustAccount` (r:1 w:0) + /// Proof: `Duster::DustAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Duster::RewardAccount` (r:1 w:0) + /// Proof: `Duster::RewardAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn dust_account() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `2538` + // Estimated: `6156` + // Minimum execution time: 90_102_000 picoseconds. + Weight::from_parts(90_700_000, 6156) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } - + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_nondustable_account() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `1008` + // Estimated: `0` + // Minimum execution time: 21_071_000 picoseconds. + Weight::from_parts(21_591_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } - + /// Storage: `Duster::AccountBlacklist` (r:1 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn remove_nondustable_account() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `1296` + // Estimated: `3513` + // Minimum execution time: 26_630_000 picoseconds. + Weight::from_parts(27_026_000, 3513) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/ema-oracle/src/weights.rs b/pallets/ema-oracle/src/weights.rs index 4702951d3..0e3fc21c0 100644 --- a/pallets/ema-oracle/src/weights.rs +++ b/pallets/ema-oracle/src/weights.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_ema_oracle +//! Autogenerated weights for `pallet_ema_oracle` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-ema-oracle // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-ema-oracle -// --output=ema-oracle.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/ema_oracle.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -58,100 +61,138 @@ pub trait WeightInfo { pub struct BasiliskWeight(PhantomData); impl WeightInfo for BasiliskWeight { - // Storage: EmaOracle Accumulator (r:1 w:0) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:0) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn on_finalize_no_entry() -> Weight { - // Minimum execution time: 3_226 nanoseconds. - Weight::from_parts(3_325_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `7406` + // Minimum execution time: 3_108_000 picoseconds. + Weight::from_parts(3_213_000, 7406).saturating_add(T::DbWeight::get().reads(1_u64)) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:117 w:117) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:117 w:117) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 44_637 nanoseconds. - Weight::from_parts(9_798_669, 0) // Standard Error: 47_796 - .saturating_add(Weight::from_parts(33_611_646, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64))) + // Proof Size summary in bytes: + // Measured: `270 + b * (626 ±0)` + // Estimated: `7406 + b * (7956 ±0)` + // Minimum execution time: 46_197_000 picoseconds. + Weight::from_parts(6_894_077, 7406) + // Standard Error: 58_512 + .saturating_add(Weight::from_parts(36_389_579, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7956).saturating_mul(b.into())) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 10_368 nanoseconds. - Weight::from_parts(10_544_600, 0) // Standard Error: 2_268 - .saturating_add(Weight::from_parts(432_909, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + b * (148 ±0)` + // Estimated: `7406` + // Minimum execution time: 9_225_000 picoseconds. + Weight::from_parts(9_309_132, 7406) + // Standard Error: 2_681 + .saturating_add(Weight::from_parts(395_788, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 10_369 nanoseconds. - Weight::from_parts(10_608_047, 0) // Standard Error: 2_062 - .saturating_add(Weight::from_parts(432_350, 0).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + b * (148 ±0)` + // Estimated: `7406` + // Minimum execution time: 9_353_000 picoseconds. + Weight::from_parts(9_378_483, 7406) + // Standard Error: 1_820 + .saturating_add(Weight::from_parts(397_535, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_entry() -> Weight { - // Minimum execution time: 17_936 nanoseconds. - Weight::from_parts(18_521_000, 0).saturating_add(T::DbWeight::get().reads(2 as u64)) + // Proof Size summary in bytes: + // Measured: `604` + // Estimated: `6294` + // Minimum execution time: 18_642_000 picoseconds. + Weight::from_parts(19_015_000, 6294).saturating_add(T::DbWeight::get().reads(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: EmaOracle Accumulator (r:1 w:0) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:0) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn on_finalize_no_entry() -> Weight { - // Minimum execution time: 3_226 nanoseconds. - Weight::from_parts(3_325_000, 0).saturating_add(RocksDbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `7406` + // Minimum execution time: 3_108_000 picoseconds. + Weight::from_parts(3_213_000, 7406).saturating_add(RocksDbWeight::get().reads(1_u64)) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:117 w:117) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:117 w:117) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 44_637 nanoseconds. - Weight::from_parts(9_798_669, 0) // Standard Error: 47_796 - .saturating_add(Weight::from_parts(33_611_646, 0).saturating_mul(b as u64)) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(b as u64))) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64))) + // Proof Size summary in bytes: + // Measured: `270 + b * (626 ±0)` + // Estimated: `7406 + b * (7956 ±0)` + // Minimum execution time: 46_197_000 picoseconds. + Weight::from_parts(6_894_077, 7406) + // Standard Error: 58_512 + .saturating_add(Weight::from_parts(36_389_579, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into()))) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7956).saturating_mul(b.into())) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 10_368 nanoseconds. - Weight::from_parts(10_544_600, 0) // Standard Error: 2_268 - .saturating_add(Weight::from_parts(432_909, 0).saturating_mul(b as u64)) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + b * (148 ±0)` + // Estimated: `7406` + // Minimum execution time: 9_225_000 picoseconds. + Weight::from_parts(9_309_132, 7406) + // Standard Error: 2_681 + .saturating_add(Weight::from_parts(395_788, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { - // Minimum execution time: 10_369 nanoseconds. - Weight::from_parts(10_608_047, 0) // Standard Error: 2_062 - .saturating_add(Weight::from_parts(432_350, 0).saturating_mul(b as u64)) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + b * (148 ±0)` + // Estimated: `7406` + // Minimum execution time: 9_353_000 picoseconds. + Weight::from_parts(9_378_483, 7406) + // Standard Error: 1_820 + .saturating_add(Weight::from_parts(397_535, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_entry() -> Weight { - // Minimum execution time: 17_936 nanoseconds. - Weight::from_parts(18_521_000, 0).saturating_add(RocksDbWeight::get().reads(2 as u64)) + // Proof Size summary in bytes: + // Measured: `604` + // Estimated: `6294` + // Minimum execution time: 18_642_000 picoseconds. + Weight::from_parts(19_015_000, 6294).saturating_add(RocksDbWeight::get().reads(2_u64)) } } diff --git a/pallets/lbp/src/weights.rs b/pallets/lbp/src/weights.rs index 4235aef92..b43c189e4 100644 --- a/pallets/lbp/src/weights.rs +++ b/pallets/lbp/src/weights.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_lbp +//! Autogenerated weights for `pallet_lbp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-lbp // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-lbp -// --output=lbp.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/lbp.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -63,296 +66,366 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:1 w:1) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:1) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 141_654 nanoseconds. - Weight::from_parts(143_331_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `992` + // Estimated: `11322` + // Minimum execution time: 144_386_000 picoseconds. + Weight::from_parts(145_196_000, 11322) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:1 w:2) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:2) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn update_pool_data() -> Weight { - // Minimum execution time: 30_269 nanoseconds. - Weight::from_parts(30_677_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `3628` + // Minimum execution time: 30_461_000 picoseconds. + Weight::from_parts(30_686_000, 3628) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 98_867 nanoseconds. - Weight::from_parts(100_102_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `1180` + // Estimated: `11322` + // Minimum execution time: 100_583_000 picoseconds. + Weight::from_parts(101_592_000, 11322) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:0) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:0 w:1) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:0) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:0 w:1) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 125_051 nanoseconds. - Weight::from_parts(126_556_000, 0) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1368` + // Estimated: `11322` + // Minimum execution time: 133_274_000 picoseconds. + Weight::from_parts(134_648_000, 11322) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 217_207 nanoseconds. - Weight::from_parts(218_401_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `1585` + // Estimated: `13905` + // Minimum execution time: 218_344_000 picoseconds. + Weight::from_parts(220_109_000, 13905) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 211_853 nanoseconds. - Weight::from_parts(213_114_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `1585` + // Estimated: `13905` + // Minimum execution time: 219_060_000 picoseconds. + Weight::from_parts(220_516_000, 13905) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 66_725 nanoseconds. - Weight::from_parts(67_159_000, 0) // Standard Error: 592_525 - .saturating_add(Weight::from_parts(2_278_417, 0).saturating_mul(c as u64)) - // Standard Error: 1_300_761 - .saturating_add(Weight::from_parts(151_794_260, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `756 + e * (829 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 65_722_000 picoseconds. + Weight::from_parts(66_193_000, 6156) + // Standard Error: 1_355_364 + .saturating_add(Weight::from_parts(3_961_882, 0).saturating_mul(c.into())) + // Standard Error: 2_927_921 + .saturating_add(Weight::from_parts(163_724_923, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 118_181 nanoseconds. - Weight::from_parts(118_740_000, 0) // Standard Error: 769_691 - .saturating_add(Weight::from_parts(3_767_843, 0).saturating_mul(c as u64)) - // Standard Error: 2_541_567 - .saturating_add(Weight::from_parts(124_213_432, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((9 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `756 + e * (829 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 116_733_000 picoseconds. + Weight::from_parts(117_433_000, 6156) + // Standard Error: 1_509_020 + .saturating_add(Weight::from_parts(5_197_432, 0).saturating_mul(c.into())) + // Standard Error: 4_928_439 + .saturating_add(Weight::from_parts(141_782_318, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:0) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_buy() -> Weight { - // Minimum execution time: 66_824 nanoseconds. - Weight::from_parts(67_440_000, 0).saturating_add(T::DbWeight::get().reads(3 as u64)) + // Proof Size summary in bytes: + // Measured: `756` + // Estimated: `6156` + // Minimum execution time: 65_795_000 picoseconds. + Weight::from_parts(66_370_000, 6156).saturating_add(T::DbWeight::get().reads(3_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:1 w:1) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:1) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 141_654 nanoseconds. - Weight::from_parts(143_331_000, 0) - .saturating_add(RocksDbWeight::get().reads(12 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `992` + // Estimated: `11322` + // Minimum execution time: 144_386_000 picoseconds. + Weight::from_parts(145_196_000, 11322) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:1 w:2) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:2) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn update_pool_data() -> Weight { - // Minimum execution time: 30_269 nanoseconds. - Weight::from_parts(30_677_000, 0) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `3628` + // Minimum execution time: 30_461_000 picoseconds. + Weight::from_parts(30_686_000, 3628) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 98_867 nanoseconds. - Weight::from_parts(100_102_000, 0) - .saturating_add(RocksDbWeight::get().reads(8 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `1180` + // Estimated: `11322` + // Minimum execution time: 100_583_000 picoseconds. + Weight::from_parts(101_592_000, 11322) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } - // Storage: LBP PoolData (r:1 w:1) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:0) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: LBP FeeCollectorWithAsset (r:0 w:1) - // Proof: LBP FeeCollectorWithAsset (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:1) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:0) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `LBP::FeeCollectorWithAsset` (r:0 w:1) + /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 125_051 nanoseconds. - Weight::from_parts(126_556_000, 0) - .saturating_add(RocksDbWeight::get().reads(10 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1368` + // Estimated: `11322` + // Minimum execution time: 133_274_000 picoseconds. + Weight::from_parts(134_648_000, 11322) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 217_207 nanoseconds. - Weight::from_parts(218_401_000, 0) - .saturating_add(RocksDbWeight::get().reads(12 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `1585` + // Estimated: `13905` + // Minimum execution time: 218_344_000 picoseconds. + Weight::from_parts(220_109_000, 13905) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 211_853 nanoseconds. - Weight::from_parts(213_114_000, 0) - .saturating_add(RocksDbWeight::get().reads(12 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `1585` + // Estimated: `13905` + // Minimum execution time: 219_060_000 picoseconds. + Weight::from_parts(220_516_000, 13905) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 66_725 nanoseconds. - Weight::from_parts(67_159_000, 0) // Standard Error: 592_525 - .saturating_add(Weight::from_parts(2_278_417, 0).saturating_mul(c as u64)) - // Standard Error: 1_300_761 - .saturating_add(Weight::from_parts(151_794_260, 0).saturating_mul(e as u64)) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().reads((9 as u64).saturating_mul(e as u64))) - .saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `756 + e * (829 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 65_722_000 picoseconds. + Weight::from_parts(66_193_000, 6156) + // Standard Error: 1_355_364 + .saturating_add(Weight::from_parts(3_961_882, 0).saturating_mul(c.into())) + // Standard Error: 2_927_921 + .saturating_add(Weight::from_parts(163_724_923, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Tokens Locks (r:1 w:1) - // Proof: Tokens Locks (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Locks` (r:1 w:1) + /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 118_181 nanoseconds. - Weight::from_parts(118_740_000, 0) // Standard Error: 769_691 - .saturating_add(Weight::from_parts(3_767_843, 0).saturating_mul(c as u64)) - // Standard Error: 2_541_567 - .saturating_add(Weight::from_parts(124_213_432, 0).saturating_mul(e as u64)) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().reads((9 as u64).saturating_mul(e as u64))) - .saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `756 + e * (829 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 116_733_000 picoseconds. + Weight::from_parts(117_433_000, 6156) + // Standard Error: 1_509_020 + .saturating_add(Weight::from_parts(5_197_432, 0).saturating_mul(c.into())) + // Standard Error: 4_928_439 + .saturating_add(Weight::from_parts(141_782_318, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:0) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_buy() -> Weight { - // Minimum execution time: 66_824 nanoseconds. - Weight::from_parts(67_440_000, 0).saturating_add(RocksDbWeight::get().reads(3 as u64)) + // Proof Size summary in bytes: + // Measured: `756` + // Estimated: `6156` + // Minimum execution time: 65_795_000 picoseconds. + Weight::from_parts(66_370_000, 6156).saturating_add(RocksDbWeight::get().reads(3_u64)) } } diff --git a/pallets/nft/src/weights.rs b/pallets/nft/src/weights.rs index 2e3e255e9..2a5413a9a 100644 --- a/pallets/nft/src/weights.rs +++ b/pallets/nft/src/weights.rs @@ -1,6 +1,6 @@ -// This file is part of galacticcouncil/warehouse. +// This file is part of Basilisk. -// Copyright (C) 2020-2022 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,25 +15,27 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_nft +//! Autogenerated weights for `pallet_nft` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-10-21, STEPS: 50, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("benchmarks"), DB CACHE: 128 +//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/basilisk +// target/release/basilisk // benchmark -// --chain=benchmarks -// --steps=50 -// --repeat=20 -// --pallet=pallet_nft -// --extrinsic=* -// --execution=wasm +// pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --output=pallets/nft/src/weights.rs // --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-nft +// --output=weights-1.1.0/nft.rs +// --extrinsic=* #![allow(unused_parens)] #![allow(unused_imports)] @@ -57,58 +59,234 @@ pub trait WeightInfo { pub struct BasiliskWeight(PhantomData); impl WeightInfo for BasiliskWeight { + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `NFT::Collections` (r:0 w:1) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) fn create_collection() -> Weight { - Weight::from_parts(26_000_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `467` + // Estimated: `4087` + // Minimum execution time: 36_037_000 picoseconds. + Weight::from_parts(36_568_000, 4087) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } + /// Storage: `NFT::Collections` (r:1 w:0) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `NFT::Items` (r:0 w:1) + /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn mint() -> Weight { - Weight::from_parts(34_000_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `903` + // Estimated: `4087` + // Minimum execution time: 57_537_000 picoseconds. + Weight::from_parts(58_178_000, 4087) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `NFT::Collections` (r:1 w:0) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn transfer() -> Weight { - Weight::from_parts(29_000_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `873` + // Estimated: `3655` + // Minimum execution time: 52_771_000 picoseconds. + Weight::from_parts(53_359_000, 3655) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `NFT::Collections` (r:1 w:1) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:0 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn destroy_collection() -> Weight { - Weight::from_parts(40_000_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `945` + // Estimated: `4087` + // Minimum execution time: 67_231_000 picoseconds. + Weight::from_parts(67_829_000, 4087) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } + /// Storage: `NFT::Collections` (r:1 w:0) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `NFT::Items` (r:0 w:1) + /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn burn() -> Weight { - Weight::from_parts(36_000_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1108` + // Estimated: `4087` + // Minimum execution time: 56_978_000 picoseconds. + Weight::from_parts(57_449_000, 4087) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `NFT::Collections` (r:0 w:1) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) fn create_collection() -> Weight { - Weight::from_parts(26_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `467` + // Estimated: `4087` + // Minimum execution time: 36_037_000 picoseconds. + Weight::from_parts(36_568_000, 4087) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } + /// Storage: `NFT::Collections` (r:1 w:0) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `NFT::Items` (r:0 w:1) + /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn mint() -> Weight { - Weight::from_parts(34_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(4 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `903` + // Estimated: `4087` + // Minimum execution time: 57_537_000 picoseconds. + Weight::from_parts(58_178_000, 4087) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `NFT::Collections` (r:1 w:0) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn transfer() -> Weight { - Weight::from_parts(29_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `873` + // Estimated: `3655` + // Minimum execution time: 52_771_000 picoseconds. + Weight::from_parts(53_359_000, 3655) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `NFT::Collections` (r:1 w:1) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:0 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn destroy_collection() -> Weight { - Weight::from_parts(40_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(4 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `945` + // Estimated: `4087` + // Minimum execution time: 67_231_000 picoseconds. + Weight::from_parts(67_829_000, 4087) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } + /// Storage: `NFT::Collections` (r:1 w:0) + /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `NFT::Items` (r:0 w:1) + /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn burn() -> Weight { - Weight::from_parts(36_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(4 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1108` + // Estimated: `4087` + // Minimum execution time: 56_978_000 picoseconds. + Weight::from_parts(57_449_000, 4087) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } } diff --git a/pallets/omnipool-liquidity-mining/src/weights.rs b/pallets/omnipool-liquidity-mining/src/weights.rs index 74ace84f6..bf997493c 100644 --- a/pallets/omnipool-liquidity-mining/src/weights.rs +++ b/pallets/omnipool-liquidity-mining/src/weights.rs @@ -1,6 +1,6 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,25 +15,30 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_omnipool_liquidity_mining +//! Autogenerated weights for `pallet_omnipool_liquidity_mining` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-07, STEPS: 1, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet -// --pallet=pallet_omnipool_liquidity_mining -// --chain=dev -// --repeat=20 -// --extrinsic=* -// --execution=wasm +// --pallet=pallet-omnipool-liquidity-mining // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --output=pallets/omnipool-liquidity-mining/src/weights.rs +// --chain=dev +// --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/omnipool_lm.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs + #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -63,118 +68,542 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { - Weight::from_parts(86_884_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `462` + // Estimated: `6196` + // Minimum execution time: 104_411_000 picoseconds. + Weight::from_parts(105_372_000, 6196) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { - Weight::from_parts(85_822_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `898` + // Estimated: `6196` + // Minimum execution time: 101_766_000 picoseconds. + Weight::from_parts(102_892_000, 6196) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { - Weight::from_parts(110_999_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2287` + // Estimated: `6294` + // Minimum execution time: 140_071_000 picoseconds. + Weight::from_parts(141_599_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { - Weight::from_parts(114_095_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2457` + // Estimated: `6294` + // Minimum execution time: 145_051_000 picoseconds. + Weight::from_parts(146_213_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { - Weight::from_parts(107_221_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2096` + // Estimated: `6294` + // Minimum execution time: 139_750_000 picoseconds. + Weight::from_parts(140_646_000, 6294) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { - Weight::from_parts(111_089_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2493` + // Estimated: `6294` + // Minimum execution time: 141_404_000 picoseconds. + Weight::from_parts(142_349_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { - Weight::from_parts(78_328_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `924` + // Estimated: `6196` + // Minimum execution time: 90_529_000 picoseconds. + Weight::from_parts(91_011_000, 6196) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `Uniques::Asset` (r:2 w:2) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::DepositSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:2 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:3) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:0 w:1) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { - Weight::from_parts(183_245_000, 0) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3989` + // Estimated: `11598` + // Minimum execution time: 240_264_000 picoseconds. + Weight::from_parts(241_286_000, 11598) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } + /// Storage: `Uniques::Asset` (r:2 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:0) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { - Weight::from_parts(152_727_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `4331` + // Estimated: `11598` + // Minimum execution time: 195_833_000 picoseconds. + Weight::from_parts(196_912_000, 11598) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - Weight::from_parts(156_835_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2896` + // Estimated: `8799` + // Minimum execution time: 195_680_000 picoseconds. + Weight::from_parts(196_827_000, 8799) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } + /// Storage: `Uniques::Asset` (r:2 w:2) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:1) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:2 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:3) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:2) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { - Weight::from_parts(236_615_000, 0) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(15 as u64)) + // Proof Size summary in bytes: + // Measured: `3857` + // Estimated: `8799` + // Minimum execution time: 294_229_000 picoseconds. + Weight::from_parts(296_004_000, 8799) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { - Weight::from_parts(86_884_000, 0) - .saturating_add(RocksDbWeight::get().reads(5 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `462` + // Estimated: `6196` + // Minimum execution time: 104_411_000 picoseconds. + Weight::from_parts(105_372_000, 6196) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { - Weight::from_parts(85_822_000, 0) - .saturating_add(RocksDbWeight::get().reads(4 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `898` + // Estimated: `6196` + // Minimum execution time: 101_766_000 picoseconds. + Weight::from_parts(102_892_000, 6196) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { - Weight::from_parts(110_999_000, 0) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2287` + // Estimated: `6294` + // Minimum execution time: 140_071_000 picoseconds. + Weight::from_parts(141_599_000, 6294) + .saturating_add(RocksDbWeight::get().reads(9_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { - Weight::from_parts(114_095_000, 0) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `2457` + // Estimated: `6294` + // Minimum execution time: 145_051_000 picoseconds. + Weight::from_parts(146_213_000, 6294) + .saturating_add(RocksDbWeight::get().reads(9_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { - Weight::from_parts(107_221_000, 0) - .saturating_add(RocksDbWeight::get().reads(6 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2096` + // Estimated: `6294` + // Minimum execution time: 139_750_000 picoseconds. + Weight::from_parts(140_646_000, 6294) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { - Weight::from_parts(111_089_000, 0) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2493` + // Estimated: `6294` + // Minimum execution time: 141_404_000 picoseconds. + Weight::from_parts(142_349_000, 6294) + .saturating_add(RocksDbWeight::get().reads(9_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } + /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) + /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { - Weight::from_parts(78_328_000, 0) - .saturating_add(RocksDbWeight::get().reads(5 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `924` + // Estimated: `6196` + // Minimum execution time: 90_529_000 picoseconds. + Weight::from_parts(91_011_000, 6196) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `Uniques::Asset` (r:2 w:2) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::DepositSequencer` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:2 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:3) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:0 w:1) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:0 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { - Weight::from_parts(183_245_000, 0) - .saturating_add(RocksDbWeight::get().reads(14 as u64)) - .saturating_add(RocksDbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3989` + // Estimated: `11598` + // Minimum execution time: 240_264_000 picoseconds. + Weight::from_parts(241_286_000, 11598) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(14_u64)) } + /// Storage: `Uniques::Asset` (r:2 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:0) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { - Weight::from_parts(152_727_000, 0) - .saturating_add(RocksDbWeight::get().reads(12 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `4331` + // Estimated: `11598` + // Minimum execution time: 195_833_000 picoseconds. + Weight::from_parts(196_912_000, 11598) + .saturating_add(RocksDbWeight::get().reads(15_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - Weight::from_parts(156_835_000, 0) - .saturating_add(RocksDbWeight::get().reads(8 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2896` + // Estimated: `8799` + // Minimum execution time: 195_680_000 picoseconds. + Weight::from_parts(196_827_000, 8799) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } + /// Storage: `Uniques::Asset` (r:2 w:2) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:1) + /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:0) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:2 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:3) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:2) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { - Weight::from_parts(236_615_000, 0) - .saturating_add(RocksDbWeight::get().reads(13 as u64)) - .saturating_add(RocksDbWeight::get().writes(15 as u64)) + // Proof Size summary in bytes: + // Measured: `3857` + // Estimated: `8799` + // Minimum execution time: 294_229_000 picoseconds. + Weight::from_parts(296_004_000, 8799) + .saturating_add(RocksDbWeight::get().reads(15_u64)) + .saturating_add(RocksDbWeight::get().writes(15_u64)) } } diff --git a/pallets/omnipool/src/weights.rs b/pallets/omnipool/src/weights.rs index baac3146d..e05c8734c 100644 --- a/pallets/omnipool/src/weights.rs +++ b/pallets/omnipool/src/weights.rs @@ -15,11 +15,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_omnipool +//! Autogenerated weights for `pallet_omnipool` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx @@ -28,12 +30,11 @@ // --chain=dev // --steps=10 // --repeat=30 -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-omnipool -// --output=omnipool.rs +// --output=weights-1.1.0/omnipool.rs // --extrinsic=* #![allow(unused_parens)] @@ -67,673 +68,818 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Omnipool Assets (r:2 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:3 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: Omnipool TvlCap (r:1 w:0) - // Proof: Omnipool TvlCap (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { - // Minimum execution time: 148_641 nanoseconds. - Weight::from_parts(150_420_000, 0) - .saturating_add(T::DbWeight::get().reads(15 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Proof Size summary in bytes: + // Measured: `3004` + // Estimated: `7406` + // Minimum execution time: 141_493_000 picoseconds. + Weight::from_parts(142_927_000, 7406) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(10)) } - // Storage: Tokens Accounts (r:4 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:2 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Omnipool TvlCap (r:1 w:0) - // Proof: Omnipool TvlCap (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 233_542 nanoseconds. - Weight::from_parts(235_489_000, 0) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3919` + // Estimated: `8739` + // Minimum execution time: 221_846_000 picoseconds. + Weight::from_parts(223_179_000, 8739) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(14)) } - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 295_371 nanoseconds. - Weight::from_parts(297_465_000, 0) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `6625` + // Estimated: `11322` + // Minimum execution time: 294_859_000 picoseconds. + Weight::from_parts(297_556_000, 11322) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(16)) } - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:1 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 258_297 nanoseconds. - Weight::from_parts(260_217_000, 0) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `6014` + // Estimated: `11322` + // Minimum execution time: 247_505_000 picoseconds. + Weight::from_parts(249_251_000, 11322) + .saturating_add(T::DbWeight::get().reads(22)) + .saturating_add(T::DbWeight::get().writes(14)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 279_260 nanoseconds. - Weight::from_parts(280_777_000, 0) - .saturating_add(T::DbWeight::get().reads(24 as u64)) - .saturating_add(T::DbWeight::get().writes(15 as u64)) + // Proof Size summary in bytes: + // Measured: `6443` + // Estimated: `11322` + // Minimum execution time: 280_133_000 picoseconds. + Weight::from_parts(281_564_000, 11322) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(15)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { - // Minimum execution time: 33_892 nanoseconds. - Weight::from_parts(34_292_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1305` + // Estimated: `3550` + // Minimum execution time: 33_253_000 picoseconds. + Weight::from_parts(33_814_000, 3550) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { - // Minimum execution time: 109_440 nanoseconds. - Weight::from_parts(110_207_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2336` + // Estimated: `6196` + // Minimum execution time: 107_190_000 picoseconds. + Weight::from_parts(108_156_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { - // Minimum execution time: 77_870 nanoseconds. - Weight::from_parts(78_533_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2876` + // Estimated: `3655` + // Minimum execution time: 76_760_000 picoseconds. + Weight::from_parts(77_553_000, 3655) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(6)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { - // Minimum execution time: 34_229 nanoseconds. - Weight::from_parts(34_689_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1305` + // Estimated: `3550` + // Minimum execution time: 33_043_000 picoseconds. + Weight::from_parts(33_547_000, 3550) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:1 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// The range of component `c` is `[0, 1]`. + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + fn withdraw_protocol_liquidity() -> Weight { + // Proof Size summary in bytes: + // Measured: `4019` + // Estimated: `8739` + // Minimum execution time: 160_860_000 picoseconds. + Weight::from_parts(161_957_000, 8739) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) + } + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + fn remove_token() -> Weight { + // Proof Size summary in bytes: + // Measured: `3110` + // Estimated: `11322` + // Minimum execution time: 160_268_000 picoseconds. + Weight::from_parts(161_240_000, 11322) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(8)) + } + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 54_153 nanoseconds. - Weight::from_parts(40_444_373, 0) // Standard Error: 79_703 - .saturating_add(Weight::from_parts(14_755_626, 0).saturating_mul(c as u64)) - // Standard Error: 79_703 - .saturating_add(Weight::from_parts(219_012_766, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().reads((16 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((14 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `1909 + e * (4105 ±0)` + // Estimated: `6156 + e * (5166 ±118_379_753_737_997_488)` + // Minimum execution time: 45_519_000 picoseconds. + Weight::from_parts(45_863_808, 6156) + // Standard Error: 75_701 + .saturating_add(Weight::from_parts(299_033, 0).saturating_mul(c.into())) + // Standard Error: 75_701 + .saturating_add(Weight::from_parts(215_300_658, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads((16_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((14_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32) -> Weight { - // Minimum execution time: 277_855 nanoseconds. - Weight::from_parts(269_412_275, 0) // Standard Error: 112_640 - .saturating_add(Weight::from_parts(12_219_983, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(24 as u64)) - .saturating_add(T::DbWeight::get().writes(15 as u64)) - } - - fn remove_token() -> Weight { - Weight::zero() - } - - fn withdraw_protocol_liquidity() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `6443` + // Estimated: `11322` + // Minimum execution time: 279_717_000 picoseconds. + Weight::from_parts(270_714_140, 11322) + // Standard Error: 109_168 + .saturating_add(Weight::from_parts(12_603_359, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(15)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: Omnipool Assets (r:2 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:3 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: Omnipool TvlCap (r:1 w:0) - // Proof: Omnipool TvlCap (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { - // Minimum execution time: 148_641 nanoseconds. - Weight::from_parts(150_420_000, 0) - .saturating_add(RocksDbWeight::get().reads(15 as u64)) - .saturating_add(RocksDbWeight::get().writes(10 as u64)) + // Proof Size summary in bytes: + // Measured: `3004` + // Estimated: `7406` + // Minimum execution time: 141_493_000 picoseconds. + Weight::from_parts(142_927_000, 7406) + .saturating_add(RocksDbWeight::get().reads(12)) + .saturating_add(RocksDbWeight::get().writes(10)) } - // Storage: Tokens Accounts (r:4 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:2 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Omnipool TvlCap (r:1 w:0) - // Proof: Omnipool TvlCap (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 233_542 nanoseconds. - Weight::from_parts(235_489_000, 0) - .saturating_add(RocksDbWeight::get().reads(23 as u64)) - .saturating_add(RocksDbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3919` + // Estimated: `8739` + // Minimum execution time: 221_846_000 picoseconds. + Weight::from_parts(223_179_000, 8739) + .saturating_add(RocksDbWeight::get().reads(20)) + .saturating_add(RocksDbWeight::get().writes(14)) } - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 295_371 nanoseconds. - Weight::from_parts(297_465_000, 0) - .saturating_add(RocksDbWeight::get().reads(23 as u64)) - .saturating_add(RocksDbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `6625` + // Estimated: `11322` + // Minimum execution time: 294_859_000 picoseconds. + Weight::from_parts(297_556_000, 11322) + .saturating_add(RocksDbWeight::get().reads(23)) + .saturating_add(RocksDbWeight::get().writes(16)) } - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:1 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 258_297 nanoseconds. - Weight::from_parts(260_217_000, 0) - .saturating_add(RocksDbWeight::get().reads(23 as u64)) - .saturating_add(RocksDbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `6014` + // Estimated: `11322` + // Minimum execution time: 247_505_000 picoseconds. + Weight::from_parts(249_251_000, 11322) + .saturating_add(RocksDbWeight::get().reads(22)) + .saturating_add(RocksDbWeight::get().writes(14)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 279_260 nanoseconds. - Weight::from_parts(280_777_000, 0) - .saturating_add(RocksDbWeight::get().reads(24 as u64)) - .saturating_add(RocksDbWeight::get().writes(15 as u64)) + // Proof Size summary in bytes: + // Measured: `6443` + // Estimated: `11322` + // Minimum execution time: 280_133_000 picoseconds. + Weight::from_parts(281_564_000, 11322) + .saturating_add(RocksDbWeight::get().reads(24)) + .saturating_add(RocksDbWeight::get().writes(15)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { - // Minimum execution time: 33_892 nanoseconds. - Weight::from_parts(34_292_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1305` + // Estimated: `3550` + // Minimum execution time: 33_253_000 picoseconds. + Weight::from_parts(33_814_000, 3550) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { - // Minimum execution time: 109_440 nanoseconds. - Weight::from_parts(110_207_000, 0) - .saturating_add(RocksDbWeight::get().reads(8 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2336` + // Estimated: `6196` + // Minimum execution time: 107_190_000 picoseconds. + Weight::from_parts(108_156_000, 6196) + .saturating_add(RocksDbWeight::get().reads(8)) + .saturating_add(RocksDbWeight::get().writes(5)) } - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { - // Minimum execution time: 77_870 nanoseconds. - Weight::from_parts(78_533_000, 0) - .saturating_add(RocksDbWeight::get().reads(4 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2876` + // Estimated: `3655` + // Minimum execution time: 76_760_000 picoseconds. + Weight::from_parts(77_553_000, 3655) + .saturating_add(RocksDbWeight::get().reads(4)) + .saturating_add(RocksDbWeight::get().writes(6)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { - // Minimum execution time: 34_229 nanoseconds. - Weight::from_parts(34_689_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1305` + // Estimated: `3550` + // Minimum execution time: 33_043_000 picoseconds. + Weight::from_parts(33_547_000, 3550) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:1 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// The range of component `c` is `[0, 1]`. + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + fn withdraw_protocol_liquidity() -> Weight { + // Proof Size summary in bytes: + // Measured: `4019` + // Estimated: `8739` + // Minimum execution time: 160_860_000 picoseconds. + Weight::from_parts(161_957_000, 8739) + .saturating_add(RocksDbWeight::get().reads(13)) + .saturating_add(RocksDbWeight::get().writes(8)) + } + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + fn remove_token() -> Weight { + // Proof Size summary in bytes: + // Measured: `3110` + // Estimated: `11322` + // Minimum execution time: 160_268_000 picoseconds. + Weight::from_parts(161_240_000, 11322) + .saturating_add(RocksDbWeight::get().reads(14)) + .saturating_add(RocksDbWeight::get().writes(8)) + } + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 54_153 nanoseconds. - Weight::from_parts(40_444_373, 0) // Standard Error: 79_703 - .saturating_add(Weight::from_parts(14_755_626, 0).saturating_mul(c as u64)) - // Standard Error: 79_703 - .saturating_add(Weight::from_parts(219_012_766, 0).saturating_mul(e as u64)) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) - .saturating_add(RocksDbWeight::get().reads((16 as u64).saturating_mul(e as u64))) - .saturating_add(RocksDbWeight::get().writes((14 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `1909 + e * (4105 ±0)` + // Estimated: `6156 + e * (5166 ±118_379_753_737_997_488)` + // Minimum execution time: 45_519_000 picoseconds. + Weight::from_parts(45_863_808, 6156) + // Standard Error: 75_701 + .saturating_add(Weight::from_parts(299_033, 0).saturating_mul(c.into())) + // Standard Error: 75_701 + .saturating_add(Weight::from_parts(215_300_658, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(6)) + .saturating_add(RocksDbWeight::get().reads((16_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((14_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32) -> Weight { - // Minimum execution time: 277_855 nanoseconds. - Weight::from_parts(269_412_275, 0) // Standard Error: 112_640 - .saturating_add(Weight::from_parts(12_219_983, 0).saturating_mul(c as u64)) - .saturating_add(RocksDbWeight::get().reads(24 as u64)) - .saturating_add(RocksDbWeight::get().writes(15 as u64)) - } - fn remove_token() -> Weight { - Weight::zero() - } - - fn withdraw_protocol_liquidity() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `6443` + // Estimated: `11322` + // Minimum execution time: 279_717_000 picoseconds. + Weight::from_parts(270_714_140, 11322) + // Standard Error: 109_168 + .saturating_add(Weight::from_parts(12_603_359, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(24)) + .saturating_add(RocksDbWeight::get().writes(15)) } } diff --git a/pallets/otc/src/weights.rs b/pallets/otc/src/weights.rs index 0007c7831..96dafe15f 100644 --- a/pallets/otc/src/weights.rs +++ b/pallets/otc/src/weights.rs @@ -1,6 +1,6 @@ -// This file is part of galacticcouncil/warehouse. +// This file is part of HydraDX. -// Copyright (C) 2020-2021 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,26 +15,30 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_otc +//! Autogenerated weights for `pallet_otc` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-17, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=5 -// --repeat=20 -// --execution=wasm +// --pallet=pallet-otc // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --pallet=pallet-otc -// --output=otc.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/otc.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs + #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -57,48 +61,152 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `OTC::NextOrderId` (r:1 w:1) + /// Proof: `OTC::NextOrderId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OTC::Orders` (r:0 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) fn place_order() -> Weight { - Weight::from_parts(69_013_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `624` + // Estimated: `6114` + // Minimum execution time: 54_176_000 picoseconds. + Weight::from_parts(54_920_000, 6114) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn partial_fill_order() -> Weight { - Weight::from_parts(125_008_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `1404` + // Estimated: `6196` + // Minimum execution time: 138_354_000 picoseconds. + Weight::from_parts(140_113_000, 6196) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn fill_order() -> Weight { - Weight::from_parts(120_345_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `1399` + // Estimated: `6196` + // Minimum execution time: 136_927_000 picoseconds. + Weight::from_parts(137_782_000, 6196) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { - Weight::from_parts(55_731_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `525` + // Estimated: `4714` + // Minimum execution time: 44_402_000 picoseconds. + Weight::from_parts(44_773_000, 4714) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `OTC::NextOrderId` (r:1 w:1) + /// Proof: `OTC::NextOrderId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OTC::Orders` (r:0 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) fn place_order() -> Weight { - Weight::from_parts(69_013_000, 0) - .saturating_add(RocksDbWeight::get().reads(5 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `624` + // Estimated: `6114` + // Minimum execution time: 54_176_000 picoseconds. + Weight::from_parts(54_920_000, 6114) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn partial_fill_order() -> Weight { - Weight::from_parts(125_008_000, 0) - .saturating_add(RocksDbWeight::get().reads(8 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `1404` + // Estimated: `6196` + // Minimum execution time: 138_354_000 picoseconds. + Weight::from_parts(140_113_000, 6196) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn fill_order() -> Weight { - Weight::from_parts(120_345_000, 0) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `1399` + // Estimated: `6196` + // Minimum execution time: 136_927_000 picoseconds. + Weight::from_parts(137_782_000, 6196) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } + /// Storage: `OTC::Orders` (r:1 w:1) + /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { - Weight::from_parts(55_731_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `525` + // Estimated: `4714` + // Minimum execution time: 44_402_000 picoseconds. + Weight::from_parts(44_773_000, 4714) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } } diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index 77bdc2914..42ed0f1c4 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_route_executor +//! Autogenerated weights for `pallet_route_executor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-24, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=5 -// --repeat=20 -// --execution=wasm +// --pallet=pallet-route-executor // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --pallet=pallet-route-executor -// --output=route-executorp.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/route_executor.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -72,10 +75,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` - // Minimum execution time: 319_428_000 picoseconds. - Weight::from_parts(322_791_455, 13905) - // Standard Error: 166_077 - .saturating_add(Weight::from_parts(49_583_606, 0).saturating_mul(c.into())) + // Minimum execution time: 316_311_000 picoseconds. + Weight::from_parts(318_353_450, 13905) + // Standard Error: 164_994 + .saturating_add(Weight::from_parts(50_546_750, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -94,13 +97,13 @@ impl WeightInfo for HydraWeight { fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` - // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` - // Minimum execution time: 74_844_000 picoseconds. - Weight::from_parts(75_590_000, 6156) - // Standard Error: 629_589 - .saturating_add(Weight::from_parts(2_457_356, 0).saturating_mul(c.into())) - // Standard Error: 1_382_129 - .saturating_add(Weight::from_parts(249_588_283, 0).saturating_mul(b.into())) + // Estimated: `6156 + b * (7749 ±0)` + // Minimum execution time: 75_646_000 picoseconds. + Weight::from_parts(76_052_000, 6156) + // Standard Error: 1_389_058 + .saturating_add(Weight::from_parts(4_096_946, 0).saturating_mul(c.into())) + // Standard Error: 3_000_708 + .saturating_add(Weight::from_parts(250_139_938, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) @@ -128,8 +131,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4201` // Estimated: `24237` - // Minimum execution time: 1_151_470_000 picoseconds. - Weight::from_parts(1_157_296_000, 24237) + // Minimum execution time: 1_126_027_000 picoseconds. + Weight::from_parts(1_133_155_000, 24237) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -152,10 +155,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3016` // Estimated: `13905` - // Minimum execution time: 319_428_000 picoseconds. - Weight::from_parts(322_791_455, 13905) - // Standard Error: 166_077 - .saturating_add(Weight::from_parts(49_583_606, 0).saturating_mul(c.into())) + // Minimum execution time: 316_311_000 picoseconds. + Weight::from_parts(318_353_450, 13905) + // Standard Error: 164_994 + .saturating_add(Weight::from_parts(50_546_750, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -174,13 +177,13 @@ impl WeightInfo for () { fn calculate_and_execute_buy_in_lbp(c: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1567 + b * (1418 ±0)` - // Estimated: `6156 + b * (7749 ±34_606_984_459_695_172)` - // Minimum execution time: 74_844_000 picoseconds. - Weight::from_parts(75_590_000, 6156) - // Standard Error: 629_589 - .saturating_add(Weight::from_parts(2_457_356, 0).saturating_mul(c.into())) - // Standard Error: 1_382_129 - .saturating_add(Weight::from_parts(249_588_283, 0).saturating_mul(b.into())) + // Estimated: `6156 + b * (7749 ±0)` + // Minimum execution time: 75_646_000 picoseconds. + Weight::from_parts(76_052_000, 6156) + // Standard Error: 1_389_058 + .saturating_add(Weight::from_parts(4_096_946, 0).saturating_mul(c.into())) + // Standard Error: 3_000_708 + .saturating_add(Weight::from_parts(250_139_938, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((9_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(b.into()))) @@ -208,8 +211,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4201` // Estimated: `24237` - // Minimum execution time: 1_151_470_000 picoseconds. - Weight::from_parts(1_157_296_000, 24237) + // Minimum execution time: 1_126_027_000 picoseconds. + Weight::from_parts(1_133_155_000, 24237) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/stableswap/src/weights.rs b/pallets/stableswap/src/weights.rs index 1c47a54fd..ed47df426 100644 --- a/pallets/stableswap/src/weights.rs +++ b/pallets/stableswap/src/weights.rs @@ -1,4 +1,5 @@ // This file is part of HydraDX. +// This file is part of HydraDX. // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 @@ -15,11 +16,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_stableswap +//! Autogenerated weights for `pallet_stableswap` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx @@ -28,12 +31,11 @@ // --chain=dev // --steps=10 // --repeat=30 -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-stableswap -// --output=stableswap.rs +// --output=weights-1.1.0/stableswap.rs // --extrinsic=* #![allow(unused_parens)] @@ -66,520 +68,596 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:6 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 50_068 nanoseconds. - Weight::from_parts(50_557_000, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `717` + // Estimated: `16362` + // Minimum execution time: 52_498_000 picoseconds. + Weight::from_parts(52_992_000, 16362) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:5 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:11 w:11) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:6 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:5 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:11 w:11) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 1_140_516 nanoseconds. - Weight::from_parts(1_143_845_000, 0) - .saturating_add(T::DbWeight::get().reads(33 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3168` + // Estimated: `29403` + // Minimum execution time: 1_087_109_000 picoseconds. + Weight::from_parts(1_090_256_000, 29403) + .saturating_add(T::DbWeight::get().reads(33)) + .saturating_add(T::DbWeight::get().writes(14)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity_shares() -> Weight { - // Minimum execution time: 783_827 nanoseconds. - Weight::from_parts(787_422_000, 0) - .saturating_add(T::DbWeight::get().reads(20 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3014` + // Estimated: `19071` + // Minimum execution time: 739_668_000 picoseconds. + Weight::from_parts(743_517_000, 19071) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(6)) } - // Storage: Stableswap AssetTradability (r:1 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:1 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_liquidity_one_asset() -> Weight { - // Minimum execution time: 817_053 nanoseconds. - Weight::from_parts(821_506_000, 0) - .saturating_add(T::DbWeight::get().reads(21 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `3017` + // Estimated: `19071` + // Minimum execution time: 777_557_000 picoseconds. + Weight::from_parts(781_094_000, 19071) + .saturating_add(T::DbWeight::get().reads(21)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: Stableswap AssetTradability (r:1 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:1 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_asset_amount() -> Weight { - // Minimum execution time: 1_124_456 nanoseconds. - Weight::from_parts(1_133_226_000, 0) - .saturating_add(T::DbWeight::get().reads(22 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3017` + // Estimated: `19071` + // Minimum execution time: 1_041_027_000 picoseconds. + Weight::from_parts(1_050_193_000, 19071) + .saturating_add(T::DbWeight::get().reads(22)) + .saturating_add(T::DbWeight::get().writes(6)) } - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 768_776 nanoseconds. - Weight::from_parts(772_108_000, 0) - .saturating_add(T::DbWeight::get().reads(22 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `3043` + // Estimated: `19071` + // Minimum execution time: 730_301_000 picoseconds. + Weight::from_parts(735_887_000, 19071) + .saturating_add(T::DbWeight::get().reads(22)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 747_434 nanoseconds. - Weight::from_parts(751_463_000, 0) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3013` + // Estimated: `19071` + // Minimum execution time: 710_874_000 picoseconds. + Weight::from_parts(714_006_000, 19071) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(6)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:1 w:1) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:1 w:1) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { - // Minimum execution time: 24_470 nanoseconds. - Weight::from_parts(24_889_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 25_547_000 picoseconds. + Weight::from_parts(25_951_000, 3522) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn update_pool_fee() -> Weight { - // Minimum execution time: 22_217 nanoseconds. - Weight::from_parts(22_890_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 23_026_000 picoseconds. + Weight::from_parts(23_457_000, 3522) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn update_amplification() -> Weight { - // Minimum execution time: 24_168 nanoseconds. - Weight::from_parts(24_902_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 24_839_000 picoseconds. + Weight::from_parts(25_332_000, 3522) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// The range of component `c` is `[0, 1]`. + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 333_504 nanoseconds. - Weight::from_parts(30_352_727, 0) // Standard Error: 262_827 - .saturating_add(Weight::from_parts(304_810_632, 0).saturating_mul(c as u64)) - // Standard Error: 262_827 - .saturating_add(Weight::from_parts(742_434_706, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().reads((11 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + fn router_execution_sell(_c: u32, e: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `1276 + e * (1767 ±0)` + // Estimated: `13905 + e * (5797 ±124_823_812_913_251_024)` + // Minimum execution time: 305_934_000 picoseconds. + Weight::from_parts(312_030_194, 13905) + // Standard Error: 324_777 + .saturating_add(Weight::from_parts(704_923_524, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 333_253 nanoseconds. - Weight::from_parts(334_206_000, 0) // Standard Error: 3_608_102 - .saturating_add(Weight::from_parts(13_465_646, 0).saturating_mul(c as u64)) - // Standard Error: 7_920_813 - .saturating_add(Weight::from_parts(456_375_218, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().reads((12 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `1275 + e * (1738 ±0)` + // Estimated: `13905 + e * (5797 ±201_913_854_157_949_888)` + // Minimum execution time: 304_954_000 picoseconds. + Weight::from_parts(306_226_000, 13905) + // Standard Error: 3_224_854 + .saturating_add(Weight::from_parts(12_176_535, 0).saturating_mul(c.into())) + // Standard Error: 7_079_475 + .saturating_add(Weight::from_parts(445_329_428, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:6 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 50_068 nanoseconds. - Weight::from_parts(50_557_000, 0) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `717` + // Estimated: `16362` + // Minimum execution time: 52_498_000 picoseconds. + Weight::from_parts(52_992_000, 16362) + .saturating_add(RocksDbWeight::get().reads(7)) + .saturating_add(RocksDbWeight::get().writes(2)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:5 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:11 w:11) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:6 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:5 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:11 w:11) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 1_140_516 nanoseconds. - Weight::from_parts(1_143_845_000, 0) - .saturating_add(RocksDbWeight::get().reads(33 as u64)) - .saturating_add(RocksDbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3168` + // Estimated: `29403` + // Minimum execution time: 1_087_109_000 picoseconds. + Weight::from_parts(1_090_256_000, 29403) + .saturating_add(RocksDbWeight::get().reads(33)) + .saturating_add(RocksDbWeight::get().writes(14)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity_shares() -> Weight { - // Minimum execution time: 783_827 nanoseconds. - Weight::from_parts(787_422_000, 0) - .saturating_add(RocksDbWeight::get().reads(20 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3014` + // Estimated: `19071` + // Minimum execution time: 739_668_000 picoseconds. + Weight::from_parts(743_517_000, 19071) + .saturating_add(RocksDbWeight::get().reads(20)) + .saturating_add(RocksDbWeight::get().writes(6)) } - // Storage: Stableswap AssetTradability (r:1 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:1 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_liquidity_one_asset() -> Weight { - // Minimum execution time: 817_053 nanoseconds. - Weight::from_parts(821_506_000, 0) - .saturating_add(RocksDbWeight::get().reads(21 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `3017` + // Estimated: `19071` + // Minimum execution time: 777_557_000 picoseconds. + Weight::from_parts(781_094_000, 19071) + .saturating_add(RocksDbWeight::get().reads(21)) + .saturating_add(RocksDbWeight::get().writes(7)) } - // Storage: Stableswap AssetTradability (r:1 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:1 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_asset_amount() -> Weight { - // Minimum execution time: 1_124_456 nanoseconds. - Weight::from_parts(1_133_226_000, 0) - .saturating_add(RocksDbWeight::get().reads(22 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3017` + // Estimated: `19071` + // Minimum execution time: 1_041_027_000 picoseconds. + Weight::from_parts(1_050_193_000, 19071) + .saturating_add(RocksDbWeight::get().reads(22)) + .saturating_add(RocksDbWeight::get().writes(6)) } - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 768_776 nanoseconds. - Weight::from_parts(772_108_000, 0) - .saturating_add(RocksDbWeight::get().reads(22 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `3043` + // Estimated: `19071` + // Minimum execution time: 730_301_000 picoseconds. + Weight::from_parts(735_887_000, 19071) + .saturating_add(RocksDbWeight::get().reads(22)) + .saturating_add(RocksDbWeight::get().writes(7)) } - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 747_434 nanoseconds. - Weight::from_parts(751_463_000, 0) - .saturating_add(RocksDbWeight::get().reads(23 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `3013` + // Estimated: `19071` + // Minimum execution time: 710_874_000 picoseconds. + Weight::from_parts(714_006_000, 19071) + .saturating_add(RocksDbWeight::get().reads(23)) + .saturating_add(RocksDbWeight::get().writes(6)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:1 w:1) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:1 w:1) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { - // Minimum execution time: 24_470 nanoseconds. - Weight::from_parts(24_889_000, 0) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 25_547_000 picoseconds. + Weight::from_parts(25_951_000, 3522) + .saturating_add(RocksDbWeight::get().reads(2)) + .saturating_add(RocksDbWeight::get().writes(1)) } - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn update_pool_fee() -> Weight { - // Minimum execution time: 22_217 nanoseconds. - Weight::from_parts(22_890_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 23_026_000 picoseconds. + Weight::from_parts(23_457_000, 3522) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } - // Storage: Stableswap Pools (r:1 w:1) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:1) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn update_amplification() -> Weight { - // Minimum execution time: 24_168 nanoseconds. - Weight::from_parts(24_902_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `291` + // Estimated: `3522` + // Minimum execution time: 24_839_000 picoseconds. + Weight::from_parts(25_332_000, 3522) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// The range of component `c` is `[0, 1]`. + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 333_504 nanoseconds. - Weight::from_parts(30_352_727, 0) // Standard Error: 262_827 - .saturating_add(Weight::from_parts(304_810_632, 0).saturating_mul(c as u64)) - // Standard Error: 262_827 - .saturating_add(Weight::from_parts(742_434_706, 0).saturating_mul(e as u64)) - .saturating_add(RocksDbWeight::get().reads(11 as u64)) - .saturating_add(RocksDbWeight::get().reads((11 as u64).saturating_mul(e as u64))) - .saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(e as u64))) + fn router_execution_sell(_c: u32, e: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `1276 + e * (1767 ±0)` + // Estimated: `13905 + e * (5797 ±124_823_812_913_251_024)` + // Minimum execution time: 305_934_000 picoseconds. + Weight::from_parts(312_030_194, 13905) + // Standard Error: 324_777 + .saturating_add(Weight::from_parts(704_923_524, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(11)) + .saturating_add(RocksDbWeight::get().reads((11_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) } - // Storage: Stableswap Pools (r:1 w:0) - // Proof: Stableswap Pools (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:7 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetMetadataMap (r:5 w:0) - // Proof: AssetRegistry AssetMetadataMap (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - // Storage: Stableswap AssetTradability (r:2 w:0) - // Proof: Stableswap AssetTradability (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:0) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) + /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:2 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:0) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 333_253 nanoseconds. - Weight::from_parts(334_206_000, 0) // Standard Error: 3_608_102 - .saturating_add(Weight::from_parts(13_465_646, 0).saturating_mul(c as u64)) - // Standard Error: 7_920_813 - .saturating_add(Weight::from_parts(456_375_218, 0).saturating_mul(e as u64)) - .saturating_add(RocksDbWeight::get().reads(11 as u64)) - .saturating_add(RocksDbWeight::get().reads((12 as u64).saturating_mul(e as u64))) - .saturating_add(RocksDbWeight::get().writes((6 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `1275 + e * (1738 ±0)` + // Estimated: `13905 + e * (5797 ±201_913_854_157_949_888)` + // Minimum execution time: 304_954_000 picoseconds. + Weight::from_parts(306_226_000, 13905) + // Standard Error: 3_224_854 + .saturating_add(Weight::from_parts(12_176_535, 0).saturating_mul(c.into())) + // Standard Error: 7_079_475 + .saturating_add(Weight::from_parts(445_329_428, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(11)) + .saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((6_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) } } diff --git a/pallets/staking/src/weights.rs b/pallets/staking/src/weights.rs index de15341df..42d55e902 100644 --- a/pallets/staking/src/weights.rs +++ b/pallets/staking/src/weights.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_staking +//! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-18, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-staking // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_staking -// --output=staking.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/staking.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -59,216 +62,262 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques ClassAccount (r:0 w:1) - // Proof: Uniques ClassAccount (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn initialize_staking() -> Weight { - // Minimum execution time: 45_493 nanoseconds. - Weight::from_parts(46_285_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `513` + // Estimated: `3655` + // Minimum execution time: 46_433_000 picoseconds. + Weight::from_parts(47_121_000, 3655) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Account (r:1 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Staking NextPositionId (r:1 w:1) - // Proof: Staking NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Staking Positions (r:0 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:1 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Staking::NextPositionId` (r:1 w:1) + /// Proof: `Staking::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:0 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn stake() -> Weight { - // Minimum execution time: 93_365 nanoseconds. - Weight::from_parts(94_660_000, 0) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1240` + // Estimated: `6196` + // Minimum execution time: 113_477_000 picoseconds. + Weight::from_parts(114_557_000, 6196) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:0) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn increase_stake() -> Weight { - // Minimum execution time: 206_722 nanoseconds. - Weight::from_parts(209_665_000, 0) - .saturating_add(T::DbWeight::get().reads(107 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `3379` + // Estimated: `268590` + // Minimum execution time: 297_204_000 picoseconds. + Weight::from_parts(300_714_000, 268590) + .saturating_add(T::DbWeight::get().reads(108_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:0) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn claim() -> Weight { - // Minimum execution time: 225_912 nanoseconds. - Weight::from_parts(227_912_000, 0) - .saturating_add(T::DbWeight::get().reads(107 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `3379` + // Estimated: `268590` + // Minimum execution time: 291_136_000 picoseconds. + Weight::from_parts(294_313_000, 268590) + .saturating_add(T::DbWeight::get().reads(108_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:0) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { - // Minimum execution time: 246_989 nanoseconds. - Weight::from_parts(249_570_000, 0) - .saturating_add(T::DbWeight::get().reads(108 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Proof Size summary in bytes: + // Measured: `3598` + // Estimated: `268590` + // Minimum execution time: 330_733_000 picoseconds. + Weight::from_parts(334_301_000, 268590) + .saturating_add(T::DbWeight::get().reads(109_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques ClassAccount (r:0 w:1) - // Proof: Uniques ClassAccount (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn initialize_staking() -> Weight { - // Minimum execution time: 45_493 nanoseconds. - Weight::from_parts(46_285_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `513` + // Estimated: `3655` + // Minimum execution time: 46_433_000 picoseconds. + Weight::from_parts(47_121_000, 3655) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Account (r:1 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Staking NextPositionId (r:1 w:1) - // Proof: Staking NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Staking Positions (r:0 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:1 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Staking::NextPositionId` (r:1 w:1) + /// Proof: `Staking::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:0 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn stake() -> Weight { - // Minimum execution time: 93_365 nanoseconds. - Weight::from_parts(94_660_000, 0) - .saturating_add(RocksDbWeight::get().reads(9 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1240` + // Estimated: `6196` + // Minimum execution time: 113_477_000 picoseconds. + Weight::from_parts(114_557_000, 6196) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:0) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn increase_stake() -> Weight { - // Minimum execution time: 206_722 nanoseconds. - Weight::from_parts(209_665_000, 0) - .saturating_add(RocksDbWeight::get().reads(107 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `3379` + // Estimated: `268590` + // Minimum execution time: 297_204_000 picoseconds. + Weight::from_parts(300_714_000, 268590) + .saturating_add(RocksDbWeight::get().reads(108_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:0) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:0) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn claim() -> Weight { - // Minimum execution time: 225_912 nanoseconds. - Weight::from_parts(227_912_000, 0) - .saturating_add(RocksDbWeight::get().reads(107 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `3379` + // Estimated: `268590` + // Minimum execution time: 291_136_000 picoseconds. + Weight::from_parts(294_313_000, 268590) + .saturating_add(RocksDbWeight::get().reads(108_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } - // Storage: Staking Staking (r:1 w:1) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Staking Positions (r:1 w:1) - // Proof: Staking Positions (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Staking PositionVotes (r:1 w:0) - // Proof: Staking PositionVotes (max_values: None, max_size: Some(2134), added: 4609, mode: MaxEncodedLen) - // Storage: Democracy ReferendumInfoOf (r:100 w:0) - // Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Staking::Staking` (r:1 w:1) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { - // Minimum execution time: 246_989 nanoseconds. - Weight::from_parts(249_570_000, 0) - .saturating_add(RocksDbWeight::get().reads(108 as u64)) - .saturating_add(RocksDbWeight::get().writes(9 as u64)) + // Proof Size summary in bytes: + // Measured: `3598` + // Estimated: `268590` + // Minimum execution time: 330_733_000 picoseconds. + Weight::from_parts(334_301_000, 268590) + .saturating_add(RocksDbWeight::get().reads(109_u64)) + .saturating_add(RocksDbWeight::get().writes(10_u64)) } } diff --git a/pallets/transaction-multi-payment/src/weights.rs b/pallets/transaction-multi-payment/src/weights.rs index b3fcab7eb..644aacec1 100644 --- a/pallets/transaction-multi-payment/src/weights.rs +++ b/pallets/transaction-multi-payment/src/weights.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_transaction_multi_payment +//! Autogenerated weights for `pallet_transaction_multi_payment` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-21, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=5 -// --repeat=20 -// --execution=wasm +// --pallet=pallet-transaction-multi-payment // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --pallet=pallet_transaction_multi_payment -// --output=paymentp.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/payment.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -58,76 +61,100 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:1) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { - // Minimum execution time: 26_295 nanoseconds. - Weight::from_parts(26_689_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1172` + // Estimated: `3493` + // Minimum execution time: 25_067_000 picoseconds. + Weight::from_parts(25_530_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:1) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { - // Minimum execution time: 26_763 nanoseconds. - Weight::from_parts(27_349_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1203` + // Estimated: `3493` + // Minimum execution time: 25_321_000 picoseconds. + Weight::from_parts(25_617_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { - // Minimum execution time: 32_888 nanoseconds. - Weight::from_parts(33_226_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1237` + // Estimated: `3493` + // Minimum execution time: 30_547_000 picoseconds. + Weight::from_parts(30_957_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Router Routes (r:1 w:0) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:10 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:10 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { - // Minimum execution time: 88_418 nanoseconds. - Weight::from_parts(89_129_000, 0).saturating_add(T::DbWeight::get().reads(11 as u64)) + // Proof Size summary in bytes: + // Measured: `3217` + // Estimated: `27510` + // Minimum execution time: 93_673_000 picoseconds. + Weight::from_parts(94_241_000, 27510).saturating_add(T::DbWeight::get().reads(11_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:1) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { - // Minimum execution time: 26_295 nanoseconds. - Weight::from_parts(26_689_000, 0) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1172` + // Estimated: `3493` + // Minimum execution time: 25_067_000 picoseconds. + Weight::from_parts(25_530_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:1) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { - // Minimum execution time: 26_763 nanoseconds. - Weight::from_parts(27_349_000, 0) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1203` + // Estimated: `3493` + // Minimum execution time: 25_321_000 picoseconds. + Weight::from_parts(25_617_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { - // Minimum execution time: 32_888 nanoseconds. - Weight::from_parts(33_226_000, 0) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1237` + // Estimated: `3493` + // Minimum execution time: 30_547_000 picoseconds. + Weight::from_parts(30_957_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: Router Routes (r:1 w:0) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:10 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:10 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { - // Minimum execution time: 88_418 nanoseconds. - Weight::from_parts(89_129_000, 0).saturating_add(RocksDbWeight::get().reads(11)) + // Proof Size summary in bytes: + // Measured: `3217` + // Estimated: `27510` + // Minimum execution time: 93_673_000 picoseconds. + Weight::from_parts(94_241_000, 27510).saturating_add(RocksDbWeight::get().reads(11_u64)) } } diff --git a/pallets/transaction-pause/src/weights.rs b/pallets/transaction-pause/src/weights.rs index 944f0ec2b..0a42477df 100644 --- a/pallets/transaction-pause/src/weights.rs +++ b/pallets/transaction-pause/src/weights.rs @@ -1,40 +1,43 @@ -// Originally created by Acala. Modified by GalacticCouncil. +// This file is part of HydraDX. -// Copyright (C) 2020-2022 Acala Foundation, GalacticCouncil. -// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// SPDX-License-Identifier: Apache-2.0 -// This program 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. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. -// This program 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 this program. If not, see . - -//! Autogenerated weights for module_transaction_pause +//! Autogenerated weights for `pallet_transaction_pause` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-08-16, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// target/release/acala +// target/release/hydradx // benchmark -// --chain=dev -// --steps=50 -// --repeat=20 -// --pallet=module_transaction_pause -// --extrinsic=* -// --execution=wasm +// pallet +// --pallet=pallet-transaction-pause // --wasm-execution=compiled // --heap-pages=4096 -// --output=./modules/transaction-pause/src/weights.rs -// --template=./templates/module-weight-template.hbs +// --chain=dev +// --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/transaction_pause.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -54,28 +57,52 @@ pub trait WeightInfo { /// Weights for module_transaction_pause using the Acala node and recommended hardware. pub struct AcalaWeight(PhantomData); impl WeightInfo for AcalaWeight { + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn pause_transaction() -> Weight { - Weight::from_parts(25_798_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3555` + // Minimum execution time: 15_060_000 picoseconds. + Weight::from_parts(15_317_000, 3555) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn unpause_transaction() -> Weight { - Weight::from_parts(25_355_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `160` + // Estimated: `3555` + // Minimum execution time: 17_304_000 picoseconds. + Weight::from_parts(17_780_000, 3555) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn pause_transaction() -> Weight { - Weight::from_parts (25_798_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3555` + // Minimum execution time: 15_060_000 picoseconds. + Weight::from_parts(15_317_000, 3555) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn unpause_transaction() -> Weight { - Weight::from_parts (25_355_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `160` + // Estimated: `3555` + // Minimum execution time: 17_304_000 picoseconds. + Weight::from_parts(17_780_000, 3555) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/xyk/src/weights.rs b/pallets/xyk/src/weights.rs index 1eb9c21a1..e1cae9ea6 100644 --- a/pallets/xyk/src/weights.rs +++ b/pallets/xyk/src/weights.rs @@ -15,26 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_xyk +//! Autogenerated weights for `pallet_xyk` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-06, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 -// --execution=wasm +// --pallet=pallet-xyk // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-xyk -// --output=xyk.rs +// --chain=dev // --extrinsic=* +// --steps=5 +// --repeat=20 +// --output +// ./weights-1.1.0/xyk.rs +// --template +// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -61,308 +64,358 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: XYK ShareToken (r:1 w:1) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:1 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:2 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:0 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: XYK PoolAssets (r:0 w:1) - // Proof: XYK PoolAssets (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:1 w:1) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:0 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `XYK::PoolAssets` (r:0 w:1) + /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 190_185 nanoseconds. - Weight::from_parts(192_567_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `1140` + // Estimated: `13905` + // Minimum execution time: 202_507_000 picoseconds. + Weight::from_parts(203_717_000, 13905) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(16_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:1 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:1 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 164_323 nanoseconds. - Weight::from_parts(165_841_000, 0) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Proof Size summary in bytes: + // Measured: `1803` + // Estimated: `13905` + // Minimum execution time: 176_176_000 picoseconds. + Weight::from_parts(177_422_000, 13905) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:1 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:1 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 155_404 nanoseconds. - Weight::from_parts(156_560_000, 0) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1749` + // Estimated: `13905` + // Minimum execution time: 168_176_000 picoseconds. + Weight::from_parts(169_296_000, 13905) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 119_610 nanoseconds. - Weight::from_parts(120_418_000, 0) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1492` + // Estimated: `11322` + // Minimum execution time: 127_203_000 picoseconds. + Weight::from_parts(127_918_000, 11322) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 119_865 nanoseconds. - Weight::from_parts(120_541_000, 0) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1492` + // Estimated: `11322` + // Minimum execution time: 126_846_000 picoseconds. + Weight::from_parts(127_737_000, 11322) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 20_906 nanoseconds. - Weight::from_parts(8_365_948, 0) // Standard Error: 43_229 - .saturating_add(Weight::from_parts(6_554_981, 0).saturating_mul(c as u64)) - // Standard Error: 43_229 - .saturating_add(Weight::from_parts(105_218_621, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `583 + e * (909 ±0)` + // Estimated: `6156 + e * (5166 ±0)` + // Minimum execution time: 22_072_000 picoseconds. + Weight::from_parts(5_201_125, 6156) + // Standard Error: 56_711 + .saturating_add(Weight::from_parts(8_630_075, 0).saturating_mul(c.into())) + // Standard Error: 56_711 + .saturating_add(Weight::from_parts(113_479_825, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 27_261 nanoseconds. - Weight::from_parts(7_044_054, 0) // Standard Error: 46_197 - .saturating_add(Weight::from_parts(7_022_106, 0).saturating_mul(c as u64)) - // Standard Error: 78_379 - .saturating_add(Weight::from_parts(105_927_586, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `583 + e * (909 ±0)` + // Estimated: `6156 + e * (5166 ±0)` + // Minimum execution time: 30_065_000 picoseconds. + Weight::from_parts(6_816_200, 6156) + // Standard Error: 42_652 + .saturating_add(Weight::from_parts(7_927_825, 0).saturating_mul(c.into())) + // Standard Error: 69_651 + .saturating_add(Weight::from_parts(112_378_650, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: LBP PoolData (r:1 w:0) - // Proof: LBP PoolData (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) - // Storage: XYK ShareToken (r:1 w:1) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:1 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:2 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Duster AccountBlacklist (r:0 w:1) - // Proof: Duster AccountBlacklist (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:0 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: XYK PoolAssets (r:0 w:1) - // Proof: XYK PoolAssets (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `LBP::PoolData` (r:1 w:0) + /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:1 w:1) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:0 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:0 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `XYK::PoolAssets` (r:0 w:1) + /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn create_pool() -> Weight { - // Minimum execution time: 190_185 nanoseconds. - Weight::from_parts(192_567_000, 0) - .saturating_add(RocksDbWeight::get().reads(17 as u64)) - .saturating_add(RocksDbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `1140` + // Estimated: `13905` + // Minimum execution time: 202_507_000 picoseconds. + Weight::from_parts(203_717_000, 13905) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(16_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:1 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:1 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 164_323 nanoseconds. - Weight::from_parts(165_841_000, 0) - .saturating_add(RocksDbWeight::get().reads(14 as u64)) - .saturating_add(RocksDbWeight::get().writes(9 as u64)) + // Proof Size summary in bytes: + // Measured: `1803` + // Estimated: `13905` + // Minimum execution time: 176_176_000 picoseconds. + Weight::from_parts(177_422_000, 13905) + .saturating_add(RocksDbWeight::get().reads(14_u64)) + .saturating_add(RocksDbWeight::get().writes(9_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: XYK TotalLiquidity (r:1 w:1) - // Proof: XYK TotalLiquidity (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:3 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `XYK::TotalLiquidity` (r:1 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 155_404 nanoseconds. - Weight::from_parts(156_560_000, 0) - .saturating_add(RocksDbWeight::get().reads(13 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1749` + // Estimated: `13905` + // Minimum execution time: 168_176_000 picoseconds. + Weight::from_parts(169_296_000, 13905) + .saturating_add(RocksDbWeight::get().reads(13_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 119_610 nanoseconds. - Weight::from_parts(120_418_000, 0) - .saturating_add(RocksDbWeight::get().reads(10 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1492` + // Estimated: `11322` + // Minimum execution time: 127_203_000 picoseconds. + Weight::from_parts(127_918_000, 11322) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 119_865 nanoseconds. - Weight::from_parts(120_541_000, 0) - .saturating_add(RocksDbWeight::get().reads(10 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `1492` + // Estimated: `11322` + // Minimum execution time: 126_846_000 picoseconds. + Weight::from_parts(127_737_000, 11322) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 20_906 nanoseconds. - Weight::from_parts(8_365_948, 0) // Standard Error: 43_229 - .saturating_add(Weight::from_parts(6_554_981, 0).saturating_mul(c as u64)) - // Standard Error: 43_229 - .saturating_add(Weight::from_parts(105_218_621, 0).saturating_mul(e as u64)) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(e as u64))) - .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `583 + e * (909 ±0)` + // Estimated: `6156 + e * (5166 ±0)` + // Minimum execution time: 22_072_000 picoseconds. + Weight::from_parts(5_201_125, 6156) + // Standard Error: 56_711 + .saturating_add(Weight::from_parts(8_630_075, 0).saturating_mul(c.into())) + // Standard Error: 56_711 + .saturating_add(Weight::from_parts(113_479_825, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } - // Storage: XYK ShareToken (r:1 w:0) - // Proof: XYK ShareToken (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 27_261 nanoseconds. - Weight::from_parts(7_044_054, 0) // Standard Error: 46_197 - .saturating_add(Weight::from_parts(7_022_106, 0).saturating_mul(c as u64)) - // Standard Error: 78_379 - .saturating_add(Weight::from_parts(105_927_586, 0).saturating_mul(e as u64)) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(e as u64))) - .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(e as u64))) + // Proof Size summary in bytes: + // Measured: `583 + e * (909 ±0)` + // Estimated: `6156 + e * (5166 ±0)` + // Minimum execution time: 30_065_000 picoseconds. + Weight::from_parts(6_816_200, 6156) + // Standard Error: 42_652 + .saturating_add(Weight::from_parts(7_927_825, 0).saturating_mul(c.into())) + // Standard Error: 69_651 + .saturating_add(Weight::from_parts(112_378_650, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } } From c4f8c5c2df6ea272f0de860326ce30d3506585a5 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 22 Dec 2023 11:18:14 +0100 Subject: [PATCH 115/138] fix merge issues and tests --- integration-tests/src/xcm_rate_limiter.rs | 41 ++++++++++++++--------- runtime/hydradx/src/weights/xcmp_queue.rs | 18 ---------- 2 files changed, 25 insertions(+), 34 deletions(-) diff --git a/integration-tests/src/xcm_rate_limiter.rs b/integration-tests/src/xcm_rate_limiter.rs index 55c74fa23..e1662ac60 100644 --- a/integration-tests/src/xcm_rate_limiter.rs +++ b/integration-tests/src/xcm_rate_limiter.rs @@ -16,7 +16,7 @@ fn get_message_hash_from_event(n: usize) -> Option<[u8; 32]> { let RuntimeEvent::XcmpQueue(Event::XcmpMessageSent { message_hash }) = &last_hydra_events(n)[0] else { panic!("expecting to find message sent event"); }; - *message_hash + Some(*message_hash) } #[test] @@ -67,7 +67,7 @@ fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { ) .into() ), - WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); message_hash = get_message_hash_from_event(2); @@ -79,20 +79,24 @@ fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { ); }); + let relay_block = PolkadotRelay::execute_with(|| { + polkadot_runtime::System::block_number() + }); + Hydra::execute_with(|| { expect_hydra_events(vec![ cumulus_pallet_xcmp_queue::Event::XcmDeferred { sender: ACALA_PARA_ID.into(), - sent_at: 3, - deferred_to: hydradx_runtime::DeferDuration::get() + 4, + sent_at: relay_block, + deferred_to: hydradx_runtime::DeferDuration::get() + relay_block - 1, message_hash, - index: (hydradx_runtime::DeferDuration::get() + 4, 0), + index: (hydradx_runtime::DeferDuration::get() + relay_block - 1, 0), position: 0, } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 4, - relaychain_block_number: 5, + parachain_block_number: 5, + relaychain_block_number: relay_block + 1, } .into(), ]); @@ -140,7 +144,7 @@ fn xcm_rate_limiter_should_not_limit_aca_when_limit_is_not_exceeded() { ) .into() ), - WeightLimit::Limited(Weight::from_ref_time(399_600_000_000)) + WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); // Assert @@ -191,7 +195,7 @@ fn deferred_messages_should_be_executable_by_root() { let amount = 100 * UNITS; let mut message_hash = None; - let max_weight = Weight::from_ref_time(399_600_000_000); + let max_weight = Weight::from_parts(399_600_000_000, 0); Acala::execute_with(|| { // Act assert_ok!(hydradx_runtime::XTokens::transfer( @@ -220,32 +224,37 @@ fn deferred_messages_should_be_executable_by_root() { ); }); + let relay_block = PolkadotRelay::execute_with(|| { + polkadot_runtime::System::block_number() + }); + Hydra::execute_with(|| { expect_hydra_events(vec![ cumulus_pallet_xcmp_queue::Event::XcmDeferred { sender: ACALA_PARA_ID.into(), - sent_at: 3, - deferred_to: hydradx_runtime::DeferDuration::get() + 4, + sent_at: relay_block, + deferred_to: hydradx_runtime::DeferDuration::get() + relay_block - 1, message_hash, - index: (hydradx_runtime::DeferDuration::get() + 4, 0), + index: (hydradx_runtime::DeferDuration::get() + relay_block - 1, 0), position: 0, } .into(), pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 4, - relaychain_block_number: 5, + parachain_block_number: 5, + relaychain_block_number: relay_block + 1, } .into(), ]); assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); - set_relaychain_block_number(hydradx_runtime::DeferDuration::get() + 4); + set_relaychain_block_number(hydradx_runtime::DeferDuration::get() + relay_block); assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); assert_ok!(hydradx_runtime::XcmpQueue::service_deferred( hydradx_runtime::RuntimeOrigin::root(), - max_weight, + hydradx_runtime::ReservedXcmpWeight::get(), ACALA_PARA_ID.into(), + hydradx_runtime::MaxDeferredBuckets::get(), )); let fee = hydradx_runtime::Tokens::free_balance(ACA, &hydradx_runtime::Treasury::account_id()); diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 355d95cbe..c6197d1d7 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -149,22 +149,4 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 15020).saturating_mul(m.into())) } - // Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured) - fn discard_deferred_individual() -> Weight { - // Minimum execution time: 124_783_889 nanoseconds. - Weight::from_ref_time(125_149_821_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: XcmpQueue DeferredIndices (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredIndices (max_values: None, max_size: None, mode: Measured) - // Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1) - // Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured) - fn try_place_in_deferred_queue() -> Weight { - // Minimum execution time: 530_788 nanoseconds. - Weight::from_ref_time(537_065_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } } From c3e7610964d10a5e23e82199cbf97fd2cf89d0de Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 22 Dec 2023 11:19:02 +0100 Subject: [PATCH 116/138] formatting --- integration-tests/src/xcm_rate_limiter.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/integration-tests/src/xcm_rate_limiter.rs b/integration-tests/src/xcm_rate_limiter.rs index e1662ac60..62382322d 100644 --- a/integration-tests/src/xcm_rate_limiter.rs +++ b/integration-tests/src/xcm_rate_limiter.rs @@ -79,9 +79,7 @@ fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { ); }); - let relay_block = PolkadotRelay::execute_with(|| { - polkadot_runtime::System::block_number() - }); + let relay_block = PolkadotRelay::execute_with(|| polkadot_runtime::System::block_number()); Hydra::execute_with(|| { expect_hydra_events(vec![ @@ -224,16 +222,14 @@ fn deferred_messages_should_be_executable_by_root() { ); }); - let relay_block = PolkadotRelay::execute_with(|| { - polkadot_runtime::System::block_number() - }); + let relay_block = PolkadotRelay::execute_with(|| polkadot_runtime::System::block_number()); Hydra::execute_with(|| { expect_hydra_events(vec![ cumulus_pallet_xcmp_queue::Event::XcmDeferred { sender: ACALA_PARA_ID.into(), sent_at: relay_block, - deferred_to: hydradx_runtime::DeferDuration::get() + relay_block - 1, + deferred_to: hydradx_runtime::DeferDuration::get() + relay_block - 1, message_hash, index: (hydradx_runtime::DeferDuration::get() + relay_block - 1, 0), position: 0, From f5de0cac278f71bd48f1c68053d4755f97f441fb Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 22 Dec 2023 11:45:13 +0100 Subject: [PATCH 117/138] bump crate versions --- Cargo.lock | 6 +++--- integration-tests/Cargo.toml | 2 +- pallets/xcm-rate-limiter/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd398e53d..1084e3906 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4617,7 +4617,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "195.0.0" +version = "196.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "pallet-xcm-rate-limiter" -version = "0.1.3" +version = "0.1.4" dependencies = [ "cumulus-pallet-xcmp-queue", "frame-benchmarking", @@ -11202,7 +11202,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.17.0" +version = "1.17.1" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 0dba04926..d5abc252a 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.17.0" +version = "1.17.1" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/xcm-rate-limiter/Cargo.toml b/pallets/xcm-rate-limiter/Cargo.toml index e0580fb65..c56229927 100644 --- a/pallets/xcm-rate-limiter/Cargo.toml +++ b/pallets/xcm-rate-limiter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xcm-rate-limiter" -version = "0.1.3" +version = "0.1.4" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index bf92c4696..bcd9925e4 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "195.0.0" +version = "196.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 2a2e0491f..f394b1da3 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 195, + spec_version: 196, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From bbbe2d45f9efa97fad8ebaa044f1095781bfff75 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 22 Dec 2023 13:01:34 +0100 Subject: [PATCH 118/138] make clippy happy --- integration-tests/src/xcm_rate_limiter.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/integration-tests/src/xcm_rate_limiter.rs b/integration-tests/src/xcm_rate_limiter.rs index 62382322d..a1c21763f 100644 --- a/integration-tests/src/xcm_rate_limiter.rs +++ b/integration-tests/src/xcm_rate_limiter.rs @@ -74,12 +74,12 @@ fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { // Assert assert_eq!( - hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), + hydradx_runtime::Balances::free_balance(AccountId::from(ALICE)), ALICE_INITIAL_NATIVE_BALANCE - amount ); }); - let relay_block = PolkadotRelay::execute_with(|| polkadot_runtime::System::block_number()); + let relay_block = PolkadotRelay::execute_with(polkadot_runtime::System::block_number); Hydra::execute_with(|| { expect_hydra_events(vec![ @@ -147,7 +147,7 @@ fn xcm_rate_limiter_should_not_limit_aca_when_limit_is_not_exceeded() { // Assert assert_eq!( - hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), + hydradx_runtime::Balances::free_balance(AccountId::from(ALICE)), ALICE_INITIAL_NATIVE_BALANCE - amount ); }); @@ -217,12 +217,12 @@ fn deferred_messages_should_be_executable_by_root() { // Assert assert_eq!( - hydradx_runtime::Balances::free_balance(&AccountId::from(ALICE)), + hydradx_runtime::Balances::free_balance(AccountId::from(ALICE)), ALICE_INITIAL_NATIVE_BALANCE - amount ); }); - let relay_block = PolkadotRelay::execute_with(|| polkadot_runtime::System::block_number()); + let relay_block = PolkadotRelay::execute_with(polkadot_runtime::System::block_number); Hydra::execute_with(|| { expect_hydra_events(vec![ From c51a163a8ba08c79fdaa62df4d1724525ff88e3e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 25 Dec 2023 20:50:18 +0000 Subject: [PATCH 119/138] add previously removed fn --- integration-tests/src/polkadot_test_net.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 883fe1dbd..060c9ed0f 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -684,3 +684,12 @@ pub fn init_omnipool() { set_zero_reward_for_referrals(DAI); set_zero_reward_for_referrals(HDX); } + +pub fn set_zero_reward_for_referrals(asset_id: AssetId) { + assert_ok!(Referrals::set_reward_percentage( + RawOrigin::Root.into(), + asset_id, + Level::None, + FeeDistribution::default(), + )); +} From f56681ea013bf28d92ca1465e0b5e117890e853c Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 26 Dec 2023 21:42:24 +0000 Subject: [PATCH 120/138] fix integration tests --- integration-tests/src/dca.rs | 4 ++-- integration-tests/src/referrals.rs | 26 ++++++++++++------------- pallets/referrals/src/lib.rs | 1 - pallets/referrals/src/tests/mock_amm.rs | 1 - 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index f46ce2406..3fe9edb29 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -2985,8 +2985,8 @@ mod with_onchain_route { assert!(fee > 0, "The treasury did not receive the fee"); //The fee would be 5310255478763 in HDX, so it is less in DOT, which checks out - assert!(fee < 40 * UNITS / 10); - assert!(fee > 36 * UNITS / 10); + assert!(fee < 32 * UNITS / 10); + assert!(fee > 28 * UNITS / 10); assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 277955496295825); assert_reserved_balance!(&ALICE.into(), DOT, dca_budget - amount_to_sell - fee); diff --git a/integration-tests/src/referrals.rs b/integration-tests/src/referrals.rs index 3e3106416..d3da838fc 100644 --- a/integration-tests/src/referrals.rs +++ b/integration-tests/src/referrals.rs @@ -43,7 +43,7 @@ fn trading_in_omnipool_should_transfer_portion_of_fee_to_reward_pot() { 0 )); let pot_balance = Currencies::free_balance(DAI, &Referrals::pot_account_id()); - assert_eq!(pot_balance, 28_540_796_051_302_768); + assert_eq!(pot_balance, 29_007_403_068_934_309); }); } @@ -66,7 +66,7 @@ fn trading_in_omnipool_should_increase_referrer_shares() { 0 )); let referrer_shares = Referrals::account_shares::(ALICE.into()); - assert_eq!(referrer_shares, 128_499_283); + assert_eq!(referrer_shares, 130_600_080); }); } #[test] @@ -88,7 +88,7 @@ fn trading_in_omnipool_should_increase_trader_shares() { 0 )); let trader_shares = Referrals::account_shares::(BOB.into()); - assert_eq!(trader_shares, 256_998_567); + assert_eq!(trader_shares, 261_200_161); }); } #[test] @@ -110,7 +110,7 @@ fn trading_in_omnipool_should_increase_external_shares() { 0 )); let external_shares = Referrals::account_shares::(Staking::pot_account_id()); - assert_eq!(external_shares, 1_067_610_243_609); + assert_eq!(external_shares, 1_085_064_361_973); }); } @@ -133,7 +133,7 @@ fn trading_in_omnipool_should_increase_total_shares_correctly() { 0 )); let total_shares = Referrals::total_shares(); - assert_eq!(total_shares, 1_067_995_741_459); + assert_eq!(total_shares, 1_085_456_162_214); }); } @@ -199,7 +199,7 @@ fn trading_in_omnipool_should_transfer_some_portion_of_fee_when_no_code_linked() 0 )); let pot_balance = Currencies::free_balance(DAI, &Referrals::pot_account_id()); - assert_eq!(pot_balance, 28_540_796_051_302_770); + assert_eq!(pot_balance, 29_007_403_068_934_311); let external_shares = Referrals::account_shares::(Staking::pot_account_id()); let total_shares = Referrals::total_shares(); assert_eq!(total_shares, external_shares); @@ -225,11 +225,11 @@ fn trading_in_omnipool_should_use_global_rewards_when_not_set() { 0 )); let referrer_shares = Referrals::account_shares::(ALICE.into()); - assert_eq!(referrer_shares, 128_499_283); + assert_eq!(referrer_shares, 130_600_080); let trader_shares = Referrals::account_shares::(BOB.into()); - assert_eq!(trader_shares, 256_998_567); + assert_eq!(trader_shares, 261_200_161); let external_shares = Referrals::account_shares::(Staking::pot_account_id()); - assert_eq!(external_shares, 1_067_610_243_609); + assert_eq!(external_shares, 1_085_064_361_973); let total_shares = Referrals::total_shares(); assert_eq!(total_shares, referrer_shares + trader_shares + external_shares); }); @@ -264,11 +264,11 @@ fn trading_in_omnipool_should_use_asset_rewards_when_set() { 0 )); let referrer_shares = Referrals::account_shares::(ALICE.into()); - assert_eq!(referrer_shares, 51_399_713); + assert_eq!(referrer_shares, 52_240_032); let trader_shares = Referrals::account_shares::(BOB.into()); - assert_eq!(trader_shares, 25_699_856); + assert_eq!(trader_shares, 26_120_016); let external_shares = Referrals::account_shares::(Staking::pot_account_id()); - assert_eq!(external_shares, 1_066_967_747_190); + assert_eq!(external_shares, 1_084_411_361_568); let total_shares = Referrals::total_shares(); assert_eq!(total_shares, referrer_shares + trader_shares + external_shares); }); @@ -287,7 +287,7 @@ fn trading_in_omnipool_should_increase_staking_shares_when_no_code_linked() { )); let staking_acc = Staking::pot_account_id(); let staking_shares = Referrals::account_shares::(staking_acc); - assert_eq!(staking_shares, 1_067_995_741_461); + assert_eq!(staking_shares, 1_085_456_162_216); let total_shares = Referrals::total_shares(); assert_eq!(total_shares, staking_shares); }); diff --git a/pallets/referrals/src/lib.rs b/pallets/referrals/src/lib.rs index 9f3d95507..5803833bc 100644 --- a/pallets/referrals/src/lib.rs +++ b/pallets/referrals/src/lib.rs @@ -158,7 +158,6 @@ pub mod pallet { use sp_runtime::traits::Zero; #[pallet::pallet] - #[pallet::generate_store(pub(crate) trait Store)] pub struct Pallet(_); #[pallet::config] diff --git a/pallets/referrals/src/tests/mock_amm.rs b/pallets/referrals/src/tests/mock_amm.rs index 82148ff26..e33e624f1 100644 --- a/pallets/referrals/src/tests/mock_amm.rs +++ b/pallets/referrals/src/tests/mock_amm.rs @@ -9,7 +9,6 @@ pub mod pallet { use frame_system::{ensure_signed, pallet_prelude::OriginFor}; #[pallet::pallet] - #[pallet::generate_store(pub (crate) trait Store)] pub struct Pallet(_); #[pallet::config] From 5727b237e35b68d1bfd4cdcdd566dacdd8b89609 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 27 Dec 2023 21:47:48 +0000 Subject: [PATCH 121/138] some rebenchmarking + fix failing tests --- integration-tests/src/dca.rs | 17 +- pallets/dca/src/tests/mock.rs | 8 +- pallets/dca/src/tests/on_initialize.rs | 2 +- pallets/dca/src/weights.rs | 347 ++++---- pallets/omnipool/src/weights.rs | 322 ++++--- pallets/referrals/src/weights.rs | 365 ++++---- .../transaction-multi-payment/src/weights.rs | 90 +- runtime/hydradx/src/weights/dca.rs | 188 ++-- runtime/hydradx/src/weights/omnipool.rs | 812 ++++++++++-------- runtime/hydradx/src/weights/payment.rs | 56 +- runtime/hydradx/src/weights/referrals.rs | 195 +++-- 11 files changed, 1318 insertions(+), 1084 deletions(-) diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 3fe9edb29..f9d46b075 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -2720,8 +2720,8 @@ mod with_onchain_route { //Assert let fee = Currencies::free_balance(DOT, &Treasury::account_id()); assert!(fee > 0, "The treasury did not receive the fee"); - assert!(fee < 17 * UNITS); - assert!(fee > 13 * UNITS); + assert!(fee < 19 * UNITS, "The fee: {:?} is more than 1.9 UNITS", fee); + assert!(fee > 13 * UNITS, "The fee: {:?} is less than 1.3 UNITS", fee); assert_balance!(ALICE.into(), DOT, alice_init_dot_balance - dca_budget); assert_balance!(ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE + 398004528624916); @@ -2863,8 +2863,8 @@ mod with_onchain_route { let fee = Currencies::free_balance(stable_asset_1, &Treasury::account_id()); assert!(fee > 0, "The treasury did not receive the fee"); - assert!(fee < 48 * UNITS / 10); - assert!(fee > 40 * UNITS / 10); + assert!(fee < 5 * UNITS, "The fee: {:?} is more than 5 UNITS", fee); + assert!(fee > 4 * UNITS, "The fee: {:?} is less than 4 UNITS", fee); assert_balance!(ALICE.into(), stable_asset_1, alice_init_stable_balance - dca_budget); assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 237095795349022); @@ -2985,8 +2985,8 @@ mod with_onchain_route { assert!(fee > 0, "The treasury did not receive the fee"); //The fee would be 5310255478763 in HDX, so it is less in DOT, which checks out - assert!(fee < 32 * UNITS / 10); - assert!(fee > 28 * UNITS / 10); + assert!(fee < 36 * UNITS / 10, "The fee: {:?} is more than 3.6 UNITS", fee); + assert!(fee > 28 * UNITS / 10, "The fee: {:?} is less than 2.8 UNITS", fee); assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 277955496295825); assert_reserved_balance!(&ALICE.into(), DOT, dca_budget - amount_to_sell - fee); @@ -3362,7 +3362,6 @@ pub fn init_stableswap_with_three_assets_having_different_decimals( } fn assert_that_fee_is_correct(fee: Balance) { - //The fee is approximately 2969051508672, so we check if we are between 2.8 and 3.2 UNITS - assert!(fee > 28 * UNITS / 10); - assert!(fee < 32 * UNITS / 10); + assert!(fee > 34 * UNITS / 10, "The fee: {:?} is less than 3.4 UNITS", fee); + assert!(fee < 40 * UNITS / 10, "The fee: {:?} is more than 4 UNITS", fee); } diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index 85bf59ba2..2caeb9b67 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -54,10 +54,10 @@ pub type BlockNumber = u64; pub type AssetId = u32; type NamedReserveIdentifier = [u8; 8]; -pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1332564000; -pub const BUY_DCA_FEE_IN_DAI: Balance = 1172656320; -pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1334571000; -pub const SELL_DCA_FEE_IN_DAI: Balance = 1174422480; +pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1374044000; +pub const BUY_DCA_FEE_IN_DAI: Balance = 1209158720; +pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1374576000; +pub const SELL_DCA_FEE_IN_DAI: Balance = 1209626880; pub const HDX: AssetId = 0; pub const LRNA: AssetId = 1; diff --git a/pallets/dca/src/tests/on_initialize.rs b/pallets/dca/src/tests/on_initialize.rs index e59817c88..d1f793a33 100644 --- a/pallets/dca/src/tests/on_initialize.rs +++ b/pallets/dca/src/tests/on_initialize.rs @@ -865,7 +865,7 @@ fn full_buy_dca_should_be_completed_when_some_execution_is_successful_but_not_en assert_number_of_executed_buy_trades!(4); assert_eq!(0, Currencies::reserved_balance(HDX, &ALICE)); - let left_over_which_is_not_enough_for_last_trade = 9994669744000; + let left_over_which_is_not_enough_for_last_trade = 9994503824000; assert_balance!( ALICE, diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index c0e9c3dad..bccefb04d 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -15,11 +15,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_dca +//! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-20, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx @@ -28,12 +30,11 @@ // --chain=dev // --steps=10 // --repeat=30 -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs +// --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-dca -// --output=dca2.rs +// --output=weights-1.1.0/dca.rs // --extrinsic=* #![allow(unused_parens)] @@ -59,187 +60,217 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { - // Minimum execution time: 205_628 nanoseconds. - Weight::from_parts(207_564_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `54411` + // Estimated: `31902` + // Minimum execution time: 244_530_000 picoseconds. + Weight::from_parts(249_044_000, 31902) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { - // Minimum execution time: 205_148 nanoseconds. - Weight::from_parts(209_571_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `54411` + // Estimated: `31902` + // Minimum execution time: 244_929_000 picoseconds. + Weight::from_parts(249_576_000, 31902) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: DCA ScheduleIdsPerBlock (r:1 w:0) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { - // Minimum execution time: 18_256 nanoseconds. - Weight::from_parts(18_727_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1075` + // Estimated: `3566` + // Minimum execution time: 17_904_000 picoseconds. + Weight::from_parts(18_177_000, 3566).saturating_add(T::DbWeight::get().reads(1)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Router Routes (r:1 w:0) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdSequencer (r:1 w:1) - // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Tokens Reserves (r:1 w:1) - // Proof: Tokens Reserves (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:11 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:0 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:0 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) + /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Reserves` (r:1 w:1) + /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:0 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:0 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { - // Minimum execution time: 172_989 nanoseconds. - Weight::from_parts(175_696_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `52577` + // Estimated: `29326` + // Minimum execution time: 175_288_000 picoseconds. + Weight::from_parts(178_961_000, 29326) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(8)) } - // Storage: DCA Schedules (r:1 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:1 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) + /// Storage: `DCA::Schedules` (r:1 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { - // Minimum execution time: 75_390 nanoseconds. - Weight::from_parts(77_755_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `2526` + // Estimated: `4714` + // Minimum execution time: 82_404_000 picoseconds. + Weight::from_parts(83_099_000, 4714) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(7)) } } // For backwards compatibility and tests impl WeightInfo for () { - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { - // Minimum execution time: 205_628 nanoseconds. - Weight::from_parts(207_564_000, 0) + // Proof Size summary in bytes: + // Measured: `54411` + // Estimated: `31902` + // Minimum execution time: 244_530_000 picoseconds. + Weight::from_parts(249_044_000, 31902) .saturating_add(RocksDbWeight::get().reads(17)) .saturating_add(RocksDbWeight::get().writes(7)) } - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { - // Minimum execution time: 205_148 nanoseconds. - Weight::from_parts(209_571_000, 0) + // Proof Size summary in bytes: + // Measured: `54411` + // Estimated: `31902` + // Minimum execution time: 244_929_000 picoseconds. + Weight::from_parts(249_576_000, 31902) .saturating_add(RocksDbWeight::get().reads(17)) .saturating_add(RocksDbWeight::get().writes(7)) } - // Storage: DCA ScheduleIdsPerBlock (r:1 w:0) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { - // Minimum execution time: 18_256 nanoseconds. - Weight::from_parts(18_727_000, 0).saturating_add(RocksDbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `1075` + // Estimated: `3566` + // Minimum execution time: 17_904_000 picoseconds. + Weight::from_parts(18_177_000, 3566).saturating_add(RocksDbWeight::get().reads(1)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Router Routes (r:1 w:0) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdSequencer (r:1 w:1) - // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Tokens Reserves (r:1 w:1) - // Proof: Tokens Reserves (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:11 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:0 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:0 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) + /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Reserves` (r:1 w:1) + /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:0 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:0 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { - // Minimum execution time: 172_989 nanoseconds. - Weight::from_parts(175_696_000, 0) + // Proof Size summary in bytes: + // Measured: `52577` + // Estimated: `29326` + // Minimum execution time: 175_288_000 picoseconds. + Weight::from_parts(178_961_000, 29326) .saturating_add(RocksDbWeight::get().reads(17)) .saturating_add(RocksDbWeight::get().writes(8)) } - // Storage: DCA Schedules (r:1 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:1 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) + /// Storage: `DCA::Schedules` (r:1 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { - // Minimum execution time: 75_390 nanoseconds. - Weight::from_parts(77_755_000, 0) + // Proof Size summary in bytes: + // Measured: `2526` + // Estimated: `4714` + // Minimum execution time: 82_404_000 picoseconds. + Weight::from_parts(83_099_000, 4714) .saturating_add(RocksDbWeight::get().reads(5)) .saturating_add(RocksDbWeight::get().writes(7)) } diff --git a/pallets/omnipool/src/weights.rs b/pallets/omnipool/src/weights.rs index e05c8734c..d73413e3e 100644 --- a/pallets/omnipool/src/weights.rs +++ b/pallets/omnipool/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_omnipool` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -96,8 +96,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3004` // Estimated: `7406` - // Minimum execution time: 141_493_000 picoseconds. - Weight::from_parts(142_927_000, 7406) + // Minimum execution time: 143_180_000 picoseconds. + Weight::from_parts(144_324_000, 7406) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -141,8 +141,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3919` // Estimated: `8739` - // Minimum execution time: 221_846_000 picoseconds. - Weight::from_parts(223_179_000, 8739) + // Minimum execution time: 223_962_000 picoseconds. + Weight::from_parts(225_259_000, 8739) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(14)) } @@ -186,14 +186,14 @@ impl WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `6625` + // Measured: `6905` // Estimated: `11322` - // Minimum execution time: 294_859_000 picoseconds. - Weight::from_parts(297_556_000, 11322) + // Minimum execution time: 299_870_000 picoseconds. + Weight::from_parts(302_597_000, 11322) .saturating_add(T::DbWeight::get().reads(23)) .saturating_add(T::DbWeight::get().writes(16)) } - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -221,18 +221,30 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:0) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:3 w:3) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `6014` - // Estimated: `11322` - // Minimum execution time: 247_505_000 picoseconds. - Weight::from_parts(249_251_000, 11322) - .saturating_add(T::DbWeight::get().reads(22)) - .saturating_add(T::DbWeight::get().writes(14)) + // Measured: `6989` + // Estimated: `13905` + // Minimum execution time: 311_781_000 picoseconds. + Weight::from_parts(313_953_000, 13905) + .saturating_add(T::DbWeight::get().reads(30)) + .saturating_add(T::DbWeight::get().writes(20)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) @@ -242,9 +254,9 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -260,14 +272,26 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:0) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:3 w:3) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `6443` - // Estimated: `11322` - // Minimum execution time: 280_133_000 picoseconds. - Weight::from_parts(281_564_000, 11322) - .saturating_add(T::DbWeight::get().reads(24)) - .saturating_add(T::DbWeight::get().writes(15)) + // Measured: `7526` + // Estimated: `13905` + // Minimum execution time: 356_912_000 picoseconds. + Weight::from_parts(359_368_000, 13905) + .saturating_add(T::DbWeight::get().reads(34)) + .saturating_add(T::DbWeight::get().writes(22)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -275,8 +299,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_253_000 picoseconds. - Weight::from_parts(33_814_000, 3550) + // Minimum execution time: 33_320_000 picoseconds. + Weight::from_parts(33_591_000, 3550) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -296,8 +320,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2336` // Estimated: `6196` - // Minimum execution time: 107_190_000 picoseconds. - Weight::from_parts(108_156_000, 6196) + // Minimum execution time: 108_957_000 picoseconds. + Weight::from_parts(110_295_000, 6196) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -317,8 +341,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2876` // Estimated: `3655` - // Minimum execution time: 76_760_000 picoseconds. - Weight::from_parts(77_553_000, 3655) + // Minimum execution time: 76_494_000 picoseconds. + Weight::from_parts(77_319_000, 3655) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -328,8 +352,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_043_000 picoseconds. - Weight::from_parts(33_547_000, 3550) + // Minimum execution time: 33_126_000 picoseconds. + Weight::from_parts(33_839_000, 3550) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -355,8 +379,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4019` // Estimated: `8739` - // Minimum execution time: 160_860_000 picoseconds. - Weight::from_parts(161_957_000, 8739) + // Minimum execution time: 163_693_000 picoseconds. + Weight::from_parts(165_443_000, 8739) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -380,14 +404,14 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3110` // Estimated: `11322` - // Minimum execution time: 160_268_000 picoseconds. - Weight::from_parts(161_240_000, 11322) + // Minimum execution time: 161_880_000 picoseconds. + Weight::from_parts(163_295_000, 11322) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) @@ -413,26 +437,36 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:2 w:2) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1909 + e * (4105 ±0)` - // Estimated: `6156 + e * (5166 ±118_379_753_737_997_488)` - // Minimum execution time: 45_519_000 picoseconds. - Weight::from_parts(45_863_808, 6156) - // Standard Error: 75_701 - .saturating_add(Weight::from_parts(299_033, 0).saturating_mul(c.into())) - // Standard Error: 75_701 - .saturating_add(Weight::from_parts(215_300_658, 0).saturating_mul(e.into())) + // Measured: `1942 + e * (4674 ±0)` + // Estimated: `6156 + e * (7749 ±124_823_812_913_251_024)` + // Minimum execution time: 45_715_000 picoseconds. + Weight::from_parts(45_930_283, 6156) + // Standard Error: 94_568 + .saturating_add(Weight::from_parts(307_748, 0).saturating_mul(c.into())) + // Standard Error: 94_568 + .saturating_add(Weight::from_parts(271_448_453, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((16_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((14_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads((22_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((19_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) @@ -442,9 +476,9 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -460,18 +494,28 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:2 w:2) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `6443` - // Estimated: `11322` - // Minimum execution time: 279_717_000 picoseconds. - Weight::from_parts(270_714_140, 11322) - // Standard Error: 109_168 - .saturating_add(Weight::from_parts(12_603_359, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(24)) - .saturating_add(T::DbWeight::get().writes(15)) + // Measured: `7153` + // Estimated: `13905` + // Minimum execution time: 346_445_000 picoseconds. + Weight::from_parts(337_599_147, 13905) + // Standard Error: 146_404 + .saturating_add(Weight::from_parts(13_586_367, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(32)) + .saturating_add(T::DbWeight::get().writes(21)) } } @@ -505,8 +549,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3004` // Estimated: `7406` - // Minimum execution time: 141_493_000 picoseconds. - Weight::from_parts(142_927_000, 7406) + // Minimum execution time: 143_180_000 picoseconds. + Weight::from_parts(144_324_000, 7406) .saturating_add(RocksDbWeight::get().reads(12)) .saturating_add(RocksDbWeight::get().writes(10)) } @@ -550,8 +594,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3919` // Estimated: `8739` - // Minimum execution time: 221_846_000 picoseconds. - Weight::from_parts(223_179_000, 8739) + // Minimum execution time: 223_962_000 picoseconds. + Weight::from_parts(225_259_000, 8739) .saturating_add(RocksDbWeight::get().reads(20)) .saturating_add(RocksDbWeight::get().writes(14)) } @@ -595,14 +639,14 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `6625` + // Measured: `6905` // Estimated: `11322` - // Minimum execution time: 294_859_000 picoseconds. - Weight::from_parts(297_556_000, 11322) + // Minimum execution time: 299_870_000 picoseconds. + Weight::from_parts(302_597_000, 11322) .saturating_add(RocksDbWeight::get().reads(23)) .saturating_add(RocksDbWeight::get().writes(16)) } - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -630,18 +674,30 @@ impl WeightInfo for () { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:0) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:3 w:3) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `6014` - // Estimated: `11322` - // Minimum execution time: 247_505_000 picoseconds. - Weight::from_parts(249_251_000, 11322) - .saturating_add(RocksDbWeight::get().reads(22)) - .saturating_add(RocksDbWeight::get().writes(14)) + // Measured: `6989` + // Estimated: `13905` + // Minimum execution time: 311_781_000 picoseconds. + Weight::from_parts(313_953_000, 13905) + .saturating_add(RocksDbWeight::get().reads(30)) + .saturating_add(RocksDbWeight::get().writes(20)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) @@ -651,9 +707,9 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -669,14 +725,26 @@ impl WeightInfo for () { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:0) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:3 w:3) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `6443` - // Estimated: `11322` - // Minimum execution time: 280_133_000 picoseconds. - Weight::from_parts(281_564_000, 11322) - .saturating_add(RocksDbWeight::get().reads(24)) - .saturating_add(RocksDbWeight::get().writes(15)) + // Measured: `7526` + // Estimated: `13905` + // Minimum execution time: 356_912_000 picoseconds. + Weight::from_parts(359_368_000, 13905) + .saturating_add(RocksDbWeight::get().reads(34)) + .saturating_add(RocksDbWeight::get().writes(22)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -684,8 +752,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_253_000 picoseconds. - Weight::from_parts(33_814_000, 3550) + // Minimum execution time: 33_320_000 picoseconds. + Weight::from_parts(33_591_000, 3550) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -705,8 +773,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2336` // Estimated: `6196` - // Minimum execution time: 107_190_000 picoseconds. - Weight::from_parts(108_156_000, 6196) + // Minimum execution time: 108_957_000 picoseconds. + Weight::from_parts(110_295_000, 6196) .saturating_add(RocksDbWeight::get().reads(8)) .saturating_add(RocksDbWeight::get().writes(5)) } @@ -726,8 +794,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2876` // Estimated: `3655` - // Minimum execution time: 76_760_000 picoseconds. - Weight::from_parts(77_553_000, 3655) + // Minimum execution time: 76_494_000 picoseconds. + Weight::from_parts(77_319_000, 3655) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(6)) } @@ -737,8 +805,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_043_000 picoseconds. - Weight::from_parts(33_547_000, 3550) + // Minimum execution time: 33_126_000 picoseconds. + Weight::from_parts(33_839_000, 3550) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -764,8 +832,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4019` // Estimated: `8739` - // Minimum execution time: 160_860_000 picoseconds. - Weight::from_parts(161_957_000, 8739) + // Minimum execution time: 163_693_000 picoseconds. + Weight::from_parts(165_443_000, 8739) .saturating_add(RocksDbWeight::get().reads(13)) .saturating_add(RocksDbWeight::get().writes(8)) } @@ -789,14 +857,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3110` // Estimated: `11322` - // Minimum execution time: 160_268_000 picoseconds. - Weight::from_parts(161_240_000, 11322) + // Minimum execution time: 161_880_000 picoseconds. + Weight::from_parts(163_295_000, 11322) .saturating_add(RocksDbWeight::get().reads(14)) .saturating_add(RocksDbWeight::get().writes(8)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) @@ -822,26 +890,36 @@ impl WeightInfo for () { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:2 w:2) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1909 + e * (4105 ±0)` - // Estimated: `6156 + e * (5166 ±118_379_753_737_997_488)` - // Minimum execution time: 45_519_000 picoseconds. - Weight::from_parts(45_863_808, 6156) - // Standard Error: 75_701 - .saturating_add(Weight::from_parts(299_033, 0).saturating_mul(c.into())) - // Standard Error: 75_701 - .saturating_add(Weight::from_parts(215_300_658, 0).saturating_mul(e.into())) + // Measured: `1942 + e * (4674 ±0)` + // Estimated: `6156 + e * (7749 ±124_823_812_913_251_024)` + // Minimum execution time: 45_715_000 picoseconds. + Weight::from_parts(45_930_283, 6156) + // Standard Error: 94_568 + .saturating_add(Weight::from_parts(307_748, 0).saturating_mul(c.into())) + // Standard Error: 94_568 + .saturating_add(Weight::from_parts(271_448_453, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(6)) - .saturating_add(RocksDbWeight::get().reads((16_u64).saturating_mul(e.into()))) - .saturating_add(RocksDbWeight::get().writes((14_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads((22_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((19_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) @@ -851,9 +929,9 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -869,17 +947,27 @@ impl WeightInfo for () { /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:2 w:2) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `6443` - // Estimated: `11322` - // Minimum execution time: 279_717_000 picoseconds. - Weight::from_parts(270_714_140, 11322) - // Standard Error: 109_168 - .saturating_add(Weight::from_parts(12_603_359, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(24)) - .saturating_add(RocksDbWeight::get().writes(15)) + // Measured: `7153` + // Estimated: `13905` + // Minimum execution time: 346_445_000 picoseconds. + Weight::from_parts(337_599_147, 13905) + // Standard Error: 146_404 + .saturating_add(Weight::from_parts(13_586_367, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(32)) + .saturating_add(RocksDbWeight::get().writes(21)) } } diff --git a/pallets/referrals/src/weights.rs b/pallets/referrals/src/weights.rs index 66d73cb99..2b1f03c9f 100644 --- a/pallets/referrals/src/weights.rs +++ b/pallets/referrals/src/weights.rs @@ -15,28 +15,27 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_referrals +//! Autogenerated weights for `pallet_referrals` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=pallet_referrals -// --execution=wasm +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-referrals +// --output=weights-1.1.0/referrals.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// referrals.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -61,183 +60,213 @@ pub trait WeightInfo { pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Referrals ReferralCodes (r:1 w:1) - // Proof: Referrals ReferralCodes (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:0 w:1) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) + /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) + /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Referrals::ReferralCodes` (r:1 w:1) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:0 w:1) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn register_code() -> Weight { - // Minimum execution time: 61_000 nanoseconds. - Weight::from_parts(62_000_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `284` + // Estimated: `6196` + // Minimum execution time: 63_607_000 picoseconds. + Weight::from_parts(64_677_000, 6196) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: Referrals ReferralCodes (r:1 w:0) - // Proof: Referrals ReferralCodes (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:1) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Referrals::ReferralCodes` (r:1 w:0) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:1) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { - // Minimum execution time: 26_000 nanoseconds. - Weight::from_parts(27_000_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `191` + // Estimated: `3545` + // Minimum execution time: 21_357_000 picoseconds. + Weight::from_parts(21_646_000, 3545) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:2 w:2) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:1 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker TradeVolumeLimitPerAsset (r:2 w:0) - // Proof: CircuitBreaker TradeVolumeLimitPerAsset (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:0) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - // Storage: Staking Staking (r:1 w:0) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals Assets (r:0 w:1) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:2 w:2) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:2 w:0) + /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Staking::Staking` (r:1 w:0) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn convert() -> Weight { - // Minimum execution time: 304_000 nanoseconds. - Weight::from_parts(307_000_000, 0) - .saturating_add(T::DbWeight::get().reads(21 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `1995` + // Estimated: `7406` + // Minimum execution time: 268_880_000 picoseconds. + Weight::from_parts(270_217_000, 7406) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(14)) } - // Storage: Referrals Assets (r:1 w:0) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - // Storage: Referrals Shares (r:1 w:1) - // Proof: Referrals Shares (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Referrals TotalShares (r:1 w:1) - // Proof: Referrals TotalShares (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:1 w:1) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) + /// Storage: `Referrals::PendingConversions` (r:1 w:0) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:1 w:1) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:1) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - // Minimum execution time: 73_000 nanoseconds. - Weight::from_parts(74_000_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `565` + // Estimated: `6196` + // Minimum execution time: 81_639_000 picoseconds. + Weight::from_parts(82_457_000, 6196) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: Referrals AssetTier (r:1 w:1) - // Proof: Referrals AssetTier (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) + /// Storage: `Referrals::AssetRewards` (r:1 w:1) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_reward_percentage() -> Weight { - // Minimum execution time: 19_000 nanoseconds. - Weight::from_parts(19_000_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `3514` + // Minimum execution time: 15_281_000 picoseconds. + Weight::from_parts(15_756_000, 3514) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } impl WeightInfo for () { - // Storage: Referrals ReferralCodes (r:1 w:1) - // Proof: Referrals ReferralCodes (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:0 w:1) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) + /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) + /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Referrals::ReferralCodes` (r:1 w:1) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:0 w:1) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn register_code() -> Weight { - // Minimum execution time: 61_000 nanoseconds. - Weight::from_parts(62_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `284` + // Estimated: `6196` + // Minimum execution time: 63_607_000 picoseconds. + Weight::from_parts(64_677_000, 6196) + .saturating_add(RocksDbWeight::get().reads(4)) + .saturating_add(RocksDbWeight::get().writes(5)) } - // Storage: Referrals ReferralCodes (r:1 w:0) - // Proof: Referrals ReferralCodes (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:1) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Referrals::ReferralCodes` (r:1 w:0) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:1) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { - // Minimum execution time: 26_000 nanoseconds. - Weight::from_parts(27_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `191` + // Estimated: `3545` + // Minimum execution time: 21_357_000 picoseconds. + Weight::from_parts(21_646_000, 3545) + .saturating_add(RocksDbWeight::get().reads(2)) + .saturating_add(RocksDbWeight::get().writes(1)) } - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:2 w:2) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:1 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker TradeVolumeLimitPerAsset (r:2 w:0) - // Proof: CircuitBreaker TradeVolumeLimitPerAsset (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:0) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - // Storage: Staking Staking (r:1 w:0) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals Assets (r:0 w:1) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:2 w:2) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:2 w:0) + /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Staking::Staking` (r:1 w:0) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn convert() -> Weight { - // Minimum execution time: 304_000 nanoseconds. - Weight::from_parts(307_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(21 as u64)) - .saturating_add(RocksDbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `1995` + // Estimated: `7406` + // Minimum execution time: 268_880_000 picoseconds. + Weight::from_parts(270_217_000, 7406) + .saturating_add(RocksDbWeight::get().reads(20)) + .saturating_add(RocksDbWeight::get().writes(14)) } - // Storage: Referrals Assets (r:1 w:0) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - // Storage: Referrals Shares (r:1 w:1) - // Proof: Referrals Shares (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Referrals TotalShares (r:1 w:1) - // Proof: Referrals TotalShares (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:1 w:1) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) + /// Storage: `Referrals::PendingConversions` (r:1 w:0) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:1 w:1) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:1) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - // Minimum execution time: 73_000 nanoseconds. - Weight::from_parts(74_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(6 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `565` + // Estimated: `6196` + // Minimum execution time: 81_639_000 picoseconds. + Weight::from_parts(82_457_000, 6196) + .saturating_add(RocksDbWeight::get().reads(6)) + .saturating_add(RocksDbWeight::get().writes(5)) } - // Storage: Referrals AssetTier (r:1 w:1) - // Proof: Referrals AssetTier (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) + /// Storage: `Referrals::AssetRewards` (r:1 w:1) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_reward_percentage() -> Weight { - // Minimum execution time: 19_000 nanoseconds. - Weight::from_parts(19_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `3514` + // Minimum execution time: 15_281_000 picoseconds. + Weight::from_parts(15_756_000, 3514) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } } diff --git a/pallets/transaction-multi-payment/src/weights.rs b/pallets/transaction-multi-payment/src/weights.rs index 644aacec1..f7af4fd73 100644 --- a/pallets/transaction-multi-payment/src/weights.rs +++ b/pallets/transaction-multi-payment/src/weights.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_transaction_multi_payment` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=pallet-transaction-multi-payment +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-transaction-multi-payment +// --output=weights-1.1.0/transaction_multi_payment.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// ./weights-1.1.0/payment.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs #![allow(unused_parens)] #![allow(unused_imports)] @@ -65,23 +63,23 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1172` + // Measured: `1176` // Estimated: `3493` - // Minimum execution time: 25_067_000 picoseconds. - Weight::from_parts(25_530_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 24_548_000 picoseconds. + Weight::from_parts(25_118_000, 3493) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1203` + // Measured: `1207` // Estimated: `3493` - // Minimum execution time: 25_321_000 picoseconds. - Weight::from_parts(25_617_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 25_178_000 picoseconds. + Weight::from_parts(25_545_000, 3493) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -89,12 +87,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1237` + // Measured: `1241` // Estimated: `3493` - // Minimum execution time: 30_547_000 picoseconds. - Weight::from_parts(30_957_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 30_284_000 picoseconds. + Weight::from_parts(30_744_000, 3493) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) @@ -102,10 +100,10 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { // Proof Size summary in bytes: - // Measured: `3217` + // Measured: `3221` // Estimated: `27510` - // Minimum execution time: 93_673_000 picoseconds. - Weight::from_parts(94_241_000, 27510).saturating_add(T::DbWeight::get().reads(11_u64)) + // Minimum execution time: 93_281_000 picoseconds. + Weight::from_parts(94_259_000, 27510).saturating_add(T::DbWeight::get().reads(11)) } } @@ -115,23 +113,23 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1172` + // Measured: `1176` // Estimated: `3493` - // Minimum execution time: 25_067_000 picoseconds. - Weight::from_parts(25_530_000, 3493) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 24_548_000 picoseconds. + Weight::from_parts(25_118_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1203` + // Measured: `1207` // Estimated: `3493` - // Minimum execution time: 25_321_000 picoseconds. - Weight::from_parts(25_617_000, 3493) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 25_178_000 picoseconds. + Weight::from_parts(25_545_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -139,12 +137,12 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1237` + // Measured: `1241` // Estimated: `3493` - // Minimum execution time: 30_547_000 picoseconds. - Weight::from_parts(30_957_000, 3493) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 30_284_000 picoseconds. + Weight::from_parts(30_744_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) } /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) @@ -152,9 +150,9 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { // Proof Size summary in bytes: - // Measured: `3217` + // Measured: `3221` // Estimated: `27510` - // Minimum execution time: 93_673_000 picoseconds. - Weight::from_parts(94_241_000, 27510).saturating_add(RocksDbWeight::get().reads(11_u64)) + // Minimum execution time: 93_281_000 picoseconds. + Weight::from_parts(94_259_000, 27510).saturating_add(RocksDbWeight::get().reads(11)) } } diff --git a/runtime/hydradx/src/weights/dca.rs b/runtime/hydradx/src/weights/dca.rs index 2caea5d29..5a8715eac 100644 --- a/runtime/hydradx/src/weights/dca.rs +++ b/runtime/hydradx/src/weights/dca.rs @@ -15,11 +15,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_dca +//! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-20, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx @@ -28,14 +30,14 @@ // --chain=dev // --steps=10 // --repeat=30 -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=.maintain/pallet-weight-template-no-back.hbs // --pallet=pallet-dca -// --output=dca-no.rs +// --output=weights-1.1.0/dca.rs // --extrinsic=* +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -52,94 +54,110 @@ use pallet_dca::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { - // Minimum execution time: 200_952 nanoseconds. - Weight::from_parts(203_941_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `54411` + // Estimated: `31902` + // Minimum execution time: 244_530_000 picoseconds. + Weight::from_parts(249_044_000, 31902) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: DCA ScheduleIdsPerBlock (r:12 w:2) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:1 w:0) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:1 w:0) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { - // Minimum execution time: 202_919 nanoseconds. - Weight::from_parts(206_987_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `54411` + // Estimated: `31902` + // Minimum execution time: 244_929_000 picoseconds. + Weight::from_parts(249_576_000, 31902) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: DCA ScheduleIdsPerBlock (r:1 w:0) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { - // Minimum execution time: 18_053 nanoseconds. - Weight::from_parts(18_238_000, 0).saturating_add(T::DbWeight::get().reads(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1075` + // Estimated: `3566` + // Minimum execution time: 17_904_000 picoseconds. + Weight::from_parts(18_177_000, 3566) + .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Router Routes (r:1 w:0) - // Proof: Router Routes (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdSequencer (r:1 w:1) - // Proof: DCA ScheduleIdSequencer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: Tokens Reserves (r:1 w:1) - // Proof: Tokens Reserves (max_values: None, max_size: Some(1261), added: 3736, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:1 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:11 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA Schedules (r:0 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:0 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) + /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Reserves` (r:1 w:1) + /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::Schedules` (r:0 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:0 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { - // Minimum execution time: 169_578 nanoseconds. - Weight::from_parts(172_565_000, 0) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `52577` + // Estimated: `29326` + // Minimum execution time: 175_288_000 picoseconds. + Weight::from_parts(178_961_000, 29326) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(8)) } - // Storage: DCA Schedules (r:1 w:1) - // Proof: DCA Schedules (max_values: None, max_size: Some(191), added: 2666, mode: MaxEncodedLen) - // Storage: DCA RemainingAmounts (r:1 w:1) - // Proof: DCA RemainingAmounts (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Balances Reserves (r:1 w:1) - // Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: DCA ScheduleIdsPerBlock (r:1 w:1) - // Proof: DCA ScheduleIdsPerBlock (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) - // Storage: DCA RetriesOnError (r:0 w:1) - // Proof: DCA RetriesOnError (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen) - // Storage: DCA ScheduleOwnership (r:0 w:1) - // Proof: DCA ScheduleOwnership (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) + /// Storage: `DCA::Schedules` (r:1 w:1) + /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) + /// Storage: `DCA::RemainingAmounts` (r:1 w:1) + /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Reserves` (r:1 w:1) + /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) + /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) + /// Storage: `DCA::RetriesOnError` (r:0 w:1) + /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) + /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { - // Minimum execution time: 74_710 nanoseconds. - Weight::from_parts(75_435_000, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `2526` + // Estimated: `4714` + // Minimum execution time: 82_404_000 picoseconds. + Weight::from_parts(83_099_000, 4714) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(7)) } } diff --git a/runtime/hydradx/src/weights/omnipool.rs b/runtime/hydradx/src/weights/omnipool.rs index 4bc0ed306..90738f4bb 100644 --- a/runtime/hydradx/src/weights/omnipool.rs +++ b/runtime/hydradx/src/weights/omnipool.rs @@ -15,29 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_omnipool +//! Autogenerated weights for `pallet_omnipool` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-13, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=pallet-omnipool -// --execution=wasm +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-omnipool +// --output=weights-1.1.0/omnipool.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// omnipool.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -54,397 +54,453 @@ use pallet_omnipool::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:2 w:1) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { - // Minimum execution time: 146_335 nanoseconds. - Weight::from_parts(147_377_000, 0) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Proof Size summary in bytes: + // Measured: `3004` + // Estimated: `7406` + // Minimum execution time: 143_180_000 picoseconds. + Weight::from_parts(144_324_000, 7406) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(10)) } - // Storage: Tokens Accounts (r:3 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: Omnipool NextPositionId (r:1 w:1) - // Proof: Omnipool NextPositionId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques CollectionMaxSupply (r:1 w:0) - // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:0) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:0 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::NextPositionId` (r:1 w:1) + /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:0 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { - // Minimum execution time: 219_924 nanoseconds. - Weight::from_parts(221_299_000, 0) - .saturating_add(T::DbWeight::get().reads(20 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `3919` + // Estimated: `8739` + // Minimum execution time: 223_962_000 picoseconds. + Weight::from_parts(225_259_000, 8739) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(14)) } - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { - // Minimum execution time: 293_052 nanoseconds. - Weight::from_parts(295_034_000, 0) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `6905` + // Estimated: `11322` + // Minimum execution time: 299_870_000 picoseconds. + Weight::from_parts(302_597_000, 11322) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(16)) } - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:2 w:2) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:0) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:1 w:0) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) - // Storage: Referrals AssetTier (r:1 w:0) - // Proof: Referrals AssetTier (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) - // Storage: Referrals TotalShares (r:1 w:1) - // Proof: Referrals TotalShares (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Referrals Shares (r:2 w:2) - // Proof: Referrals Shares (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: Referrals Assets (r:0 w:1) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:0) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:3 w:3) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn sell() -> Weight { - // Minimum execution time: 318_696 nanoseconds. - Weight::from_parts(320_028_000, 0) - .saturating_add(T::DbWeight::get().reads(31 as u64)) - .saturating_add(T::DbWeight::get().writes(21 as u64)) + // Proof Size summary in bytes: + // Measured: `6989` + // Estimated: `13905` + // Minimum execution time: 311_781_000 picoseconds. + Weight::from_parts(313_953_000, 13905) + .saturating_add(T::DbWeight::get().reads(30)) + .saturating_add(T::DbWeight::get().writes(20)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:5 w:5) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:3 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:2 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:2 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:0) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:1 w:0) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) - // Storage: Referrals AssetTier (r:1 w:0) - // Proof: Referrals AssetTier (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) - // Storage: Referrals TotalShares (r:1 w:1) - // Proof: Referrals TotalShares (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Referrals Shares (r:2 w:2) - // Proof: Referrals Shares (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: Referrals Assets (r:0 w:1) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:0) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:3 w:3) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn buy() -> Weight { - // Minimum execution time: 344_823 nanoseconds. - Weight::from_parts(347_210_000, 0) - .saturating_add(T::DbWeight::get().reads(34 as u64)) - .saturating_add(T::DbWeight::get().writes(21 as u64)) + // Proof Size summary in bytes: + // Measured: `7526` + // Estimated: `13905` + // Minimum execution time: 356_912_000 picoseconds. + Weight::from_parts(359_368_000, 13905) + .saturating_add(T::DbWeight::get().reads(34)) + .saturating_add(T::DbWeight::get().writes(22)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { - // Minimum execution time: 35_160 nanoseconds. - Weight::from_parts(35_515_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1305` + // Estimated: `3550` + // Minimum execution time: 33_320_000 picoseconds. + Weight::from_parts(33_591_000, 3550) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Omnipool Assets (r:1 w:0) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:0) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { - // Minimum execution time: 108_179 nanoseconds. - Weight::from_parts(109_484_000, 0) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `2336` + // Estimated: `6196` + // Minimum execution time: 108_957_000 picoseconds. + Weight::from_parts(110_295_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: Omnipool Positions (r:1 w:1) - // Proof: Omnipool Positions (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) - // Storage: Uniques Asset (r:1 w:1) - // Proof: Uniques Asset (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Uniques Class (r:1 w:1) - // Proof: Uniques Class (max_values: None, max_size: Some(190), added: 2665, mode: MaxEncodedLen) - // Storage: Uniques Account (r:0 w:1) - // Proof: Uniques Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - // Storage: Uniques ItemPriceOf (r:0 w:1) - // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) + /// Storage: `Omnipool::Positions` (r:1 w:1) + /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { - // Minimum execution time: 77_117 nanoseconds. - Weight::from_parts(78_173_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `2876` + // Estimated: `3655` + // Minimum execution time: 76_494_000 picoseconds. + Weight::from_parts(77_319_000, 3655) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(6)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { - // Minimum execution time: 34_863 nanoseconds. - Weight::from_parts(35_340_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `1305` + // Estimated: `3550` + // Minimum execution time: 33_126_000 picoseconds. + Weight::from_parts(33_839_000, 3550) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:3 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_protocol_liquidity() -> Weight { - // Minimum execution time: 163_392 nanoseconds. - Weight::from_parts(164_478_000, 0) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `4019` + // Estimated: `8739` + // Minimum execution time: 163_693_000 picoseconds. + Weight::from_parts(165_443_000, 8739) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) } - // Storage: Omnipool Assets (r:1 w:1) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:3) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:2 w:0) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:1 w:1) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_token() -> Weight { - // Minimum execution time: 161_410 nanoseconds. - Weight::from_parts(162_579_000, 0) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `3110` + // Estimated: `11322` + // Minimum execution time: 161_880_000 picoseconds. + Weight::from_parts(163_295_000, 11322) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(8)) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:0) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// The range of component `c` is `[0, 1]`. + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:2 w:2) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Minimum execution time: 46_488 nanoseconds. - Weight::from_parts(36_800_250, 0) // Standard Error: 121_871 - .saturating_add(Weight::from_parts(10_721_750, 0).saturating_mul(c as u64)) - // Standard Error: 121_871 - .saturating_add(Weight::from_parts(220_720_900, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().reads((17 as u64).saturating_mul(e as u64))) - .saturating_add(T::DbWeight::get().writes((14 as u64).saturating_mul(e as u64))) + fn router_execution_sell(c: u32, e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1942 + e * (4674 ±0)` + // Estimated: `6156 + e * (7749 ±124_823_812_913_251_024)` + // Minimum execution time: 45_715_000 picoseconds. + Weight::from_parts(45_930_283, 6156) + // Standard Error: 94_568 + .saturating_add(Weight::from_parts(307_748, 0).saturating_mul(c.into())) + // Standard Error: 94_568 + .saturating_add(Weight::from_parts(271_448_453, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads((22_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((19_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } - // Storage: Omnipool Assets (r:3 w:3) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Tokens Accounts (r:4 w:4) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:1) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:2 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:2 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:1) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:1 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AcceptedCurrencies (r:1 w:0) - // Proof: MultiTransactionPayment AcceptedCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:0) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:0) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Omnipool::Assets` (r:3 w:3) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Referrals::AssetRewards` (r:1 w:0) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:2 w:2) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { - // Minimum execution time: 284_953 nanoseconds. - Weight::from_parts(267_973_525, 0) // Standard Error: 501_278 - .saturating_add(Weight::from_parts(14_832_175, 0).saturating_mul(c as u64)) - // Standard Error: 501_278 - .saturating_add(Weight::from_parts(5_424_675, 0).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(25 as u64)) - .saturating_add(T::DbWeight::get().writes(15 as u64)) + fn router_execution_buy(c: u32, _e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7153` + // Estimated: `13905` + // Minimum execution time: 346_445_000 picoseconds. + Weight::from_parts(337_599_147, 13905) + // Standard Error: 146_404 + .saturating_add(Weight::from_parts(13_586_367, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(32)) + .saturating_add(T::DbWeight::get().writes(21)) } } diff --git a/runtime/hydradx/src/weights/payment.rs b/runtime/hydradx/src/weights/payment.rs index 808b44802..f3b1b6eeb 100644 --- a/runtime/hydradx/src/weights/payment.rs +++ b/runtime/hydradx/src/weights/payment.rs @@ -18,27 +18,26 @@ //! Autogenerated weights for `pallet_transaction_multi_payment` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=pallet-transaction-multi-payment +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-transaction-multi-payment +// --output=weights-1.1.0/transaction_multi_payment.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// ./weights-1.1.0/payment.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -59,23 +58,23 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1172` + // Measured: `1176` // Estimated: `3493` - // Minimum execution time: 25_067_000 picoseconds. - Weight::from_parts(25_530_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 24_548_000 picoseconds. + Weight::from_parts(25_118_000, 3493) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1203` + // Measured: `1207` // Estimated: `3493` - // Minimum execution time: 25_321_000 picoseconds. - Weight::from_parts(25_617_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 25_178_000 picoseconds. + Weight::from_parts(25_545_000, 3493) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -83,12 +82,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1237` + // Measured: `1241` // Estimated: `3493` - // Minimum execution time: 30_547_000 picoseconds. - Weight::from_parts(30_957_000, 3493) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 30_284_000 picoseconds. + Weight::from_parts(30_744_000, 3493) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) @@ -96,9 +95,10 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { // Proof Size summary in bytes: - // Measured: `3217` + // Measured: `3221` // Estimated: `27510` - // Minimum execution time: 93_673_000 picoseconds. - Weight::from_parts(94_241_000, 27510).saturating_add(T::DbWeight::get().reads(11_u64)) + // Minimum execution time: 93_281_000 picoseconds. + Weight::from_parts(94_259_000, 27510) + .saturating_add(T::DbWeight::get().reads(11)) } } diff --git a/runtime/hydradx/src/weights/referrals.rs b/runtime/hydradx/src/weights/referrals.rs index 34fb40ac4..780c5444b 100644 --- a/runtime/hydradx/src/weights/referrals.rs +++ b/runtime/hydradx/src/weights/referrals.rs @@ -15,29 +15,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_referrals +//! Autogenerated weights for `pallet_referrals` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-13, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: // target/release/hydradx // benchmark // pallet -// --pallet=pallet-referrals -// --execution=wasm +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=.maintain/pallet-weight-template-no-back.hbs +// --pallet=pallet-referrals +// --output=weights-1.1.0/referrals.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// referrals.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(clippy::unnecessary_cast)] @@ -54,92 +54,107 @@ use pallet_referrals::weights::WeightInfo; pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { - // Storage: Referrals ReferralCodes (r:1 w:1) - // Proof: Referrals ReferralCodes (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:0 w:1) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) + /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) + /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Referrals::ReferralCodes` (r:1 w:1) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:0 w:1) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn register_code() -> Weight { - // Minimum execution time: 42_186 nanoseconds. - Weight::from_parts(42_832_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `284` + // Estimated: `6196` + // Minimum execution time: 63_607_000 picoseconds. + Weight::from_parts(64_677_000, 6196) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: Referrals ReferralCodes (r:1 w:0) - // Proof: Referrals ReferralCodes (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:1) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Referrals::ReferralCodes` (r:1 w:0) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Referrals::LinkedAccounts` (r:1 w:1) + /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { - // Minimum execution time: 21_324 nanoseconds. - Weight::from_parts(21_932_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `191` + // Estimated: `3545` + // Minimum execution time: 21_357_000 picoseconds. + Weight::from_parts(21_646_000, 3545) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Tokens Accounts (r:2 w:2) - // Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Omnipool Assets (r:2 w:2) - // Proof: Omnipool Assets (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) - // Storage: Omnipool HubAssetImbalance (r:1 w:1) - // Proof: Omnipool HubAssetImbalance (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) - // Storage: DynamicFees AssetFee (r:1 w:0) - // Proof: DynamicFees AssetFee (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - // Storage: EmaOracle Oracles (r:1 w:0) - // Proof: EmaOracle Oracles (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen) - // Storage: EmaOracle Accumulator (r:1 w:1) - // Proof: EmaOracle Accumulator (max_values: Some(1), max_size: Some(5921), added: 6416, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedTradeVolumeLimitPerAsset (r:2 w:2) - // Proof: CircuitBreaker AllowedTradeVolumeLimitPerAsset (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) - // Storage: CircuitBreaker TradeVolumeLimitPerAsset (r:2 w:0) - // Proof: CircuitBreaker TradeVolumeLimitPerAsset (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityAddLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityAddLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedAddLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedAddLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: CircuitBreaker LiquidityRemoveLimitPerAsset (r:1 w:0) - // Proof: CircuitBreaker LiquidityRemoveLimitPerAsset (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) - // Storage: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (r:1 w:1) - // Proof: CircuitBreaker AllowedRemoveLiquidityAmountPerAsset (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals LinkedAccounts (r:1 w:0) - // Proof: Referrals LinkedAccounts (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - // Storage: Staking Staking (r:1 w:0) - // Proof: Staking Staking (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - // Storage: MultiTransactionPayment AccountCurrencyMap (r:0 w:1) - // Proof: MultiTransactionPayment AccountCurrencyMap (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - // Storage: Referrals Assets (r:0 w:1) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::Assets` (r:2 w:2) + /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) + /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) + /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:2 w:0) + /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) + /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Staking::Staking` (r:1 w:0) + /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn convert() -> Weight { - // Minimum execution time: 249_840 nanoseconds. - Weight::from_parts(251_054_000, 0) - .saturating_add(T::DbWeight::get().reads(21 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Proof Size summary in bytes: + // Measured: `1995` + // Estimated: `7406` + // Minimum execution time: 268_880_000 picoseconds. + Weight::from_parts(270_217_000, 7406) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(14)) } - // Storage: Referrals Assets (r:1 w:0) - // Proof: Referrals Assets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - // Storage: Referrals Shares (r:1 w:1) - // Proof: Referrals Shares (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: Referrals TotalShares (r:1 w:1) - // Proof: Referrals TotalShares (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: Referrals Referrer (r:1 w:1) - // Proof: Referrals Referrer (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) + /// Storage: `Referrals::PendingConversions` (r:1 w:0) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Shares` (r:1 w:1) + /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TotalShares` (r:1 w:1) + /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Referrals::Referrer` (r:1 w:1) + /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - // Minimum execution time: 62_058 nanoseconds. - Weight::from_parts(62_527_000, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `565` + // Estimated: `6196` + // Minimum execution time: 81_639_000 picoseconds. + Weight::from_parts(82_457_000, 6196) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: Referrals AssetTier (r:1 w:1) - // Proof: Referrals AssetTier (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) + /// Storage: `Referrals::AssetRewards` (r:1 w:1) + /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_reward_percentage() -> Weight { - // Minimum execution time: 15_537 nanoseconds. - Weight::from_parts(16_059_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `3514` + // Minimum execution time: 15_281_000 picoseconds. + Weight::from_parts(15_756_000, 3514) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } From e953ec540a1cf69c100c3cb45fb7c8894152fea1 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 27 Dec 2023 23:05:32 +0000 Subject: [PATCH 122/138] bump crate versions --- Cargo.lock | 14 +++++++------- pallets/circuit-breaker/Cargo.toml | 2 +- pallets/referrals/Cargo.toml | 2 +- pallets/staking/Cargo.toml | 2 +- traits/Cargo.toml | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c13c4c6b..90ad56693 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4597,7 +4597,7 @@ dependencies = [ "pallet-referrals", "pallet-route-executor", "pallet-stableswap", - "pallet-staking 2.1.1", + "pallet-staking 2.1.2", "pallet-transaction-multi-payment", "pallet-uniques", "pallet-xyk", @@ -4691,7 +4691,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 2.1.1", + "pallet-staking 2.1.2", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", @@ -4735,7 +4735,7 @@ dependencies = [ [[package]] name = "hydradx-traits" -version = "2.8.2" +version = "2.8.3" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -7221,7 +7221,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.18" +version = "1.1.19" dependencies = [ "frame-benchmarking", "frame-support", @@ -8156,7 +8156,7 @@ dependencies = [ [[package]] name = "pallet-referrals" -version = "1.0.0" +version = "1.0.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8314,7 +8314,7 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "2.1.1" +version = "2.1.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -11284,7 +11284,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 2.1.1", + "pallet-staking 2.1.2", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 4a3ed1719..7b793b2d3 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.18" +version = "1.1.19" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/referrals/Cargo.toml b/pallets/referrals/Cargo.toml index de2678fab..23bc69a5c 100644 --- a/pallets/referrals/Cargo.toml +++ b/pallets/referrals/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-referrals" -version = "1.0.0" +version = "1.0.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 992c459e0..9b902b13f 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-staking" -version = "2.1.1" +version = "2.1.2" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 2de96f053..50ba4f7bc 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-traits" -version = "2.8.2" +version = "2.8.3" description = "Shared traits" authors = ["GalacticCouncil"] edition = "2021" From f0f0f09c4fdc2e239ad8c435055407576c77bf80 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 3 Jan 2024 11:10:39 +0100 Subject: [PATCH 123/138] bump versions --- Cargo.lock | 4 ++-- pallets/referrals/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 722655043..c4b906fcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4618,7 +4618,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "198.0.0" +version = "199.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -8156,7 +8156,7 @@ dependencies = [ [[package]] name = "pallet-referrals" -version = "1.1.0" +version = "1.1.1" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/referrals/Cargo.toml b/pallets/referrals/Cargo.toml index 9c2935002..8c2783f8c 100644 --- a/pallets/referrals/Cargo.toml +++ b/pallets/referrals/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-referrals" -version = "1.1.0" +version = "1.1.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index ca9262999..8bd2f5997 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "198.0.0" +version = "199.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 981f1ef36..7f6b7ca7c 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 198, + spec_version: 199, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 1eebaccad7aab66b5c18715efd2217e9937dd663 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 9 Jan 2024 14:51:20 +0100 Subject: [PATCH 124/138] rebenchmark omnipool and referrals --- pallets/omnipool/src/weights.rs | 322 ++++++++++++----------- pallets/referrals/src/weights.rs | 114 ++++---- runtime/hydradx/src/weights/omnipool.rs | 160 +++++------ runtime/hydradx/src/weights/referrals.rs | 58 ++-- 4 files changed, 348 insertions(+), 306 deletions(-) diff --git a/pallets/omnipool/src/weights.rs b/pallets/omnipool/src/weights.rs index d73413e3e..802fc0924 100644 --- a/pallets/omnipool/src/weights.rs +++ b/pallets/omnipool/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_omnipool` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-09, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -96,8 +96,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3004` // Estimated: `7406` - // Minimum execution time: 143_180_000 picoseconds. - Weight::from_parts(144_324_000, 7406) + // Minimum execution time: 141_394_000 picoseconds. + Weight::from_parts(142_349_000, 7406) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -141,8 +141,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3919` // Estimated: `8739` - // Minimum execution time: 223_962_000 picoseconds. - Weight::from_parts(225_259_000, 8739) + // Minimum execution time: 220_969_000 picoseconds. + Weight::from_parts(222_574_000, 8739) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(14)) } @@ -186,10 +186,10 @@ impl WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `6905` + // Measured: `6903` // Estimated: `11322` - // Minimum execution time: 299_870_000 picoseconds. - Weight::from_parts(302_597_000, 11322) + // Minimum execution time: 297_780_000 picoseconds. + Weight::from_parts(299_506_000, 11322) .saturating_add(T::DbWeight::get().reads(23)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -199,13 +199,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -229,18 +229,22 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:3 w:3) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `6989` + // Measured: `7179` // Estimated: `13905` - // Minimum execution time: 311_781_000 picoseconds. - Weight::from_parts(313_953_000, 13905) - .saturating_add(T::DbWeight::get().reads(30)) - .saturating_add(T::DbWeight::get().writes(20)) + // Minimum execution time: 333_598_000 picoseconds. + Weight::from_parts(336_465_000, 13905) + .saturating_add(T::DbWeight::get().reads(35)) + .saturating_add(T::DbWeight::get().writes(23)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -248,15 +252,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -280,18 +282,22 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:3 w:3) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `7526` + // Measured: `7179` // Estimated: `13905` - // Minimum execution time: 356_912_000 picoseconds. - Weight::from_parts(359_368_000, 13905) - .saturating_add(T::DbWeight::get().reads(34)) - .saturating_add(T::DbWeight::get().writes(22)) + // Minimum execution time: 333_688_000 picoseconds. + Weight::from_parts(335_133_000, 13905) + .saturating_add(T::DbWeight::get().reads(35)) + .saturating_add(T::DbWeight::get().writes(23)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -299,8 +305,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_320_000 picoseconds. - Weight::from_parts(33_591_000, 3550) + // Minimum execution time: 32_634_000 picoseconds. + Weight::from_parts(33_024_000, 3550) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -320,8 +326,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2336` // Estimated: `6196` - // Minimum execution time: 108_957_000 picoseconds. - Weight::from_parts(110_295_000, 6196) + // Minimum execution time: 107_435_000 picoseconds. + Weight::from_parts(108_211_000, 6196) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -341,8 +347,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2876` // Estimated: `3655` - // Minimum execution time: 76_494_000 picoseconds. - Weight::from_parts(77_319_000, 3655) + // Minimum execution time: 75_289_000 picoseconds. + Weight::from_parts(76_090_000, 3655) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -352,8 +358,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_126_000 picoseconds. - Weight::from_parts(33_839_000, 3550) + // Minimum execution time: 32_857_000 picoseconds. + Weight::from_parts(33_349_000, 3550) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -379,8 +385,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4019` // Estimated: `8739` - // Minimum execution time: 163_693_000 picoseconds. - Weight::from_parts(165_443_000, 8739) + // Minimum execution time: 161_313_000 picoseconds. + Weight::from_parts(162_354_000, 8739) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -404,8 +410,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3110` // Estimated: `11322` - // Minimum execution time: 161_880_000 picoseconds. - Weight::from_parts(163_295_000, 11322) + // Minimum execution time: 160_104_000 picoseconds. + Weight::from_parts(161_947_000, 11322) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -415,13 +421,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -443,25 +449,27 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:2 w:2) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { + fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1942 + e * (4674 ±0)` - // Estimated: `6156 + e * (7749 ±124_823_812_913_251_024)` - // Minimum execution time: 45_715_000 picoseconds. - Weight::from_parts(45_930_283, 6156) - // Standard Error: 94_568 - .saturating_add(Weight::from_parts(307_748, 0).saturating_mul(c.into())) - // Standard Error: 94_568 - .saturating_add(Weight::from_parts(271_448_453, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((22_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((19_u64).saturating_mul(e.into()))) + // Measured: `1974 + e * (4788 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 48_705_000 picoseconds. + Weight::from_parts(49_088_855, 6156) + // Standard Error: 97_412 + .saturating_add(Weight::from_parts(321_546, 0).saturating_mul(c.into())) + // Standard Error: 97_412 + .saturating_add(Weight::from_parts(291_861_384, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads((26_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((22_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) @@ -470,15 +478,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -500,22 +506,26 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:2 w:2) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, _e: u32) -> Weight { + fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7153` + // Measured: `6762` // Estimated: `13905` - // Minimum execution time: 346_445_000 picoseconds. - Weight::from_parts(337_599_147, 13905) - // Standard Error: 146_404 - .saturating_add(Weight::from_parts(13_586_367, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(32)) - .saturating_add(T::DbWeight::get().writes(21)) + // Minimum execution time: 325_047_000 picoseconds. + Weight::from_parts(309_584_818, 13905) + // Standard Error: 196_245 + .saturating_add(Weight::from_parts(16_694_995, 0).saturating_mul(c.into())) + // Standard Error: 196_245 + .saturating_add(Weight::from_parts(1_594_024, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(33)) + .saturating_add(T::DbWeight::get().writes(22)) } } @@ -549,8 +559,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3004` // Estimated: `7406` - // Minimum execution time: 143_180_000 picoseconds. - Weight::from_parts(144_324_000, 7406) + // Minimum execution time: 141_394_000 picoseconds. + Weight::from_parts(142_349_000, 7406) .saturating_add(RocksDbWeight::get().reads(12)) .saturating_add(RocksDbWeight::get().writes(10)) } @@ -594,8 +604,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3919` // Estimated: `8739` - // Minimum execution time: 223_962_000 picoseconds. - Weight::from_parts(225_259_000, 8739) + // Minimum execution time: 220_969_000 picoseconds. + Weight::from_parts(222_574_000, 8739) .saturating_add(RocksDbWeight::get().reads(20)) .saturating_add(RocksDbWeight::get().writes(14)) } @@ -639,10 +649,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `6905` + // Measured: `6903` // Estimated: `11322` - // Minimum execution time: 299_870_000 picoseconds. - Weight::from_parts(302_597_000, 11322) + // Minimum execution time: 297_780_000 picoseconds. + Weight::from_parts(299_506_000, 11322) .saturating_add(RocksDbWeight::get().reads(23)) .saturating_add(RocksDbWeight::get().writes(16)) } @@ -652,13 +662,13 @@ impl WeightInfo for () { /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -682,18 +692,22 @@ impl WeightInfo for () { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:3 w:3) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `6989` + // Measured: `7179` // Estimated: `13905` - // Minimum execution time: 311_781_000 picoseconds. - Weight::from_parts(313_953_000, 13905) - .saturating_add(RocksDbWeight::get().reads(30)) - .saturating_add(RocksDbWeight::get().writes(20)) + // Minimum execution time: 333_598_000 picoseconds. + Weight::from_parts(336_465_000, 13905) + .saturating_add(RocksDbWeight::get().reads(35)) + .saturating_add(RocksDbWeight::get().writes(23)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -701,15 +715,13 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -733,18 +745,22 @@ impl WeightInfo for () { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:3 w:3) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `7526` + // Measured: `7179` // Estimated: `13905` - // Minimum execution time: 356_912_000 picoseconds. - Weight::from_parts(359_368_000, 13905) - .saturating_add(RocksDbWeight::get().reads(34)) - .saturating_add(RocksDbWeight::get().writes(22)) + // Minimum execution time: 333_688_000 picoseconds. + Weight::from_parts(335_133_000, 13905) + .saturating_add(RocksDbWeight::get().reads(35)) + .saturating_add(RocksDbWeight::get().writes(23)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -752,8 +768,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_320_000 picoseconds. - Weight::from_parts(33_591_000, 3550) + // Minimum execution time: 32_634_000 picoseconds. + Weight::from_parts(33_024_000, 3550) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -773,8 +789,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2336` // Estimated: `6196` - // Minimum execution time: 108_957_000 picoseconds. - Weight::from_parts(110_295_000, 6196) + // Minimum execution time: 107_435_000 picoseconds. + Weight::from_parts(108_211_000, 6196) .saturating_add(RocksDbWeight::get().reads(8)) .saturating_add(RocksDbWeight::get().writes(5)) } @@ -794,8 +810,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2876` // Estimated: `3655` - // Minimum execution time: 76_494_000 picoseconds. - Weight::from_parts(77_319_000, 3655) + // Minimum execution time: 75_289_000 picoseconds. + Weight::from_parts(76_090_000, 3655) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(6)) } @@ -805,8 +821,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_126_000 picoseconds. - Weight::from_parts(33_839_000, 3550) + // Minimum execution time: 32_857_000 picoseconds. + Weight::from_parts(33_349_000, 3550) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -832,8 +848,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4019` // Estimated: `8739` - // Minimum execution time: 163_693_000 picoseconds. - Weight::from_parts(165_443_000, 8739) + // Minimum execution time: 161_313_000 picoseconds. + Weight::from_parts(162_354_000, 8739) .saturating_add(RocksDbWeight::get().reads(13)) .saturating_add(RocksDbWeight::get().writes(8)) } @@ -857,8 +873,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3110` // Estimated: `11322` - // Minimum execution time: 161_880_000 picoseconds. - Weight::from_parts(163_295_000, 11322) + // Minimum execution time: 160_104_000 picoseconds. + Weight::from_parts(161_947_000, 11322) .saturating_add(RocksDbWeight::get().reads(14)) .saturating_add(RocksDbWeight::get().writes(8)) } @@ -868,13 +884,13 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -896,25 +912,27 @@ impl WeightInfo for () { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:2 w:2) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { + fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1942 + e * (4674 ±0)` - // Estimated: `6156 + e * (7749 ±124_823_812_913_251_024)` - // Minimum execution time: 45_715_000 picoseconds. - Weight::from_parts(45_930_283, 6156) - // Standard Error: 94_568 - .saturating_add(Weight::from_parts(307_748, 0).saturating_mul(c.into())) - // Standard Error: 94_568 - .saturating_add(Weight::from_parts(271_448_453, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(6)) - .saturating_add(RocksDbWeight::get().reads((22_u64).saturating_mul(e.into()))) - .saturating_add(RocksDbWeight::get().writes((19_u64).saturating_mul(e.into()))) + // Measured: `1974 + e * (4788 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 48_705_000 picoseconds. + Weight::from_parts(49_088_855, 6156) + // Standard Error: 97_412 + .saturating_add(Weight::from_parts(321_546, 0).saturating_mul(c.into())) + // Standard Error: 97_412 + .saturating_add(Weight::from_parts(291_861_384, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(7)) + .saturating_add(RocksDbWeight::get().reads((26_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((22_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) @@ -923,15 +941,13 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -953,21 +969,25 @@ impl WeightInfo for () { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:2 w:2) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, _e: u32) -> Weight { + fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7153` + // Measured: `6762` // Estimated: `13905` - // Minimum execution time: 346_445_000 picoseconds. - Weight::from_parts(337_599_147, 13905) - // Standard Error: 146_404 - .saturating_add(Weight::from_parts(13_586_367, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(32)) - .saturating_add(RocksDbWeight::get().writes(21)) + // Minimum execution time: 325_047_000 picoseconds. + Weight::from_parts(309_584_818, 13905) + // Standard Error: 196_245 + .saturating_add(Weight::from_parts(16_694_995, 0).saturating_mul(c.into())) + // Standard Error: 196_245 + .saturating_add(Weight::from_parts(1_594_024, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(33)) + .saturating_add(RocksDbWeight::get().writes(22)) } } diff --git a/pallets/referrals/src/weights.rs b/pallets/referrals/src/weights.rs index 2b1f03c9f..364772a08 100644 --- a/pallets/referrals/src/weights.rs +++ b/pallets/referrals/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_referrals` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-09, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -61,9 +61,9 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) - /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `Referrals::ReferralCodes` (r:1 w:1) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Referrals::Referrer` (r:0 w:1) @@ -72,21 +72,21 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `284` // Estimated: `6196` - // Minimum execution time: 63_607_000 picoseconds. - Weight::from_parts(64_677_000, 6196) + // Minimum execution time: 64_118_000 picoseconds. + Weight::from_parts(64_600_000, 6196) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Referrals::ReferralCodes` (r:1 w:0) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `Referrals::LinkedAccounts` (r:1 w:1) /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { // Proof Size summary in bytes: - // Measured: `191` + // Measured: `194` // Estimated: `3545` - // Minimum execution time: 21_357_000 picoseconds. - Weight::from_parts(21_646_000, 3545) + // Minimum execution time: 22_117_000 picoseconds. + Weight::from_parts(22_358_000, 3545) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -98,9 +98,9 @@ impl WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) @@ -120,23 +120,27 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Staking::Staking` (r:1 w:0) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn convert() -> Weight { // Proof Size summary in bytes: - // Measured: `1995` + // Measured: `2105` // Estimated: `7406` - // Minimum execution time: 268_880_000 picoseconds. - Weight::from_parts(270_217_000, 7406) - .saturating_add(T::DbWeight::get().reads(20)) - .saturating_add(T::DbWeight::get().writes(14)) + // Minimum execution time: 290_406_000 picoseconds. + Weight::from_parts(291_955_000, 7406) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: `Referrals::PendingConversions` (r:1 w:0) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:1 w:1) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:1 w:1) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) @@ -145,12 +149,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `565` + // Measured: `655` // Estimated: `6196` - // Minimum execution time: 81_639_000 picoseconds. - Weight::from_parts(82_457_000, 6196) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 88_340_000 picoseconds. + Weight::from_parts(89_429_000, 6196) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Referrals::AssetRewards` (r:1 w:1) /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) @@ -158,8 +162,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3514` - // Minimum execution time: 15_281_000 picoseconds. - Weight::from_parts(15_756_000, 3514) + // Minimum execution time: 16_024_000 picoseconds. + Weight::from_parts(16_319_000, 3514) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,9 +171,9 @@ impl WeightInfo for HydraWeight { impl WeightInfo for () { /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) - /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `Referrals::ReferralCodes` (r:1 w:1) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Referrals::Referrer` (r:0 w:1) @@ -178,21 +182,21 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `284` // Estimated: `6196` - // Minimum execution time: 63_607_000 picoseconds. - Weight::from_parts(64_677_000, 6196) + // Minimum execution time: 64_118_000 picoseconds. + Weight::from_parts(64_600_000, 6196) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(5)) } /// Storage: `Referrals::ReferralCodes` (r:1 w:0) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `Referrals::LinkedAccounts` (r:1 w:1) /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { // Proof Size summary in bytes: - // Measured: `191` + // Measured: `194` // Estimated: `3545` - // Minimum execution time: 21_357_000 picoseconds. - Weight::from_parts(21_646_000, 3545) + // Minimum execution time: 22_117_000 picoseconds. + Weight::from_parts(22_358_000, 3545) .saturating_add(RocksDbWeight::get().reads(2)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -204,9 +208,9 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) @@ -226,23 +230,27 @@ impl WeightInfo for () { /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Staking::Staking` (r:1 w:0) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn convert() -> Weight { // Proof Size summary in bytes: - // Measured: `1995` + // Measured: `2105` // Estimated: `7406` - // Minimum execution time: 268_880_000 picoseconds. - Weight::from_parts(270_217_000, 7406) - .saturating_add(RocksDbWeight::get().reads(20)) - .saturating_add(RocksDbWeight::get().writes(14)) + // Minimum execution time: 290_406_000 picoseconds. + Weight::from_parts(291_955_000, 7406) + .saturating_add(RocksDbWeight::get().reads(24)) + .saturating_add(RocksDbWeight::get().writes(15)) } /// Storage: `Referrals::PendingConversions` (r:1 w:0) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:1 w:1) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:1 w:1) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) @@ -251,12 +259,12 @@ impl WeightInfo for () { /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `565` + // Measured: `655` // Estimated: `6196` - // Minimum execution time: 81_639_000 picoseconds. - Weight::from_parts(82_457_000, 6196) - .saturating_add(RocksDbWeight::get().reads(6)) - .saturating_add(RocksDbWeight::get().writes(5)) + // Minimum execution time: 88_340_000 picoseconds. + Weight::from_parts(89_429_000, 6196) + .saturating_add(RocksDbWeight::get().reads(7)) + .saturating_add(RocksDbWeight::get().writes(6)) } /// Storage: `Referrals::AssetRewards` (r:1 w:1) /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) @@ -264,8 +272,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3514` - // Minimum execution time: 15_281_000 picoseconds. - Weight::from_parts(15_756_000, 3514) + // Minimum execution time: 16_024_000 picoseconds. + Weight::from_parts(16_319_000, 3514) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } diff --git a/runtime/hydradx/src/weights/omnipool.rs b/runtime/hydradx/src/weights/omnipool.rs index 90738f4bb..a40d23e2c 100644 --- a/runtime/hydradx/src/weights/omnipool.rs +++ b/runtime/hydradx/src/weights/omnipool.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_omnipool` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-09, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -82,8 +82,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3004` // Estimated: `7406` - // Minimum execution time: 143_180_000 picoseconds. - Weight::from_parts(144_324_000, 7406) + // Minimum execution time: 141_394_000 picoseconds. + Weight::from_parts(142_349_000, 7406) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -127,8 +127,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3919` // Estimated: `8739` - // Minimum execution time: 223_962_000 picoseconds. - Weight::from_parts(225_259_000, 8739) + // Minimum execution time: 220_969_000 picoseconds. + Weight::from_parts(222_574_000, 8739) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(14)) } @@ -172,10 +172,10 @@ impl WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `6905` + // Measured: `6903` // Estimated: `11322` - // Minimum execution time: 299_870_000 picoseconds. - Weight::from_parts(302_597_000, 11322) + // Minimum execution time: 297_780_000 picoseconds. + Weight::from_parts(299_506_000, 11322) .saturating_add(T::DbWeight::get().reads(23)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -185,13 +185,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -215,18 +215,22 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:3 w:3) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `6989` + // Measured: `7179` // Estimated: `13905` - // Minimum execution time: 311_781_000 picoseconds. - Weight::from_parts(313_953_000, 13905) - .saturating_add(T::DbWeight::get().reads(30)) - .saturating_add(T::DbWeight::get().writes(20)) + // Minimum execution time: 333_598_000 picoseconds. + Weight::from_parts(336_465_000, 13905) + .saturating_add(T::DbWeight::get().reads(35)) + .saturating_add(T::DbWeight::get().writes(23)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -234,15 +238,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -266,18 +268,22 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:3 w:3) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `7526` + // Measured: `7179` // Estimated: `13905` - // Minimum execution time: 356_912_000 picoseconds. - Weight::from_parts(359_368_000, 13905) - .saturating_add(T::DbWeight::get().reads(34)) - .saturating_add(T::DbWeight::get().writes(22)) + // Minimum execution time: 333_688_000 picoseconds. + Weight::from_parts(335_133_000, 13905) + .saturating_add(T::DbWeight::get().reads(35)) + .saturating_add(T::DbWeight::get().writes(23)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -285,8 +291,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_320_000 picoseconds. - Weight::from_parts(33_591_000, 3550) + // Minimum execution time: 32_634_000 picoseconds. + Weight::from_parts(33_024_000, 3550) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -306,8 +312,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2336` // Estimated: `6196` - // Minimum execution time: 108_957_000 picoseconds. - Weight::from_parts(110_295_000, 6196) + // Minimum execution time: 107_435_000 picoseconds. + Weight::from_parts(108_211_000, 6196) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -327,8 +333,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2876` // Estimated: `3655` - // Minimum execution time: 76_494_000 picoseconds. - Weight::from_parts(77_319_000, 3655) + // Minimum execution time: 75_289_000 picoseconds. + Weight::from_parts(76_090_000, 3655) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -338,8 +344,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3550` - // Minimum execution time: 33_126_000 picoseconds. - Weight::from_parts(33_839_000, 3550) + // Minimum execution time: 32_857_000 picoseconds. + Weight::from_parts(33_349_000, 3550) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -365,8 +371,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4019` // Estimated: `8739` - // Minimum execution time: 163_693_000 picoseconds. - Weight::from_parts(165_443_000, 8739) + // Minimum execution time: 161_313_000 picoseconds. + Weight::from_parts(162_354_000, 8739) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -390,8 +396,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3110` // Estimated: `11322` - // Minimum execution time: 161_880_000 picoseconds. - Weight::from_parts(163_295_000, 11322) + // Minimum execution time: 160_104_000 picoseconds. + Weight::from_parts(161_947_000, 11322) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -401,13 +407,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -429,25 +435,27 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:2 w:2) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1942 + e * (4674 ±0)` - // Estimated: `6156 + e * (7749 ±124_823_812_913_251_024)` - // Minimum execution time: 45_715_000 picoseconds. - Weight::from_parts(45_930_283, 6156) - // Standard Error: 94_568 - .saturating_add(Weight::from_parts(307_748, 0).saturating_mul(c.into())) - // Standard Error: 94_568 - .saturating_add(Weight::from_parts(271_448_453, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((22_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((19_u64).saturating_mul(e.into()))) + // Measured: `1974 + e * (4788 ±0)` + // Estimated: `6156 + e * (7749 ±0)` + // Minimum execution time: 48_705_000 picoseconds. + Weight::from_parts(49_088_855, 6156) + // Standard Error: 97_412 + .saturating_add(Weight::from_parts(321_546, 0).saturating_mul(c.into())) + // Standard Error: 97_412 + .saturating_add(Weight::from_parts(291_861_384, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads((26_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((22_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) @@ -456,15 +464,13 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:1) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -486,21 +492,25 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:2 w:2) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) + /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, _e: u32, ) -> Weight { + fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7153` + // Measured: `6762` // Estimated: `13905` - // Minimum execution time: 346_445_000 picoseconds. - Weight::from_parts(337_599_147, 13905) - // Standard Error: 146_404 - .saturating_add(Weight::from_parts(13_586_367, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(32)) - .saturating_add(T::DbWeight::get().writes(21)) + // Minimum execution time: 325_047_000 picoseconds. + Weight::from_parts(309_584_818, 13905) + // Standard Error: 196_245 + .saturating_add(Weight::from_parts(16_694_995, 0).saturating_mul(c.into())) + // Standard Error: 196_245 + .saturating_add(Weight::from_parts(1_594_024, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(33)) + .saturating_add(T::DbWeight::get().writes(22)) } } diff --git a/runtime/hydradx/src/weights/referrals.rs b/runtime/hydradx/src/weights/referrals.rs index 780c5444b..e28a17288 100644 --- a/runtime/hydradx/src/weights/referrals.rs +++ b/runtime/hydradx/src/weights/referrals.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_referrals` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-09, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -55,9 +55,9 @@ pub struct HydraWeight(PhantomData); impl WeightInfo for HydraWeight { /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) - /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `Referrals::ReferralCodes` (r:1 w:1) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Referrals::Referrer` (r:0 w:1) @@ -66,21 +66,21 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `284` // Estimated: `6196` - // Minimum execution time: 63_607_000 picoseconds. - Weight::from_parts(64_677_000, 6196) + // Minimum execution time: 64_118_000 picoseconds. + Weight::from_parts(64_600_000, 6196) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Referrals::ReferralCodes` (r:1 w:0) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `Referrals::LinkedAccounts` (r:1 w:1) /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { // Proof Size summary in bytes: - // Measured: `191` + // Measured: `194` // Estimated: `3545` - // Minimum execution time: 21_357_000 picoseconds. - Weight::from_parts(21_646_000, 3545) + // Minimum execution time: 22_117_000 picoseconds. + Weight::from_parts(22_358_000, 3545) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -92,9 +92,9 @@ impl WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:1 w:0) + /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) @@ -114,23 +114,27 @@ impl WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Staking::Staking` (r:1 w:0) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Referrals::PendingConversions` (r:1 w:1) + /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) + /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:0 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn convert() -> Weight { // Proof Size summary in bytes: - // Measured: `1995` + // Measured: `2105` // Estimated: `7406` - // Minimum execution time: 268_880_000 picoseconds. - Weight::from_parts(270_217_000, 7406) - .saturating_add(T::DbWeight::get().reads(20)) - .saturating_add(T::DbWeight::get().writes(14)) + // Minimum execution time: 290_406_000 picoseconds. + Weight::from_parts(291_955_000, 7406) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: `Referrals::PendingConversions` (r:1 w:0) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Shares` (r:1 w:1) - /// Proof: `Referrals::Shares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::ReferrerShares` (r:1 w:1) + /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Referrals::TraderShares` (r:1 w:1) + /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) @@ -139,12 +143,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `565` + // Measured: `655` // Estimated: `6196` - // Minimum execution time: 81_639_000 picoseconds. - Weight::from_parts(82_457_000, 6196) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 88_340_000 picoseconds. + Weight::from_parts(89_429_000, 6196) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Referrals::AssetRewards` (r:1 w:1) /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) @@ -152,8 +156,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3514` - // Minimum execution time: 15_281_000 picoseconds. - Weight::from_parts(15_756_000, 3514) + // Minimum execution time: 16_024_000 picoseconds. + Weight::from_parts(16_319_000, 3514) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } From 74e4acb4ae39d9b8bb44909518c1b5a582dd93a9 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 10 Jan 2024 14:01:13 +0100 Subject: [PATCH 125/138] fix integration tests --- integration-tests/src/dca.rs | 2 +- integration-tests/src/referrals.rs | 38 +++++++++++++++--------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 70affa5bf..ae88368e8 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -2958,7 +2958,7 @@ mod with_onchain_route { let fee = Currencies::free_balance(DOT, &Treasury::account_id()); assert!(fee > 0, "The treasury did not receive the fee"); - assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 278060378846663); + assert_balance!(ALICE.into(), HDX, alice_init_hdx_balance + 277_955_496_295_825); assert_reserved_balance!(&ALICE.into(), DOT, dca_budget - amount_to_sell - fee); }); } diff --git a/integration-tests/src/referrals.rs b/integration-tests/src/referrals.rs index 725a11c00..52c4ecb18 100644 --- a/integration-tests/src/referrals.rs +++ b/integration-tests/src/referrals.rs @@ -28,7 +28,7 @@ fn registering_a_code_should_charge_registration_fee() { #[test] fn trading_in_omnipool_should_transfer_portion_of_fee_to_reward_pot() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -44,14 +44,14 @@ fn trading_in_omnipool_should_transfer_portion_of_fee_to_reward_pot() { 0 )); let pot_balance = Currencies::free_balance(DAI, &Referrals::pot_account_id()); - assert_eq!(pot_balance, 29_007_403_068_934_309); + assert_eq!(pot_balance, 28_540_796_051_302_768); }); } #[test] fn buying_in_omnipool_should_transfer_portion_of_asset_out_fee_to_reward_pot() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -74,7 +74,7 @@ fn buying_in_omnipool_should_transfer_portion_of_asset_out_fee_to_reward_pot() { #[test] fn trading_lrna_omnipool_should_not_transfer_portion_of_fee_to_reward_pot() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -97,7 +97,7 @@ fn trading_lrna_omnipool_should_not_transfer_portion_of_fee_to_reward_pot() { #[test] fn trading_in_omnipool_should_increase_referrer_shares() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -119,7 +119,7 @@ fn trading_in_omnipool_should_increase_referrer_shares() { #[test] fn trading_in_omnipool_should_increase_trader_shares() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -141,7 +141,7 @@ fn trading_in_omnipool_should_increase_trader_shares() { #[test] fn trading_in_omnipool_should_increase_external_shares() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -164,7 +164,7 @@ fn trading_in_omnipool_should_increase_external_shares() { #[test] fn trading_in_omnipool_should_increase_total_shares_correctly() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -180,14 +180,14 @@ fn trading_in_omnipool_should_increase_total_shares_correctly() { 0 )); let total_shares = Referrals::total_shares(); - assert_eq!(total_shares, 1_085_456_162_214); + assert_eq!(total_shares, 1_067_995_741_459); }); } #[test] fn claiming_rewards_should_convert_all_assets_to_reward_asset() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -214,7 +214,7 @@ fn claiming_rewards_should_convert_all_assets_to_reward_asset() { #[test] fn trading_hdx_in_omnipool_should_skip_referrals_program() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -237,7 +237,7 @@ fn trading_hdx_in_omnipool_should_skip_referrals_program() { #[test] fn trading_in_omnipool_should_transfer_some_portion_of_fee_when_no_code_linked() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); assert_ok!(Omnipool::sell( RuntimeOrigin::signed(BOB.into()), HDX, @@ -256,7 +256,7 @@ fn trading_in_omnipool_should_transfer_some_portion_of_fee_when_no_code_linked() #[test] fn trading_in_omnipool_should_use_global_rewards_when_not_set() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); let code = ReferralCode::<::CodeLength>::truncate_from(b"BALLS69".to_vec()); assert_ok!(Referrals::register_code( @@ -285,7 +285,7 @@ fn trading_in_omnipool_should_use_global_rewards_when_not_set() { #[test] fn trading_in_omnipool_should_use_asset_rewards_when_set() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); assert_ok!(Referrals::set_reward_percentage( RuntimeOrigin::root(), DAI, @@ -324,7 +324,7 @@ fn trading_in_omnipool_should_use_asset_rewards_when_set() { #[test] fn buying_hdx_in_omnipool_should_transfer_correct_fee() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); let staking_acc = Staking::pot_account_id(); let ref_account = Referrals::pot_account_id(); @@ -361,7 +361,7 @@ fn buying_hdx_in_omnipool_should_transfer_correct_fee() { #[test] fn buying_with_hdx_in_omnipool_should_transfer_correct_fee() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); assert_ok!(Staking::initialize_staking(RawOrigin::Root.into())); let staking_acc = Staking::pot_account_id(); let ref_account = Referrals::pot_account_id(); @@ -398,7 +398,7 @@ fn buying_with_hdx_in_omnipool_should_transfer_correct_fee() { #[test] fn trading_in_omnipool_should_increase_staking_shares_when_no_code_linked() { Hydra::execute_with(|| { - init_omnipool_with_oracle_for_block_10(); + init_omnipool_with_oracle_for_block_12(); assert_ok!(Omnipool::sell( RuntimeOrigin::signed(BOB.into()), HDX, @@ -449,10 +449,10 @@ fn init_omnipool() { )); } -fn init_omnipool_with_oracle_for_block_10() { +fn init_omnipool_with_oracle_for_block_12() { init_omnipool(); do_trade_to_populate_oracle(DAI, HDX, UNITS); - set_relaychain_block_number(10); + set_relaychain_block_number(12); do_trade_to_populate_oracle(DAI, HDX, UNITS); } From d234c12bc46cd426bdb5c936b5d4259001eae3dc Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 10 Jan 2024 14:04:08 +0100 Subject: [PATCH 126/138] formatting --- pallets/omnipool/src/weights.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pallets/omnipool/src/weights.rs b/pallets/omnipool/src/weights.rs index 802fc0924..27d69e493 100644 --- a/pallets/omnipool/src/weights.rs +++ b/pallets/omnipool/src/weights.rs @@ -457,7 +457,7 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32, ) -> Weight { + fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1974 + e * (4788 ±0)` // Estimated: `6156 + e * (7749 ±0)` @@ -514,7 +514,7 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32, ) -> Weight { + fn router_execution_buy(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `6762` // Estimated: `13905` @@ -920,7 +920,7 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32, ) -> Weight { + fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1974 + e * (4788 ±0)` // Estimated: `6156 + e * (7749 ±0)` @@ -977,7 +977,7 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32, ) -> Weight { + fn router_execution_buy(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `6762` // Estimated: `13905` From 9d16f6b472235dac7cf36881d02f73c773d31830 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 10 Jan 2024 14:27:22 +0100 Subject: [PATCH 127/138] bump math crate version --- Cargo.lock | 2 +- math/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 68ec614f5..9b0c064ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4461,7 +4461,7 @@ dependencies = [ [[package]] name = "hydra-dx-math" -version = "7.7.1" +version = "7.7.2" dependencies = [ "approx", "criterion", diff --git a/math/Cargo.toml b/math/Cargo.toml index 0bb843b2f..b41fdb3fd 100644 --- a/math/Cargo.toml +++ b/math/Cargo.toml @@ -6,7 +6,7 @@ license = 'Apache-2.0' name = "hydra-dx-math" description = "A collection of utilities to make performing liquidity pool calculations more convenient." repository = 'https://github.com/galacticcouncil/hydradx-math' -version = "7.7.1" +version = "7.7.2" [dependencies] primitive-types = {default-features = false, version = '0.12.0'} From 56de0a36d6d052cc80a388892d82d459dae520e4 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 15 Jan 2024 13:36:27 +0100 Subject: [PATCH 128/138] bump runtime version --- Cargo.lock | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9b0c064ee..fd5178153 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4618,7 +4618,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "203.0.0" +version = "204.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 823e8defe..b5cb41819 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "203.0.0" +version = "204.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index b73bd94e9..cc9ddc756 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 203, + spec_version: 204, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From b9e06790362185dac985c3d3ec0992a0f140594e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 9 Jan 2024 13:02:15 +0100 Subject: [PATCH 129/138] impl functions for storing, loading and modifying TestExternalities --- Cargo.lock | 8 +- scraper/Cargo.toml | 16 +++- scraper/src/lib.rs | 219 +++++++++++++++++++++++++++++++++++++++++++- scraper/src/main.rs | 2 +- 4 files changed, 238 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd5178153..14026be21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12703,16 +12703,20 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" -version = "1.1.1" +version = "1.2.0" dependencies = [ "clap 3.2.25", "frame-remote-externalities", + "frame-support", + "frame-system", "hydradx-runtime", "jsonrpsee 0.15.1", + "pallet-balances", "parity-scale-codec", "serde", + "sp-core", "sp-rpc", - "sp-runtime", + "sp-state-machine", "substrate-rpc-client", "tokio", ] diff --git a/scraper/Cargo.toml b/scraper/Cargo.toml index 2642a93b1..1cbe23891 100644 --- a/scraper/Cargo.toml +++ b/scraper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scraper" -version = "1.1.1" +version = "1.2.0" description = "Scraper tool" authors = ["GalacticCouncil"] edition = "2021" @@ -19,7 +19,19 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread"] } hydradx-runtime = { workspace = true } # Substrate dependencies -sp-runtime = { workspace = true } +frame-support = { workspace = true } sp-rpc = { workspace = true } +sp-core = { workspace = true } +sp-state-machine = { workspace = true } substrate-rpc-client = { workspace = true } frame-remote-externalities = { workspace = true } + +frame-system = { workspace = true } +pallet-balances = { workspace = true } + +[features] +default= ["std"] + +std = [ +"hydradx-runtime/std" +] \ No newline at end of file diff --git a/scraper/src/lib.rs b/scraper/src/lib.rs index 30d5cfc8e..100d857a6 100644 --- a/scraper/src/lib.rs +++ b/scraper/src/lib.rs @@ -1,6 +1,17 @@ +#![allow(dead_code)] + use codec::{Decode, Encode}; -use sp_runtime::traits::Block as BlockT; -use std::{fs, path::Path, str::FromStr}; +use frame_remote_externalities::TestExternalities; +use frame_support::sp_runtime::{traits::Block as BlockT, StateVersion}; +use sp_core::storage::{ + well_known_keys::is_default_child_storage_key, ChildInfo, ChildType, PrefixedStorageKey, StorageData, StorageKey, +}; +use sp_state_machine::Backend; +use std::{ + fs, + path::{Path, PathBuf}, + str::FromStr, +}; pub fn save_blocks_snapshot(data: &Vec, path: &Path) -> Result<(), &'static str> { let mut path = path.to_path_buf(); @@ -26,3 +37,207 @@ where .parse::<::Hash>() .map_err(|_| "Could not parse block hash") } + +type KeyValue = (StorageKey, StorageData); +type TopKeyValues = Vec; +type ChildKeyValues = Vec<(ChildInfo, Vec)>; + +fn load_top_keys(ext: &TestExternalities) -> TopKeyValues { + let pairs = ext + .backend + .pairs() + .iter() + .map(|e| (StorageKey(e.clone().0), StorageData(e.clone().1))) + .collect(); + pairs +} + +fn load_child_keys(ext: &TestExternalities, top_kv: &[KeyValue]) -> Result { + let child_roots = top_kv + .iter() + .filter_map(|(k, _)| is_default_child_storage_key(k.as_ref()).then(|| k.clone())) + .collect::>(); + + let mut child_kv = vec![]; + + for prefixed_top_key in child_roots { + let storage_key = PrefixedStorageKey::new(prefixed_top_key.as_ref().to_vec()); + let child_info = match ChildType::from_prefixed_key(&storage_key) { + Some((ChildType::ParentKeyId, storage_key)) => ChildInfo::new_default(storage_key), + None => return Err("load_child_keys failed."), + }; + let child_keys: Vec = ext + .backend + .child_keys(&child_info, &StorageKey(vec![]).0) + .into_iter() + .map(StorageKey) + .collect(); + + let mut child_kv_inner = vec![]; + for key in child_keys { + let child_info = match ChildType::from_prefixed_key(&storage_key) { + Some((ChildType::ParentKeyId, storage_key)) => ChildInfo::new_default(storage_key), + None => return Err("load_child_keys failed."), + }; + let value = match ext.backend.child_storage(&child_info, &key.0) { + Ok(Some(value)) => value, + _ => return Err("load_child_keys failed."), + }; + child_kv_inner.push((key, StorageData(value))); + } + + let prefixed_top_key = PrefixedStorageKey::new(prefixed_top_key.clone().0); + let un_prefixed = match ChildType::from_prefixed_key(&prefixed_top_key) { + Some((ChildType::ParentKeyId, storage_key)) => storage_key, + None => return Err("load_child_keys failed."), + }; + + child_kv.push((ChildInfo::new_default(un_prefixed), child_kv_inner)); + } + + Ok(child_kv) +} + +pub fn extend_externalities(mut ext: TestExternalities, execute: impl FnOnce()) -> Result { + ext.execute_with(execute); + ext.commit_all()?; + Ok(ext) +} + +/// The snapshot that we store on disk. +#[derive(Decode, Encode)] +struct Snapshot { + state_version: StateVersion, + block_hash: B::Hash, + top: TopKeyValues, + child: ChildKeyValues, +} + +pub fn save_externalities(ext: TestExternalities, path: PathBuf) -> Result<(), &'static str> { + let top_kv = load_top_keys(&ext); + let child_kv = load_child_keys(&ext, &top_kv)?; + + let snapshot = Snapshot:: { + state_version: ext.state_version, + block_hash: Block::Hash::default(), + top: top_kv, + child: child_kv, + }; + let encoded = snapshot.encode(); + + fs::write(path, encoded).map_err(|_| "fs::write failed")?; + Ok(()) +} + +fn load_snapshot(path: PathBuf) -> Result { + let bytes = fs::read(path).map_err(|_| "fs::read failed.")?; + let snapshot: Snapshot = Decode::decode(&mut &*bytes).map_err(|_| "decode failed")?; + + let mut ext_from_snapshot = + TestExternalities::new_with_code_and_state(Default::default(), Default::default(), Default::default()); + + for (k, v) in snapshot.top { + // skip writing the child root data. + if is_default_child_storage_key(k.as_ref()) { + continue; + } + ext_from_snapshot.insert(k.0, v.0); + } + + for (info, key_values) in snapshot.child { + for (k, v) in key_values { + ext_from_snapshot.insert_child(info.clone(), k.0, v.0); + } + } + + Ok(ext_from_snapshot) +} + +pub const ALICE: [u8; 32] = [4u8; 32]; +pub const BOB: [u8; 32] = [5u8; 32]; + +#[cfg(test)] +/// used in tests to generate TestExternalities +fn externalities_from_genesis() -> TestExternalities { + let mut storage = frame_system::GenesisConfig::default() + .build_storage::() + .unwrap(); + + pallet_balances::GenesisConfig:: { + balances: vec![(hydradx_runtime::AccountId::from(ALICE), 1_000_000_000_000_000)], + } + .assimilate_storage(&mut storage) + .unwrap(); + + TestExternalities::new(storage) +} + +#[test] +fn extend_externalities_should_work() { + use frame_support::assert_ok; + + let ext = externalities_from_genesis(); + + let mut modified_ext = extend_externalities(ext, || { + assert_eq!( + hydradx_runtime::Balances::free_balance(&hydradx_runtime::AccountId::from(BOB)), + 0 + ); + assert_ok!(hydradx_runtime::Balances::transfer( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + BOB.into(), + 1_000_000_000_000, + )); + assert_eq!( + hydradx_runtime::Balances::free_balance(&hydradx_runtime::AccountId::from(BOB)), + 1_000_000_000_000 + ); + }) + .unwrap(); + + modified_ext.execute_with(|| { + assert_eq!( + hydradx_runtime::Balances::free_balance(&hydradx_runtime::AccountId::from(BOB)), + 1_000_000_000_000 + ); + }); +} + +#[test] +fn save_and_load_externalities_should_work() { + use frame_support::assert_ok; + + let ext = externalities_from_genesis(); + + let modified_ext = extend_externalities(ext, || { + assert_eq!( + hydradx_runtime::Balances::free_balance(&hydradx_runtime::AccountId::from(BOB)), + 0 + ); + assert_ok!(hydradx_runtime::Balances::transfer( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + BOB.into(), + 1_000_000_000_000, + )); + assert_eq!( + hydradx_runtime::Balances::free_balance(&hydradx_runtime::AccountId::from(BOB)), + 1_000_000_000_000 + ); + }) + .unwrap(); + + let path = std::path::PathBuf::from("./SNAPSHOT"); + + save_externalities::(modified_ext, path.clone()).unwrap(); + + let mut ext_from_snapshot = load_snapshot::(path.clone()).unwrap(); + + fs::remove_file(path).unwrap(); + + ext_from_snapshot.execute_with(|| { + assert_eq!( + hydradx_runtime::Balances::free_balance(&hydradx_runtime::AccountId::from(BOB)), + 1_000_000_000_000 + ); + }); +} diff --git a/scraper/src/main.rs b/scraper/src/main.rs index e885ae250..4234c310e 100644 --- a/scraper/src/main.rs +++ b/scraper/src/main.rs @@ -1,8 +1,8 @@ use clap::Parser; use frame_remote_externalities::*; +use frame_support::sp_runtime::{generic::SignedBlock, traits::Block as BlockT}; use hydradx_runtime::{Block, Hash, Header}; use sp_rpc::{list::ListOrValue, number::NumberOrHex}; -use sp_runtime::{generic::SignedBlock, traits::Block as BlockT}; use std::path::PathBuf; use substrate_rpc_client::{ws_client, ChainApi}; From 9444d9e9c9e0ab461542bd0c17e602a15cdb27b4 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 14:11:22 +0100 Subject: [PATCH 130/138] zombienet uses polkadot binary from polkadot-sdk repo --- rococo-local/config-zombienet.json | 4 ++-- rococo-local/config.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rococo-local/config-zombienet.json b/rococo-local/config-zombienet.json index f75e300c8..befb4e394 100644 --- a/rococo-local/config-zombienet.json +++ b/rococo-local/config-zombienet.json @@ -3,12 +3,12 @@ "provider": "native" }, "relaychain": { - "default_command": "../../polkadot/target/release/polkadot", + "default_command": "../../polkadot-sdk/target/release/polkadot", "chain": "rococo-local", "nodes": [ { "name": "alice", - "command": "../../polkadot/target/release/polkadot", + "command": "../../polkadot-sdk/target/release/polkadot", "args": ["--pruning=archive"], "ws_port": 9944, "invulnerable": true diff --git a/rococo-local/config.json b/rococo-local/config.json index 9e79d071b..8613de4ce 100644 --- a/rococo-local/config.json +++ b/rococo-local/config.json @@ -1,6 +1,6 @@ { "relaychain": { - "bin": "../../polkadot/target/release/polkadot", + "bin": "../../polkadot-sdk/target/release/polkadot", "chain": "rococo-local", "nodes": [ { From 93c0b8715a10a116ded6e80466fda07eb85f91ff Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 14:14:43 +0100 Subject: [PATCH 131/138] remove legacy CI inclusion test --- .github/workflows/tests.yml | 35 - scripts/wait-for-inclusion/index.js | 56 - scripts/wait-for-inclusion/package-lock.json | 11956 ----------------- scripts/wait-for-inclusion/package.json | 19 - 4 files changed, 12066 deletions(-) delete mode 100644 scripts/wait-for-inclusion/index.js delete mode 100644 scripts/wait-for-inclusion/package-lock.json delete mode 100644 scripts/wait-for-inclusion/package.json diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6c8eca954..2831f1773 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,41 +47,6 @@ jobs: - name: Run benchmark tests run: make test-benchmarks - test-inclusion: - needs: [build] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/download-artifact@v2 - name: Download node binary - with: - name: hydradx - path: target/release - - uses: robinraju/release-downloader@v1 - name: Download relay chain binary - with: - repository: paritytech/polkadot - tag: ${{ env.RELAY_CHAIN_VERSION }} - fileName: polkadot - out-file-path: ../polkadot/target/release - - run: chmod +x ./hydradx && ./hydradx --version - name: HydraDX version - working-directory: target/release - - run: chmod +x ./polkadot && ./polkadot --version - name: Polkadot version - working-directory: ../polkadot/target/release - - uses: actions/setup-node@v2 - name: Setup node.js - with: - node-version: '14' - check-latest: true - - run: npm install && npm start - name: Launch rococo local & wait for inclusion - working-directory: scripts/wait-for-inclusion - version-check: runs-on: ubuntu-latest permissions: diff --git a/scripts/wait-for-inclusion/index.js b/scripts/wait-for-inclusion/index.js deleted file mode 100644 index 485ae47b0..000000000 --- a/scripts/wait-for-inclusion/index.js +++ /dev/null @@ -1,56 +0,0 @@ -const { ApiPromise, WsProvider } = require('@polkadot/api'); - -let api; -const id = process.argv[2]; -let header = null; -async function checkParaHead() { - let head = (await api.query.paras.heads(id)).toHex(); - if (header === null) { - header = head; - console.log(`parachain ${id} registered`) - return; - } - if (header !== head) { - console.log(`parachain ${id} block included`); - process.exit(); - } -} - -async function main() { - const provider = new WsProvider('ws://127.0.0.1:9944'); - - api = await ApiPromise.create({ provider }); - - const [chain,, nodeVersion] = await Promise.all([ - api.rpc.system.chain(), - api.rpc.system.name(), - api.rpc.system.version() - ]); - - console.log(`connected to relay chain ${chain} ${nodeVersion}`); - console.log(`waiting for parachain ${id} block`); - - let count = 0; - await api.rpc.chain.subscribeNewHeads(async header => { - console.log(`relay chain #${header.number}`); - await checkParaHead(); - if (++count === 50) { - if (header === null) { - console.log(`parachain ${id} not registered`); - } else { - console.log(`parachain ${id} block not included in 50 relay blocks`); - } - process.exit(1); - } - }); -} - -main().catch(console.error); - -setTimeout(() => { - if (header == null) { - console.log(`parachain ${id} not registered in 60 sec`); - process.exit(1); - } -}, 60000) - diff --git a/scripts/wait-for-inclusion/package-lock.json b/scripts/wait-for-inclusion/package-lock.json deleted file mode 100644 index 361d73635..000000000 --- a/scripts/wait-for-inclusion/package-lock.json +++ /dev/null @@ -1,11956 +0,0 @@ -{ - "name": "wait-for-inclusion", - "version": "1.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "wait-for-inclusion", - "version": "1.0.0", - "license": "Apache-2.0", - "dependencies": { - "@polkadot/api": "^6.3.1", - "npm-run-all": "^4.1.5", - "polkadot-launch": "^2.1.0", - "wait-on": "^6.0.0" - } - }, - "../../../polkadot-launch": { - "version": "2.1.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "@polkadot/api": "^6.10.3", - "@polkadot/keyring": "^8.0.5", - "@polkadot/types": "^6.10.3", - "@polkadot/util": "^8.0.5", - "@polkadot/util-crypto": "^8.0.5", - "@types/chai": "^4.2.22", - "@types/mocha": "^9.0.0", - "chai": "^4.3.4", - "ethers": "^5.4.7", - "filter-console": "^0.1.1", - "libp2p-crypto": "^0.20.0", - "mocha": "^9.1.2", - "peer-id": "^0.15.3", - "tcp-port-used": "^1.0.2", - "ts-node": "^10.3.0", - "web3": "^1.6.0", - "web3-core": "^1.6.0", - "web3-eth": "^1.6.0", - "yargs": "^15.4.1" - }, - "bin": { - "polkadot-launch": "dist/cli.js" - }, - "devDependencies": { - "@types/node": "^16.4.12", - "@types/tcp-port-used": "^1.0.0", - "prettier": "^2.4.1", - "typescript": "^4.1.5" - } - }, - "node_modules/@babel/runtime": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.7.tgz", - "integrity": "sha512-9E9FJowqAsytyOY6LG+1KuueckRL+aQW+mKvXRXnuFGyRAyepJPmEo9vgMfXUA6O9u3IeEdv9MAkppFcaQwogQ==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@cspotcode/source-map-consumer": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", - "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", - "engines": { - "node": ">= 12" - } - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz", - "integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==", - "dependencies": { - "@cspotcode/source-map-consumer": "0.8.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@ethereumjs/common": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-2.6.0.tgz", - "integrity": "sha512-Cq2qS0FTu6O2VU1sgg+WyU9Ps0M6j/BEMHN+hRaECXCV/r0aI78u4N6p52QW/BDVhwWZpCdrvG8X7NJdzlpNUA==", - "dependencies": { - "crc-32": "^1.2.0", - "ethereumjs-util": "^7.1.3" - } - }, - "node_modules/@ethereumjs/tx": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.4.0.tgz", - "integrity": "sha512-WWUwg1PdjHKZZxPPo274ZuPsJCWV3SqATrEKQP1n2DrVYVP1aZIYpo/mFaA0BDoE0tIQmBeimRCEA0Lgil+yYw==", - "dependencies": { - "@ethereumjs/common": "^2.6.0", - "ethereumjs-util": "^7.1.3" - } - }, - "node_modules/@ethersproject/abi": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.5.0.tgz", - "integrity": "sha512-loW7I4AohP5KycATvc0MgujU6JyCHPqHdeoo9z3Nr9xEiNioxa65ccdm1+fsoJhkuhdRtfcL8cfyGamz2AxZ5w==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "node_modules/@ethersproject/abstract-provider": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.5.1.tgz", - "integrity": "sha512-m+MA/ful6eKbxpr99xUYeRvLkfnlqzrF8SZ46d/xFB1A7ZVknYc/sXJG0RcufF52Qn2jeFj1hhcoQ7IXjNKUqg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/networks": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/web": "^5.5.0" - } - }, - "node_modules/@ethersproject/abstract-signer": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.5.0.tgz", - "integrity": "sha512-lj//7r250MXVLKI7sVarXAbZXbv9P50lgmJQGr2/is82EwEb8r7HrxsmMqAjTsztMYy7ohrIhGMIml+Gx4D3mA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0" - } - }, - "node_modules/@ethersproject/address": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.5.0.tgz", - "integrity": "sha512-l4Nj0eWlTUh6ro5IbPTgbpT4wRbdH5l8CQf7icF7sb/SI3Nhd9Y9HzhonTSTi6CefI0necIw7LJqQPopPLZyWw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/rlp": "^5.5.0" - } - }, - "node_modules/@ethersproject/base64": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.5.0.tgz", - "integrity": "sha512-tdayUKhU1ljrlHzEWbStXazDpsx4eg1dBXUSI6+mHlYklOXoXF6lZvw8tnD6oVaWfnMxAgRSKROg3cVKtCcppA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0" - } - }, - "node_modules/@ethersproject/basex": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.5.0.tgz", - "integrity": "sha512-ZIodwhHpVJ0Y3hUCfUucmxKsWQA5TMnavp5j/UOuDdzZWzJlRmuOjcTMIGgHCYuZmHt36BfiSyQPSRskPxbfaQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/properties": "^5.5.0" - } - }, - "node_modules/@ethersproject/bignumber": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.5.0.tgz", - "integrity": "sha512-6Xytlwvy6Rn3U3gKEc1vP7nR92frHkv6wtVr95LFR3jREXiCPzdWxKQ1cx4JGQBXxcguAwjA8murlYN2TSiEbg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "bn.js": "^4.11.9" - } - }, - "node_modules/@ethersproject/bytes": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.5.0.tgz", - "integrity": "sha512-ABvc7BHWhZU9PNM/tANm/Qx4ostPGadAuQzWTr3doklZOhDlmcBqclrQe/ZXUIj3K8wC28oYeuRa+A37tX9kog==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/logger": "^5.5.0" - } - }, - "node_modules/@ethersproject/constants": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.5.0.tgz", - "integrity": "sha512-2MsRRVChkvMWR+GyMGY4N1sAX9Mt3J9KykCsgUFd/1mwS0UH1qw+Bv9k1UJb3X3YJYFco9H20pjSlOIfCG5HYQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.5.0" - } - }, - "node_modules/@ethersproject/contracts": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.5.0.tgz", - "integrity": "sha512-2viY7NzyvJkh+Ug17v7g3/IJC8HqZBDcOjYARZLdzRxrfGlRgmYgl6xPRKVbEzy1dWKw/iv7chDcS83pg6cLxg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abi": "^5.5.0", - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/transactions": "^5.5.0" - } - }, - "node_modules/@ethersproject/hash": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.5.0.tgz", - "integrity": "sha512-dnGVpK1WtBjmnp3mUT0PlU2MpapnwWI0PibldQEq1408tQBAbZpPidkWoVVuNMOl/lISO3+4hXZWCL3YV7qzfg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "node_modules/@ethersproject/hdnode": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.5.0.tgz", - "integrity": "sha512-mcSOo9zeUg1L0CoJH7zmxwUG5ggQHU1UrRf8jyTYy6HxdZV+r0PBoL1bxr+JHIPXRzS6u/UW4mEn43y0tmyF8Q==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/basex": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/pbkdf2": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/sha2": "^5.5.0", - "@ethersproject/signing-key": "^5.5.0", - "@ethersproject/strings": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/wordlists": "^5.5.0" - } - }, - "node_modules/@ethersproject/json-wallets": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.5.0.tgz", - "integrity": "sha512-9lA21XQnCdcS72xlBn1jfQdj2A1VUxZzOzi9UkNdnokNKke/9Ya2xA9aIK1SC3PQyBDLt4C+dfps7ULpkvKikQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/hdnode": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/pbkdf2": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/random": "^5.5.0", - "@ethersproject/strings": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, - "node_modules/@ethersproject/keccak256": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.5.0.tgz", - "integrity": "sha512-5VoFCTjo2rYbBe1l2f4mccaRFN/4VQEYFwwn04aJV2h7qf4ZvI2wFxUE1XOX+snbwCLRzIeikOqtAoPwMza9kg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "js-sha3": "0.8.0" - } - }, - "node_modules/@ethersproject/logger": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.5.0.tgz", - "integrity": "sha512-rIY/6WPm7T8n3qS2vuHTUBPdXHl+rGxWxW5okDfo9J4Z0+gRRZT0msvUdIJkE4/HS29GUMziwGaaKO2bWONBrg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ] - }, - "node_modules/@ethersproject/networks": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.5.2.tgz", - "integrity": "sha512-NEqPxbGBfy6O3x4ZTISb90SjEDkWYDUbEeIFhJly0F7sZjoQMnj5KYzMSkMkLKZ+1fGpx00EDpHQCy6PrDupkQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/logger": "^5.5.0" - } - }, - "node_modules/@ethersproject/pbkdf2": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.5.0.tgz", - "integrity": "sha512-SaDvQFvXPnz1QGpzr6/HToLifftSXGoXrbpZ6BvoZhmx4bNLHrxDe8MZisuecyOziP1aVEwzC2Hasj+86TgWVg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/sha2": "^5.5.0" - } - }, - "node_modules/@ethersproject/properties": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.5.0.tgz", - "integrity": "sha512-l3zRQg3JkD8EL3CPjNK5g7kMx4qSwiR60/uk5IVjd3oq1MZR5qUg40CNOoEJoX5wc3DyY5bt9EbMk86C7x0DNA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/logger": "^5.5.0" - } - }, - "node_modules/@ethersproject/providers": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.5.2.tgz", - "integrity": "sha512-hkbx7x/MKcRjyrO4StKXCzCpWer6s97xnm34xkfPiarhtEUVAN4TBBpamM+z66WcTt7H5B53YwbRj1n7i8pZoQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/basex": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/networks": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/random": "^5.5.0", - "@ethersproject/rlp": "^5.5.0", - "@ethersproject/sha2": "^5.5.0", - "@ethersproject/strings": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/web": "^5.5.0", - "bech32": "1.1.4", - "ws": "7.4.6" - } - }, - "node_modules/@ethersproject/random": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.5.1.tgz", - "integrity": "sha512-YaU2dQ7DuhL5Au7KbcQLHxcRHfgyNgvFV4sQOo0HrtW3Zkrc9ctWNz8wXQ4uCSfSDsqX2vcjhroxU5RQRV0nqA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "node_modules/@ethersproject/rlp": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.5.0.tgz", - "integrity": "sha512-hLv8XaQ8PTI9g2RHoQGf/WSxBfTB/NudRacbzdxmst5VHAqd1sMibWG7SENzT5Dj3yZ3kJYx+WiRYEcQTAkcYA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "node_modules/@ethersproject/sha2": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.5.0.tgz", - "integrity": "sha512-B5UBoglbCiHamRVPLA110J+2uqsifpZaTmid2/7W5rbtYVz6gus6/hSDieIU/6gaKIDcOj12WnOdiymEUHIAOA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "hash.js": "1.1.7" - } - }, - "node_modules/@ethersproject/signing-key": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.5.0.tgz", - "integrity": "sha512-5VmseH7qjtNmDdZBswavhotYbWB0bOwKIlOTSlX14rKn5c11QmJwGt4GHeo7NrL/Ycl7uo9AHvEqs5xZgFBTng==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "bn.js": "^4.11.9", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "node_modules/@ethersproject/solidity": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.5.0.tgz", - "integrity": "sha512-9NgZs9LhGMj6aCtHXhtmFQ4AN4sth5HuFXVvAQtzmm0jpSCNOTGtrHZJAeYTh7MBjRR8brylWZxBZR9zDStXbw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/sha2": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "node_modules/@ethersproject/strings": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.5.0.tgz", - "integrity": "sha512-9fy3TtF5LrX/wTrBaT8FGE6TDJyVjOvXynXJz5MT5azq+E6D92zuKNx7i29sWW2FjVOaWjAsiZ1ZWznuduTIIQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "node_modules/@ethersproject/transactions": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.5.0.tgz", - "integrity": "sha512-9RZYSKX26KfzEd/1eqvv8pLauCKzDTub0Ko4LfIgaERvRuwyaNV78mJs7cpIgZaDl6RJui4o49lHwwCM0526zA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/rlp": "^5.5.0", - "@ethersproject/signing-key": "^5.5.0" - } - }, - "node_modules/@ethersproject/units": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.5.0.tgz", - "integrity": "sha512-7+DpjiZk4v6wrikj+TCyWWa9dXLNU73tSTa7n0TSJDxkYbV3Yf1eRh9ToMLlZtuctNYu9RDNNy2USq3AdqSbag==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "node_modules/@ethersproject/wallet": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.5.0.tgz", - "integrity": "sha512-Mlu13hIctSYaZmUOo7r2PhNSd8eaMPVXe1wxrz4w4FCE4tDYBywDH+bAR1Xz2ADyXGwqYMwstzTrtUVIsKDO0Q==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/hdnode": "^5.5.0", - "@ethersproject/json-wallets": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/random": "^5.5.0", - "@ethersproject/signing-key": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/wordlists": "^5.5.0" - } - }, - "node_modules/@ethersproject/web": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.5.1.tgz", - "integrity": "sha512-olvLvc1CB12sREc1ROPSHTdFCdvMh0J5GSJYiQg2D0hdD4QmJDy8QYDb1CvoqD/bF1c++aeKv2sR5uduuG9dQg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/base64": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "node_modules/@ethersproject/wordlists": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.5.0.tgz", - "integrity": "sha512-bL0UTReWDiaQJJYOC9sh/XcRu/9i2jMrzf8VLRmPKx58ckSlOJiohODkECCO50dtLZHcGU6MLXQ4OOrgBwP77Q==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "node_modules/@hapi/hoek": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz", - "integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw==" - }, - "node_modules/@hapi/topo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@noble/hashes": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-0.4.5.tgz", - "integrity": "sha512-oK/2b9gHb1CfiFwpPHQs010WgROn4ioilT7TFwxMVwuDaXEJP3QPhyedYbOpgM4JDBgT9n5gaispBQlkaAgT6g==" - }, - "node_modules/@noble/secp256k1": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.4.0.tgz", - "integrity": "sha512-cYpUbQ2uitPgf5QuQnpi8Nu+ZmQjSDunFKw6vvxaOSkbMUhCf4K723WLUuuK1K/sf6H/dvqKbmEAeop5i3qTJg==" - }, - "node_modules/@polkadot/api": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-6.12.1.tgz", - "integrity": "sha512-RVdTiA2WaEvproM3i6E9TKS1bfXpPd9Ly9lUG/kVLaspjKoIot9DJUDTl97TJ+7xr8LXGbXqm448Ud0hsEBV8Q==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/api-derive": "6.12.1", - "@polkadot/keyring": "^8.1.2", - "@polkadot/rpc-core": "6.12.1", - "@polkadot/rpc-provider": "6.12.1", - "@polkadot/types": "6.12.1", - "@polkadot/types-known": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "eventemitter3": "^4.0.7", - "rxjs": "^7.4.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/api-derive": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-6.12.1.tgz", - "integrity": "sha512-5LOVlG5EBCT+ytY6aHmQ4RdEWZovZQqRoc6DLd5BLhkR7BFTHKSkLQW+89so8jd0zEtmSXBVPPnsrXS8joM35Q==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/api": "6.12.1", - "@polkadot/rpc-core": "6.12.1", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "rxjs": "^7.4.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/keyring": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-8.2.2.tgz", - "integrity": "sha512-GK8puQVtQJ67sVyq0WIWHPeRXfIcqz2ztgRHnGP4JEptS9NSFByQNq1EEpQnEUZwXu9CQfHz90eiLZc1BpC8lQ==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/util": "8.2.2", - "@polkadot/util-crypto": "8.2.2" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@polkadot/util": "8.2.2", - "@polkadot/util-crypto": "8.2.2" - } - }, - "node_modules/@polkadot/networks": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-8.2.2.tgz", - "integrity": "sha512-PshHrf5wBXib63l03YISnHMf5/fS1/Jv2rEN58EgYy9VK87HBXjT7qQ1Ea/d1cFI2EmfEDvhFsP+u3i6AlejQQ==", - "dependencies": { - "@babel/runtime": "^7.16.5" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/rpc-core": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-6.12.1.tgz", - "integrity": "sha512-Hb08D9zho3SB1UNlUCmG5q0gdgbOx25JKGLDfSYpD/wtD0Y1Sf2X5cfgtMoSYE3USWiRdCu4BxQkXTiRjPjzJg==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/rpc-provider": "6.12.1", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2", - "rxjs": "^7.4.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/rpc-provider": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-6.12.1.tgz", - "integrity": "sha512-uUHD3fLTOeZYWJoc6DQlhz+MJR33rVelasV+OxFY2nSD9MSNXRwQh+9UKDQBnyxw5B4BZ2QaEGfucDeavXmVDw==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "@polkadot/x-fetch": "^8.1.2", - "@polkadot/x-global": "^8.1.2", - "@polkadot/x-ws": "^8.1.2", - "eventemitter3": "^4.0.7" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/types": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-6.12.1.tgz", - "integrity": "sha512-O37cAGUL0xiXTuO3ySweVh0OuFUD6asrd0TfuzGsEp3jAISWdElEHV5QDiftWq8J9Vf8BMgTcP2QLFbmSusxqA==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/types-known": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "rxjs": "^7.4.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/types-known": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-6.12.1.tgz", - "integrity": "sha512-Z8bHpPQy+mqUm0uR1tai6ra0bQIoPmgRcGFYUM+rJtW1kx/6kZLh10HAICjLpPeA1cwLRzaxHRDqH5MCU6OgXw==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/networks": "^8.1.2", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/util": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-8.2.2.tgz", - "integrity": "sha512-tiHe0rcQvofd3vUVCRmvfULAv9yBG7s/huv1ZLVY/JGT1JBDonc1HWU3Vdb5MvWpx2R+HHv19ORHyD/LiROE9A==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-bigint": "8.2.2", - "@polkadot/x-global": "8.2.2", - "@polkadot/x-textdecoder": "8.2.2", - "@polkadot/x-textencoder": "8.2.2", - "@types/bn.js": "^4.11.6", - "bn.js": "^4.12.0", - "ip-regex": "^4.3.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/util-crypto": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-8.2.2.tgz", - "integrity": "sha512-bKFE6j1q2Dnz1o1QFvhX2QzkMLi9QHU4a5T7+El5J7OsOxGqssMAVHAmB+YoAuSLqPSQBmZa9CN23IiuJnfsbw==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@noble/hashes": "^0.4.5", - "@noble/secp256k1": "^1.3.4", - "@polkadot/networks": "8.2.2", - "@polkadot/util": "8.2.2", - "@polkadot/wasm-crypto": "^4.5.1", - "@polkadot/x-bigint": "8.2.2", - "@polkadot/x-randomvalues": "8.2.2", - "ed2curve": "^0.3.0", - "micro-base": "^0.10.0", - "tweetnacl": "^1.0.3" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@polkadot/util": "8.2.2" - } - }, - "node_modules/@polkadot/wasm-crypto": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-4.5.1.tgz", - "integrity": "sha512-Cr21ais3Kq3aedIHZ3J1tjgeD/+K8FCiwEawr0oRywNBSJR8wyuZMePs4swR/6xm8wbBkpqoBVHz/UQHqqQJmA==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/wasm-crypto-asmjs": "^4.5.1", - "@polkadot/wasm-crypto-wasm": "^4.5.1" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@polkadot/util": "*", - "@polkadot/x-randomvalues": "*" - } - }, - "node_modules/@polkadot/wasm-crypto-asmjs": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.5.1.tgz", - "integrity": "sha512-DOdRiWhxVvmqTvp+E9z1j+Yr0zDOGsDvqnT/eNw0Dl1FVUOImsEa7FKns/urASmcxCVEE1jtUWSnij29jrORMQ==", - "dependencies": { - "@babel/runtime": "^7.16.3" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/wasm-crypto-wasm": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.5.1.tgz", - "integrity": "sha512-hPwke85HxpgG/RAlwdCE8u5w7bThvWg399mlB+XjogXMxOUWBZSgq2XYbgzROUXx27inK9nStF4Pnc4zJnqs9A==", - "dependencies": { - "@babel/runtime": "^7.16.3" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/x-bigint": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-8.2.2.tgz", - "integrity": "sha512-fX3o3FhfQNxdpA5PV4L9PrjjSKG2ZmfFOfv3TrKwsDNtZMktDDcpmW3up53LJ53FszB/WHH6WwKsehmcqAYDIw==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/x-fetch": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-8.2.2.tgz", - "integrity": "sha512-ou8d1Ccf7lt7mssr64ixXYIWOZ4I4ED5sYBeFZg7BJB+MsZnuDOVvuMlItQWh01phMCOxtHWowmh+gOI4w5IWA==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2", - "@types/node-fetch": "^2.5.12", - "node-fetch": "^2.6.6" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/x-global": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-8.2.2.tgz", - "integrity": "sha512-eTJ6edgoIKzjfdYN3Y6ZuJUGRAAc8Uc5X8r4/1QmhOy427QbfRKRL/cbcLat1XbyM52aplOvZf31KXTAkMREdQ==", - "dependencies": { - "@babel/runtime": "^7.16.5" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/x-randomvalues": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-8.2.2.tgz", - "integrity": "sha512-v3dx0xvWHd5t6e41Fte63WFX/t1Fu9ug3tOr/QE6yMFrDSeDW9TzFJKklakc0tXryqW0cL4qZzUdSvguGC2TPA==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/x-textdecoder": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-8.2.2.tgz", - "integrity": "sha512-HQ/pSl4FREnxK0V7nvEdTwI08Erh6KPLwHZ0rSfUJKVDZ+NwfeW4BW/8xCEJOQIRB948Dqerl0XjEn4xCA+OPg==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/x-textencoder": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-8.2.2.tgz", - "integrity": "sha512-ZAOwYi/y1wRYb3WoWZMDfYPrmbPSasog2uknt8p9u2WELrrfj4zF/fRnSuMjLUNtvJuKSzj4LUCKHwTY+peSrQ==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@polkadot/x-ws": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-8.2.2.tgz", - "integrity": "sha512-qsHzmtoFXIN59qKSkycxQ3GGyzUMlvhl+d7yU1NMaoOudJGfniTbIcDFPtee27Ydamb1DwBvkRbKw5IO8Domdg==", - "dependencies": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2", - "@types/websocket": "^1.0.4", - "websocket": "^1.0.34" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "node_modules/@sideway/address": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.3.tgz", - "integrity": "sha512-8ncEUtmnTsMmL7z1YPB47kPUq7LpKWJNFPsRzHiIajGC5uXlWGn+AmkYPcHNl8S4tcEGx+cnORnNYaw2wvL+LQ==", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz", - "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg==" - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" - }, - "node_modules/@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dependencies": { - "defer-to-connect": "^1.0.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", - "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==" - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", - "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==" - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", - "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==" - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", - "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==" - }, - "node_modules/@types/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/chai": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.0.tgz", - "integrity": "sha512-/ceqdqeRraGolFTcfoXNiqjyQhZzbINDngeoAq9GoHa8PPK1yNzTaxWjA6BFWp5Ua9JpXEMSS4s5i9tS0hOJtw==" - }, - "node_modules/@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "node_modules/@types/mocha": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.0.0.tgz", - "integrity": "sha512-scN0hAWyLVAvLR9AyW7HoFF5sJZglyBsbPuHO4fv7JRvfmPBMfp1ozWqOf/e4wwPNxezBZXRfWzMb6iFLgEVRA==" - }, - "node_modules/@types/node": { - "version": "17.0.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz", - "integrity": "sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==" - }, - "node_modules/@types/node-fetch": { - "version": "2.5.12", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.12.tgz", - "integrity": "sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw==", - "dependencies": { - "@types/node": "*", - "form-data": "^3.0.0" - } - }, - "node_modules/@types/pbkdf2": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz", - "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/secp256k1": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.3.tgz", - "integrity": "sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/websocket": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.4.tgz", - "integrity": "sha512-qn1LkcFEKK8RPp459jkjzsfpbsx36BBt3oC3pITYtkoBw/aVX+EZFa5j3ThCRTNpLFvIMr5dSTD4RaMdilIOpA==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@ungap/promise-all-settled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", - "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==" - }, - "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/aes-js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "node_modules/asn1": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", - "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, - "node_modules/asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "dependencies": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" - } - }, - "node_modules/assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "engines": { - "node": "*" - } - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "engines": { - "node": "*" - } - }, - "node_modules/aws4": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "dependencies": { - "follow-redirects": "^1.14.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base-x": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz", - "integrity": "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, - "node_modules/bcrypt-pbkdf/node_modules/tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "node_modules/bech32": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", - "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" - }, - "node_modules/bignumber.js": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", - "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==", - "engines": { - "node": "*" - } - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, - "node_modules/blakejs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.1.tgz", - "integrity": "sha512-bLG6PHOCZJKNshTjGRBvET0vTciwQE6zFKOKKXPDJfwFBd4Ac0yBfPZqcGvGJap50l7ktvlpFqc2jGVaUgbJgg==" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" - }, - "node_modules/body-parser": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", - "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", - "dependencies": { - "bytes": "3.1.1", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.8.1", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.9.6", - "raw-body": "2.4.2", - "type-is": "~1.6.18" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" - }, - "node_modules/browser-stdout": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" - }, - "node_modules/browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "dependencies": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "dependencies": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "node_modules/browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", - "dependencies": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "dependencies": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - } - }, - "node_modules/browserify-rsa/node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - }, - "node_modules/browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "dependencies": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", - "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "node_modules/browserify-sign/node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - }, - "node_modules/bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "dependencies": { - "base-x": "^3.0.2" - } - }, - "node_modules/bs58check": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", - "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", - "dependencies": { - "bs58": "^4.0.0", - "create-hash": "^1.1.0", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/buffer-to-arraybuffer": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz", - "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo=" - }, - "node_modules/buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" - }, - "node_modules/bufferutil": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.6.tgz", - "integrity": "sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw==", - "hasInstallScript": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, - "node_modules/bytes": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", - "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cacheable-request/node_modules/lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "engines": { - "node": "*" - } - }, - "node_modules/chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "node_modules/cids": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.7.5.tgz", - "integrity": "sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "buffer": "^5.5.0", - "class-is": "^1.1.0", - "multibase": "~0.6.0", - "multicodec": "^1.0.0", - "multihashes": "~0.4.15" - }, - "engines": { - "node": ">=4.0.0", - "npm": ">=3.0.0" - } - }, - "node_modules/cids/node_modules/multicodec": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.4.tgz", - "integrity": "sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "buffer": "^5.6.0", - "varint": "^5.0.0" - } - }, - "node_modules/cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/class-is": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", - "integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw==" - }, - "node_modules/cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "node_modules/clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "dependencies": { - "mimic-response": "^1.0.0" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-hash": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/content-hash/-/content-hash-2.5.2.tgz", - "integrity": "sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw==", - "dependencies": { - "cids": "^0.7.1", - "multicodec": "^0.5.5", - "multihashes": "^0.4.15" - } - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", - "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "node_modules/cookiejar": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz", - "integrity": "sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==" - }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "node_modules/cors": { - "version": "2.8.5", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", - "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", - "dependencies": { - "object-assign": "^4", - "vary": "^1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/crc-32": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.0.tgz", - "integrity": "sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA==", - "dependencies": { - "exit-on-epipe": "~1.0.1", - "printj": "~1.1.0" - }, - "bin": { - "crc32": "bin/crc32.njs" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "dependencies": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - } - }, - "node_modules/create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "dependencies": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "node_modules/create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", - "dependencies": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" - }, - "node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "dependencies": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" - }, - "engines": { - "node": "*" - } - }, - "node_modules/d": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", - "dependencies": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" - } - }, - "node_modules/dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dependencies": { - "assert-plus": "^1.0.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/debug/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "dependencies": { - "mimic-response": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" - }, - "node_modules/defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" - }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "dependencies": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, - "node_modules/destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "node_modules/diff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", - "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "dependencies": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - } - }, - "node_modules/dom-walk": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", - "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" - }, - "node_modules/duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" - }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "node_modules/ed2curve": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/ed2curve/-/ed2curve-0.3.0.tgz", - "integrity": "sha512-8w2fmmq3hv9rCrcI7g9hms2pMunQr1JINfcjwR9tAyZqhtyaMN991lF/ZfHfr5tzZQ8c7y7aBgZbjfbd0fjFwQ==", - "dependencies": { - "tweetnacl": "1.x.x" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/err-code": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz", - "integrity": "sha512-GiaH0KJUewYok+eeY05IIgjtAe4Yltygk9Wqp1V5yVWLdhf0hYZchRjNIT9bb0mSwRcIusT3cx7PJUf3zEIfUA==" - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.1", - "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es5-ext": { - "version": "0.10.53", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", - "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", - "dependencies": { - "es6-iterator": "~2.0.3", - "es6-symbol": "~3.1.3", - "next-tick": "~1.0.0" - } - }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", - "dependencies": { - "d": "^1.0.1", - "ext": "^1.1.2" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/eth-ens-namehash": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", - "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", - "dependencies": { - "idna-uts46-hx": "^2.3.1", - "js-sha3": "^0.5.7" - } - }, - "node_modules/eth-ens-namehash/node_modules/js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" - }, - "node_modules/eth-lib": { - "version": "0.1.29", - "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.29.tgz", - "integrity": "sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ==", - "dependencies": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "nano-json-stream-parser": "^0.1.2", - "servify": "^0.1.12", - "ws": "^3.0.0", - "xhr-request-promise": "^0.1.2" - } - }, - "node_modules/eth-lib/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/eth-lib/node_modules/ws": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", - "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", - "dependencies": { - "async-limiter": "~1.0.0", - "safe-buffer": "~5.1.0", - "ultron": "~1.1.0" - } - }, - "node_modules/ethereum-bloom-filters": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz", - "integrity": "sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA==", - "dependencies": { - "js-sha3": "^0.8.0" - } - }, - "node_modules/ethereum-cryptography": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", - "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==", - "dependencies": { - "@types/pbkdf2": "^3.0.0", - "@types/secp256k1": "^4.0.1", - "blakejs": "^1.1.0", - "browserify-aes": "^1.2.0", - "bs58check": "^2.1.2", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "hash.js": "^1.1.7", - "keccak": "^3.0.0", - "pbkdf2": "^3.0.17", - "randombytes": "^2.1.0", - "safe-buffer": "^5.1.2", - "scrypt-js": "^3.0.0", - "secp256k1": "^4.0.1", - "setimmediate": "^1.0.5" - } - }, - "node_modules/ethereumjs-util": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.3.tgz", - "integrity": "sha512-y+82tEbyASO0K0X1/SRhbJJoAlfcvq8JbrG4a5cjrOks7HS/36efU/0j2flxCPOUM++HFahk33kr/ZxyC4vNuw==", - "dependencies": { - "@types/bn.js": "^5.1.0", - "bn.js": "^5.1.2", - "create-hash": "^1.1.2", - "ethereum-cryptography": "^0.1.3", - "rlp": "^2.2.4" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/ethereumjs-util/node_modules/@types/bn.js": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz", - "integrity": "sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/ethereumjs-util/node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - }, - "node_modules/ethers": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.5.3.tgz", - "integrity": "sha512-fTT4WT8/hTe/BLwRUtl7I5zlpF3XC3P/Xwqxc5AIP2HGlH15qpmjs0Ou78az93b1rLITzXLFxoNX63B8ZbUd7g==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abi": "5.5.0", - "@ethersproject/abstract-provider": "5.5.1", - "@ethersproject/abstract-signer": "5.5.0", - "@ethersproject/address": "5.5.0", - "@ethersproject/base64": "5.5.0", - "@ethersproject/basex": "5.5.0", - "@ethersproject/bignumber": "5.5.0", - "@ethersproject/bytes": "5.5.0", - "@ethersproject/constants": "5.5.0", - "@ethersproject/contracts": "5.5.0", - "@ethersproject/hash": "5.5.0", - "@ethersproject/hdnode": "5.5.0", - "@ethersproject/json-wallets": "5.5.0", - "@ethersproject/keccak256": "5.5.0", - "@ethersproject/logger": "5.5.0", - "@ethersproject/networks": "5.5.2", - "@ethersproject/pbkdf2": "5.5.0", - "@ethersproject/properties": "5.5.0", - "@ethersproject/providers": "5.5.2", - "@ethersproject/random": "5.5.1", - "@ethersproject/rlp": "5.5.0", - "@ethersproject/sha2": "5.5.0", - "@ethersproject/signing-key": "5.5.0", - "@ethersproject/solidity": "5.5.0", - "@ethersproject/strings": "5.5.0", - "@ethersproject/transactions": "5.5.0", - "@ethersproject/units": "5.5.0", - "@ethersproject/wallet": "5.5.0", - "@ethersproject/web": "5.5.1", - "@ethersproject/wordlists": "5.5.0" - } - }, - "node_modules/ethjs-unit": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", - "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", - "dependencies": { - "bn.js": "4.11.6", - "number-to-bn": "1.7.0" - }, - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/ethjs-unit/node_modules/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" - }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dependencies": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/exit-on-epipe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", - "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/express": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", - "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", - "dependencies": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.1", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.4.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.7", - "qs": "6.9.6", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.17.2", - "serve-static": "1.14.2", - "setprototypeof": "1.2.0", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/ext": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", - "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", - "dependencies": { - "type": "^2.5.0" - } - }, - "node_modules/ext/node_modules/type": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", - "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==" - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "node_modules/extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "engines": [ - "node >=0.6.0" - ] - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/filter-console": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/filter-console/-/filter-console-0.1.1.tgz", - "integrity": "sha512-zrXoV1Uaz52DqPs+qEwNJWJFAWZpYJ47UNmpN9q4j+/EYsz85uV0DC9k8tRND5kYmoVzL0W+Y75q4Rg8sRJCdg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "bin": { - "flat": "cli.js" - } - }, - "node_modules/follow-redirects": { - "version": "1.14.7", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", - "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, - "node_modules/forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "engines": { - "node": "*" - } - }, - "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fs-extra": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "node_modules/fs-minipass": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", - "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", - "dependencies": { - "minipass": "^2.6.0" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "engines": { - "node": "*" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dependencies": { - "assert-plus": "^1.0.0" - } - }, - "node_modules/glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/global": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", - "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", - "dependencies": { - "min-document": "^2.19.0", - "process": "^0.11.10" - } - }, - "node_modules/got": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dependencies": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" - }, - "node_modules/growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", - "engines": { - "node": ">=4.x" - } - }, - "node_modules/har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "engines": { - "node": ">=4" - } - }, - "node_modules/har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "deprecated": "this library is no longer supported", - "dependencies": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/has-symbol-support-x": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz", - "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==", - "engines": { - "node": "*" - } - }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-to-string-tag-x": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", - "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", - "dependencies": { - "has-symbol-support-x": "^1.4.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "bin": { - "he": "bin/he" - } - }, - "node_modules/hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dependencies": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "node_modules/http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" - }, - "node_modules/http-errors": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", - "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/http-https": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz", - "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs=" - }, - "node_modules/http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - }, - "engines": { - "node": ">=0.8", - "npm": ">=1.3.7" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/idna-uts46-hx": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", - "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", - "dependencies": { - "punycode": "2.1.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/idna-uts46-hx/node_modules/punycode": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", - "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=", - "engines": { - "node": ">=6" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "dependencies": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ip-regex": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-function": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz", - "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==" - }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-hex-prefixed": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", - "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=", - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", - "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz", - "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-retry-allowed": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", - "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", - "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-url": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", - "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is2": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/is2/-/is2-2.0.7.tgz", - "integrity": "sha512-4vBQoURAXC6hnLFxD4VW7uc04XiwTTl/8ydYJxKvPwkWQrSjInkuM5VZVg6BGr1/natq69zDuvO9lGpLClJqvA==", - "dependencies": { - "deep-is": "^0.1.3", - "ip-regex": "^4.1.0", - "is-url": "^1.2.4" - }, - "engines": { - "node": ">=v0.10.0" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - }, - "node_modules/iso-random-stream": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/iso-random-stream/-/iso-random-stream-2.0.2.tgz", - "integrity": "sha512-yJvs+Nnelic1L2vH2JzWvvPQFA4r7kSTnpST/+LkAQjSz0hos2oqLD+qIVi9Qk38Hoe7mNDt3j0S27R58MVjLQ==", - "dependencies": { - "events": "^3.3.0", - "readable-stream": "^3.4.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "node_modules/isurl": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", - "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", - "dependencies": { - "has-to-string-tag-x": "^1.2.0", - "is-object": "^1.0.1" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/joi": { - "version": "17.5.0", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.5.0.tgz", - "integrity": "sha512-R7hR50COp7StzLnDi4ywOXHrBrgNXuUUfJWIR5lPY5Bm/pOD3jZaTwpluUXVLRWcoWZxkrHBBJ5hLxgnlehbdw==", - "dependencies": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", - "@sideway/formula": "^3.0.0", - "@sideway/pinpoint": "^2.0.0" - } - }, - "node_modules/js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, - "node_modules/json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" - }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" - }, - "node_modules/json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsprim": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", - "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", - "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/keccak": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.2.tgz", - "integrity": "sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==", - "hasInstallScript": true, - "dependencies": { - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/keypair": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/keypair/-/keypair-1.0.4.tgz", - "integrity": "sha512-zwhgOhhniaL7oxMgUMKKw5219PWWABMO+dgMnzJOQ2/5L3XJtTJGhW2PEXlxXj9zaccdReZJZ83+4NPhVfNVDg==" - }, - "node_modules/keyv": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dependencies": { - "json-buffer": "3.0.0" - } - }, - "node_modules/libp2p-crypto": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.20.0.tgz", - "integrity": "sha512-WgIW9rYcWaO/5j2T6NW3R6Q46yvp2ZfFErqRMbi4/pOTL3T7+OROYpL/1iWVksWkXyurU/t2qFsIijWMxR5C4Q==", - "dependencies": { - "err-code": "^3.0.1", - "iso-random-stream": "^2.0.0", - "keypair": "^1.0.4", - "multiformats": "^9.4.5", - "noble-ed25519": "^1.2.6", - "noble-secp256k1": "^1.2.10", - "node-forge": "^0.10.0", - "pem-jwk": "^2.0.0", - "protobufjs": "^6.11.2", - "uint8arrays": "^3.0.0", - "ursa-optional": "^0.10.1" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-symbols/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/log-symbols/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/log-symbols/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/log-symbols/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/log-symbols/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "node_modules/lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" - }, - "node_modules/md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/memorystream": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", - "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=", - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/micro-base": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/micro-base/-/micro-base-0.10.2.tgz", - "integrity": "sha512-lqqJrT7lfJtDmmiQ4zRLZuIJBk96t0RAc5pCrrWpL9zDeH5i/SUL85mku9HqzTI/OCZ8EQ3aicbMW+eK5Nyu5w==" - }, - "node_modules/miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dependencies": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - }, - "bin": { - "miller-rabin": "bin/miller-rabin" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.51.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", - "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.34", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", - "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", - "dependencies": { - "mime-db": "1.51.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/min-document": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", - "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", - "dependencies": { - "dom-walk": "^0.1.0" - } - }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - }, - "node_modules/minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "node_modules/minipass": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", - "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", - "dependencies": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - }, - "node_modules/minizlib": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", - "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", - "dependencies": { - "minipass": "^2.9.0" - } - }, - "node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/mkdirp-promise": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz", - "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=", - "deprecated": "This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.", - "dependencies": { - "mkdirp": "*" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mocha": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.3.tgz", - "integrity": "sha512-Xcpl9FqXOAYqI3j79pEtHBBnQgVXIhpULjGQa7DVb0Po+VzmSIK9kanAiWLHoRR/dbZ2qpdPshuXr8l1VaHCzw==", - "dependencies": { - "@ungap/promise-all-settled": "1.1.2", - "ansi-colors": "4.1.1", - "browser-stdout": "1.3.1", - "chokidar": "3.5.2", - "debug": "4.3.2", - "diff": "5.0.0", - "escape-string-regexp": "4.0.0", - "find-up": "5.0.0", - "glob": "7.1.7", - "growl": "1.10.5", - "he": "1.2.0", - "js-yaml": "4.1.0", - "log-symbols": "4.1.0", - "minimatch": "3.0.4", - "ms": "2.1.3", - "nanoid": "3.1.25", - "serialize-javascript": "6.0.0", - "strip-json-comments": "3.1.1", - "supports-color": "8.1.1", - "which": "2.0.2", - "workerpool": "6.1.5", - "yargs": "16.2.0", - "yargs-parser": "20.2.4", - "yargs-unparser": "2.0.0" - }, - "bin": { - "_mocha": "bin/_mocha", - "mocha": "bin/mocha" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mochajs" - } - }, - "node_modules/mocha/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/mocha/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/mocha/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/mocha/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/mocha/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/mocha/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/mocha/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/mocha/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/mocha/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/mocha/node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/mocha/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/mock-fs": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.14.0.tgz", - "integrity": "sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw==" - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/multibase": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.6.1.tgz", - "integrity": "sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "base-x": "^3.0.8", - "buffer": "^5.5.0" - } - }, - "node_modules/multicodec": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-0.5.7.tgz", - "integrity": "sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "varint": "^5.0.0" - } - }, - "node_modules/multiformats": { - "version": "9.5.8", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.5.8.tgz", - "integrity": "sha512-GY154q1yPPdHX4ArXHE8Z1Mm9BxZcJetzEqfwQg/ongo91qIJDHJEio3zboHIKGEvBLrhVqKwlRuDqwa7+xECQ==" - }, - "node_modules/multihashes": { - "version": "0.4.21", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.21.tgz", - "integrity": "sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw==", - "dependencies": { - "buffer": "^5.5.0", - "multibase": "^0.7.0", - "varint": "^5.0.0" - } - }, - "node_modules/multihashes/node_modules/multibase": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.7.0.tgz", - "integrity": "sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "base-x": "^3.0.8", - "buffer": "^5.5.0" - } - }, - "node_modules/nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==" - }, - "node_modules/nano-json-stream-parser": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz", - "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18=" - }, - "node_modules/nanoid": { - "version": "3.1.25", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", - "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/next-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", - "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" - }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" - }, - "node_modules/noble-ed25519": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/noble-ed25519/-/noble-ed25519-1.2.6.tgz", - "integrity": "sha512-zfnWqg9FVMp8CnzUpAjbt1nDXpDjCvxYiCXdnW1mY8zQHw/6twUlkFm14VPdojVzc0kcd+i9zT79+26GcNbsuQ==", - "deprecated": "Switch to namespaced @noble/ed25519 for security and feature updates" - }, - "node_modules/noble-secp256k1": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/noble-secp256k1/-/noble-secp256k1-1.2.14.tgz", - "integrity": "sha512-GSCXyoZBUaaPwVWdYncMEmzlSUjF9J/YeEHpklYJCyg8wPuJP3NzDx0BkiwArzINkdX2HJHvUJhL6vVWPOQQcg==", - "deprecated": "Switch to namespaced @noble/secp256k1 for security and feature updates" - }, - "node_modules/node-addon-api": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", - "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" - }, - "node_modules/node-fetch": { - "version": "2.6.6", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", - "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/node-gyp-build": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", - "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" - } - }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm-run-all": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", - "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "chalk": "^2.4.1", - "cross-spawn": "^6.0.5", - "memorystream": "^0.3.1", - "minimatch": "^3.0.4", - "pidtree": "^0.3.0", - "read-pkg": "^3.0.0", - "shell-quote": "^1.6.1", - "string.prototype.padend": "^3.0.0" - }, - "bin": { - "npm-run-all": "bin/npm-run-all/index.js", - "run-p": "bin/run-p/index.js", - "run-s": "bin/run-s/index.js" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/number-to-bn": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz", - "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=", - "dependencies": { - "bn.js": "4.11.6", - "strip-hex-prefix": "1.0.0" - }, - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/number-to-bn/node_modules/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" - }, - "node_modules/oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "engines": { - "node": "*" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", - "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/oboe": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.5.tgz", - "integrity": "sha1-VVQoTFQ6ImbXo48X4HOCH73jk80=", - "dependencies": { - "http-https": "^1.0.0" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-timeout": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz", - "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=", - "dependencies": { - "p-finally": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", - "dependencies": { - "asn1.js": "^5.2.0", - "browserify-aes": "^1.0.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/parse-headers": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.4.tgz", - "integrity": "sha512-psZ9iZoCNFLrgRjZ1d8mn0h9WRqJwFxM9q3x7iUjN/YT2OksthDJ5TiPCu2F38kS4zutqfW+YdVVkBZZx3/1aw==" - }, - "node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "engines": { - "node": ">=4" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "node_modules/path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dependencies": { - "pify": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/pbkdf2": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", - "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", - "dependencies": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/peer-id": { - "version": "0.15.4", - "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.15.4.tgz", - "integrity": "sha512-MDoBIMZYwQIAHaZQUwsIcvoFgdbIl5GtZMwSkXpIYvc5v0TSDv+u8WsTKrKt2Vv28tHFFDJQdVzu3T4qTPzK+w==", - "dependencies": { - "class-is": "^1.1.0", - "libp2p-crypto": "^0.20.0", - "minimist": "^1.2.5", - "multiformats": "^9.4.5", - "protobufjs": "^6.10.2", - "uint8arrays": "^3.0.0" - }, - "bin": { - "peer-id": "src/bin.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/pem-jwk": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pem-jwk/-/pem-jwk-2.0.0.tgz", - "integrity": "sha512-rFxu7rVoHgQ5H9YsP50dDWf0rHjreVA2z0yPiWr5WdH/UHb29hKtF7h6l8vNd1cbYR1t0QL+JKhW55a2ZV4KtA==", - "dependencies": { - "asn1.js": "^5.0.1" - }, - "bin": { - "pem-jwk": "bin/pem-jwk.js" - }, - "engines": { - "node": ">=5.10.0" - } - }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pidtree": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", - "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", - "bin": { - "pidtree": "bin/pidtree.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "engines": { - "node": ">=4" - } - }, - "node_modules/polkadot-launch": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/polkadot-launch/-/polkadot-launch-2.1.0.tgz", - "integrity": "sha512-f1QXjSIKIWclphTQQeSrp+bt+n6y674X0iPUWPLvFcjPkAX+WN0T9Dcl98xr/HVVxwOWhQmG8NCUUSEN66rESA==", - "dependencies": { - "@polkadot/api": "^6.10.3", - "@polkadot/keyring": "^8.0.5", - "@polkadot/types": "^6.10.3", - "@polkadot/util": "^8.0.5", - "@polkadot/util-crypto": "^8.0.5", - "@types/chai": "^4.2.22", - "@types/mocha": "^9.0.0", - "chai": "^4.3.4", - "ethers": "^5.4.7", - "filter-console": "^0.1.1", - "libp2p-crypto": "^0.20.0", - "mocha": "^9.1.2", - "peer-id": "^0.15.3", - "tcp-port-used": "^1.0.2", - "ts-node": "^10.3.0", - "web3": "^1.6.0", - "web3-core": "^1.6.0", - "web3-eth": "^1.6.0", - "yargs": "^15.4.1" - }, - "bin": { - "polkadot-launch": "dist/cli.js" - } - }, - "node_modules/prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "engines": { - "node": ">=4" - } - }, - "node_modules/printj": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz", - "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==", - "bin": { - "printj": "bin/printj.njs" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" - }, - "node_modules/public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", - "dependencies": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "engines": { - "node": ">=6" - } - }, - "node_modules/qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/query-string": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", - "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==", - "dependencies": { - "decode-uri-component": "^0.2.0", - "object-assign": "^4.1.0", - "strict-uri-encode": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "dependencies": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", - "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", - "dependencies": { - "bytes": "3.1.1", - "http-errors": "1.8.1", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "dependencies": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "node_modules/request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/request/node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/request/node_modules/qs": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", - "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" - }, - "node_modules/resolve": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.0.tgz", - "integrity": "sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==", - "dependencies": { - "is-core-module": "^2.8.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dependencies": { - "lowercase-keys": "^1.0.0" - } - }, - "node_modules/ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "node_modules/rlp": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.7.tgz", - "integrity": "sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==", - "dependencies": { - "bn.js": "^5.2.0" - }, - "bin": { - "rlp": "bin/rlp" - } - }, - "node_modules/rlp/node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - }, - "node_modules/rxjs": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.1.tgz", - "integrity": "sha512-KExVEeZWxMZnZhUZtsJcFwz8IvPvgu4G2Z2QyqjZQzUGr32KDYuSxrEYO4w3tFFNbfLozcrKUTvTPi+E9ywJkQ==", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/scrypt-js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", - "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" - }, - "node_modules/secp256k1": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", - "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", - "hasInstallScript": true, - "dependencies": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/send": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", - "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", - "dependencies": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "1.8.1", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/serve-static": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", - "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/servify": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz", - "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==", - "dependencies": { - "body-parser": "^1.16.0", - "cors": "^2.8.1", - "express": "^4.14.0", - "request": "^2.79.0", - "xhr": "^2.3.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" - }, - "node_modules/sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - }, - "bin": { - "sha.js": "bin.js" - } - }, - "node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shell-quote": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.3.tgz", - "integrity": "sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==" - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/simple-get": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz", - "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==", - "dependencies": { - "decompress-response": "^3.3.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", - "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==" - }, - "node_modules/sshpk": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", - "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", - "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "bin": { - "sshpk-conv": "bin/sshpk-conv", - "sshpk-sign": "bin/sshpk-sign", - "sshpk-verify": "bin/sshpk-verify" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sshpk/node_modules/tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/strict-uri-encode": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.padend": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz", - "integrity": "sha512-jNIIeokznm8SD/TZISQsZKYu7RJyheFNt84DUPrh482GC8RVp2MKqm2O5oBRdGxbDQoXrhhWtPIWQOiy20svUg==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-hex-prefix": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", - "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", - "dependencies": { - "is-hex-prefixed": "1.0.0" - }, - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/swarm-js": { - "version": "0.1.40", - "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.40.tgz", - "integrity": "sha512-yqiOCEoA4/IShXkY3WKwP5PvZhmoOOD8clsKA7EEcRILMkTEYHCQ21HDCAcVpmIxZq4LyZvWeRJ6quIyHk1caA==", - "dependencies": { - "bluebird": "^3.5.0", - "buffer": "^5.0.5", - "eth-lib": "^0.1.26", - "fs-extra": "^4.0.2", - "got": "^7.1.0", - "mime-types": "^2.1.16", - "mkdirp-promise": "^5.0.1", - "mock-fs": "^4.1.0", - "setimmediate": "^1.0.5", - "tar": "^4.0.2", - "xhr-request": "^1.0.1" - } - }, - "node_modules/swarm-js/node_modules/get-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", - "engines": { - "node": ">=4" - } - }, - "node_modules/swarm-js/node_modules/got": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", - "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", - "dependencies": { - "decompress-response": "^3.2.0", - "duplexer3": "^0.1.4", - "get-stream": "^3.0.0", - "is-plain-obj": "^1.1.0", - "is-retry-allowed": "^1.0.0", - "is-stream": "^1.0.0", - "isurl": "^1.0.0-alpha5", - "lowercase-keys": "^1.0.0", - "p-cancelable": "^0.3.0", - "p-timeout": "^1.1.1", - "safe-buffer": "^5.0.1", - "timed-out": "^4.0.0", - "url-parse-lax": "^1.0.0", - "url-to-options": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/swarm-js/node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/swarm-js/node_modules/p-cancelable": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz", - "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==", - "engines": { - "node": ">=4" - } - }, - "node_modules/swarm-js/node_modules/prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/swarm-js/node_modules/url-parse-lax": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", - "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", - "dependencies": { - "prepend-http": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/tar": { - "version": "4.4.19", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", - "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", - "dependencies": { - "chownr": "^1.1.4", - "fs-minipass": "^1.2.7", - "minipass": "^2.9.0", - "minizlib": "^1.3.3", - "mkdirp": "^0.5.5", - "safe-buffer": "^5.2.1", - "yallist": "^3.1.1" - }, - "engines": { - "node": ">=4.5" - } - }, - "node_modules/tcp-port-used": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/tcp-port-used/-/tcp-port-used-1.0.2.tgz", - "integrity": "sha512-l7ar8lLUD3XS1V2lfoJlCBaeoaWo/2xfYt81hM7VlvR4RrMVFqfmzfhLVk40hAb368uitje5gPtBRL1m/DGvLA==", - "dependencies": { - "debug": "4.3.1", - "is2": "^2.0.6" - } - }, - "node_modules/tcp-port-used/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/tcp-port-used/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/timed-out": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", - "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "engines": { - "node": ">=6" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" - }, - "node_modules/ts-node": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.4.0.tgz", - "integrity": "sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A==", - "dependencies": { - "@cspotcode/source-map-support": "0.7.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/ts-node/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/tweetnacl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", - "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" - }, - "node_modules/type": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, - "node_modules/typescript": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", - "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/uint8arrays": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.0.0.tgz", - "integrity": "sha512-HRCx0q6O9Bfbp+HHSfQQKD7wU70+lydKVt4EghkdOvlK/NlrF90z+eXV34mUd48rNvVJXwkrMSPpCATkct8fJA==", - "dependencies": { - "multiformats": "^9.4.2" - } - }, - "node_modules/ultron": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", - "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==" - }, - "node_modules/unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dependencies": { - "prepend-http": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/url-set-query": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz", - "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk=" - }, - "node_modules/url-to-options": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", - "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=", - "engines": { - "node": ">= 4" - } - }, - "node_modules/ursa-optional": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/ursa-optional/-/ursa-optional-0.10.2.tgz", - "integrity": "sha512-TKdwuLboBn7M34RcvVTuQyhvrA8gYKapuVdm0nBP0mnBc7oECOfUQZrY91cefL3/nm64ZyrejSRrhTVdX7NG/A==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.14.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/utf-8-validate": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.8.tgz", - "integrity": "sha512-k4dW/Qja1BYDl2qD4tOMB9PFVha/UJtxTc1cXYOe3WwA/2m0Yn4qB7wLMpJyLJ/7DR0XnTut3HsCSzDT4ZvKgA==", - "hasInstallScript": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, - "node_modules/utf8": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", - "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==" - }, - "node_modules/util": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", - "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", - "which-typed-array": "^1.1.2" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "engines": [ - "node >=0.6.0" - ], - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "node_modules/wait-on": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-6.0.0.tgz", - "integrity": "sha512-tnUJr9p5r+bEYXPUdRseolmz5XqJTTj98JgOsfBn7Oz2dxfE2g3zw1jE+Mo8lopM3j3et/Mq1yW7kKX6qw7RVw==", - "dependencies": { - "axios": "^0.21.1", - "joi": "^17.4.0", - "lodash": "^4.17.21", - "minimist": "^1.2.5", - "rxjs": "^7.1.0" - }, - "bin": { - "wait-on": "bin/wait-on" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/web3": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3/-/web3-1.6.1.tgz", - "integrity": "sha512-c299lLiyb2/WOcxh7TinwvbATaMmrgNIeAzbLbmOKHI0LcwyfsB1eu2ReOIrfrCYDYRW2KAjYr7J7gHawqDNPQ==", - "hasInstallScript": true, - "dependencies": { - "web3-bzz": "1.6.1", - "web3-core": "1.6.1", - "web3-eth": "1.6.1", - "web3-eth-personal": "1.6.1", - "web3-net": "1.6.1", - "web3-shh": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-bzz": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.6.1.tgz", - "integrity": "sha512-JbnFNbRlwwHJZPtVuCxo7rC4U4OTg+mPsyhjgPQJJhS0a6Y54OgVWYk9UA/95HqbmTJwTtX329gJoSsseEfrng==", - "hasInstallScript": true, - "dependencies": { - "@types/node": "^12.12.6", - "got": "9.6.0", - "swarm-js": "^0.1.40" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-bzz/node_modules/@types/node": { - "version": "12.20.41", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz", - "integrity": "sha512-f6xOqucbDirG7LOzedpvzjP3UTmHttRou3Mosx3vL9wr9AIQGhcPgVnqa8ihpZYnxyM1rxeNCvTyukPKZtq10Q==" - }, - "node_modules/web3-core": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.6.1.tgz", - "integrity": "sha512-m+b7UfYvU5cQUAh6NRfxRzH/5B3to1AdEQi1HIQt570cDWlObOOmoO9tY6iJnI5w4acxIO19LqjDMqEJGBYyRQ==", - "dependencies": { - "@types/bn.js": "^4.11.5", - "@types/node": "^12.12.6", - "bignumber.js": "^9.0.0", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-requestmanager": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-core-helpers": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.6.1.tgz", - "integrity": "sha512-om2PZvK1uoWcgMq6JfcSx3241LEIVF6qi2JuHz2SLKiKEW5UsBUaVx0mNCmcZaiuYQCyOsLS3r33q5AdM+v8ng==", - "dependencies": { - "web3-eth-iban": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-core-method": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.6.1.tgz", - "integrity": "sha512-szH5KyIWIaULQDBdDvevQUCHV9lsExJ/oV0ePqK+w015D2SdMPMuhii0WB+HCePaksWO+rr/GAypvV9g2T3N+w==", - "dependencies": { - "@ethersproject/transactions": "^5.0.0-beta.135", - "web3-core-helpers": "1.6.1", - "web3-core-promievent": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-core-promievent": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.6.1.tgz", - "integrity": "sha512-byJ5s2MQxrWdXd27pWFmujfzsTZK4ik8rDgIV1RFDFc+rHZ2nZhq+VWk7t/Nkrj7EaVXncEgTdPEHc18nx+ocQ==", - "dependencies": { - "eventemitter3": "4.0.4" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-core-promievent/node_modules/eventemitter3": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz", - "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==" - }, - "node_modules/web3-core-requestmanager": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.6.1.tgz", - "integrity": "sha512-4y7etYEUtkfflyYVBfN1oJtCbVFNhNX1omlEYzezhTnPj3/dT7n+dhUXcqvIhx9iKA13unGfpFge80XNFfcB8A==", - "dependencies": { - "util": "^0.12.0", - "web3-core-helpers": "1.6.1", - "web3-providers-http": "1.6.1", - "web3-providers-ipc": "1.6.1", - "web3-providers-ws": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-core-subscriptions": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.6.1.tgz", - "integrity": "sha512-WZwxsYttIojyGQ5RqxuQcKg0IJdDCFpUe4EncS3QKZwxPqWzGmgyLwE0rm7tP+Ux1waJn5CUaaoSCBxWGSun1g==", - "dependencies": { - "eventemitter3": "4.0.4", - "web3-core-helpers": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-core-subscriptions/node_modules/eventemitter3": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz", - "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==" - }, - "node_modules/web3-core/node_modules/@types/node": { - "version": "12.20.41", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz", - "integrity": "sha512-f6xOqucbDirG7LOzedpvzjP3UTmHttRou3Mosx3vL9wr9AIQGhcPgVnqa8ihpZYnxyM1rxeNCvTyukPKZtq10Q==" - }, - "node_modules/web3-eth": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.6.1.tgz", - "integrity": "sha512-kOV1ZgCKypSo5BQyltRArS7ZC3bRpIKAxSgzl7pUFinUb/MxfbM9KGeNxUXoCfTSErcCQJaDjcS6bSre5EMKuQ==", - "dependencies": { - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-eth-abi": "1.6.1", - "web3-eth-accounts": "1.6.1", - "web3-eth-contract": "1.6.1", - "web3-eth-ens": "1.6.1", - "web3-eth-iban": "1.6.1", - "web3-eth-personal": "1.6.1", - "web3-net": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-eth-abi": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.6.1.tgz", - "integrity": "sha512-svhYrAlXP9XQtV7poWKydwDJq2CaNLMtmKydNXoOBLcQec6yGMP+v20pgrxF2H6wyTK+Qy0E3/5ciPOqC/VuoQ==", - "dependencies": { - "@ethersproject/abi": "5.0.7", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-eth-abi/node_modules/@ethersproject/abi": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.7.tgz", - "integrity": "sha512-Cqktk+hSIckwP/W8O47Eef60VwmoSC/L3lY0+dIBhQPCNn9E4V7rwmm2aFrNRRDJfFlGuZ1khkQUOc3oBX+niw==", - "dependencies": { - "@ethersproject/address": "^5.0.4", - "@ethersproject/bignumber": "^5.0.7", - "@ethersproject/bytes": "^5.0.4", - "@ethersproject/constants": "^5.0.4", - "@ethersproject/hash": "^5.0.4", - "@ethersproject/keccak256": "^5.0.3", - "@ethersproject/logger": "^5.0.5", - "@ethersproject/properties": "^5.0.3", - "@ethersproject/strings": "^5.0.4" - } - }, - "node_modules/web3-eth-accounts": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.6.1.tgz", - "integrity": "sha512-rGn3jwnuOKwaQRu4SiShz0YAQ87aVDBKs4HO43+XTCI1q1Y1jn3NOsG3BW9ZHaOckev4+zEyxze/Bsh2oEk24w==", - "dependencies": { - "@ethereumjs/common": "^2.5.0", - "@ethereumjs/tx": "^3.3.2", - "crypto-browserify": "3.12.0", - "eth-lib": "0.2.8", - "ethereumjs-util": "^7.0.10", - "scrypt-js": "^3.0.1", - "uuid": "3.3.2", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-eth-accounts/node_modules/eth-lib": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz", - "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==", - "dependencies": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "xhr-request-promise": "^0.1.2" - } - }, - "node_modules/web3-eth-contract": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.6.1.tgz", - "integrity": "sha512-GXqTe3mF6kpbOAakiNc7wtJ120/gpuKMTZjuGFKeeY8aobRLfbfgKzM9IpyqVZV2v5RLuGXDuurVN2KPgtu3hQ==", - "dependencies": { - "@types/bn.js": "^4.11.5", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-promievent": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-eth-abi": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-eth-ens": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.6.1.tgz", - "integrity": "sha512-ngprtbnoRgxg8s1wXt9nXpD3h1P+p7XnKXrp/8GdFI9uDmrbSQPRfzBw86jdZgOmy78hAnWmrHI6pBInmgi2qQ==", - "dependencies": { - "content-hash": "^2.5.2", - "eth-ens-namehash": "2.0.8", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-promievent": "1.6.1", - "web3-eth-abi": "1.6.1", - "web3-eth-contract": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-eth-iban": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.6.1.tgz", - "integrity": "sha512-91H0jXZnWlOoXmc13O9NuQzcjThnWyAHyDn5Yf7u6mmKOhpJSGF/OHlkbpXt1Y4v2eJdEPaVFa+6i8aRyagE7Q==", - "dependencies": { - "bn.js": "^4.11.9", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-eth-personal": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.6.1.tgz", - "integrity": "sha512-ItsC89Ln02+irzJjK6ALcLrMZfbVUCqVbmb/ieDKJ+eLW3pNkBNwoUzaydh92d5NzxNZgNxuQWVdlFyYX2hkEw==", - "dependencies": { - "@types/node": "^12.12.6", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-net": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-eth-personal/node_modules/@types/node": { - "version": "12.20.41", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz", - "integrity": "sha512-f6xOqucbDirG7LOzedpvzjP3UTmHttRou3Mosx3vL9wr9AIQGhcPgVnqa8ihpZYnxyM1rxeNCvTyukPKZtq10Q==" - }, - "node_modules/web3-net": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.6.1.tgz", - "integrity": "sha512-gpnqKEIwfUHh5ik7wsQFlCje1DfcmGv+Sk7LCh1hCqn++HEDQxJ/mZCrMo11ZZpZHCH7c87imdxTg96GJnRxDw==", - "dependencies": { - "web3-core": "1.6.1", - "web3-core-method": "1.6.1", - "web3-utils": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-providers-http": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.6.1.tgz", - "integrity": "sha512-xBoKOJxu10+kO3ikamXmBfrWZ/xpQOGy0ocdp7Y81B17En5TXELwlmMXt1UlIgWiyYDhjq4OwlH/VODYqHXy3A==", - "dependencies": { - "web3-core-helpers": "1.6.1", - "xhr2-cookies": "1.1.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-providers-ipc": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.6.1.tgz", - "integrity": "sha512-anyoIZlpMzwEQI4lwylTzDrHsVp20v0QUtSTp2B5jInBinmQtyCE7vnbX20jEQ4j5uPwfJabKNtoJsk6a3O4WQ==", - "dependencies": { - "oboe": "2.1.5", - "web3-core-helpers": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-providers-ws": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.6.1.tgz", - "integrity": "sha512-FWMEFYb4rYFYRgSFBf/O1Ex4p/YKSlN+JydCtdlJwRimd89qm95CTfs4xGjCskwvXMjV2sarH+f1NPwJXicYpg==", - "dependencies": { - "eventemitter3": "4.0.4", - "web3-core-helpers": "1.6.1", - "websocket": "^1.0.32" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-providers-ws/node_modules/eventemitter3": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz", - "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==" - }, - "node_modules/web3-shh": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.6.1.tgz", - "integrity": "sha512-oP00HbAtybLCGlLOZUYXOdeB9xq88k2l0TtStvKBtmFqRt+zVk5TxEeuOnVPRxNhcA2Un8RUw6FtvgZlWStu9A==", - "hasInstallScript": true, - "dependencies": { - "web3-core": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-net": "1.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/web3-utils": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.6.1.tgz", - "integrity": "sha512-RidGKv5kOkcerI6jQqDFDoTllQQqV+rPhTzZHhmbqtFObbYpU93uc+yG1LHivRTQhA6llIx67iudc/vzisgO+w==", - "dependencies": { - "bn.js": "^4.11.9", - "ethereum-bloom-filters": "^1.0.6", - "ethereumjs-util": "^7.1.0", - "ethjs-unit": "0.1.6", - "number-to-bn": "1.7.0", - "randombytes": "^2.1.0", - "utf8": "3.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" - }, - "node_modules/websocket": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", - "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==", - "dependencies": { - "bufferutil": "^4.0.1", - "debug": "^2.2.0", - "es5-ext": "^0.10.50", - "typedarray-to-buffer": "^3.1.5", - "utf-8-validate": "^5.0.2", - "yaeti": "^0.0.6" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/websocket/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/websocket/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" - }, - "node_modules/which-typed-array": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", - "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/workerpool": { - "version": "6.1.5", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz", - "integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw==" - }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "node_modules/ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xhr": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.6.0.tgz", - "integrity": "sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==", - "dependencies": { - "global": "~4.4.0", - "is-function": "^1.0.1", - "parse-headers": "^2.0.0", - "xtend": "^4.0.0" - } - }, - "node_modules/xhr-request": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz", - "integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==", - "dependencies": { - "buffer-to-arraybuffer": "^0.0.5", - "object-assign": "^4.1.1", - "query-string": "^5.0.1", - "simple-get": "^2.7.0", - "timed-out": "^4.0.1", - "url-set-query": "^1.0.0", - "xhr": "^2.0.4" - } - }, - "node_modules/xhr-request-promise": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz", - "integrity": "sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg==", - "dependencies": { - "xhr-request": "^1.1.0" - } - }, - "node_modules/xhr2-cookies": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz", - "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=", - "dependencies": { - "cookiejar": "^2.1.1" - } - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" - }, - "node_modules/yaeti": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", - "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=", - "engines": { - "node": ">=0.10.32" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" - }, - "node_modules/yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", - "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", - "dependencies": { - "camelcase": "^6.0.0", - "decamelize": "^4.0.0", - "flat": "^5.0.2", - "is-plain-obj": "^2.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser/node_modules/decamelize": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/yargs/node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/yargs/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - }, - "dependencies": { - "@babel/runtime": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.7.tgz", - "integrity": "sha512-9E9FJowqAsytyOY6LG+1KuueckRL+aQW+mKvXRXnuFGyRAyepJPmEo9vgMfXUA6O9u3IeEdv9MAkppFcaQwogQ==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@cspotcode/source-map-consumer": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", - "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==" - }, - "@cspotcode/source-map-support": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz", - "integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==", - "requires": { - "@cspotcode/source-map-consumer": "0.8.0" - } - }, - "@ethereumjs/common": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-2.6.0.tgz", - "integrity": "sha512-Cq2qS0FTu6O2VU1sgg+WyU9Ps0M6j/BEMHN+hRaECXCV/r0aI78u4N6p52QW/BDVhwWZpCdrvG8X7NJdzlpNUA==", - "requires": { - "crc-32": "^1.2.0", - "ethereumjs-util": "^7.1.3" - } - }, - "@ethereumjs/tx": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.4.0.tgz", - "integrity": "sha512-WWUwg1PdjHKZZxPPo274ZuPsJCWV3SqATrEKQP1n2DrVYVP1aZIYpo/mFaA0BDoE0tIQmBeimRCEA0Lgil+yYw==", - "requires": { - "@ethereumjs/common": "^2.6.0", - "ethereumjs-util": "^7.1.3" - } - }, - "@ethersproject/abi": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.5.0.tgz", - "integrity": "sha512-loW7I4AohP5KycATvc0MgujU6JyCHPqHdeoo9z3Nr9xEiNioxa65ccdm1+fsoJhkuhdRtfcL8cfyGamz2AxZ5w==", - "requires": { - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "@ethersproject/abstract-provider": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.5.1.tgz", - "integrity": "sha512-m+MA/ful6eKbxpr99xUYeRvLkfnlqzrF8SZ46d/xFB1A7ZVknYc/sXJG0RcufF52Qn2jeFj1hhcoQ7IXjNKUqg==", - "requires": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/networks": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/web": "^5.5.0" - } - }, - "@ethersproject/abstract-signer": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.5.0.tgz", - "integrity": "sha512-lj//7r250MXVLKI7sVarXAbZXbv9P50lgmJQGr2/is82EwEb8r7HrxsmMqAjTsztMYy7ohrIhGMIml+Gx4D3mA==", - "requires": { - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0" - } - }, - "@ethersproject/address": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.5.0.tgz", - "integrity": "sha512-l4Nj0eWlTUh6ro5IbPTgbpT4wRbdH5l8CQf7icF7sb/SI3Nhd9Y9HzhonTSTi6CefI0necIw7LJqQPopPLZyWw==", - "requires": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/rlp": "^5.5.0" - } - }, - "@ethersproject/base64": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.5.0.tgz", - "integrity": "sha512-tdayUKhU1ljrlHzEWbStXazDpsx4eg1dBXUSI6+mHlYklOXoXF6lZvw8tnD6oVaWfnMxAgRSKROg3cVKtCcppA==", - "requires": { - "@ethersproject/bytes": "^5.5.0" - } - }, - "@ethersproject/basex": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.5.0.tgz", - "integrity": "sha512-ZIodwhHpVJ0Y3hUCfUucmxKsWQA5TMnavp5j/UOuDdzZWzJlRmuOjcTMIGgHCYuZmHt36BfiSyQPSRskPxbfaQ==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/properties": "^5.5.0" - } - }, - "@ethersproject/bignumber": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.5.0.tgz", - "integrity": "sha512-6Xytlwvy6Rn3U3gKEc1vP7nR92frHkv6wtVr95LFR3jREXiCPzdWxKQ1cx4JGQBXxcguAwjA8murlYN2TSiEbg==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "bn.js": "^4.11.9" - } - }, - "@ethersproject/bytes": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.5.0.tgz", - "integrity": "sha512-ABvc7BHWhZU9PNM/tANm/Qx4ostPGadAuQzWTr3doklZOhDlmcBqclrQe/ZXUIj3K8wC28oYeuRa+A37tX9kog==", - "requires": { - "@ethersproject/logger": "^5.5.0" - } - }, - "@ethersproject/constants": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.5.0.tgz", - "integrity": "sha512-2MsRRVChkvMWR+GyMGY4N1sAX9Mt3J9KykCsgUFd/1mwS0UH1qw+Bv9k1UJb3X3YJYFco9H20pjSlOIfCG5HYQ==", - "requires": { - "@ethersproject/bignumber": "^5.5.0" - } - }, - "@ethersproject/contracts": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.5.0.tgz", - "integrity": "sha512-2viY7NzyvJkh+Ug17v7g3/IJC8HqZBDcOjYARZLdzRxrfGlRgmYgl6xPRKVbEzy1dWKw/iv7chDcS83pg6cLxg==", - "requires": { - "@ethersproject/abi": "^5.5.0", - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/transactions": "^5.5.0" - } - }, - "@ethersproject/hash": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.5.0.tgz", - "integrity": "sha512-dnGVpK1WtBjmnp3mUT0PlU2MpapnwWI0PibldQEq1408tQBAbZpPidkWoVVuNMOl/lISO3+4hXZWCL3YV7qzfg==", - "requires": { - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "@ethersproject/hdnode": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.5.0.tgz", - "integrity": "sha512-mcSOo9zeUg1L0CoJH7zmxwUG5ggQHU1UrRf8jyTYy6HxdZV+r0PBoL1bxr+JHIPXRzS6u/UW4mEn43y0tmyF8Q==", - "requires": { - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/basex": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/pbkdf2": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/sha2": "^5.5.0", - "@ethersproject/signing-key": "^5.5.0", - "@ethersproject/strings": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/wordlists": "^5.5.0" - } - }, - "@ethersproject/json-wallets": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.5.0.tgz", - "integrity": "sha512-9lA21XQnCdcS72xlBn1jfQdj2A1VUxZzOzi9UkNdnokNKke/9Ya2xA9aIK1SC3PQyBDLt4C+dfps7ULpkvKikQ==", - "requires": { - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/hdnode": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/pbkdf2": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/random": "^5.5.0", - "@ethersproject/strings": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, - "@ethersproject/keccak256": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.5.0.tgz", - "integrity": "sha512-5VoFCTjo2rYbBe1l2f4mccaRFN/4VQEYFwwn04aJV2h7qf4ZvI2wFxUE1XOX+snbwCLRzIeikOqtAoPwMza9kg==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "js-sha3": "0.8.0" - } - }, - "@ethersproject/logger": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.5.0.tgz", - "integrity": "sha512-rIY/6WPm7T8n3qS2vuHTUBPdXHl+rGxWxW5okDfo9J4Z0+gRRZT0msvUdIJkE4/HS29GUMziwGaaKO2bWONBrg==" - }, - "@ethersproject/networks": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.5.2.tgz", - "integrity": "sha512-NEqPxbGBfy6O3x4ZTISb90SjEDkWYDUbEeIFhJly0F7sZjoQMnj5KYzMSkMkLKZ+1fGpx00EDpHQCy6PrDupkQ==", - "requires": { - "@ethersproject/logger": "^5.5.0" - } - }, - "@ethersproject/pbkdf2": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.5.0.tgz", - "integrity": "sha512-SaDvQFvXPnz1QGpzr6/HToLifftSXGoXrbpZ6BvoZhmx4bNLHrxDe8MZisuecyOziP1aVEwzC2Hasj+86TgWVg==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/sha2": "^5.5.0" - } - }, - "@ethersproject/properties": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.5.0.tgz", - "integrity": "sha512-l3zRQg3JkD8EL3CPjNK5g7kMx4qSwiR60/uk5IVjd3oq1MZR5qUg40CNOoEJoX5wc3DyY5bt9EbMk86C7x0DNA==", - "requires": { - "@ethersproject/logger": "^5.5.0" - } - }, - "@ethersproject/providers": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.5.2.tgz", - "integrity": "sha512-hkbx7x/MKcRjyrO4StKXCzCpWer6s97xnm34xkfPiarhtEUVAN4TBBpamM+z66WcTt7H5B53YwbRj1n7i8pZoQ==", - "requires": { - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/basex": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/networks": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/random": "^5.5.0", - "@ethersproject/rlp": "^5.5.0", - "@ethersproject/sha2": "^5.5.0", - "@ethersproject/strings": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/web": "^5.5.0", - "bech32": "1.1.4", - "ws": "7.4.6" - } - }, - "@ethersproject/random": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.5.1.tgz", - "integrity": "sha512-YaU2dQ7DuhL5Au7KbcQLHxcRHfgyNgvFV4sQOo0HrtW3Zkrc9ctWNz8wXQ4uCSfSDsqX2vcjhroxU5RQRV0nqA==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "@ethersproject/rlp": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.5.0.tgz", - "integrity": "sha512-hLv8XaQ8PTI9g2RHoQGf/WSxBfTB/NudRacbzdxmst5VHAqd1sMibWG7SENzT5Dj3yZ3kJYx+WiRYEcQTAkcYA==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "@ethersproject/sha2": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.5.0.tgz", - "integrity": "sha512-B5UBoglbCiHamRVPLA110J+2uqsifpZaTmid2/7W5rbtYVz6gus6/hSDieIU/6gaKIDcOj12WnOdiymEUHIAOA==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "hash.js": "1.1.7" - } - }, - "@ethersproject/signing-key": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.5.0.tgz", - "integrity": "sha512-5VmseH7qjtNmDdZBswavhotYbWB0bOwKIlOTSlX14rKn5c11QmJwGt4GHeo7NrL/Ycl7uo9AHvEqs5xZgFBTng==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "bn.js": "^4.11.9", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "@ethersproject/solidity": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.5.0.tgz", - "integrity": "sha512-9NgZs9LhGMj6aCtHXhtmFQ4AN4sth5HuFXVvAQtzmm0jpSCNOTGtrHZJAeYTh7MBjRR8brylWZxBZR9zDStXbw==", - "requires": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/sha2": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "@ethersproject/strings": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.5.0.tgz", - "integrity": "sha512-9fy3TtF5LrX/wTrBaT8FGE6TDJyVjOvXynXJz5MT5azq+E6D92zuKNx7i29sWW2FjVOaWjAsiZ1ZWznuduTIIQ==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "@ethersproject/transactions": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.5.0.tgz", - "integrity": "sha512-9RZYSKX26KfzEd/1eqvv8pLauCKzDTub0Ko4LfIgaERvRuwyaNV78mJs7cpIgZaDl6RJui4o49lHwwCM0526zA==", - "requires": { - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/rlp": "^5.5.0", - "@ethersproject/signing-key": "^5.5.0" - } - }, - "@ethersproject/units": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.5.0.tgz", - "integrity": "sha512-7+DpjiZk4v6wrikj+TCyWWa9dXLNU73tSTa7n0TSJDxkYbV3Yf1eRh9ToMLlZtuctNYu9RDNNy2USq3AdqSbag==", - "requires": { - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/constants": "^5.5.0", - "@ethersproject/logger": "^5.5.0" - } - }, - "@ethersproject/wallet": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.5.0.tgz", - "integrity": "sha512-Mlu13hIctSYaZmUOo7r2PhNSd8eaMPVXe1wxrz4w4FCE4tDYBywDH+bAR1Xz2ADyXGwqYMwstzTrtUVIsKDO0Q==", - "requires": { - "@ethersproject/abstract-provider": "^5.5.0", - "@ethersproject/abstract-signer": "^5.5.0", - "@ethersproject/address": "^5.5.0", - "@ethersproject/bignumber": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/hdnode": "^5.5.0", - "@ethersproject/json-wallets": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/random": "^5.5.0", - "@ethersproject/signing-key": "^5.5.0", - "@ethersproject/transactions": "^5.5.0", - "@ethersproject/wordlists": "^5.5.0" - } - }, - "@ethersproject/web": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.5.1.tgz", - "integrity": "sha512-olvLvc1CB12sREc1ROPSHTdFCdvMh0J5GSJYiQg2D0hdD4QmJDy8QYDb1CvoqD/bF1c++aeKv2sR5uduuG9dQg==", - "requires": { - "@ethersproject/base64": "^5.5.0", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "@ethersproject/wordlists": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.5.0.tgz", - "integrity": "sha512-bL0UTReWDiaQJJYOC9sh/XcRu/9i2jMrzf8VLRmPKx58ckSlOJiohODkECCO50dtLZHcGU6MLXQ4OOrgBwP77Q==", - "requires": { - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/hash": "^5.5.0", - "@ethersproject/logger": "^5.5.0", - "@ethersproject/properties": "^5.5.0", - "@ethersproject/strings": "^5.5.0" - } - }, - "@hapi/hoek": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz", - "integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw==" - }, - "@hapi/topo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", - "requires": { - "@hapi/hoek": "^9.0.0" - } - }, - "@noble/hashes": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-0.4.5.tgz", - "integrity": "sha512-oK/2b9gHb1CfiFwpPHQs010WgROn4ioilT7TFwxMVwuDaXEJP3QPhyedYbOpgM4JDBgT9n5gaispBQlkaAgT6g==" - }, - "@noble/secp256k1": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.4.0.tgz", - "integrity": "sha512-cYpUbQ2uitPgf5QuQnpi8Nu+ZmQjSDunFKw6vvxaOSkbMUhCf4K723WLUuuK1K/sf6H/dvqKbmEAeop5i3qTJg==" - }, - "@polkadot/api": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-6.12.1.tgz", - "integrity": "sha512-RVdTiA2WaEvproM3i6E9TKS1bfXpPd9Ly9lUG/kVLaspjKoIot9DJUDTl97TJ+7xr8LXGbXqm448Ud0hsEBV8Q==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/api-derive": "6.12.1", - "@polkadot/keyring": "^8.1.2", - "@polkadot/rpc-core": "6.12.1", - "@polkadot/rpc-provider": "6.12.1", - "@polkadot/types": "6.12.1", - "@polkadot/types-known": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "eventemitter3": "^4.0.7", - "rxjs": "^7.4.0" - } - }, - "@polkadot/api-derive": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-6.12.1.tgz", - "integrity": "sha512-5LOVlG5EBCT+ytY6aHmQ4RdEWZovZQqRoc6DLd5BLhkR7BFTHKSkLQW+89so8jd0zEtmSXBVPPnsrXS8joM35Q==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/api": "6.12.1", - "@polkadot/rpc-core": "6.12.1", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "rxjs": "^7.4.0" - } - }, - "@polkadot/keyring": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-8.2.2.tgz", - "integrity": "sha512-GK8puQVtQJ67sVyq0WIWHPeRXfIcqz2ztgRHnGP4JEptS9NSFByQNq1EEpQnEUZwXu9CQfHz90eiLZc1BpC8lQ==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/util": "8.2.2", - "@polkadot/util-crypto": "8.2.2" - } - }, - "@polkadot/networks": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-8.2.2.tgz", - "integrity": "sha512-PshHrf5wBXib63l03YISnHMf5/fS1/Jv2rEN58EgYy9VK87HBXjT7qQ1Ea/d1cFI2EmfEDvhFsP+u3i6AlejQQ==", - "requires": { - "@babel/runtime": "^7.16.5" - } - }, - "@polkadot/rpc-core": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-6.12.1.tgz", - "integrity": "sha512-Hb08D9zho3SB1UNlUCmG5q0gdgbOx25JKGLDfSYpD/wtD0Y1Sf2X5cfgtMoSYE3USWiRdCu4BxQkXTiRjPjzJg==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/rpc-provider": "6.12.1", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2", - "rxjs": "^7.4.0" - } - }, - "@polkadot/rpc-provider": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-6.12.1.tgz", - "integrity": "sha512-uUHD3fLTOeZYWJoc6DQlhz+MJR33rVelasV+OxFY2nSD9MSNXRwQh+9UKDQBnyxw5B4BZ2QaEGfucDeavXmVDw==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "@polkadot/x-fetch": "^8.1.2", - "@polkadot/x-global": "^8.1.2", - "@polkadot/x-ws": "^8.1.2", - "eventemitter3": "^4.0.7" - } - }, - "@polkadot/types": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-6.12.1.tgz", - "integrity": "sha512-O37cAGUL0xiXTuO3ySweVh0OuFUD6asrd0TfuzGsEp3jAISWdElEHV5QDiftWq8J9Vf8BMgTcP2QLFbmSusxqA==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/types-known": "6.12.1", - "@polkadot/util": "^8.1.2", - "@polkadot/util-crypto": "^8.1.2", - "rxjs": "^7.4.0" - } - }, - "@polkadot/types-known": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-6.12.1.tgz", - "integrity": "sha512-Z8bHpPQy+mqUm0uR1tai6ra0bQIoPmgRcGFYUM+rJtW1kx/6kZLh10HAICjLpPeA1cwLRzaxHRDqH5MCU6OgXw==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/networks": "^8.1.2", - "@polkadot/types": "6.12.1", - "@polkadot/util": "^8.1.2" - } - }, - "@polkadot/util": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-8.2.2.tgz", - "integrity": "sha512-tiHe0rcQvofd3vUVCRmvfULAv9yBG7s/huv1ZLVY/JGT1JBDonc1HWU3Vdb5MvWpx2R+HHv19ORHyD/LiROE9A==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-bigint": "8.2.2", - "@polkadot/x-global": "8.2.2", - "@polkadot/x-textdecoder": "8.2.2", - "@polkadot/x-textencoder": "8.2.2", - "@types/bn.js": "^4.11.6", - "bn.js": "^4.12.0", - "ip-regex": "^4.3.0" - } - }, - "@polkadot/util-crypto": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-8.2.2.tgz", - "integrity": "sha512-bKFE6j1q2Dnz1o1QFvhX2QzkMLi9QHU4a5T7+El5J7OsOxGqssMAVHAmB+YoAuSLqPSQBmZa9CN23IiuJnfsbw==", - "requires": { - "@babel/runtime": "^7.16.5", - "@noble/hashes": "^0.4.5", - "@noble/secp256k1": "^1.3.4", - "@polkadot/networks": "8.2.2", - "@polkadot/util": "8.2.2", - "@polkadot/wasm-crypto": "^4.5.1", - "@polkadot/x-bigint": "8.2.2", - "@polkadot/x-randomvalues": "8.2.2", - "ed2curve": "^0.3.0", - "micro-base": "^0.10.0", - "tweetnacl": "^1.0.3" - } - }, - "@polkadot/wasm-crypto": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-4.5.1.tgz", - "integrity": "sha512-Cr21ais3Kq3aedIHZ3J1tjgeD/+K8FCiwEawr0oRywNBSJR8wyuZMePs4swR/6xm8wbBkpqoBVHz/UQHqqQJmA==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/wasm-crypto-asmjs": "^4.5.1", - "@polkadot/wasm-crypto-wasm": "^4.5.1" - } - }, - "@polkadot/wasm-crypto-asmjs": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.5.1.tgz", - "integrity": "sha512-DOdRiWhxVvmqTvp+E9z1j+Yr0zDOGsDvqnT/eNw0Dl1FVUOImsEa7FKns/urASmcxCVEE1jtUWSnij29jrORMQ==", - "requires": { - "@babel/runtime": "^7.16.3" - } - }, - "@polkadot/wasm-crypto-wasm": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.5.1.tgz", - "integrity": "sha512-hPwke85HxpgG/RAlwdCE8u5w7bThvWg399mlB+XjogXMxOUWBZSgq2XYbgzROUXx27inK9nStF4Pnc4zJnqs9A==", - "requires": { - "@babel/runtime": "^7.16.3" - } - }, - "@polkadot/x-bigint": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-8.2.2.tgz", - "integrity": "sha512-fX3o3FhfQNxdpA5PV4L9PrjjSKG2ZmfFOfv3TrKwsDNtZMktDDcpmW3up53LJ53FszB/WHH6WwKsehmcqAYDIw==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - } - }, - "@polkadot/x-fetch": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-8.2.2.tgz", - "integrity": "sha512-ou8d1Ccf7lt7mssr64ixXYIWOZ4I4ED5sYBeFZg7BJB+MsZnuDOVvuMlItQWh01phMCOxtHWowmh+gOI4w5IWA==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2", - "@types/node-fetch": "^2.5.12", - "node-fetch": "^2.6.6" - } - }, - "@polkadot/x-global": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-8.2.2.tgz", - "integrity": "sha512-eTJ6edgoIKzjfdYN3Y6ZuJUGRAAc8Uc5X8r4/1QmhOy427QbfRKRL/cbcLat1XbyM52aplOvZf31KXTAkMREdQ==", - "requires": { - "@babel/runtime": "^7.16.5" - } - }, - "@polkadot/x-randomvalues": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-8.2.2.tgz", - "integrity": "sha512-v3dx0xvWHd5t6e41Fte63WFX/t1Fu9ug3tOr/QE6yMFrDSeDW9TzFJKklakc0tXryqW0cL4qZzUdSvguGC2TPA==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - } - }, - "@polkadot/x-textdecoder": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-8.2.2.tgz", - "integrity": "sha512-HQ/pSl4FREnxK0V7nvEdTwI08Erh6KPLwHZ0rSfUJKVDZ+NwfeW4BW/8xCEJOQIRB948Dqerl0XjEn4xCA+OPg==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - } - }, - "@polkadot/x-textencoder": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-8.2.2.tgz", - "integrity": "sha512-ZAOwYi/y1wRYb3WoWZMDfYPrmbPSasog2uknt8p9u2WELrrfj4zF/fRnSuMjLUNtvJuKSzj4LUCKHwTY+peSrQ==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2" - } - }, - "@polkadot/x-ws": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-8.2.2.tgz", - "integrity": "sha512-qsHzmtoFXIN59qKSkycxQ3GGyzUMlvhl+d7yU1NMaoOudJGfniTbIcDFPtee27Ydamb1DwBvkRbKw5IO8Domdg==", - "requires": { - "@babel/runtime": "^7.16.5", - "@polkadot/x-global": "8.2.2", - "@types/websocket": "^1.0.4", - "websocket": "^1.0.34" - } - }, - "@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "@sideway/address": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.3.tgz", - "integrity": "sha512-8ncEUtmnTsMmL7z1YPB47kPUq7LpKWJNFPsRzHiIajGC5uXlWGn+AmkYPcHNl8S4tcEGx+cnORnNYaw2wvL+LQ==", - "requires": { - "@hapi/hoek": "^9.0.0" - } - }, - "@sideway/formula": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz", - "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg==" - }, - "@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" - }, - "@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" - }, - "@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "requires": { - "defer-to-connect": "^1.0.1" - } - }, - "@tsconfig/node10": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", - "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==" - }, - "@tsconfig/node12": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", - "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==" - }, - "@tsconfig/node14": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", - "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==" - }, - "@tsconfig/node16": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", - "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==" - }, - "@types/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", - "requires": { - "@types/node": "*" - } - }, - "@types/chai": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.0.tgz", - "integrity": "sha512-/ceqdqeRraGolFTcfoXNiqjyQhZzbINDngeoAq9GoHa8PPK1yNzTaxWjA6BFWp5Ua9JpXEMSS4s5i9tS0hOJtw==" - }, - "@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "@types/mocha": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.0.0.tgz", - "integrity": "sha512-scN0hAWyLVAvLR9AyW7HoFF5sJZglyBsbPuHO4fv7JRvfmPBMfp1ozWqOf/e4wwPNxezBZXRfWzMb6iFLgEVRA==" - }, - "@types/node": { - "version": "17.0.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz", - "integrity": "sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==" - }, - "@types/node-fetch": { - "version": "2.5.12", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.12.tgz", - "integrity": "sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw==", - "requires": { - "@types/node": "*", - "form-data": "^3.0.0" - } - }, - "@types/pbkdf2": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz", - "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==", - "requires": { - "@types/node": "*" - } - }, - "@types/secp256k1": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.3.tgz", - "integrity": "sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w==", - "requires": { - "@types/node": "*" - } - }, - "@types/websocket": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.4.tgz", - "integrity": "sha512-qn1LkcFEKK8RPp459jkjzsfpbsx36BBt3oC3pITYtkoBw/aVX+EZFa5j3ThCRTNpLFvIMr5dSTD4RaMdilIOpA==", - "requires": { - "@types/node": "*" - } - }, - "@ungap/promise-all-settled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", - "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==" - }, - "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - } - }, - "acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==" - }, - "acorn-walk": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==" - }, - "aes-js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==" - }, - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" - }, - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "asn1": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", - "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" - } - }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - }, - "assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" - }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" - }, - "aws4": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "requires": { - "follow-redirects": "^1.14.0" - } - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "base-x": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz", - "integrity": "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "requires": { - "tweetnacl": "^0.14.3" - }, - "dependencies": { - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - } - } - }, - "bech32": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", - "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" - }, - "bignumber.js": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", - "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==" - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" - }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "requires": { - "file-uri-to-path": "1.0.0" - } - }, - "blakejs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.1.tgz", - "integrity": "sha512-bLG6PHOCZJKNshTjGRBvET0vTciwQE6zFKOKKXPDJfwFBd4Ac0yBfPZqcGvGJap50l7ktvlpFqc2jGVaUgbJgg==" - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" - }, - "body-parser": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", - "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", - "requires": { - "bytes": "3.1.1", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.8.1", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.9.6", - "raw-body": "2.4.2", - "type-is": "~1.6.18" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "requires": { - "fill-range": "^7.0.1" - } - }, - "brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" - }, - "browser-stdout": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" - }, - "browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", - "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "requires": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - }, - "dependencies": { - "bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - } - } - }, - "browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "requires": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", - "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "dependencies": { - "bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - } - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "^3.0.2" - } - }, - "bs58check": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", - "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", - "requires": { - "bs58": "^4.0.0", - "create-hash": "^1.1.0", - "safe-buffer": "^5.1.2" - } - }, - "buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "buffer-to-arraybuffer": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz", - "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo=" - }, - "buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" - }, - "bufferutil": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.6.tgz", - "integrity": "sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw==", - "requires": { - "node-gyp-build": "^4.3.0" - } - }, - "bytes": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", - "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==" - }, - "cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "requires": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "dependencies": { - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "requires": { - "pump": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" - } - } - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "requires": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" - }, - "chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "cids": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.7.5.tgz", - "integrity": "sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA==", - "requires": { - "buffer": "^5.5.0", - "class-is": "^1.1.0", - "multibase": "~0.6.0", - "multicodec": "^1.0.0", - "multihashes": "~0.4.15" - }, - "dependencies": { - "multicodec": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.4.tgz", - "integrity": "sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg==", - "requires": { - "buffer": "^5.6.0", - "varint": "^5.0.0" - } - } - } - }, - "cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "class-is": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", - "integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw==" - }, - "cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "requires": { - "mimic-response": "^1.0.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "requires": { - "safe-buffer": "5.2.1" - } - }, - "content-hash": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/content-hash/-/content-hash-2.5.2.tgz", - "integrity": "sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw==", - "requires": { - "cids": "^0.7.1", - "multicodec": "^0.5.5", - "multihashes": "^0.4.15" - } - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "cookie": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", - "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "cookiejar": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz", - "integrity": "sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==" - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "cors": { - "version": "2.8.5", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", - "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", - "requires": { - "object-assign": "^4", - "vary": "^1" - } - }, - "crc-32": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.0.tgz", - "integrity": "sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA==", - "requires": { - "exit-on-epipe": "~1.0.1", - "printj": "~1.1.0" - } - }, - "create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - } - }, - "create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", - "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" - }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" - } - }, - "d": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", - "requires": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" - } - }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "requires": { - "assert-plus": "^1.0.0" - } - }, - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "requires": { - "ms": "2.1.2" - }, - "dependencies": { - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - } - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, - "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" - }, - "decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "requires": { - "mimic-response": "^1.0.0" - } - }, - "deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "requires": { - "type-detect": "^4.0.0" - } - }, - "deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" - }, - "defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "requires": { - "object-keys": "^1.0.12" - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "diff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", - "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==" - }, - "diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - } - }, - "dom-walk": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", - "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" - }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "ed2curve": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/ed2curve/-/ed2curve-0.3.0.tgz", - "integrity": "sha512-8w2fmmq3hv9rCrcI7g9hms2pMunQr1JINfcjwR9tAyZqhtyaMN991lF/ZfHfr5tzZQ8c7y7aBgZbjfbd0fjFwQ==", - "requires": { - "tweetnacl": "1.x.x" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "requires": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "requires": { - "once": "^1.4.0" - } - }, - "err-code": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz", - "integrity": "sha512-GiaH0KJUewYok+eeY05IIgjtAe4Yltygk9Wqp1V5yVWLdhf0hYZchRjNIT9bb0mSwRcIusT3cx7PJUf3zEIfUA==" - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.1", - "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "es5-ext": { - "version": "0.10.53", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", - "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", - "requires": { - "es6-iterator": "~2.0.3", - "es6-symbol": "~3.1.3", - "next-tick": "~1.0.0" - } - }, - "es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", - "requires": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", - "requires": { - "d": "^1.0.1", - "ext": "^1.1.2" - } - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "eth-ens-namehash": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", - "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", - "requires": { - "idna-uts46-hx": "^2.3.1", - "js-sha3": "^0.5.7" - }, - "dependencies": { - "js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" - } - } - }, - "eth-lib": { - "version": "0.1.29", - "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.29.tgz", - "integrity": "sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ==", - "requires": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "nano-json-stream-parser": "^0.1.2", - "servify": "^0.1.12", - "ws": "^3.0.0", - "xhr-request-promise": "^0.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "ws": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", - "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", - "requires": { - "async-limiter": "~1.0.0", - "safe-buffer": "~5.1.0", - "ultron": "~1.1.0" - } - } - } - }, - "ethereum-bloom-filters": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz", - "integrity": "sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA==", - "requires": { - "js-sha3": "^0.8.0" - } - }, - "ethereum-cryptography": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", - "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==", - "requires": { - "@types/pbkdf2": "^3.0.0", - "@types/secp256k1": "^4.0.1", - "blakejs": "^1.1.0", - "browserify-aes": "^1.2.0", - "bs58check": "^2.1.2", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "hash.js": "^1.1.7", - "keccak": "^3.0.0", - "pbkdf2": "^3.0.17", - "randombytes": "^2.1.0", - "safe-buffer": "^5.1.2", - "scrypt-js": "^3.0.0", - "secp256k1": "^4.0.1", - "setimmediate": "^1.0.5" - } - }, - "ethereumjs-util": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.3.tgz", - "integrity": "sha512-y+82tEbyASO0K0X1/SRhbJJoAlfcvq8JbrG4a5cjrOks7HS/36efU/0j2flxCPOUM++HFahk33kr/ZxyC4vNuw==", - "requires": { - "@types/bn.js": "^5.1.0", - "bn.js": "^5.1.2", - "create-hash": "^1.1.2", - "ethereum-cryptography": "^0.1.3", - "rlp": "^2.2.4" - }, - "dependencies": { - "@types/bn.js": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz", - "integrity": "sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==", - "requires": { - "@types/node": "*" - } - }, - "bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - } - } - }, - "ethers": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.5.3.tgz", - "integrity": "sha512-fTT4WT8/hTe/BLwRUtl7I5zlpF3XC3P/Xwqxc5AIP2HGlH15qpmjs0Ou78az93b1rLITzXLFxoNX63B8ZbUd7g==", - "requires": { - "@ethersproject/abi": "5.5.0", - "@ethersproject/abstract-provider": "5.5.1", - "@ethersproject/abstract-signer": "5.5.0", - "@ethersproject/address": "5.5.0", - "@ethersproject/base64": "5.5.0", - "@ethersproject/basex": "5.5.0", - "@ethersproject/bignumber": "5.5.0", - "@ethersproject/bytes": "5.5.0", - "@ethersproject/constants": "5.5.0", - "@ethersproject/contracts": "5.5.0", - "@ethersproject/hash": "5.5.0", - "@ethersproject/hdnode": "5.5.0", - "@ethersproject/json-wallets": "5.5.0", - "@ethersproject/keccak256": "5.5.0", - "@ethersproject/logger": "5.5.0", - "@ethersproject/networks": "5.5.2", - "@ethersproject/pbkdf2": "5.5.0", - "@ethersproject/properties": "5.5.0", - "@ethersproject/providers": "5.5.2", - "@ethersproject/random": "5.5.1", - "@ethersproject/rlp": "5.5.0", - "@ethersproject/sha2": "5.5.0", - "@ethersproject/signing-key": "5.5.0", - "@ethersproject/solidity": "5.5.0", - "@ethersproject/strings": "5.5.0", - "@ethersproject/transactions": "5.5.0", - "@ethersproject/units": "5.5.0", - "@ethersproject/wallet": "5.5.0", - "@ethersproject/web": "5.5.1", - "@ethersproject/wordlists": "5.5.0" - } - }, - "ethjs-unit": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", - "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", - "requires": { - "bn.js": "4.11.6", - "number-to-bn": "1.7.0" - }, - "dependencies": { - "bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" - } - } - }, - "eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" - }, - "events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" - }, - "evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, - "exit-on-epipe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", - "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==" - }, - "express": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", - "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", - "requires": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.1", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.4.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.7", - "qs": "6.9.6", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.17.2", - "serve-static": "1.14.2", - "setprototypeof": "1.2.0", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "ext": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", - "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", - "requires": { - "type": "^2.5.0" - }, - "dependencies": { - "type": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", - "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==" - } - } - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "filter-console": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/filter-console/-/filter-console-0.1.1.tgz", - "integrity": "sha512-zrXoV1Uaz52DqPs+qEwNJWJFAWZpYJ47UNmpN9q4j+/EYsz85uV0DC9k8tRND5kYmoVzL0W+Y75q4Rg8sRJCdg==" - }, - "finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, - "flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" - }, - "follow-redirects": { - "version": "1.14.7", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", - "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==" - }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" - }, - "form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "fs-extra": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "fs-minipass": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", - "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", - "requires": { - "minipass": "^2.6.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "optional": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - }, - "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" - }, - "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "requires": { - "pump": "^3.0.0" - } - }, - "get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "requires": { - "assert-plus": "^1.0.0" - } - }, - "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "requires": { - "is-glob": "^4.0.1" - } - }, - "global": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", - "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", - "requires": { - "min-document": "^2.19.0", - "process": "^0.11.10" - } - }, - "got": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "requires": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - } - }, - "graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" - }, - "growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" - }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" - }, - "har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "requires": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "has-symbol-support-x": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz", - "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==" - }, - "has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" - }, - "has-to-string-tag-x": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", - "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", - "requires": { - "has-symbol-support-x": "^1.4.1" - } - }, - "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "requires": { - "has-symbols": "^1.0.2" - } - }, - "hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" - }, - "hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" - }, - "http-errors": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", - "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.1" - } - }, - "http-https": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz", - "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs=" - }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "idna-uts46-hx": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", - "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", - "requires": { - "punycode": "2.1.0" - }, - "dependencies": { - "punycode": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", - "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=" - } - } - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "requires": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - } - }, - "ip-regex": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==" - }, - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" - }, - "is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "requires": { - "has-bigints": "^1.0.1" - } - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==" - }, - "is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", - "requires": { - "has": "^1.0.3" - } - }, - "is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "is-function": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz", - "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==" - }, - "is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-hex-prefixed": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", - "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=" - }, - "is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" - }, - "is-number-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", - "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz", - "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==" - }, - "is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" - }, - "is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-retry-allowed": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==" - }, - "is-shared-array-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", - "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==" - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "requires": { - "has-symbols": "^1.0.2" - } - }, - "is-typed-array": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", - "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0" - } - }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, - "is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" - }, - "is-url": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", - "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" - }, - "is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "requires": { - "call-bind": "^1.0.2" - } - }, - "is2": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/is2/-/is2-2.0.7.tgz", - "integrity": "sha512-4vBQoURAXC6hnLFxD4VW7uc04XiwTTl/8ydYJxKvPwkWQrSjInkuM5VZVg6BGr1/natq69zDuvO9lGpLClJqvA==", - "requires": { - "deep-is": "^0.1.3", - "ip-regex": "^4.1.0", - "is-url": "^1.2.4" - } - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - }, - "iso-random-stream": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/iso-random-stream/-/iso-random-stream-2.0.2.tgz", - "integrity": "sha512-yJvs+Nnelic1L2vH2JzWvvPQFA4r7kSTnpST/+LkAQjSz0hos2oqLD+qIVi9Qk38Hoe7mNDt3j0S27R58MVjLQ==", - "requires": { - "events": "^3.3.0", - "readable-stream": "^3.4.0" - } - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "isurl": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", - "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", - "requires": { - "has-to-string-tag-x": "^1.2.0", - "is-object": "^1.0.1" - } - }, - "joi": { - "version": "17.5.0", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.5.0.tgz", - "integrity": "sha512-R7hR50COp7StzLnDi4ywOXHrBrgNXuUUfJWIR5lPY5Bm/pOD3jZaTwpluUXVLRWcoWZxkrHBBJ5hLxgnlehbdw==", - "requires": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", - "@sideway/formula": "^3.0.0", - "@sideway/pinpoint": "^2.0.0" - } - }, - "js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, - "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "requires": { - "argparse": "^2.0.1" - } - }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, - "json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" - }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" - }, - "json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "jsprim": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", - "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" - } - }, - "keccak": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.2.tgz", - "integrity": "sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==", - "requires": { - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0", - "readable-stream": "^3.6.0" - } - }, - "keypair": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/keypair/-/keypair-1.0.4.tgz", - "integrity": "sha512-zwhgOhhniaL7oxMgUMKKw5219PWWABMO+dgMnzJOQ2/5L3XJtTJGhW2PEXlxXj9zaccdReZJZ83+4NPhVfNVDg==" - }, - "keyv": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "requires": { - "json-buffer": "3.0.0" - } - }, - "libp2p-crypto": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.20.0.tgz", - "integrity": "sha512-WgIW9rYcWaO/5j2T6NW3R6Q46yvp2ZfFErqRMbi4/pOTL3T7+OROYpL/1iWVksWkXyurU/t2qFsIijWMxR5C4Q==", - "requires": { - "err-code": "^3.0.1", - "iso-random-stream": "^2.0.0", - "keypair": "^1.0.4", - "multiformats": "^9.4.5", - "noble-ed25519": "^1.2.6", - "noble-secp256k1": "^1.2.10", - "node-forge": "^0.10.0", - "pem-jwk": "^2.0.0", - "protobufjs": "^6.11.2", - "uint8arrays": "^3.0.0", - "ursa-optional": "^0.10.1" - } - }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - } - }, - "locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "requires": { - "p-locate": "^5.0.0" - } - }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "requires": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" - }, - "make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" - }, - "md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "memorystream": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", - "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=" - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "micro-base": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/micro-base/-/micro-base-0.10.2.tgz", - "integrity": "sha512-lqqJrT7lfJtDmmiQ4zRLZuIJBk96t0RAc5pCrrWpL9zDeH5i/SUL85mku9HqzTI/OCZ8EQ3aicbMW+eK5Nyu5w==" - }, - "miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - } - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "mime-db": { - "version": "1.51.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", - "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" - }, - "mime-types": { - "version": "2.1.34", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", - "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", - "requires": { - "mime-db": "1.51.0" - } - }, - "mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" - }, - "min-document": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", - "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", - "requires": { - "dom-walk": "^0.1.0" - } - }, - "minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - }, - "minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "minipass": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", - "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - }, - "minizlib": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", - "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", - "requires": { - "minipass": "^2.9.0" - } - }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } - }, - "mkdirp-promise": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz", - "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=", - "requires": { - "mkdirp": "*" - } - }, - "mocha": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.3.tgz", - "integrity": "sha512-Xcpl9FqXOAYqI3j79pEtHBBnQgVXIhpULjGQa7DVb0Po+VzmSIK9kanAiWLHoRR/dbZ2qpdPshuXr8l1VaHCzw==", - "requires": { - "@ungap/promise-all-settled": "1.1.2", - "ansi-colors": "4.1.1", - "browser-stdout": "1.3.1", - "chokidar": "3.5.2", - "debug": "4.3.2", - "diff": "5.0.0", - "escape-string-regexp": "4.0.0", - "find-up": "5.0.0", - "glob": "7.1.7", - "growl": "1.10.5", - "he": "1.2.0", - "js-yaml": "4.1.0", - "log-symbols": "4.1.0", - "minimatch": "3.0.4", - "ms": "2.1.3", - "nanoid": "3.1.25", - "serialize-javascript": "6.0.0", - "strip-json-comments": "3.1.1", - "supports-color": "8.1.1", - "which": "2.0.2", - "workerpool": "6.1.5", - "yargs": "16.2.0", - "yargs-parser": "20.2.4", - "yargs-unparser": "2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "requires": { - "has-flag": "^4.0.0" - } - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "requires": { - "isexe": "^2.0.0" - } - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - } - } - }, - "mock-fs": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.14.0.tgz", - "integrity": "sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw==" - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "multibase": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.6.1.tgz", - "integrity": "sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw==", - "requires": { - "base-x": "^3.0.8", - "buffer": "^5.5.0" - } - }, - "multicodec": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-0.5.7.tgz", - "integrity": "sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA==", - "requires": { - "varint": "^5.0.0" - } - }, - "multiformats": { - "version": "9.5.8", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.5.8.tgz", - "integrity": "sha512-GY154q1yPPdHX4ArXHE8Z1Mm9BxZcJetzEqfwQg/ongo91qIJDHJEio3zboHIKGEvBLrhVqKwlRuDqwa7+xECQ==" - }, - "multihashes": { - "version": "0.4.21", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.21.tgz", - "integrity": "sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw==", - "requires": { - "buffer": "^5.5.0", - "multibase": "^0.7.0", - "varint": "^5.0.0" - }, - "dependencies": { - "multibase": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.7.0.tgz", - "integrity": "sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg==", - "requires": { - "base-x": "^3.0.8", - "buffer": "^5.5.0" - } - } - } - }, - "nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==" - }, - "nano-json-stream-parser": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz", - "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18=" - }, - "nanoid": { - "version": "3.1.25", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", - "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==" - }, - "negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" - }, - "next-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", - "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" - }, - "nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" - }, - "noble-ed25519": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/noble-ed25519/-/noble-ed25519-1.2.6.tgz", - "integrity": "sha512-zfnWqg9FVMp8CnzUpAjbt1nDXpDjCvxYiCXdnW1mY8zQHw/6twUlkFm14VPdojVzc0kcd+i9zT79+26GcNbsuQ==" - }, - "noble-secp256k1": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/noble-secp256k1/-/noble-secp256k1-1.2.14.tgz", - "integrity": "sha512-GSCXyoZBUaaPwVWdYncMEmzlSUjF9J/YeEHpklYJCyg8wPuJP3NzDx0BkiwArzINkdX2HJHvUJhL6vVWPOQQcg==" - }, - "node-addon-api": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", - "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" - }, - "node-fetch": { - "version": "2.6.6", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", - "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", - "requires": { - "whatwg-url": "^5.0.0" - } - }, - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - }, - "node-gyp-build": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", - "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==" - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" - }, - "normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" - }, - "npm-run-all": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", - "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", - "requires": { - "ansi-styles": "^3.2.1", - "chalk": "^2.4.1", - "cross-spawn": "^6.0.5", - "memorystream": "^0.3.1", - "minimatch": "^3.0.4", - "pidtree": "^0.3.0", - "read-pkg": "^3.0.0", - "shell-quote": "^1.6.1", - "string.prototype.padend": "^3.0.0" - } - }, - "number-to-bn": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz", - "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=", - "requires": { - "bn.js": "4.11.6", - "strip-hex-prefix": "1.0.0" - }, - "dependencies": { - "bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" - } - } - }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-inspect": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", - "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "oboe": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.5.tgz", - "integrity": "sha1-VVQoTFQ6ImbXo48X4HOCH73jk80=", - "requires": { - "http-https": "^1.0.0" - } - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" - }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "requires": { - "p-limit": "^3.0.2" - } - }, - "p-timeout": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz", - "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=", - "requires": { - "p-finally": "^1.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" - }, - "parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", - "requires": { - "asn1.js": "^5.2.0", - "browserify-aes": "^1.0.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" - } - }, - "parse-headers": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.4.tgz", - "integrity": "sha512-psZ9iZoCNFLrgRjZ1d8mn0h9WRqJwFxM9q3x7iUjN/YT2OksthDJ5TiPCu2F38kS4zutqfW+YdVVkBZZx3/1aw==" - }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "requires": { - "pify": "^3.0.0" - } - }, - "pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" - }, - "pbkdf2": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", - "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", - "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "peer-id": { - "version": "0.15.4", - "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.15.4.tgz", - "integrity": "sha512-MDoBIMZYwQIAHaZQUwsIcvoFgdbIl5GtZMwSkXpIYvc5v0TSDv+u8WsTKrKt2Vv28tHFFDJQdVzu3T4qTPzK+w==", - "requires": { - "class-is": "^1.1.0", - "libp2p-crypto": "^0.20.0", - "minimist": "^1.2.5", - "multiformats": "^9.4.5", - "protobufjs": "^6.10.2", - "uint8arrays": "^3.0.0" - } - }, - "pem-jwk": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pem-jwk/-/pem-jwk-2.0.0.tgz", - "integrity": "sha512-rFxu7rVoHgQ5H9YsP50dDWf0rHjreVA2z0yPiWr5WdH/UHb29hKtF7h6l8vNd1cbYR1t0QL+JKhW55a2ZV4KtA==", - "requires": { - "asn1.js": "^5.0.1" - } - }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" - }, - "pidtree": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", - "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==" - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - }, - "polkadot-launch": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/polkadot-launch/-/polkadot-launch-2.1.0.tgz", - "integrity": "sha512-f1QXjSIKIWclphTQQeSrp+bt+n6y674X0iPUWPLvFcjPkAX+WN0T9Dcl98xr/HVVxwOWhQmG8NCUUSEN66rESA==", - "requires": { - "@polkadot/api": "^6.10.3", - "@polkadot/keyring": "^8.0.5", - "@polkadot/types": "^6.10.3", - "@polkadot/util": "^8.0.5", - "@polkadot/util-crypto": "^8.0.5", - "@types/chai": "^4.2.22", - "@types/mocha": "^9.0.0", - "chai": "^4.3.4", - "ethers": "^5.4.7", - "filter-console": "^0.1.1", - "libp2p-crypto": "^0.20.0", - "mocha": "^9.1.2", - "peer-id": "^0.15.3", - "tcp-port-used": "^1.0.2", - "ts-node": "^10.3.0", - "web3": "^1.6.0", - "web3-core": "^1.6.0", - "web3-eth": "^1.6.0", - "yargs": "^15.4.1" - } - }, - "prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" - }, - "printj": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz", - "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==" - }, - "process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" - }, - "protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - } - }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - } - }, - "psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" - }, - "public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", - "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - }, - "qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" - }, - "query-string": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", - "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==", - "requires": { - "decode-uri-component": "^0.2.0", - "object-assign": "^4.1.0", - "strict-uri-encode": "^1.0.0" - } - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "raw-body": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", - "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", - "requires": { - "bytes": "3.1.1", - "http-errors": "1.8.1", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "requires": { - "picomatch": "^2.2.1" - } - }, - "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "qs": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", - "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" - } - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - }, - "require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" - }, - "resolve": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.0.tgz", - "integrity": "sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==", - "requires": { - "is-core-module": "^2.8.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "requires": { - "lowercase-keys": "^1.0.0" - } - }, - "ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "rlp": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.7.tgz", - "integrity": "sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==", - "requires": { - "bn.js": "^5.2.0" - }, - "dependencies": { - "bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - } - } - }, - "rxjs": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.1.tgz", - "integrity": "sha512-KExVEeZWxMZnZhUZtsJcFwz8IvPvgu4G2Z2QyqjZQzUGr32KDYuSxrEYO4w3tFFNbfLozcrKUTvTPi+E9ywJkQ==", - "requires": { - "tslib": "^2.1.0" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "scrypt-js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", - "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" - }, - "secp256k1": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", - "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", - "requires": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "send": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", - "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "1.8.1", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - } - } - }, - "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "requires": { - "randombytes": "^2.1.0" - } - }, - "serve-static": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", - "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.2" - } - }, - "servify": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz", - "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==", - "requires": { - "body-parser": "^1.16.0", - "cors": "^2.8.1", - "express": "^4.14.0", - "request": "^2.79.0", - "xhr": "^2.3.3" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" - }, - "sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "requires": { - "shebang-regex": "^1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" - }, - "shell-quote": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.3.tgz", - "integrity": "sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==" - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" - }, - "simple-get": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz", - "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==", - "requires": { - "decompress-response": "^3.3.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", - "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==" - }, - "sshpk": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", - "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "dependencies": { - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - } - } - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "strict-uri-encode": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, - "string.prototype.padend": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz", - "integrity": "sha512-jNIIeokznm8SD/TZISQsZKYu7RJyheFNt84DUPrh482GC8RVp2MKqm2O5oBRdGxbDQoXrhhWtPIWQOiy20svUg==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" - }, - "strip-hex-prefix": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", - "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", - "requires": { - "is-hex-prefixed": "1.0.0" - } - }, - "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" - }, - "swarm-js": { - "version": "0.1.40", - "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.40.tgz", - "integrity": "sha512-yqiOCEoA4/IShXkY3WKwP5PvZhmoOOD8clsKA7EEcRILMkTEYHCQ21HDCAcVpmIxZq4LyZvWeRJ6quIyHk1caA==", - "requires": { - "bluebird": "^3.5.0", - "buffer": "^5.0.5", - "eth-lib": "^0.1.26", - "fs-extra": "^4.0.2", - "got": "^7.1.0", - "mime-types": "^2.1.16", - "mkdirp-promise": "^5.0.1", - "mock-fs": "^4.1.0", - "setimmediate": "^1.0.5", - "tar": "^4.0.2", - "xhr-request": "^1.0.1" - }, - "dependencies": { - "get-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" - }, - "got": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", - "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", - "requires": { - "decompress-response": "^3.2.0", - "duplexer3": "^0.1.4", - "get-stream": "^3.0.0", - "is-plain-obj": "^1.1.0", - "is-retry-allowed": "^1.0.0", - "is-stream": "^1.0.0", - "isurl": "^1.0.0-alpha5", - "lowercase-keys": "^1.0.0", - "p-cancelable": "^0.3.0", - "p-timeout": "^1.1.1", - "safe-buffer": "^5.0.1", - "timed-out": "^4.0.0", - "url-parse-lax": "^1.0.0", - "url-to-options": "^1.0.1" - } - }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" - }, - "p-cancelable": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz", - "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==" - }, - "prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=" - }, - "url-parse-lax": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", - "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", - "requires": { - "prepend-http": "^1.0.1" - } - } - } - }, - "tar": { - "version": "4.4.19", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", - "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", - "requires": { - "chownr": "^1.1.4", - "fs-minipass": "^1.2.7", - "minipass": "^2.9.0", - "minizlib": "^1.3.3", - "mkdirp": "^0.5.5", - "safe-buffer": "^5.2.1", - "yallist": "^3.1.1" - } - }, - "tcp-port-used": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/tcp-port-used/-/tcp-port-used-1.0.2.tgz", - "integrity": "sha512-l7ar8lLUD3XS1V2lfoJlCBaeoaWo/2xfYt81hM7VlvR4RrMVFqfmzfhLVk40hAb368uitje5gPtBRL1m/DGvLA==", - "requires": { - "debug": "4.3.1", - "is2": "^2.0.6" - }, - "dependencies": { - "debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - } - } - }, - "timed-out": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", - "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=" - }, - "to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "requires": { - "is-number": "^7.0.0" - } - }, - "toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" - }, - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" - }, - "ts-node": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.4.0.tgz", - "integrity": "sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A==", - "requires": { - "@cspotcode/source-map-support": "0.7.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "yn": "3.1.1" - }, - "dependencies": { - "diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==" - } - } - }, - "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", - "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" - }, - "type": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" - }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "requires": { - "is-typedarray": "^1.0.0" - } - }, - "typescript": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", - "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", - "peer": true - }, - "uint8arrays": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.0.0.tgz", - "integrity": "sha512-HRCx0q6O9Bfbp+HHSfQQKD7wU70+lydKVt4EghkdOvlK/NlrF90z+eXV34mUd48rNvVJXwkrMSPpCATkct8fJA==", - "requires": { - "multiformats": "^9.4.2" - } - }, - "ultron": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", - "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==" - }, - "unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "requires": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "requires": { - "punycode": "^2.1.0" - } - }, - "url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "requires": { - "prepend-http": "^2.0.0" - } - }, - "url-set-query": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz", - "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk=" - }, - "url-to-options": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", - "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=" - }, - "ursa-optional": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/ursa-optional/-/ursa-optional-0.10.2.tgz", - "integrity": "sha512-TKdwuLboBn7M34RcvVTuQyhvrA8gYKapuVdm0nBP0mnBc7oECOfUQZrY91cefL3/nm64ZyrejSRrhTVdX7NG/A==", - "requires": { - "bindings": "^1.5.0", - "nan": "^2.14.2" - } - }, - "utf-8-validate": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.8.tgz", - "integrity": "sha512-k4dW/Qja1BYDl2qD4tOMB9PFVha/UJtxTc1cXYOe3WwA/2m0Yn4qB7wLMpJyLJ/7DR0XnTut3HsCSzDT4ZvKgA==", - "requires": { - "node-gyp-build": "^4.3.0" - } - }, - "utf8": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", - "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==" - }, - "util": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", - "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", - "requires": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", - "which-typed-array": "^1.1.2" - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, - "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "wait-on": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-6.0.0.tgz", - "integrity": "sha512-tnUJr9p5r+bEYXPUdRseolmz5XqJTTj98JgOsfBn7Oz2dxfE2g3zw1jE+Mo8lopM3j3et/Mq1yW7kKX6qw7RVw==", - "requires": { - "axios": "^0.21.1", - "joi": "^17.4.0", - "lodash": "^4.17.21", - "minimist": "^1.2.5", - "rxjs": "^7.1.0" - } - }, - "web3": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3/-/web3-1.6.1.tgz", - "integrity": "sha512-c299lLiyb2/WOcxh7TinwvbATaMmrgNIeAzbLbmOKHI0LcwyfsB1eu2ReOIrfrCYDYRW2KAjYr7J7gHawqDNPQ==", - "requires": { - "web3-bzz": "1.6.1", - "web3-core": "1.6.1", - "web3-eth": "1.6.1", - "web3-eth-personal": "1.6.1", - "web3-net": "1.6.1", - "web3-shh": "1.6.1", - "web3-utils": "1.6.1" - } - }, - "web3-bzz": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.6.1.tgz", - "integrity": "sha512-JbnFNbRlwwHJZPtVuCxo7rC4U4OTg+mPsyhjgPQJJhS0a6Y54OgVWYk9UA/95HqbmTJwTtX329gJoSsseEfrng==", - "requires": { - "@types/node": "^12.12.6", - "got": "9.6.0", - "swarm-js": "^0.1.40" - }, - "dependencies": { - "@types/node": { - "version": "12.20.41", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz", - "integrity": "sha512-f6xOqucbDirG7LOzedpvzjP3UTmHttRou3Mosx3vL9wr9AIQGhcPgVnqa8ihpZYnxyM1rxeNCvTyukPKZtq10Q==" - } - } - }, - "web3-core": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.6.1.tgz", - "integrity": "sha512-m+b7UfYvU5cQUAh6NRfxRzH/5B3to1AdEQi1HIQt570cDWlObOOmoO9tY6iJnI5w4acxIO19LqjDMqEJGBYyRQ==", - "requires": { - "@types/bn.js": "^4.11.5", - "@types/node": "^12.12.6", - "bignumber.js": "^9.0.0", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-requestmanager": "1.6.1", - "web3-utils": "1.6.1" - }, - "dependencies": { - "@types/node": { - "version": "12.20.41", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz", - "integrity": "sha512-f6xOqucbDirG7LOzedpvzjP3UTmHttRou3Mosx3vL9wr9AIQGhcPgVnqa8ihpZYnxyM1rxeNCvTyukPKZtq10Q==" - } - } - }, - "web3-core-helpers": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.6.1.tgz", - "integrity": "sha512-om2PZvK1uoWcgMq6JfcSx3241LEIVF6qi2JuHz2SLKiKEW5UsBUaVx0mNCmcZaiuYQCyOsLS3r33q5AdM+v8ng==", - "requires": { - "web3-eth-iban": "1.6.1", - "web3-utils": "1.6.1" - } - }, - "web3-core-method": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.6.1.tgz", - "integrity": "sha512-szH5KyIWIaULQDBdDvevQUCHV9lsExJ/oV0ePqK+w015D2SdMPMuhii0WB+HCePaksWO+rr/GAypvV9g2T3N+w==", - "requires": { - "@ethersproject/transactions": "^5.0.0-beta.135", - "web3-core-helpers": "1.6.1", - "web3-core-promievent": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-utils": "1.6.1" - } - }, - "web3-core-promievent": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.6.1.tgz", - "integrity": "sha512-byJ5s2MQxrWdXd27pWFmujfzsTZK4ik8rDgIV1RFDFc+rHZ2nZhq+VWk7t/Nkrj7EaVXncEgTdPEHc18nx+ocQ==", - "requires": { - "eventemitter3": "4.0.4" - }, - "dependencies": { - "eventemitter3": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz", - "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==" - } - } - }, - "web3-core-requestmanager": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.6.1.tgz", - "integrity": "sha512-4y7etYEUtkfflyYVBfN1oJtCbVFNhNX1omlEYzezhTnPj3/dT7n+dhUXcqvIhx9iKA13unGfpFge80XNFfcB8A==", - "requires": { - "util": "^0.12.0", - "web3-core-helpers": "1.6.1", - "web3-providers-http": "1.6.1", - "web3-providers-ipc": "1.6.1", - "web3-providers-ws": "1.6.1" - } - }, - "web3-core-subscriptions": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.6.1.tgz", - "integrity": "sha512-WZwxsYttIojyGQ5RqxuQcKg0IJdDCFpUe4EncS3QKZwxPqWzGmgyLwE0rm7tP+Ux1waJn5CUaaoSCBxWGSun1g==", - "requires": { - "eventemitter3": "4.0.4", - "web3-core-helpers": "1.6.1" - }, - "dependencies": { - "eventemitter3": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz", - "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==" - } - } - }, - "web3-eth": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.6.1.tgz", - "integrity": "sha512-kOV1ZgCKypSo5BQyltRArS7ZC3bRpIKAxSgzl7pUFinUb/MxfbM9KGeNxUXoCfTSErcCQJaDjcS6bSre5EMKuQ==", - "requires": { - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-eth-abi": "1.6.1", - "web3-eth-accounts": "1.6.1", - "web3-eth-contract": "1.6.1", - "web3-eth-ens": "1.6.1", - "web3-eth-iban": "1.6.1", - "web3-eth-personal": "1.6.1", - "web3-net": "1.6.1", - "web3-utils": "1.6.1" - } - }, - "web3-eth-abi": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.6.1.tgz", - "integrity": "sha512-svhYrAlXP9XQtV7poWKydwDJq2CaNLMtmKydNXoOBLcQec6yGMP+v20pgrxF2H6wyTK+Qy0E3/5ciPOqC/VuoQ==", - "requires": { - "@ethersproject/abi": "5.0.7", - "web3-utils": "1.6.1" - }, - "dependencies": { - "@ethersproject/abi": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.7.tgz", - "integrity": "sha512-Cqktk+hSIckwP/W8O47Eef60VwmoSC/L3lY0+dIBhQPCNn9E4V7rwmm2aFrNRRDJfFlGuZ1khkQUOc3oBX+niw==", - "requires": { - "@ethersproject/address": "^5.0.4", - "@ethersproject/bignumber": "^5.0.7", - "@ethersproject/bytes": "^5.0.4", - "@ethersproject/constants": "^5.0.4", - "@ethersproject/hash": "^5.0.4", - "@ethersproject/keccak256": "^5.0.3", - "@ethersproject/logger": "^5.0.5", - "@ethersproject/properties": "^5.0.3", - "@ethersproject/strings": "^5.0.4" - } - } - } - }, - "web3-eth-accounts": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.6.1.tgz", - "integrity": "sha512-rGn3jwnuOKwaQRu4SiShz0YAQ87aVDBKs4HO43+XTCI1q1Y1jn3NOsG3BW9ZHaOckev4+zEyxze/Bsh2oEk24w==", - "requires": { - "@ethereumjs/common": "^2.5.0", - "@ethereumjs/tx": "^3.3.2", - "crypto-browserify": "3.12.0", - "eth-lib": "0.2.8", - "ethereumjs-util": "^7.0.10", - "scrypt-js": "^3.0.1", - "uuid": "3.3.2", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-utils": "1.6.1" - }, - "dependencies": { - "eth-lib": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz", - "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==", - "requires": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "xhr-request-promise": "^0.1.2" - } - } - } - }, - "web3-eth-contract": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.6.1.tgz", - "integrity": "sha512-GXqTe3mF6kpbOAakiNc7wtJ120/gpuKMTZjuGFKeeY8aobRLfbfgKzM9IpyqVZV2v5RLuGXDuurVN2KPgtu3hQ==", - "requires": { - "@types/bn.js": "^4.11.5", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-promievent": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-eth-abi": "1.6.1", - "web3-utils": "1.6.1" - } - }, - "web3-eth-ens": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.6.1.tgz", - "integrity": "sha512-ngprtbnoRgxg8s1wXt9nXpD3h1P+p7XnKXrp/8GdFI9uDmrbSQPRfzBw86jdZgOmy78hAnWmrHI6pBInmgi2qQ==", - "requires": { - "content-hash": "^2.5.2", - "eth-ens-namehash": "2.0.8", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-promievent": "1.6.1", - "web3-eth-abi": "1.6.1", - "web3-eth-contract": "1.6.1", - "web3-utils": "1.6.1" - } - }, - "web3-eth-iban": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.6.1.tgz", - "integrity": "sha512-91H0jXZnWlOoXmc13O9NuQzcjThnWyAHyDn5Yf7u6mmKOhpJSGF/OHlkbpXt1Y4v2eJdEPaVFa+6i8aRyagE7Q==", - "requires": { - "bn.js": "^4.11.9", - "web3-utils": "1.6.1" - } - }, - "web3-eth-personal": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.6.1.tgz", - "integrity": "sha512-ItsC89Ln02+irzJjK6ALcLrMZfbVUCqVbmb/ieDKJ+eLW3pNkBNwoUzaydh92d5NzxNZgNxuQWVdlFyYX2hkEw==", - "requires": { - "@types/node": "^12.12.6", - "web3-core": "1.6.1", - "web3-core-helpers": "1.6.1", - "web3-core-method": "1.6.1", - "web3-net": "1.6.1", - "web3-utils": "1.6.1" - }, - "dependencies": { - "@types/node": { - "version": "12.20.41", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz", - "integrity": "sha512-f6xOqucbDirG7LOzedpvzjP3UTmHttRou3Mosx3vL9wr9AIQGhcPgVnqa8ihpZYnxyM1rxeNCvTyukPKZtq10Q==" - } - } - }, - "web3-net": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.6.1.tgz", - "integrity": "sha512-gpnqKEIwfUHh5ik7wsQFlCje1DfcmGv+Sk7LCh1hCqn++HEDQxJ/mZCrMo11ZZpZHCH7c87imdxTg96GJnRxDw==", - "requires": { - "web3-core": "1.6.1", - "web3-core-method": "1.6.1", - "web3-utils": "1.6.1" - } - }, - "web3-providers-http": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.6.1.tgz", - "integrity": "sha512-xBoKOJxu10+kO3ikamXmBfrWZ/xpQOGy0ocdp7Y81B17En5TXELwlmMXt1UlIgWiyYDhjq4OwlH/VODYqHXy3A==", - "requires": { - "web3-core-helpers": "1.6.1", - "xhr2-cookies": "1.1.0" - } - }, - "web3-providers-ipc": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.6.1.tgz", - "integrity": "sha512-anyoIZlpMzwEQI4lwylTzDrHsVp20v0QUtSTp2B5jInBinmQtyCE7vnbX20jEQ4j5uPwfJabKNtoJsk6a3O4WQ==", - "requires": { - "oboe": "2.1.5", - "web3-core-helpers": "1.6.1" - } - }, - "web3-providers-ws": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.6.1.tgz", - "integrity": "sha512-FWMEFYb4rYFYRgSFBf/O1Ex4p/YKSlN+JydCtdlJwRimd89qm95CTfs4xGjCskwvXMjV2sarH+f1NPwJXicYpg==", - "requires": { - "eventemitter3": "4.0.4", - "web3-core-helpers": "1.6.1", - "websocket": "^1.0.32" - }, - "dependencies": { - "eventemitter3": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz", - "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==" - } - } - }, - "web3-shh": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.6.1.tgz", - "integrity": "sha512-oP00HbAtybLCGlLOZUYXOdeB9xq88k2l0TtStvKBtmFqRt+zVk5TxEeuOnVPRxNhcA2Un8RUw6FtvgZlWStu9A==", - "requires": { - "web3-core": "1.6.1", - "web3-core-method": "1.6.1", - "web3-core-subscriptions": "1.6.1", - "web3-net": "1.6.1" - } - }, - "web3-utils": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.6.1.tgz", - "integrity": "sha512-RidGKv5kOkcerI6jQqDFDoTllQQqV+rPhTzZHhmbqtFObbYpU93uc+yG1LHivRTQhA6llIx67iudc/vzisgO+w==", - "requires": { - "bn.js": "^4.11.9", - "ethereum-bloom-filters": "^1.0.6", - "ethereumjs-util": "^7.1.0", - "ethjs-unit": "0.1.6", - "number-to-bn": "1.7.0", - "randombytes": "^2.1.0", - "utf8": "3.0.0" - } - }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" - }, - "websocket": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", - "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==", - "requires": { - "bufferutil": "^4.0.1", - "debug": "^2.2.0", - "es5-ext": "^0.10.50", - "typedarray-to-buffer": "^3.1.5", - "utf-8-validate": "^5.0.2", - "yaeti": "^0.0.6" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "requires": { - "isexe": "^2.0.0" - } - }, - "which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" - }, - "which-typed-array": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", - "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.7" - } - }, - "workerpool": { - "version": "6.1.5", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz", - "integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw==" - }, - "wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "requires": {} - }, - "xhr": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.6.0.tgz", - "integrity": "sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==", - "requires": { - "global": "~4.4.0", - "is-function": "^1.0.1", - "parse-headers": "^2.0.0", - "xtend": "^4.0.0" - } - }, - "xhr-request": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz", - "integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==", - "requires": { - "buffer-to-arraybuffer": "^0.0.5", - "object-assign": "^4.1.1", - "query-string": "^5.0.1", - "simple-get": "^2.7.0", - "timed-out": "^4.0.1", - "url-set-query": "^1.0.0", - "xhr": "^2.0.4" - } - }, - "xhr-request-promise": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz", - "integrity": "sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg==", - "requires": { - "xhr-request": "^1.1.0" - } - }, - "xhr2-cookies": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz", - "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=", - "requires": { - "cookiejar": "^2.1.1" - } - }, - "xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" - }, - "y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" - }, - "yaeti": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", - "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" - }, - "yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" - }, - "yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "requires": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "requires": { - "p-limit": "^2.2.0" - } - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } - } - }, - "yargs-parser": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==" - }, - "yargs-unparser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", - "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", - "requires": { - "camelcase": "^6.0.0", - "decamelize": "^4.0.0", - "flat": "^5.0.2", - "is-plain-obj": "^2.1.0" - }, - "dependencies": { - "decamelize": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==" - } - } - }, - "yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" - }, - "yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" - } - } -} diff --git a/scripts/wait-for-inclusion/package.json b/scripts/wait-for-inclusion/package.json deleted file mode 100644 index 88875f92d..000000000 --- a/scripts/wait-for-inclusion/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "wait-for-inclusion", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "chain": "polkadot-launch ../../rococo-local/config.json", - "test-inclusion": "node index.js 2034", - "start": "run-p -lr chain test-inclusion" - }, - "author": "", - "license": "Apache-2.0", - "dependencies": { - "@polkadot/api": "^6.3.1", - "npm-run-all": "^4.1.5", - "polkadot-launch": "^2.1.0", - "wait-on": "^6.0.0" - } -} From 0ed9ad1301493bc74f8de499a37d5ee17f792d38 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 14:21:14 +0100 Subject: [PATCH 132/138] CI: don't install unused dependencies --- .github/workflows/tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2831f1773..ab586c1ae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,14 +20,12 @@ jobs: - run: git describe --tags --abbrev=0 - name: Setup cmake uses: jwlawson/actions-setup-cmake@v1.12 - - name: Install misc dependencies - run: sudo rm /var/lib/dpkg/lock-frontend && sudo rm /var/lib/dpkg/lock && sudo apt-get install -y protobuf-compiler m4 - name: Install Rust uses: codota/toolchain@00a8bf2bdcfe93aefd70422d3dec07337959d3a4 with: profile: minimal - name: Run tests - run: make test + run: make test-release - name: Run clippy run: make clippy - name: Build release @@ -44,7 +42,7 @@ jobs: with: name: hydradx_runtime.compact.compressed.wasm path: target/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm - - name: Run benchmark tests + - name: Test benchmarks run: make test-benchmarks version-check: From 3f9ffb37353fd4f310e80136242872627b331213 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 14:26:39 +0100 Subject: [PATCH 133/138] split benchmark test into separate job --- .github/workflows/tests.yml | 19 ++++++++++++++++++- Makefile | 5 ++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab586c1ae..052858f62 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: profile: minimal - name: Run tests run: make test-release - - name: Run clippy + - name: Clippy run: make clippy - name: Build release run: time make build @@ -42,6 +42,23 @@ jobs: with: name: hydradx_runtime.compact.compressed.wasm path: target/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm + + test-benchmarks: + runs-on: lark + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} + - run: git describe --tags --abbrev=0 --always + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v1.12 + - name: Install Rust + uses: codota/toolchain@00a8bf2bdcfe93aefd70422d3dec07337959d3a4 + with: + profile: minimal + - name: Clippy all + run: make clippy-all - name: Test benchmarks run: make test-benchmarks diff --git a/Makefile b/Makefile index c4c89414b..df0be22b3 100644 --- a/Makefile +++ b/Makefile @@ -28,9 +28,12 @@ coverage: .PHONY: clippy clippy: - cargo clippy --release --locked --all-targets --all-features -- -D warnings -A deprecated cargo clippy --release --locked --all-targets -- -D warnings -A deprecated +.PHONY: clippy-all +clippy: + cargo clippy --release --locked --all-targets --all-features -- -D warnings -A deprecated + .PHONY: format format: cargo fmt From f5cf9085cf56025a5fd9d850e852d6d3f066c0bc Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 14:27:29 +0100 Subject: [PATCH 134/138] clippy all fixed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index df0be22b3..84973e399 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ clippy: cargo clippy --release --locked --all-targets -- -D warnings -A deprecated .PHONY: clippy-all -clippy: +clippy-all: cargo clippy --release --locked --all-targets --all-features -- -D warnings -A deprecated .PHONY: format From ff27f8fba0356fd18f7b293ad5dcff7e887bd888 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 14:29:07 +0100 Subject: [PATCH 135/138] testing benchmarks again --- .github/workflows/tests.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 052858f62..fbac3cc76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,8 +26,6 @@ jobs: profile: minimal - name: Run tests run: make test-release - - name: Clippy - run: make clippy - name: Build release run: time make build - name: Version info @@ -42,22 +40,7 @@ jobs: with: name: hydradx_runtime.compact.compressed.wasm path: target/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm - - test-benchmarks: - runs-on: lark - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - ref: ${{ github.event.pull_request.head.sha }} - - run: git describe --tags --abbrev=0 --always - - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1.12 - - name: Install Rust - uses: codota/toolchain@00a8bf2bdcfe93aefd70422d3dec07337959d3a4 - with: - profile: minimal - - name: Clippy all + - name: Clippy run: make clippy-all - name: Test benchmarks run: make test-benchmarks From e9a6b2cd9f5c13e61d909cf3d7625d09ae405cd9 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 14:31:27 +0100 Subject: [PATCH 136/138] bump crate versions --- Cargo.lock | 4 ++-- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- scraper/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9119354b1..1249ac8e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4618,7 +4618,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "204.0.0" +version = "205.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -12703,7 +12703,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" -version = "1.2.0" +version = "1.2.1" dependencies = [ "clap 3.2.25", "frame-remote-externalities", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index b5cb41819..28f8de74a 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "204.0.0" +version = "205.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index cc9ddc756..6bc8956b5 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 204, + spec_version: 205, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/scraper/Cargo.toml b/scraper/Cargo.toml index 242b7d403..61c59f679 100644 --- a/scraper/Cargo.toml +++ b/scraper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scraper" -version = "1.2.0" +version = "1.2.1" description = "Scraper tool" authors = ["GalacticCouncil"] edition = "2021" From b888cd8c0d0b2ea3a04769ecefa790bdadbcf3b7 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 18 Jan 2024 15:44:31 +0100 Subject: [PATCH 137/138] use concrete values for balances config params --- runtime/hydradx/src/assets.rs | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index a6565993c..8187a4dc1 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -83,20 +83,25 @@ impl OnUnbalanced for DustRemovalAdapter { } } +parameter_types! { + pub const MaxHolds: u32 = 0; + pub const MaxFreezes: u32 = 0; +} + impl pallet_balances::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = weights::balances::HydraWeight; type Balance = Balance; type DustRemoval = DustRemovalAdapter; - type RuntimeEvent = RuntimeEvent; type ExistentialDeposit = NativeExistentialDeposit; type AccountStore = System; - type WeightInfo = weights::balances::HydraWeight; - type MaxLocks = MaxLocks; - type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; - type FreezeIdentifier = (); - type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxLocks = MaxLocks; + type MaxReserves = MaxReserves; + type MaxHolds = MaxHolds; + type MaxFreezes = MaxFreezes; } pub struct CurrencyHooks; From 3566634fc1da54414a4b049e70df5b09976442c2 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 19 Jan 2024 17:47:25 +0100 Subject: [PATCH 138/138] rebenchmark omnipool router execution extrinsics --- runtime/hydradx/src/weights/omnipool.rs | 42 ++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/runtime/hydradx/src/weights/omnipool.rs b/runtime/hydradx/src/weights/omnipool.rs index a40d23e2c..777d91214 100644 --- a/runtime/hydradx/src/weights/omnipool.rs +++ b/runtime/hydradx/src/weights/omnipool.rs @@ -435,7 +435,7 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Storage: `Referrals::TraderShares` (r:1 w:1) /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -445,17 +445,17 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1974 + e * (4788 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 48_705_000 picoseconds. - Weight::from_parts(49_088_855, 6156) - // Standard Error: 97_412 - .saturating_add(Weight::from_parts(321_546, 0).saturating_mul(c.into())) - // Standard Error: 97_412 - .saturating_add(Weight::from_parts(291_861_384, 0).saturating_mul(e.into())) + // Measured: `1974 + e * (4750 ±0)` + // Estimated: `6156 + e * (7749 ±118_379_753_737_997_488)` + // Minimum execution time: 49_393_000 picoseconds. + Weight::from_parts(47_313_937, 6156) + // Standard Error: 84_954 + .saturating_add(Weight::from_parts(1_522_262, 0).saturating_mul(c.into())) + // Standard Error: 84_954 + .saturating_add(Weight::from_parts(288_560_770, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().reads((26_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((22_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().reads((25_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((21_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) @@ -492,7 +492,7 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Storage: `Referrals::TraderShares` (r:1 w:1) /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -502,15 +502,15 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6762` + // Measured: `6724` // Estimated: `13905` - // Minimum execution time: 325_047_000 picoseconds. - Weight::from_parts(309_584_818, 13905) - // Standard Error: 196_245 - .saturating_add(Weight::from_parts(16_694_995, 0).saturating_mul(c.into())) - // Standard Error: 196_245 - .saturating_add(Weight::from_parts(1_594_024, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(33)) - .saturating_add(T::DbWeight::get().writes(22)) + // Minimum execution time: 319_950_000 picoseconds. + Weight::from_parts(308_443_101, 13905) + // Standard Error: 135_443 + .saturating_add(Weight::from_parts(14_990_074, 0).saturating_mul(c.into())) + // Standard Error: 135_443 + .saturating_add(Weight::from_parts(285_316, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(32)) + .saturating_add(T::DbWeight::get().writes(21)) } }