mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +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:
@@ -190,7 +190,7 @@ fn late_heartbeat_should_fail() {
|
||||
|
||||
#[test]
|
||||
fn should_generate_heartbeats() {
|
||||
use sp_runtime::traits::OffchainWorker;
|
||||
use frame_support::traits::OffchainWorker;
|
||||
|
||||
let mut ext = new_test_ext();
|
||||
let (offchain, _state) = TestOffchainExt::new();
|
||||
|
||||
Reference in New Issue
Block a user