Companion for #12283 (Anon -> Pure Proxy) (#6038)

* anon -> pure

* fn pure -> fn create_pure

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2022-09-22 11:13:43 -04:00
committed by GitHub
parent 9b669edf22
commit 2b07b39911
5 changed files with 180 additions and 180 deletions
+172 -172
View File
File diff suppressed because it is too large Load Diff
@@ -136,7 +136,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn anonymous(p: u32, ) -> Weight { fn create_pure(p: u32, ) -> Weight {
Weight::from_ref_time(31_637_000 as u64) Weight::from_ref_time(31_637_000 as u64)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64))
@@ -145,7 +145,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
} }
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`. /// The range of component `p` is `[0, 30]`.
fn kill_anonymous(p: u32, ) -> Weight { fn kill_pure(p: u32, ) -> Weight {
Weight::from_ref_time(26_228_000 as u64) Weight::from_ref_time(26_228_000 as u64)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64))
@@ -136,7 +136,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn anonymous(p: u32, ) -> Weight { fn create_pure(p: u32, ) -> Weight {
Weight::from_ref_time(30_935_000 as u64) Weight::from_ref_time(30_935_000 as u64)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(p as u64))
@@ -145,7 +145,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
} }
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`. /// The range of component `p` is `[0, 30]`.
fn kill_anonymous(p: u32, ) -> Weight { fn kill_pure(p: u32, ) -> Weight {
Weight::from_ref_time(25_877_000 as u64) Weight::from_ref_time(25_877_000 as u64)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
@@ -136,7 +136,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn anonymous(p: u32, ) -> Weight { fn create_pure(p: u32, ) -> Weight {
Weight::from_ref_time(30_191_000 as u64) Weight::from_ref_time(30_191_000 as u64)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
@@ -145,7 +145,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
} }
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`. /// The range of component `p` is `[0, 30]`.
fn kill_anonymous(p: u32, ) -> Weight { fn kill_pure(p: u32, ) -> Weight {
Weight::from_ref_time(25_957_000 as u64) Weight::from_ref_time(25_957_000 as u64)
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64))
@@ -136,7 +136,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn anonymous(p: u32, ) -> Weight { fn create_pure(p: u32, ) -> Weight {
Weight::from_ref_time(30_510_000 as u64) Weight::from_ref_time(30_510_000 as u64)
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
@@ -145,7 +145,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
} }
// Storage: Proxy Proxies (r:1 w:1) // Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`. /// The range of component `p` is `[0, 30]`.
fn kill_anonymous(p: u32, ) -> Weight { fn kill_pure(p: u32, ) -> Weight {
Weight::from_ref_time(26_338_000 as u64) Weight::from_ref_time(26_338_000 as u64)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(p as u64)) .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(p as u64))