Add an optional verifier to crowdloan (#2248)

* Add an optional verifier to crowdloan

* add tests

* verify signatures

* benchmark with signatures

* update crowdloan benchmark

* try to get keystore working in test

* rewrite to avoid traits

* Use MultiSignature and MultiSigner

* refactor and update benchmarks

* optimize check order

* fix no_std build

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Xiliang Chen
2021-02-26 20:26:54 +13:00
committed by GitHub
parent 49705026e0
commit 69734bb8ed
3 changed files with 207 additions and 59 deletions
+1
View File
@@ -5830,6 +5830,7 @@ dependencies = [
"sp-inherents",
"sp-io",
"sp-keyring",
"sp-keystore",
"sp-runtime",
"sp-session",
"sp-staking",