Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 22a86fa

Browse files
shaunxwgui1117
andauthored
Migrate pallet-im-online to pallet attribute macro. (#8714)
* Migrate pallet-im-online to pallet attribute macro. * Move validate_unsigned into pallet macro. * fix metadata * fix test Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
1 parent 0f849ef commit 22a86fa

File tree

4 files changed

+222
-183
lines changed

4 files changed

+222
-183
lines changed

frame/im-online/src/benchmarking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use sp_runtime::traits::{ValidateUnsigned, Zero};
2929
use sp_runtime::transaction_validity::TransactionSource;
3030
use frame_support::traits::UnfilteredDispatchable;
3131

32-
use crate::Module as ImOnline;
32+
use crate::Pallet as ImOnline;
3333

3434
const MAX_KEYS: u32 = 1000;
3535
const MAX_EXTERNAL_ADDRESSES: u32 = 100;

0 commit comments

Comments
 (0)