AstarNetwork/Astar

dApp staking - introduce `try-state` checks

Dinonard opened this issue · 0 comments

Description

Add try-state check into dApp staking pallet.
Purpose of this check is to ensure storage integrity.
Checks like this, but not limited to:

  • compare total value staked per staker with era info
  • compare total value locker per staker with era info
  • compare staked amount per staker with stake per contract
  • compare staked per contract amount with era info
  • ...