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

pallet-session: Migrate the historical part to the new pallet macro #9878

Merged
merged 16 commits into from
Nov 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix staking test runtime
Signed-off-by: koushiro <[email protected]>
koushiro committed Sep 29, 2021

Unverified

This user has not yet uploaded their public signing key.
commit c4372654f49151a244a574b901fc7214044bbb78
1 change: 1 addition & 0 deletions frame/staking/src/mock.rs
Original file line number Diff line number Diff line change
@@ -104,6 +104,7 @@ frame_support::construct_runtime!(
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
Staking: pallet_staking::{Pallet, Call, Config<T>, Storage, Event<T>},
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>},
Historical: pallet_session::historical::{Pallet, Storage},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it now needs to have its name in PalletInfo, for the storages, so it needs to be in construct_runtime

BagsList: pallet_bags_list::{Pallet, Call, Storage, Event<T>},
}
);