-
Notifications
You must be signed in to change notification settings - Fork 742
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
Migrate pallet-timestamp
to umbrella crate
#6523
base: master
Are you sure you want to change the base?
Conversation
User @bennethxyz, please sign the CLA here. |
@kianenigma @re-gius, I took note of the guidelines and hopefully recent changes serves as a reference to my understanding. Please review. Also realized that if systems are needed from the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fix AtLeast32Bit
import and it's ok
use sp_runtime::traits::{AtLeast32Bit, SaturatedConversion, Scale, Zero}; | ||
use frame::{ | ||
runtime::prelude::*, | ||
traits::{AtLeast32Bit, OnTimestampSet, Scale, Time, UnixTime}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AtLeast32Bit
appears in many pallets, we should add it to the umbrella crate.
Description
Modify
pallet-timestamp
to use umbrella crate systems, following the guidelines regarding whole prelude imports.Part of #6504