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

In UniStaker tests, remember depositors and surrogates and prevent overlap #75

Merged
merged 1 commit into from
Mar 22, 2024

Commits on Mar 21, 2024

  1. In UniStaker tests, remember depositors and surrogates and prevent ov…

    …erlap
    
    Due to a recent, undocumented change in the Foundry fuzzer implementation, we are now
    seeing test failures where the address of a yet-to-be-deployed DelegationSurrogate is
    selected as a depositor. This breaks our tests. This is occuring despite the include_storage
    flag being set to false, which previously was sufficient for preventing this edge case.
    
    To accomodate this, we implement a test helper that remembers each depositor and surrogate as
    they're chosen and deployed respectively, and assures there is no overlap between the two
    groups of addresses.
    apbendi committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    540cbad View commit details
    Browse the repository at this point in the history