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

Refactor #12

Merged
merged 8 commits into from Mar 26, 2022
Merged

Refactor #12

merged 8 commits into from Mar 26, 2022

Conversation

binpmxstn
Copy link
Contributor

@binpmxstn binpmxstn commented Mar 23, 2022

  • Update claimBeginsFrom such that
    • If the reporting is resolved as Incident Occurred then the claim period starts as soon as the resolution deadline ends.
    • If the reporting is resolved as False Reporting then claimBeginsFrom is set to 0
  • Fixed bug in calculatePodsInternal.
  • Refactored setClaimPeriod
  • Added extra validation mustHaveNoBalanceInStrategies to ensure strategies are empty during withdrawals
  • Refactored Vault contract to Vault and VaultDelegate for easier upgradability
  • Renamed callerMustBe... to senderMustBe...
  • Refactored tests and stories

flashburst and others added 8 commits March 18, 2022 08:58
- Added extra validation `mustHaveNoBalanceInStrategies` to ensure strategies are empty during withdrawals
- Refactored stories
… upgradability

- Renamed `callerMustBe...` to `senderMustBe...`
- Refactored tests
@binpmxstn binpmxstn merged commit 2a10f8c into develop Mar 26, 2022
@binpmxstn binpmxstn deleted the refactor branch March 26, 2022 10:00
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