Root origin always bypass all filter, other origin cannot bypass...
Root origin always bypass all filter, other origin cannot bypass BaseCallFilter even when constructed from Root origin (#9948) * improve root filter bypass * improve doc * fmt * refactor test for more understandable flow * Update frame/support/procedural/src/construct_runtime/expand/origin.rs Co-authored-by:Keith Yeung <kungfukeith11@gmail.com> * match Co-authored-by:
Keith Yeung <kungfukeith11@gmail.com>
Showing
- substrate/frame/support/procedural/src/construct_runtime/expand/origin.rs 13 additions, 14 deletions...support/procedural/src/construct_runtime/expand/origin.rs
- substrate/frame/support/src/traits/dispatch.rs 7 additions, 4 deletionssubstrate/frame/support/src/traits/dispatch.rs
- substrate/frame/support/test/tests/construct_runtime.rs 15 additions, 3 deletionssubstrate/frame/support/test/tests/construct_runtime.rs
Loading
Please register or sign in to comment