Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate scheduler traits v1 and v2 #3718

6 changes: 4 additions & 2 deletions substrate/frame/support/src/traits/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ impl<T: Decode, H> MaybeHashed<T, H> {
}
}

// TODO: deprecate
#[allow(deprecated)]
chungquantin marked this conversation as resolved.
Show resolved Hide resolved
#[deprecated = "traits::schedule::v1 is deprecated. Please use v3 instead."]
chungquantin marked this conversation as resolved.
Show resolved Hide resolved
pub mod v1 {
use super::*;

Expand Down Expand Up @@ -286,7 +287,8 @@ pub mod v1 {
}
}

// TODO: deprecate
#[allow(deprecated)]
#[deprecated = "traits::schedule::v2 is deprecated. Please use v3 instead."]
pub mod v2 {
use super::*;

Expand Down
Loading