Skip to content

Commit d82e68d

Browse files
gui1117kianenigma
andauthored
Introduce in-origin filtering (#6318)
* impl filter in origin * remove IsCallable usage. Breaking: utility::batch(root, calls) no longer bypass BasicCallFilter * rename BasicCallFilter -> BaseCallFilter * refactor code * Apply suggestions from code review Co-authored-by: Kian Paimani <[email protected]> * remove forgotten temporar comment * better add suggestion in another PR * refactor: use Clone instead of mem::replace * fix tests * fix tests * fix tests * fix benchmarks * Make root bypass filter in utility::batch * fix unused imports Co-authored-by: Kian Paimani <[email protected]>
1 parent 958e09e commit d82e68d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,7 @@ mod tests {
11741174
pub const AvailableBlockRatio: Perbill = Perbill::one();
11751175
}
11761176
impl frame_system::Trait for Test {
1177+
type BaseCallFilter = ();
11771178
type Origin = Origin;
11781179
type Index = u64;
11791180
type BlockNumber = u64;

0 commit comments

Comments
 (0)