osmosis-labs / mesh-security

Other
62 stars 8 forks source link

Virtual staking valset updates #153

Closed maurolacy closed 11 months ago

maurolacy commented 11 months ago

Now closes #118.

Keeps a (simplified) list of inactive validators, to filter them out from the rewards gathering process.

No state keeping besides bonded and inactive, for simplicity. Can be extended to proper valset state keeping if / when needed.

codecov-commenter commented 11 months ago

Codecov Report

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

Comparison is base (331ace5) 88.48% compared to head (40f88a3) 88.45%.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #153 +/- ## ========================================== - Coverage 88.48% 88.45% -0.03% ========================================== Files 69 69 Lines 11997 12062 +65 Branches 11997 12062 +65 ========================================== + Hits 10616 10670 +54 - Misses 909 916 +7 - Partials 472 476 +4 ``` | [Files](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs) | Coverage Δ | | |---|---|---| | [...ontracts/consumer/virtual-staking/src/multitest.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL2NvbnN1bWVyL3ZpcnR1YWwtc3Rha2luZy9zcmMvbXVsdGl0ZXN0LnJz) | `58.82% <ø> (ø)` | | | [contracts/consumer/converter/src/contract.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL2NvbnN1bWVyL2NvbnZlcnRlci9zcmMvY29udHJhY3QucnM=) | `51.61% <0.00%> (-1.33%)` | :arrow_down: | | [contracts/consumer/virtual-staking/src/contract.rs](https://app.codecov.io/gh/osmosis-labs/mesh-security/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=osmosis-labs#diff-Y29udHJhY3RzL2NvbnN1bWVyL3ZpcnR1YWwtc3Rha2luZy9zcmMvY29udHJhY3QucnM=) | `88.92% <87.50%> (+0.24%)` | :arrow_up: |

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