Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Do not allow any crowdloan contributions during the VRF period (#3346)
Browse files Browse the repository at this point in the history
* patch `is_ending` logic for sampling

* Create AuctionStatus abstraction

* clean up apis

* fix docs

* Add check for contributions during vrf

* custom error for this

* fix benchmark

* opening -> starting

* Apply suggestions from code review

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

* Update runtime/common/src/auctions.rs

* avoid divide by zero stuff

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
  • Loading branch information
shawntabrizi and kianenigma committed Jun 25, 2021
1 parent 63667ac commit 8b13b59
Show file tree
Hide file tree
Showing 4 changed files with 238 additions and 111 deletions.
Loading

0 comments on commit 8b13b59

Please sign in to comment.