Don't allow bids for a ParaId where there is an overlapping lease period (#3361)
* add already leased Co-Authored-By: parity-processbot <> * add unit test Co-Authored-By: parity-processbot <> * add integration test and fix Co-Authored-By: parity-processbot <> * better doc Co-Authored-By: parity-processbot <> * Update runtime/common/src/slots.rs * Update runtime/common/src/slots.rs * Apply suggestions from code review Co-authored-by:André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update runtime/common/src/integration_tests.rs * Update runtime/common/src/integration_tests.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_crowdloan.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_crowdloan.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_slots.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by:
Parity Bot <admin@parity.io>
Showing
- polkadot/runtime/common/src/auctions.rs 53 additions, 0 deletionspolkadot/runtime/common/src/auctions.rs
- polkadot/runtime/common/src/integration_tests.rs 151 additions, 0 deletionspolkadot/runtime/common/src/integration_tests.rs
- polkadot/runtime/common/src/slots.rs 36 additions, 1 deletionpolkadot/runtime/common/src/slots.rs
- polkadot/runtime/common/src/traits.rs 8 additions, 0 deletionspolkadot/runtime/common/src/traits.rs
- polkadot/runtime/kusama/src/weights/runtime_common_auctions.rs 6 additions, 6 deletions...dot/runtime/kusama/src/weights/runtime_common_auctions.rs
- polkadot/runtime/kusama/src/weights/runtime_common_crowdloan.rs 14 additions, 14 deletions...ot/runtime/kusama/src/weights/runtime_common_crowdloan.rs
- polkadot/runtime/kusama/src/weights/runtime_common_slots.rs 9 additions, 9 deletionspolkadot/runtime/kusama/src/weights/runtime_common_slots.rs
- polkadot/runtime/westend/src/weights/runtime_common_auctions.rs 6 additions, 6 deletions...ot/runtime/westend/src/weights/runtime_common_auctions.rs
- polkadot/runtime/westend/src/weights/runtime_common_crowdloan.rs 14 additions, 14 deletions...t/runtime/westend/src/weights/runtime_common_crowdloan.rs
- polkadot/runtime/westend/src/weights/runtime_common_slots.rs 9 additions, 9 deletionspolkadot/runtime/westend/src/weights/runtime_common_slots.rs
Please register or sign in to comment