mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 19:47:59 +00:00
on_initialize return weight consumed and default cost to default DispatchInfo instead of zero (#5382)
* frame update * doc * move offchain worker trait also * fix weigh merge * indentation * reorder for better git diff * comment * fix benchmark * remove test
This commit is contained in:
@@ -207,9 +207,11 @@ mod tests {
|
||||
use sp_core::H256;
|
||||
use sp_runtime::{
|
||||
testing::Header, Perbill,
|
||||
traits::{BlakeTwo256, IdentityLookup, OnFinalize, Header as HeaderT},
|
||||
traits::{BlakeTwo256, IdentityLookup, Header as HeaderT},
|
||||
};
|
||||
use frame_support::{
|
||||
assert_ok, impl_outer_origin, parameter_types, weights::Weight, traits::OnFinalize
|
||||
};
|
||||
use frame_support::{assert_ok, impl_outer_origin, parameter_types, weights::Weight};
|
||||
use frame_system as system;
|
||||
use std::cell::RefCell;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user