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

feat(StakeManager): optimizations on processAccount #105

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

0x-r4bbit
Copy link
Collaborator

Remove zombie epoch data when it's fully paid out.

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
Copy link
Collaborator Author

This is failing on certora due to sumOfEpochRewards not matching sum of epoch[x].epochReward.
I'm investigating this.

@0x-r4bbit 0x-r4bbit changed the base branch from mp-estimate to develop September 11, 2024 14:47
@0x-r4bbit 0x-r4bbit force-pushed the optimize-process-account branch from 9f3d8ff to d8b48b7 Compare September 11, 2024 14:56
@0x-r4bbit
Copy link
Collaborator Author

This is now also rebased on top of latest develop and should pass certora verification

@0x-r4bbit 0x-r4bbit merged commit 8683376 into develop Sep 11, 2024
8 checks passed
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.

2 participants