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

Add fork test and multicall #2

Merged
merged 5 commits into from
Nov 3, 2023

Conversation

trmid
Copy link
Member

@trmid trmid commented Nov 3, 2023

Also enforced alignment of promotion epochs with twab periods to avoid twab overwrite exploits.

Copy link

linear bot commented Nov 3, 2023

GEN-864 Add fork tests for TwabRewards on V5 Optimism

Test for multiple vaults, users, time frames, and reward tokens.

Copy link

github-actions bot commented Nov 3, 2023

LCOV of commit d13cbf5 during coverage #26

Summary coverage rate:
  lines......: 100.0% (106 of 106 lines)
  functions..: 100.0% (19 of 19 functions)
  branches...: no data found

Files changed coverage rate:
                     |Lines       |Functions  |Branches    
  Filename           |Rate     Num|Rate    Num|Rate     Num
  =========================================================
  src/TwabRewards.sol| 100%    106| 100%    19|    -      0

@trmid trmid merged commit 8bb759e into main Nov 3, 2023
2 checks passed
@trmid trmid deleted the gen-864-add-fork-tests-for-twabrewards-on-v5-optimism branch November 3, 2023 18:39
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.

None yet

2 participants