Files
pezkuwi-subxt/substrate/frame
Dónal Murray 2ea6bcf195 [pallet_broker] Remove leases that have already expired in rotate_sale (#3213)
Leases can be force set, but since `Leases` is a `StorageValue`, if a
lease misses its sale rotation in which it should expire, it can never
be cleared.

This can happen if a lease is added with an `until` timeslice that lies
in a region whose sale has already started or has passed, even if the
timeslice itself hasn't passed.

This solves that issue in a minimal way, with all expired leases being
cleaned up in each sale rotation, not just the ones that are expiring in
the coming region.

TODO:
- [x] Write test
2024-02-08 12:23:36 +00:00
..
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2024-02-06 13:01:29 +00:00
2023-09-04 12:02:32 +03:00

FRAME

The FRAME development environment provides modules (called "pallets") and support libraries that you can use, modify, and extend to build the runtime logic to suit the needs of your blockchain.

Documentation

https://docs.substrate.io/reference/frame-pallets/

Issues

https://github.com/orgs/paritytech/projects/40