Unverified Commit cb356f29 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

expose sample length in consts metadata (#2848)

parent 95d4442d
Pipeline #134094 failed with stages
in 15 minutes and 48 seconds
......@@ -192,6 +192,7 @@ decl_module! {
type Error = Error<T>;
const EndingPeriod: T::BlockNumber = T::EndingPeriod::get();
const SampleLength: T::BlockNumber = T::SampleLength::get();
const SlotRangeCount: u32 = SlotRange::SLOT_RANGE_COUNT as u32;
const LeasePeriodsPerSlot: u32 = SlotRange::LEASE_PERIODS_PER_SLOT as u32;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment