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

Commit

Permalink
Migrate pallet-im-online to pallet attribute macro. (#8714)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
shaunxw and gui1117 authored May 5, 2021
1 parent 0f849ef commit 22a86fa
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 183 deletions.
2 changes: 1 addition & 1 deletion frame/im-online/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use sp_runtime::traits::{ValidateUnsigned, Zero};
use sp_runtime::transaction_validity::TransactionSource;
use frame_support::traits::UnfilteredDispatchable;

use crate::Module as ImOnline;
use crate::Pallet as ImOnline;

const MAX_KEYS: u32 = 1000;
const MAX_EXTERNAL_ADDRESSES: u32 = 100;
Expand Down
Loading

0 comments on commit 22a86fa

Please sign in to comment.