osmosis-labs / mesh-security

Other
62 stars 8 forks source link

139/slashing proportional burn #159

Closed maurolacy closed 11 months ago

maurolacy commented 11 months ago

Improves over #156.

Use the same proportional burn impl everywhere.

codecov-commenter commented 11 months ago

Codecov Report

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

Comparison is base (e6325f5) 88.28% compared to head (3510b50) 88.36%.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 139/slashing-propagation-acct #159 +/- ## ================================================================= + Coverage 88.28% 88.36% +0.07% ================================================================= Files 69 70 +1 Lines 13003 13113 +110 Branches 13003 13113 +110 ================================================================= + Hits 11480 11587 +107 Misses 993 993 - Partials 530 533 +3 ``` | [Files](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs) | Coverage Δ | | |---|---|---| | [contracts/provider/external-staking/src/error.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL3Byb3ZpZGVyL2V4dGVybmFsLXN0YWtpbmcvc3JjL2Vycm9yLnJz) | `0.00% <ø> (ø)` | | | [...acts/provider/native-staking-proxy/src/contract.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL3Byb3ZpZGVyL25hdGl2ZS1zdGFraW5nLXByb3h5L3NyYy9jb250cmFjdC5ycw==) | `84.63% <97.05%> (-0.14%)` | :arrow_down: | | [packages/burn/src/burn.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-cGFja2FnZXMvYnVybi9zcmMvYnVybi5ycw==) | `98.23% <98.23%> (ø)` | | | [contracts/consumer/virtual-staking/src/contract.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL2NvbnN1bWVyL3ZpcnR1YWwtc3Rha2luZy9zcmMvY29udHJhY3QucnM=) | `89.22% <70.00%> (-0.27%)` | :arrow_down: | | [...er/converter/src/multitest/virtual\_staking\_mock.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL2NvbnN1bWVyL2NvbnZlcnRlci9zcmMvbXVsdGl0ZXN0L3ZpcnR1YWxfc3Rha2luZ19tb2NrLnJz) | `67.88% <70.83%> (+6.68%)` | :arrow_up: | | [...ontracts/provider/external-staking/src/contract.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL3Byb3ZpZGVyL2V4dGVybmFsLXN0YWtpbmcvc3JjL2NvbnRyYWN0LnJz) | `90.36% <70.00%> (-0.38%)` | :arrow_down: |

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