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

All changes from OZ's security audit of the Sonic Staking Strategy #2412

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

naddison36
Copy link
Collaborator

@naddison36 naddison36 commented Feb 21, 2025

Changes

Code Change Checklist

To be completed before internal review begins:

  • The contract code is complete
  • Executable deployment file
  • Fork tests that test after the deployment file runs
  • Unit tests *if needed
  • The owner has done a full checklist review of the code + tests

Internal review:

  • Two approvals by internal reviewers

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.43%. Comparing base (7ade511) to head (7f84aaa).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2412   +/-   ##
=======================================
  Coverage   49.43%   49.43%           
=======================================
  Files          94       94           
  Lines        4717     4717           
  Branches     1251     1251           
=======================================
  Hits         2332     2332           
  Misses       2381     2381           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Feb 24, 2025

Warnings
⚠️ 👀 This PR needs at least 2 reviewers

Generated by 🚫 dangerJS against cdabe75

)

* Sonic Staking Strategy handling when a validator is fully slashed

* Deploy script to upgrade the Sonic Staking Strategy

* Added slashing to the SFC mock

* Got partial and fully slashed validators working

* Added withinRange Chai matcher
Added messages to emittedEvent Chai matcher

* Fixed the Sonic Staking Strategy fork tests
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.

1 participant