mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
Rename anonymous to pure proxy (#12283)
* rename anon to pure proxy * remove old weight comments * fix merge * Update frame/proxy/src/lib.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * fn pure -> fn create_pure Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
This commit is contained in:
@@ -52,8 +52,8 @@ pub trait WeightInfo {
|
||||
fn add_proxy(p: u32, ) -> Weight;
|
||||
fn remove_proxy(p: u32, ) -> Weight;
|
||||
fn remove_proxies(p: u32, ) -> Weight;
|
||||
fn anonymous(p: u32, ) -> Weight;
|
||||
fn kill_anonymous(p: u32, ) -> Weight;
|
||||
fn create_pure(p: u32, ) -> Weight;
|
||||
fn kill_pure(p: u32, ) -> Weight;
|
||||
}
|
||||
|
||||
/// Weights for pallet_proxy using the Substrate node and recommended hardware.
|
||||
@@ -138,7 +138,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn anonymous(p: u32, ) -> Weight {
|
||||
fn create_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_077_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
|
||||
@@ -146,7 +146,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn kill_anonymous(p: u32, ) -> Weight {
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_657_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
@@ -236,7 +236,7 @@ impl WeightInfo for () {
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn anonymous(p: u32, ) -> Weight {
|
||||
fn create_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_077_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
|
||||
@@ -244,7 +244,7 @@ impl WeightInfo for () {
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn kill_anonymous(p: u32, ) -> Weight {
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_657_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
|
||||
Reference in New Issue
Block a user