Skip to content

Commit 45867eb

Browse files
authored
Renames of Trait to Config in README.md, weight templates and few minor ones (#7636)
* manual rename * renamse in README.md * fix template
1 parent f92aa5f commit 45867eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and includes the recent best block number of the local validators chain as well
1313
as the `NetworkState`.
1414
It is submitted as an Unsigned Transaction via off-chain workers.
1515

16-
- [`im_online::Trait`](https://docs.rs/pallet-im-online/latest/pallet_im_online/trait.Trait.html)
16+
- [`im_online::Config`](https://docs.rs/pallet-im-online/latest/pallet_im_online/trait.Config.html)
1717
- [`Call`](https://docs.rs/pallet-im-online/latest/pallet_im_online/enum.Call.html)
1818
- [`Module`](https://docs.rs/pallet-im-online/latest/pallet_im_online/struct.Module.html)
1919

@@ -30,10 +30,10 @@ use frame_support::{decl_module, dispatch};
3030
use frame_system::ensure_signed;
3131
use pallet_im_online::{self as im_online};
3232

33-
pub trait Trait: im_online::Trait {}
33+
pub trait Config: im_online::Config {}
3434

3535
decl_module! {
36-
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
36+
pub struct Module<T: Config> for enum Call where origin: T::Origin {
3737
#[weight = 0]
3838
pub fn is_online(origin, authority_index: u32) -> dispatch::DispatchResult {
3939
let _sender = ensure_signed(origin)?;

0 commit comments

Comments
 (0)