Skip to content

Commit 822915e

Browse files
authored
passkey: simplify filter (#2106)
# Goal The goal of this PR is to simplify the extrinsic filter for passkeys Related to #2032
1 parent cbf4c85 commit 822915e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

runtime/frequency/src/lib.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,7 @@ impl Contains<RuntimeCall> for PasskeyCallFilter {
284284
#[cfg(feature = "runtime-benchmarks")]
285285
RuntimeCall::System(frame_system::Call::remark { .. }) => true,
286286

287-
RuntimeCall::Balances(pallet_balances::Call::transfer_keep_alive { .. }) |
288-
RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) |
289-
RuntimeCall::Balances(pallet_balances::Call::transfer_all { .. }) |
290-
RuntimeCall::Capacity(_) => true,
287+
RuntimeCall::Balances(_) | RuntimeCall::Capacity(_) => true,
291288
_ => false,
292289
}
293290
}
@@ -365,7 +362,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
365362
spec_name: create_runtime_str!("frequency"),
366363
impl_name: create_runtime_str!("frequency"),
367364
authoring_version: 1,
368-
spec_version: 101,
365+
spec_version: 102,
369366
impl_version: 0,
370367
apis: RUNTIME_API_VERSIONS,
371368
transaction_version: 1,
@@ -379,7 +376,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
379376
spec_name: create_runtime_str!("frequency-testnet"),
380377
impl_name: create_runtime_str!("frequency"),
381378
authoring_version: 1,
382-
spec_version: 101,
379+
spec_version: 102,
383380
impl_version: 0,
384381
apis: RUNTIME_API_VERSIONS,
385382
transaction_version: 1,

0 commit comments

Comments
 (0)