[pallet-broker] Use saturating math in input validation (#4151)

Changes:
- Saturate in the input validation of he drop history function or
pallet-broker.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2024-04-16 13:08:26 +03:00
committed by GitHub
parent 4b5c3fd0cb
commit 8891b70fe2
3 changed files with 16 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
title: "[pallet-broker] Use saturating math in input validation"
doc:
- audience: Runtime Dev
description: |
Use saturating in the pallet-broker input validation of the `drop_history` extrinsic. This
fixes a safeguard that only expired historic instantaneous pool records get dropped.
crates:
- name: pallet-broker
bump: patch