mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 22:11:01 +00:00
remove stale polkadot call filter (#5969)
* Remove stale polkadot call filter * fix build * really fix it * unused import * Fix Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -25,7 +25,7 @@ use beefy_primitives::crypto::AuthorityId as BeefyId;
|
||||
use frame_election_provider_support::{onchain, SequentialPhragmen};
|
||||
use frame_support::{
|
||||
construct_runtime, parameter_types,
|
||||
traits::{ConstU32, Contains, InstanceFilter, KeyOwnerProofSystem},
|
||||
traits::{ConstU32, InstanceFilter, KeyOwnerProofSystem},
|
||||
weights::ConstantMultiplier,
|
||||
PalletId,
|
||||
};
|
||||
@@ -129,21 +129,13 @@ pub fn native_version() -> NativeVersion {
|
||||
NativeVersion { runtime_version: VERSION, can_author_with: Default::default() }
|
||||
}
|
||||
|
||||
/// Allow everything.
|
||||
pub struct BaseFilter;
|
||||
impl Contains<Call> for BaseFilter {
|
||||
fn contains(_: &Call) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const Version: RuntimeVersion = VERSION;
|
||||
pub const SS58Prefix: u8 = 42;
|
||||
}
|
||||
|
||||
impl frame_system::Config for Runtime {
|
||||
type BaseCallFilter = BaseFilter;
|
||||
type BaseCallFilter = frame_support::traits::Everything;
|
||||
type BlockWeights = BlockWeights;
|
||||
type BlockLength = BlockLength;
|
||||
type Origin = Origin;
|
||||
|
||||
Reference in New Issue
Block a user