Skip to content
Snippets Groups Projects

Fix #235 allow remark in prod with a limit on extrinsic size for free transaction

Merged Fix #235 allow remark in prod with a limit on extrinsic size for free transaction
Merged Benjamin Gallois requested to merge fix-235 into master
Files
3
+ 2
3
@@ -177,9 +177,8 @@ impl Contains<RuntimeCall> for BaseCallFilter {
@@ -177,9 +177,8 @@ impl Contains<RuntimeCall> for BaseCallFilter {
fn contains(call: &RuntimeCall) -> bool {
fn contains(call: &RuntimeCall) -> bool {
!matches!(
!matches!(
call,
call,
RuntimeCall::System(
RuntimeCall::System(frame_system::Call::remark_with_event { .. })
frame_system::Call::remark { .. } | frame_system::Call::remark_with_event { .. }
| RuntimeCall::Session(_)
) | RuntimeCall::Session(_)
)
)
}
}
Loading