mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Bump versions, tweak SudoBalances constraint to add batching. (#1216)
This commit is contained in:
@@ -82,7 +82,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: create_runtime_str!("westend"),
|
||||
impl_name: create_runtime_str!("parity-westend"),
|
||||
authoring_version: 2,
|
||||
spec_version: 24,
|
||||
spec_version: 25,
|
||||
impl_version: 0,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
transaction_version: 1,
|
||||
@@ -607,9 +607,11 @@ impl InstanceFilter<Call> for ProxyType {
|
||||
Call::Staking(..) | Call::Utility(utility::Call::batch(..))
|
||||
| Call::Utility(utility::Call::as_limited_sub(..))
|
||||
),
|
||||
ProxyType::SudoBalances => matches!(c,
|
||||
Call::Sudo(sudo::Call::sudo(x)) if matches!(x.as_ref(), &Call::Balances(..))
|
||||
),
|
||||
ProxyType::SudoBalances => match c {
|
||||
Call::Sudo(sudo::Call::sudo(ref x)) => matches!(x.as_ref(), &Call::Balances(..)),
|
||||
Call::Utility(utility::Call::batch(..)) => true,
|
||||
_ => false,
|
||||
},
|
||||
}
|
||||
}
|
||||
fn is_superset(&self, o: &Self) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user