Fix Crowdloan Dissolve and Add Auction Cancel (#2665)
* Check fund depositor calls dissolve
* add auction cancel too
* use drain api rather than `iter` + `take`
* add test and benchmarks
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
Co-authored-by:
Parity Benchmarking Bot <admin@parity.io>
Showing
- polkadot/runtime/common/src/auctions.rs 98 additions, 34 deletionspolkadot/runtime/common/src/auctions.rs
- polkadot/runtime/common/src/crowdloan.rs 8 additions, 3 deletionspolkadot/runtime/common/src/crowdloan.rs
- polkadot/runtime/common/src/integration_tests.rs 1 addition, 1 deletionpolkadot/runtime/common/src/integration_tests.rs
- polkadot/runtime/westend/src/weights/auctions.rs 11 additions, 6 deletionspolkadot/runtime/westend/src/weights/auctions.rs
Please register or sign in to comment