mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 21:01:05 +00:00
Root origin use no filter by default. Scheduler and Democracy dispatch without asserting BaseCallFilter (#6408)
* make system root origin build runtime origin with no filter * additional doc
This commit is contained in:
committed by
GitHub
parent
2645659ab2
commit
780f8e09d7
@@ -149,7 +149,8 @@ pub fn extrinsics_data_root<H: Hash>(xts: Vec<Vec<u8>>) -> H::Output {
|
||||
}
|
||||
|
||||
pub trait Trait: 'static + Eq + Clone {
|
||||
/// The basic call filter to use in Origin.
|
||||
/// The basic call filter to use in Origin. All origins are built with this filter as base,
|
||||
/// except Root.
|
||||
type BaseCallFilter: Filter<Self::Call>;
|
||||
|
||||
/// The `Origin` type used by dispatchable calls.
|
||||
|
||||
Reference in New Issue
Block a user