onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 62 forks source link

Add Cadence V0.42->V1.0 Update Checker to staging #1469

Closed jribbink closed 3 months ago

jribbink commented 3 months ago

Closes #1453

Description

Validates your proposed contract update against other staged contracts on chain.

Screen Shot 2024-03-27 at 4 48 17 PM

For contributor use:

codecov-commenter commented 3 months ago

Codecov Report

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

Project coverage is 42.32%. Comparing base (20252b7) to head (1a952cc). Report is 5 commits behind head on feature/stable-cadence.

Files Patch % Lines
internal/migrate/staging_validator.go 57.45% 63 Missing and 14 partials :warning:
internal/migrate/stage_contract.go 7.14% 25 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/stable-cadence #1469 +/- ## ========================================================== + Coverage 41.40% 42.32% +0.92% ========================================================== Files 59 59 Lines 3157 3324 +167 ========================================================== + Hits 1307 1407 +100 - Misses 1664 1716 +52 - Partials 186 201 +15 ``` | [Flag](https://app.codecov.io/gh/onflow/flow-cli/pull/1469/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/onflow/flow-cli/pull/1469/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | `42.32% <51.41%> (+0.92%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow#carryforward-flags-in-the-pull-request-comment) to find out more.

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