Skip to content

Commit

Permalink
Merge pull request #110 from InvArch/gabriel-disable_filters
Browse files Browse the repository at this point in the history
Disabled call filters used during the LBP
  • Loading branch information
arrudagates authored Oct 15, 2022
2 parents 46ac234 + 77ed490 commit 56b206a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions runtime/tinkernet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("tinkernet_node"),
impl_name: create_runtime_str!("tinkernet_node"),
authoring_version: 1,
spec_version: 13,
spec_version: 14,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -270,15 +270,16 @@ parameter_types! {

pub struct BaseFilter;
impl Contains<Call> for BaseFilter {
fn contains(c: &Call) -> bool {
!matches!(
c,
Call::XTokens(_)
| Call::PolkadotXcm(_)
| Call::OrmlXcm(_)
| Call::Currencies(_)
| Call::Tokens(_)
)
fn contains(_c: &Call) -> bool {
// !matches!(
// c,
// Call::XTokens(_)
// | Call::PolkadotXcm(_)
// | Call::OrmlXcm(_)
// | Call::Currencies(_)
// | Call::Tokens(_)
// )
true
}
}

Expand Down

0 comments on commit 56b206a

Please sign in to comment.