Skip to content

Conversation

ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented Oct 19, 2023

  • EigenPod: Combined unit test file into integration test file, as unit tests were not using mocks anyways
  • Withdrawals: Removed inheritance from DelegationTest. Ported over helper functions to withdrawals

No more duped tests!

Comment on lines +23 to +24
StakeRegistryHarness public stakeRegistry;
StakeRegistryHarness public stakeRegistryImplementation;
Copy link
Contributor

Choose a reason for hiding this comment

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

Flagging the use of this as a potential merge conflict with the branch that removes all middleware contracts -- see #260 or more specifically

contract StakeRegistryStub {
function updateStakes(address[] memory) external {}
}

@stevennevins tagging you here for visibility
My thought is that this is probably OK to merge rn, we'll just have to iron out the issue afterwards.

Copy link
Contributor

@ChaoticWalrus ChaoticWalrus left a comment

Choose a reason for hiding this comment

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

Good changes, don't know how I hadn't realized that the EigenPod "unit" tests inherited from the other file.
Just had the one note about merge conflicts, but I think this should still be fine to merge at the moment.

@ypatil12 ypatil12 merged commit 9a4f4a0 into master Oct 20, 2023
@ypatil12 ypatil12 deleted the fix/dedupeTests branch October 20, 2023 15:57
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.

Testing: test files inherit from other test files, causing multiple tests to run twice
2 participants