mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
BREAKING: Rename Origin (#12258)
* BREAKING: Rename Origin * more renaming * a bit more renaming * fix * more fixing * fix in frame_support * even more fixes * fix * small fix * ... * update .stderr * docs * update docs * update docs * docs
This commit is contained in:
@@ -468,7 +468,7 @@ mod tests {
|
||||
type BlockWeights = ();
|
||||
type BlockLength = ();
|
||||
type DbWeight = ();
|
||||
type Origin = Origin;
|
||||
type RuntimeOrigin = RuntimeOrigin;
|
||||
type Index = u64;
|
||||
type BlockNumber = u64;
|
||||
type RuntimeCall = RuntimeCall;
|
||||
@@ -738,7 +738,7 @@ mod tests {
|
||||
System::reset_events();
|
||||
System::initialize(¤t_depth, &parent_hash, &Default::default());
|
||||
Authorship::on_initialize(current_depth);
|
||||
Authorship::set_uncles(Origin::none(), uncles).unwrap();
|
||||
Authorship::set_uncles(RuntimeOrigin::none(), uncles).unwrap();
|
||||
Authorship::on_finalize(current_depth);
|
||||
max_item_count =
|
||||
std::cmp::max(max_item_count, <Authorship as Store>::Uncles::get().len());
|
||||
|
||||
Reference in New Issue
Block a user