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

chore(StakeManager.spec): add two more MP related invariants #82

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

0x-r4bbit
Copy link
Collaborator

This adds two more invariants about multiplier points:

  1. Initial multiplier points can never be less than an account's balance
  2. Current multiplier points can never be less than initial MP

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Added natspec comments?
  • Ran forge snapshot?
  • Ran pnpm gas-report?
  • Ran pnpm lint?
  • Ran forge test?
  • Ran pnpm verify?

@0x-r4bbit 0x-r4bbit changed the base branch from fix/max-mp to develop March 12, 2024 15:31
This adds two more invariants about multiplier points:

1. Initial multiplier points can never be less than an account's balance
2. Current multiplier points can never be less than initial MP
@0x-r4bbit 0x-r4bbit merged commit f1c1de7 into develop Mar 12, 2024
7 checks passed
@0x-r4bbit 0x-r4bbit deleted the certora/mp-rules branch March 12, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants