Skip to content

Commit 2e8e99f

Browse files
xlcgavofyork
andauthored
Allow specify schedule dispatch origin (#6387)
* allow specify schedule dispatch origin * fix tests * use caller origin for scheduled * fix tests * line width * check origin for cancel * line width * fix some issues for benchmarking * fix doc test * another way to constraint origin * fix build issues * fix cancel * line width * fix benchmarks * bump version * enable runtime upgrade * add migration code and test * Update frame/scheduler/src/lib.rs Co-authored-by: Gavin Wood <[email protected]> * expose migration method * add notes * bump version * remove on_runtime_upgrade * fix test Co-authored-by: Gavin Wood <[email protected]>
1 parent 51ad0d1 commit 2e8e99f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pub trait Trait<I: Instance=DefaultInstance>: frame_system::Trait {
9797
}
9898

9999
/// Origin for the collective module.
100-
#[derive(PartialEq, Eq, Clone, RuntimeDebug)]
100+
#[derive(PartialEq, Eq, Clone, RuntimeDebug, Encode, Decode)]
101101
pub enum RawOrigin<AccountId, I> {
102102
/// It has been condoned by a given number of members of the collective from a given total.
103103
Members(MemberCount, MemberCount),

0 commit comments

Comments
 (0)