mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Add crowdloan to SafeCallFilter (#6903)
* Add crowdloan to SafeCallFilter * Add crowdloan to SafeCallFilter
This commit is contained in:
@@ -26,7 +26,7 @@ use frame_support::{
|
||||
weights::Weight,
|
||||
};
|
||||
use frame_system::EnsureRoot;
|
||||
use runtime_common::{paras_registrar, xcm_sender, ToAuthor};
|
||||
use runtime_common::{crowdloan, paras_registrar, xcm_sender, ToAuthor};
|
||||
use sp_core::ConstU32;
|
||||
use xcm::latest::prelude::*;
|
||||
use xcm_builder::{
|
||||
@@ -172,6 +172,16 @@ impl Contains<RuntimeCall> for SafeCallFilter {
|
||||
RuntimeCall::Timestamp(..) |
|
||||
RuntimeCall::Indices(..) |
|
||||
RuntimeCall::Balances(..) |
|
||||
RuntimeCall::Crowdloan(
|
||||
crowdloan::Call::create { .. } |
|
||||
crowdloan::Call::contribute { .. } |
|
||||
crowdloan::Call::withdraw { .. } |
|
||||
crowdloan::Call::refund { .. } |
|
||||
crowdloan::Call::dissolve { .. } |
|
||||
crowdloan::Call::edit { .. } |
|
||||
crowdloan::Call::poke { .. } |
|
||||
crowdloan::Call::contribute_all { .. },
|
||||
) |
|
||||
RuntimeCall::Staking(
|
||||
pallet_staking::Call::bond { .. } |
|
||||
pallet_staking::Call::bond_extra { .. } |
|
||||
|
||||
Reference in New Issue
Block a user