moondance-labs / tanssi

GNU General Public License v3.0
226 stars 48 forks source link

Remove slot-related non-needed pallets in starlight #619

Closed girazoki closed 3 months ago

girazoki commented 3 months ago

Removes pallets related to slot and auctions as we are going to use the coretimeAssignmentProvider for this. In general we will dictate through coretimeAssignemntProvider how the different containers will be assigned to cores, probably dictated by our assignment algorithm (if you have collators assigned, we schedule a core for you).

In this regard I believe the following pallets are non-needed:

slots: which was used to calculate when an auction-based slot was ending.

Auctions: which was used to start new auctions that parachains could win

Crowdloan: which was used to finance parachains seeking for an auction slot

AssignerSlots: which was used to mgirate existing leases to the coretime chain

github-actions[bot] commented 3 months ago

Coverage Report

(master)

@@                             Coverage Diff                             @@
##           master   girazoki-remove-crowdloan-slots-autions      +/-   ##
===========================================================================
+ Coverage   67.13%                                    67.16%   +0.03%     
  Files         249                                       249              
- Lines       43578                                     43552      -26     
===========================================================================
- Hits        29254                                     29250       -4     
- Misses      14324                                     14302      -22     
Files Changed Coverage
/solo-chains/runtime/starlight/src/lib.rs 17.94% (+0.05%) 🔼

Coverage generated Mon Jul 8 13:01:24 UTC 2024