mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
sp-std -> core (#3199)
First in a series of PRs that reduces our use of sp-std with a view to deprecating it. This is just looking at /substrate and moving some of the references from `sp-std` to `core`. These particular changes should be uncontroversial. Where macros are used `::core` should be used to remove any ambiguity. part of https://github.com/paritytech/polkadot-sdk/issues/2101
This commit is contained in:
@@ -35,7 +35,7 @@ mod v5;
|
||||
/// This migration should be added with a runtime upgrade that introduces the
|
||||
/// `MaxSetIdSessionEntries` constant to the pallet (although it could also be
|
||||
/// done later on).
|
||||
pub struct CleanupSetIdSessionMap<T>(sp_std::marker::PhantomData<T>);
|
||||
pub struct CleanupSetIdSessionMap<T>(core::marker::PhantomData<T>);
|
||||
impl<T: Config> OnRuntimeUpgrade for CleanupSetIdSessionMap<T> {
|
||||
fn on_runtime_upgrade() -> Weight {
|
||||
// NOTE: since this migration will loop over all stale entries in the
|
||||
|
||||
Reference in New Issue
Block a user