substrate icon indicating copy to clipboard operation
substrate copied to clipboard

Adding `try_state` hook(tips & vesting)

Open Doordashcon opened this issue 2 years ago • 4 comments

part of paritytech/polkadot-sdk#239 polkadot address: 12zsKEDVcHpKEWb99iFt3xrTCQQXZMu477nJQsTBBrof5k2h

Doordashcon avatar Mar 02 '23 16:03 Doordashcon

Would be good if you update the PR title to say which pallets it includes.

kianenigma avatar Mar 16 '23 12:03 kianenigma

I have ran the try-state expectations of Tips and Vesting pallet against the current Polkadot state, please review :)

Doordashcon avatar Apr 18 '23 07:04 Doordashcon

Tips

Vesting

Doordashcon avatar Apr 18 '23 07:04 Doordashcon

Hello @liamaharon, if you could spare some time...

I am currently trying to denote where the logic is that updates the VestingInfo as block number increases(i.e bob has a vesting info of { locked: 256, per_block: 12, starting_block: 10}).

Time(moment) passes and now we are at block 11, locked gets updated to reflect this.

This is the logic I am searching for, the one that knows to execute the update.

Doordashcon avatar Jul 25 '23 01:07 Doordashcon