Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dApp staking - introduce try-state checks #1294

Closed
Dinonard opened this issue Jul 11, 2024 · 0 comments · Fixed by #1331
Closed

dApp staking - introduce try-state checks #1294

Dinonard opened this issue Jul 11, 2024 · 0 comments · Fixed by #1331
Assignees
Labels
project Issue is part of an ongoing project runtime This PR/Issue is related to the topic “runtime”.

Comments

@Dinonard
Copy link
Member

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
  • ...
@Dinonard Dinonard added runtime This PR/Issue is related to the topic “runtime”. project Issue is part of an ongoing project labels Jul 11, 2024
@ipapandinas ipapandinas self-assigned this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project Issue is part of an ongoing project runtime This PR/Issue is related to the topic “runtime”.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants