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

Fix flaky test by sorting operatorIds #161

Closed
wadealexc opened this issue Jan 29, 2024 · 0 comments
Closed

Fix flaky test by sorting operatorIds #161

wadealexc opened this issue Jan 29, 2024 · 0 comments

Comments

@wadealexc
Copy link
Collaborator

BLSMockAVSDeployer does horrible things to generate a sorted list of random operator ids:

https://github.com/layr-labs/eigenlayer-middleware/blob/cac457271cc43feb8aefe886ef359a4f6621cb9c/test/utils/BLSMockAVSDeployer.sol#L57-L67

This results in tests failing very rarely due to "out of gas". We should sort operatorIds here rather than hashing elements.

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

No branches or pull requests

1 participant