pallet_broker: Let start_sales calculate and request the correct core count (#4221)

This commit is contained in:
Bastian Köcher
2024-04-23 17:37:24 +02:00
committed by GitHub
parent eda5e5c31f
commit ffbce2a817
5 changed files with 68 additions and 26 deletions
+15
View File
@@ -0,0 +1,15 @@
title: "pallet_broker::start_sales: Take `extra_cores` and not total cores"
doc:
- audience: Runtime User
description: |
Change `pallet_broker::start_sales` to take `extra_cores` and not total cores.
It will calculate the total number of cores to offer based on number of
reservations plus number of leases plus `extra_cores`. Internally it will
also notify the relay chain of the required number of cores.
Thus, starting the first sales with `pallet-broker` requires less brain power ;)
crates:
- name: pallet-broker
bump: minor