diff --git a/runtime/astar/src/lib.rs b/runtime/astar/src/lib.rs index daa9829a66..1fad5c74b3 100644 --- a/runtime/astar/src/lib.rs +++ b/runtime/astar/src/lib.rs @@ -1030,7 +1030,7 @@ pub enum ProxyType { /// Allows all runtime calls for proxy account Any, /// Allows only NonTransfer runtime calls for proxy account - /// To know exact calls check InstanceFilter inmplementation for ProxyTypes + /// To know exact calls check InstanceFilter implementation for ProxyTypes NonTransfer, /// All Runtime calls from Pallet Balances allowed for proxy account Balances, @@ -1066,26 +1066,15 @@ impl InstanceFilter for ProxyType { c, RuntimeCall::System(..) | RuntimeCall::Identity(..) - | RuntimeCall::Timestamp(..) | RuntimeCall::Multisig(..) | RuntimeCall::Proxy(..) - | RuntimeCall::ParachainSystem(..) - | RuntimeCall::ParachainInfo(..) - // Skip entire Balances pallet - | RuntimeCall::Vesting(pallet_vesting::Call::vest{..}) - | RuntimeCall::Vesting(pallet_vesting::Call::vest_other{..}) - // Specifically omitting Vesting `vested_transfer`, and `force_vested_transfer` + | RuntimeCall::Vesting( + pallet_vesting::Call::vest { .. } + | pallet_vesting::Call::vest_other { .. } + ) | RuntimeCall::DappStaking(..) - // Skip entire Assets pallet | RuntimeCall::CollatorSelection(..) - | RuntimeCall::Session(..) - | RuntimeCall::XcmpQueue(..) - | RuntimeCall::PolkadotXcm(..) - | RuntimeCall::CumulusXcm(..) | RuntimeCall::XcAssetConfig(..) - // Skip entire EVM pallet - // Skip entire Ethereum pallet - | RuntimeCall::DynamicEvmBaseFee(..) // Skip entire Contracts pallet ) } ProxyType::Balances => { diff --git a/runtime/local/src/lib.rs b/runtime/local/src/lib.rs index b290d574a3..e75c009ec3 100644 --- a/runtime/local/src/lib.rs +++ b/runtime/local/src/lib.rs @@ -811,18 +811,12 @@ impl InstanceFilter for ProxyType { matches!( c, RuntimeCall::System(..) - | RuntimeCall::Timestamp(..) - | RuntimeCall::Scheduler(..) | RuntimeCall::Proxy(..) - | RuntimeCall::Grandpa(..) - // Skip entire Balances pallet - | RuntimeCall::Vesting(pallet_vesting::Call::vest{..}) - | RuntimeCall::Vesting(pallet_vesting::Call::vest_other{..}) - // Specifically omitting Vesting `vested_transfer`, and `force_vested_transfer` + | RuntimeCall::Vesting( + pallet_vesting::Call::vest { .. } + | pallet_vesting::Call::vest_other { .. } + ) | RuntimeCall::DappStaking(..) - // Skip entire EVM pallet - // Skip entire Ethereum pallet - | RuntimeCall::DynamicEvmBaseFee(..) // Skip entire Contracts pallet ) } // All Runtime calls from Pallet Balances allowed for proxy account diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 95b5798d00..b7bee1f331 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -1046,27 +1046,15 @@ impl InstanceFilter for ProxyType { c, RuntimeCall::System(..) | RuntimeCall::Identity(..) - | RuntimeCall::Timestamp(..) | RuntimeCall::Multisig(..) - | RuntimeCall::Scheduler(..) | RuntimeCall::Proxy(..) - | RuntimeCall::ParachainSystem(..) - | RuntimeCall::ParachainInfo(..) - // Skip entire Balances pallet - | RuntimeCall::Vesting(pallet_vesting::Call::vest{..}) - | RuntimeCall::Vesting(pallet_vesting::Call::vest_other{..}) - // Specifically omitting Vesting `vested_transfer`, and `force_vested_transfer` + | RuntimeCall::Vesting( + pallet_vesting::Call::vest { .. } + | pallet_vesting::Call::vest_other { .. } + ) | RuntimeCall::DappStaking(..) - // Skip entire Assets pallet | RuntimeCall::CollatorSelection(..) - | RuntimeCall::Session(..) - | RuntimeCall::XcmpQueue(..) - | RuntimeCall::PolkadotXcm(..) - | RuntimeCall::CumulusXcm(..) | RuntimeCall::XcAssetConfig(..) - // Skip entire EVM pallet - // Skip entire Ethereum pallet - | RuntimeCall::DynamicEvmBaseFee(..) // Skip entire Contracts pallet ) } // All Runtime calls from Pallet Balances allowed for proxy account diff --git a/runtime/shiden/src/lib.rs b/runtime/shiden/src/lib.rs index 4989e71566..32e7734014 100644 --- a/runtime/shiden/src/lib.rs +++ b/runtime/shiden/src/lib.rs @@ -1011,26 +1011,15 @@ impl InstanceFilter for ProxyType { c, RuntimeCall::System(..) | RuntimeCall::Identity(..) - | RuntimeCall::Timestamp(..) | RuntimeCall::Multisig(..) | RuntimeCall::Proxy(..) - | RuntimeCall::ParachainSystem(..) - | RuntimeCall::ParachainInfo(..) - // Skip entire Balances pallet - | RuntimeCall::Vesting(pallet_vesting::Call::vest{..}) - | RuntimeCall::Vesting(pallet_vesting::Call::vest_other{..}) - // Specifically omitting Vesting `vested_transfer`, and `force_vested_transfer` + | RuntimeCall::Vesting( + pallet_vesting::Call::vest { .. } + | pallet_vesting::Call::vest_other { .. } + ) | RuntimeCall::DappStaking(..) - // Skip entire Assets pallet | RuntimeCall::CollatorSelection(..) - | RuntimeCall::Session(..) - | RuntimeCall::XcmpQueue(..) - | RuntimeCall::PolkadotXcm(..) - | RuntimeCall::CumulusXcm(..) | RuntimeCall::XcAssetConfig(..) - // Skip entire EVM pallet - // Skip entire Ethereum pallet - | RuntimeCall::DynamicEvmBaseFee(..) // Skip entire Contracts pallet ) } ProxyType::Balances => {