Skip to content
Snippets Groups Projects
Commit 2d21599e authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

expose sample length in consts metadata (#2848)

parent dd373326
Branches
No related merge requests found
......@@ -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;
......
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