mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 01:47:55 +00:00
597ea9203a
When the scheduler fails to lookup a `call`, it should unrequest it, because it will not be required anymore.
14 lines
555 B
Plaintext
14 lines
555 B
Plaintext
title: Unrequest a pre-image when it failed to execute
|
|
|
|
doc:
|
|
- audience: Runtime User
|
|
description: |
|
|
When a referenda finished the proposal will be scheduled. When it is scheduled,
|
|
the pre-image is requested. The pre-image is unrequested after the proposal
|
|
was executed. However, if the proposal failed to execute it wasn't unrequested.
|
|
Thus, it could not be removed from the on-chain state. This issue is now solved
|
|
by ensuring to unrequest the pre-image when it failed to execute.
|
|
|
|
crates:
|
|
- name: pallet-scheduler
|