Skip to content
Unverified Commit 00946b10 authored by Muharem Ismailov's avatar Muharem Ismailov Committed by GitHub
Browse files

Make ticket non-optional and add ensure_successful method to Consideration trait (#5359)

Make ticket non-optional and add ensure_successful method to
Consideration trait.

Reverts the optional return ticket type for the new function introduced
in
[polkadot-sdk/4596](https://github.com/paritytech/polkadot-sdk/pull/4596)
and adds a helper `ensure_successful` function for the runtime
benchmarks.
Since the existing FRAME pallet represents zero cost with a zero balance
rather than `None` in an option, maintaining the ticket type as a
non-optional balance is beneficial for backward compatibility and helps
avoid unnecessary migrations.
parent e4f8a6de
Pipeline #489978 waiting for manual action with stages
in 20 minutes and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment