mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 11:41:02 +00:00
expose sample length in consts metadata (#2848)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user