mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
Sample Auction Winners Every SampleLength Blocks (#2670)
* initial * add test * Update lib.rs * Update lib.rs
This commit is contained in:
@@ -183,12 +183,14 @@ impl paras_registrar::Config for Test {
|
||||
|
||||
parameter_types! {
|
||||
pub const EndingPeriod: BlockNumber = 10;
|
||||
pub const SampleLength: BlockNumber = 1;
|
||||
}
|
||||
|
||||
impl auctions::Config for Test {
|
||||
type Event = Event;
|
||||
type Leaser = Slots;
|
||||
type EndingPeriod = EndingPeriod;
|
||||
type SampleLength = SampleLength;
|
||||
type Randomness = TestRandomness<Self>;
|
||||
type InitiateOrigin = EnsureRoot<AccountId>;
|
||||
type WeightInfo = crate::auctions::TestWeightInfo;
|
||||
|
||||
Reference in New Issue
Block a user