diff --git a/pallets/duniter-account/src/benchmarking.rs b/pallets/duniter-account/src/benchmarking.rs index b5594e7d2b4c235d40bf0c736fe5baaa8cc5d1ba..d209c45d4be2feb27e900d8b3b847ed613316996 100644 --- a/pallets/duniter-account/src/benchmarking.rs +++ b/pallets/duniter-account/src/benchmarking.rs @@ -48,7 +48,6 @@ fn create_pending_accounts<T: Config>( } else { assert!(frame_system::Pallet::<T>::sufficients(&caller) == 0); } - PendingNewAccounts::<T>::insert(caller, ()); } Ok(()) } diff --git a/pallets/duniter-account/src/weights.rs b/pallets/duniter-account/src/weights.rs index f4bbe1588187b65fdaf20824e26883ca88dcf7dc..d6e9cf5db9d12f5e8e5764b4e5a8c77f456e868c 100644 --- a/pallets/duniter-account/src/weights.rs +++ b/pallets/duniter-account/src/weights.rs @@ -40,7 +40,6 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().reads(1)) } - // Storage: Account PendingNewAccounts (r:1 w:0) // Storage: Babe EpochIndex (r:1 w:0) /// The range of component `i` is `[0, 1]`. fn on_initialize_sufficient(i: u32) -> Weight { @@ -53,7 +52,6 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes((6 as u64).saturating_mul(i as u64))) } - // Storage: Account PendingNewAccounts (r:1 w:0) // Storage: Babe EpochIndex (r:1 w:0) /// The range of component `i` is `[0, 1]`. fn on_initialize_with_balance(i: u32) -> Weight { @@ -66,7 +64,6 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes((6 as u64).saturating_mul(i as u64))) } - // Storage: Account PendingNewAccounts (r:1 w:0) /// The range of component `i` is `[0, 1]`. fn on_initialize_no_balance(i: u32) -> Weight { // Minimum execution time: 12_912 nanoseconds. diff --git a/pallets/universal-dividend/src/weights.rs b/pallets/universal-dividend/src/weights.rs index 27d0f739c0d4d73daa71345671dca76f755a4f42..e24b561aecf8b17a6ef6c92c85325a055b90bf07 100644 --- a/pallets/universal-dividend/src/weights.rs +++ b/pallets/universal-dividend/src/weights.rs @@ -38,7 +38,6 @@ impl WeightInfo for () { // Storage: UniversalDividend CurrentUd (r:1 w:0) // Storage: System Account (r:1 w:1) - // Storage: Account PendingNewAccounts (r:0 w:1) fn transfer_ud() -> Weight { Weight::from_parts(53_401_000, 0) .saturating_add(RocksDbWeight::get().reads(2)) @@ -47,7 +46,6 @@ impl WeightInfo for () { // Storage: UniversalDividend CurrentUd (r:1 w:0) // Storage: System Account (r:1 w:1) - // Storage: Account PendingNewAccounts (r:0 w:1) fn transfer_ud_keep_alive() -> Weight { Weight::from_parts(33_420_000, 0) .saturating_add(RocksDbWeight::get().reads(2)) diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index 20d538cb43ee05c8867ab184ee12da71e13ec608..4ddad95941958fc8e8ea7c2a00d39ae23eda476c 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -49,8 +49,6 @@ pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) - /// Storage: `Account::PendingNewAccounts` (r:0 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -63,8 +61,6 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) - /// Storage: Account PendingNewAccounts (r:0 w:1) - /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -77,8 +73,6 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { } /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) - /// Storage: Account PendingNewAccounts (r:0 w:1) - /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `64` @@ -115,8 +109,6 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) - /// Storage: `Account::PendingNewAccounts` (r:0 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/runtime/common/src/weights/pallet_duniter_account.rs b/runtime/common/src/weights/pallet_duniter_account.rs index 3dcee20a0ce4fbcf476231f238cfcf5f6992db3c..749b642cafcbedbdff8dcbc641dfba64e9c5ce79 100644 --- a/runtime/common/src/weights/pallet_duniter_account.rs +++ b/runtime/common/src/weights/pallet_duniter_account.rs @@ -59,8 +59,6 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Account::PendingNewAccounts` (r:1 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Babe::EpochIndex` (r:1 w:0) /// Proof: `Babe::EpochIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `i` is `[0, 1]`. @@ -78,8 +76,6 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(i.into()))) .saturating_add(Weight::from_parts(0, 309).saturating_mul(i.into())) } - /// Storage: `Account::PendingNewAccounts` (r:1 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Babe::EpochIndex` (r:1 w:0) @@ -99,8 +95,6 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(i.into()))) .saturating_add(Weight::from_parts(0, 309).saturating_mul(i.into())) } - /// Storage: `Account::PendingNewAccounts` (r:1 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1]`. fn on_initialize_no_balance(i: u32, ) -> Weight { // Proof Size summary in bytes: diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index 578f56c090daf9b95951083ddab989fca4ebf2f7..2f74e8d48c4a946855e1645734957e632080e103 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -120,8 +120,6 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// Storage: `Treasury::Proposals` (r:99 w:99) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) - /// Storage: `Account::PendingNewAccounts` (r:0 w:99) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: @@ -149,8 +147,6 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) - /// Storage: `Account::PendingNewAccounts` (r:0 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn payout() -> Weight { // Proof Size summary in bytes: // Measured: `180` diff --git a/runtime/common/src/weights/pallet_universal_dividend.rs b/runtime/common/src/weights/pallet_universal_dividend.rs index 889e7c9996e88eb1e3cb975b7108a7397a700bcb..b2e5d7650e0a06bbfd7206b6b720096283f99b84 100644 --- a/runtime/common/src/weights/pallet_universal_dividend.rs +++ b/runtime/common/src/weights/pallet_universal_dividend.rs @@ -72,8 +72,6 @@ impl<T: frame_system::Config> pallet_universal_dividend::WeightInfo for WeightIn /// Proof: `UniversalDividend::CurrentUd` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) - /// Storage: `Account::PendingNewAccounts` (r:0 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_ud() -> Weight { // Proof Size summary in bytes: // Measured: `157` @@ -88,8 +86,6 @@ impl<T: frame_system::Config> pallet_universal_dividend::WeightInfo for WeightIn /// Proof: `UniversalDividend::CurrentUd` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) - /// Storage: `Account::PendingNewAccounts` (r:0 w:1) - /// Proof: `Account::PendingNewAccounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_ud_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `93`