liftedinit / many-rs

Rust libraries for the Many Protocol
Apache License 2.0
5 stars 11 forks source link

feat: migrations disabling token creation and minting #420

Open fmorency opened 4 months ago

fmorency commented 4 months ago

This PR provides migrations to disable token creation and minting with respective resiliency tests.

The migrations should be activated when the time comes to migrate to the MANIFEST chain.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 60.00000% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 81.67%. Comparing base (5166a41) to head (2d79a5f).

Files Patch % Lines
src/many-ledger/src/module/ledger_mintburn.rs 66.66% 3 Missing :warning:
src/many-ledger/src/module/ledger_tokens.rs 66.66% 3 Missing :warning:
.../many-ledger/src/migration/disable_token_create.rs 0.00% 1 Missing :warning:
...rc/many-ledger/src/migration/disable_token_mint.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #420 +/- ## ========================================== - Coverage 81.69% 81.67% -0.03% ========================================== Files 149 151 +2 Lines 16817 16837 +20 ========================================== + Hits 13739 13751 +12 - Misses 3078 3086 +8 ```

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

fmorency commented 4 months ago

Disregard codecov complains; resiliency tests cover those migrations.