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

2372 stake table add tests to the withdrawfunds function #2394

Merged

Conversation

alysiahuggins
Copy link
Contributor

Closes #2372

This PR:

  • add withdrawFunds tests,
  • removed epoch logic until from withdrawFunds function until epochs are implemented,
  • removed unnecessary checks from the withdrawFunds function

This PR does not:

Key places to review:

  • withdrawFunds() function and its related tests

How to test this PR:

forge test --match-contract StakeTable

…ions that need to be updated to the new spec
…lsVK comparison to field by field comparison so that it is more efficient and more obvious what is going on
…um address, update related implementations and add tests
…nto 2372-stake-table-add-tests-to-the-withdrawfunds-function
… function until epochs are implemented, removed unecessary checks from the withdrawFunds function
Copy link
Contributor

@philippecamacho philippecamacho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alysiahuggins alysiahuggins merged commit 5eaddb0 into main Jan 15, 2025
22 checks passed
@alysiahuggins alysiahuggins deleted the 2372-stake-table-add-tests-to-the-withdrawfunds-function branch January 15, 2025 16:16
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.

Stake Table: Add tests to the withdrawFunds function
2 participants