Unverified Commit 3b7a8c75 authored by Doordashcon's avatar Doordashcon Committed by GitHub
Browse files

Adding `try_state` hook for Tips pallet (#1871)

Part of https://github.com/paritytech/polkadot-sdk/issues/239

.

Invariant

1. The number of entries in `Tips` should be equal to `Reasons`.
2. If `OpenTip.finders_fee` is true, then `OpenTip.deposit` should be
greater than zero.
3. Reasons exists for each Tip[`OpenTip.reason`], implying equal length
of storage.

polkadot address: 12zsKEDVcHpKEWb99iFt3xrTCQQXZMu477nJQsTBBrof5k2h

---------

Co-authored-by: default avatarGonçalo Pestana <[email protected]>
Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
parent 84ff0a97
Pipeline #436377 passed with stages
in 1 hour, 10 minutes, and 6 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