osmosis-labs / mesh-security

Other
62 stars 8 forks source link

support multiple slash ratios #164

Closed uint closed 10 months ago

uint commented 10 months ago

Closes #151

The changes to native-staking are there to support the modified LocalStakingApi::max_slash.

codecov-commenter commented 10 months ago

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (84d9ff3) 88.36% compared to head (c20eecc) 88.40%.

Files Patch % Lines
...ontracts/provider/external-staking/src/contract.rs 82.60% 1 Missing and 3 partials :warning:
...provider/external-staking/src/test_methods_impl.rs 83.33% 0 Missing and 1 partial :warning:
contracts/provider/native-staking/src/contract.rs 83.33% 1 Missing :warning:
...s/provider/native-staking/src/local_staking_api.rs 85.71% 0 Missing and 1 partial :warning:
contracts/provider/vault/src/contract.rs 75.00% 0 Missing and 1 partial :warning:
packages/apis/src/local_staking_api.rs 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #164 +/- ## ========================================== + Coverage 88.36% 88.40% +0.03% ========================================== Files 69 69 Lines 13112 13151 +39 Branches 13112 13151 +39 ========================================== + Hits 11587 11626 +39 Misses 992 992 Partials 533 533 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.