mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 22:05:42 +00:00
add MaxEncodedLen trait to Time (#11078)
This commit is contained in:
@@ -510,7 +510,7 @@ pub trait HandleLifetime<T> {
|
||||
impl<T> HandleLifetime<T> for () {}
|
||||
|
||||
pub trait Time {
|
||||
type Moment: sp_arithmetic::traits::AtLeast32Bit + Parameter + Default + Copy;
|
||||
type Moment: sp_arithmetic::traits::AtLeast32Bit + Parameter + Default + Copy + MaxEncodedLen;
|
||||
|
||||
fn now() -> Self::Moment;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user