Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: guide user to call a contract #306

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

test: fix unit test

a6f8247
Select commit
Loading
Failed to load commit list.
Open

feat: guide user to call a contract #306

test: fix unit test
a6f8247
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 22, 2024 in 0s

72.01% (+1.54%) compared to 258a4b2

View this Pull Request on Codecov

72.01% (+1.54%) compared to 258a4b2

Details

Codecov Report

Attention: Patch coverage is 78.29978% with 291 lines in your changes missing coverage. Please review.

Project coverage is 72.01%. Comparing base (258a4b2) to head (a6f8247).

Files with missing lines Patch % Lines
crates/pop-cli/src/commands/call/contract.rs 84.80% 33 Missing and 72 partials ⚠️
crates/pop-contracts/src/utils/metadata.rs 75.45% 72 Missing and 22 partials ⚠️
crates/pop-cli/src/cli.rs 56.58% 50 Missing and 6 partials ⚠️
crates/pop-contracts/src/up.rs 71.42% 0 Missing and 14 partials ⚠️
crates/pop-contracts/src/call.rs 79.06% 0 Missing and 9 partials ⚠️
crates/pop-cli/src/common/build.rs 72.00% 1 Missing and 6 partials ⚠️
crates/pop-contracts/src/testing.rs 68.42% 0 Missing and 6 partials ⚠️
@@            Coverage Diff             @@
##             main     #306      +/-   ##
==========================================
+ Coverage   70.47%   72.01%   +1.54%     
==========================================
  Files          54       57       +3     
  Lines        9250    10464    +1214     
  Branches     9250    10464    +1214     
==========================================
+ Hits         6519     7536    +1017     
- Misses       1737     1835      +98     
- Partials      994     1093      +99     
Files with missing lines Coverage Δ
crates/pop-cli/src/commands/up/contract.rs 18.46% <100.00%> (-5.42%) ⬇️
crates/pop-contracts/src/errors.rs 100.00% <ø> (+100.00%) ⬆️
crates/pop-contracts/src/testing.rs 68.42% <68.42%> (ø)
crates/pop-cli/src/common/build.rs 72.00% <72.00%> (ø)
crates/pop-contracts/src/call.rs 80.52% <79.06%> (+1.89%) ⬆️
crates/pop-contracts/src/up.rs 80.33% <71.42%> (+2.44%) ⬆️
crates/pop-cli/src/cli.rs 67.36% <56.58%> (-4.89%) ⬇️
crates/pop-contracts/src/utils/metadata.rs 75.45% <75.45%> (ø)
crates/pop-cli/src/commands/call/contract.rs 82.78% <84.80%> (+82.78%) ⬆️

... and 1 file with indirect coverage changes


🚨 Try these New Features: