diff --git a/vesting/src/lib.rs b/vesting/src/lib.rs index 0490be5ed..2209eb1e0 100644 --- a/vesting/src/lib.rs +++ b/vesting/src/lib.rs @@ -59,7 +59,10 @@ pub const VESTING_LOCK_ID: LockIdentifier = *b"ormlvest"; /// Benefits would be granted gradually, `per_period` amount every `period` /// of blocks after `start`. #[derive(Clone, Encode, Decode, PartialEq, Eq, RuntimeDebug, MaxEncodedLen, TypeInfo)] -pub struct VestingSchedule { +pub struct VestingSchedule +where + Balance: MaxEncodedLen + HasCompact, +{ /// Vesting starting block pub start: BlockNumber, /// Number of blocks between vest