Check that Para is Registered before Accepting a Bid (#2656)

* Check that para is registered before accepting a bid

* Update lib.rs

* Update lib.rs

* remove println

* fix benchmarks

* Update runtime/common/src/auctions.rs

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
Shawn Tabrizi
2021-03-26 00:01:36 +01:00
committed by GitHub
parent 467f9bb51d
commit a4ed8aaab2
5 changed files with 130 additions and 12 deletions
+1
View File
@@ -634,6 +634,7 @@ parameter_types! {
impl auctions::Config for Runtime {
type Event = Event;
type Leaser = Slots;
type Registrar = Registrar;
type EndingPeriod = EndingPeriod;
type SampleLength = SampleLength;
type Randomness = ParentHashRandomness;