From 2d21599ec5576dc1ea9b8da4b48d9a4f73c84bb1 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi <shawntabrizi@gmail.com> Date: Mon, 12 Apr 2021 13:14:03 +0200 Subject: [PATCH] expose sample length in consts metadata (#2848) --- polkadot/runtime/common/src/auctions.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/polkadot/runtime/common/src/auctions.rs b/polkadot/runtime/common/src/auctions.rs index f608b5ab067..b73491c32dc 100644 --- a/polkadot/runtime/common/src/auctions.rs +++ b/polkadot/runtime/common/src/auctions.rs @@ -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; -- GitLab