Skip to content

Commit

Permalink
passkey: simplify filter (#2106)
Browse files Browse the repository at this point in the history
# Goal
The goal of this PR is to simplify the extrinsic filter for passkeys

Related to #2032
  • Loading branch information
rustadot authored Jul 31, 2024
1 parent ea9762d commit c57efaf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions runtime/frequency/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,7 @@ impl Contains<RuntimeCall> for PasskeyCallFilter {
#[cfg(feature = "runtime-benchmarks")]
RuntimeCall::System(frame_system::Call::remark { .. }) => true,

RuntimeCall::Balances(pallet_balances::Call::transfer_keep_alive { .. }) |
RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) |
RuntimeCall::Balances(pallet_balances::Call::transfer_all { .. }) |
RuntimeCall::Capacity(_) => true,
RuntimeCall::Balances(_) | RuntimeCall::Capacity(_) => true,
_ => false,
}
}
Expand Down Expand Up @@ -365,7 +362,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("frequency"),
impl_name: create_runtime_str!("frequency"),
authoring_version: 1,
spec_version: 101,
spec_version: 102,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand All @@ -379,7 +376,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("frequency-testnet"),
impl_name: create_runtime_str!("frequency"),
authoring_version: 1,
spec_version: 101,
spec_version: 102,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit c57efaf

Please sign in to comment.