Files
pezkuwi-subxt/prdoc/1.10.0/pr_3850.prdoc
T
Egor_P ddb53c87f5 [Backport] Version bumps and prdoc reorg from 1.10.0 (#4052)
This PR backports `spec_version`, `node_version` bumps and reordering of
the prdocs from the 1.10.0 release branch
2024-04-10 06:30:00 +00:00

16 lines
623 B
Plaintext

title: Detect incorrect pre-image length when submitting a referenda
doc:
- audience: Runtime User
description: |
When submitting a referenda the `proposal` is passed as argument.
The `proposal` is most of the time a reference to a `pre-image` and
which also contains the length of the `pre-image`. This pull request
adds some logic to check that if the `pre-image` already exists and if
it exists, it ensures that the length is passed correctly. This prevents
that the referenda can not be executed because of a mismatch of this
length.
crates:
- name: pallet-referenda