mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 18:31:05 +00:00
* Fix up proxy * Update weights * Fixes * rename 'proxy_announced' -> 'announced_proxy' * flip rename * update weight formulas * Fixes * fix merge * Fix runtime * Fix runtimes * "Update Substrate" Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -89,8 +89,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
#[cfg(not(feature = "disable-runtime-api"))]
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
#[cfg(feature = "disable-runtime-api")]
|
||||
apis: sp_version::create_apis_vec![[]],
|
||||
transaction_version: 2,
|
||||
apis: version::create_apis_vec![[]],
|
||||
transaction_version: 3,
|
||||
};
|
||||
|
||||
/// Native version.
|
||||
@@ -543,6 +543,9 @@ parameter_types! {
|
||||
// Additional storage item size of 33 bytes.
|
||||
pub const ProxyDepositFactor: Balance = deposit(0, 33);
|
||||
pub const MaxProxies: u16 = 32;
|
||||
pub const AnnouncementDepositBase: Balance = deposit(1, 8);
|
||||
pub const AnnouncementDepositFactor: Balance = deposit(0, 66);
|
||||
pub const MaxPending: u16 = 32;
|
||||
}
|
||||
|
||||
/// The type used to represent the kinds of proxying allowed.
|
||||
@@ -629,7 +632,11 @@ impl pallet_proxy::Trait for Runtime {
|
||||
type ProxyDepositBase = ProxyDepositBase;
|
||||
type ProxyDepositFactor = ProxyDepositFactor;
|
||||
type MaxProxies = MaxProxies;
|
||||
type WeightInfo = ();
|
||||
type WeightInfo = weights::pallet_proxy::WeightInfo;
|
||||
type MaxPending = MaxPending;
|
||||
type CallHasher = BlakeTwo256;
|
||||
type AnnouncementDepositBase = AnnouncementDepositBase;
|
||||
type AnnouncementDepositFactor = AnnouncementDepositFactor;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
Reference in New Issue
Block a user