r0gue-io / pop-cli

An all-in-one tool for Polkadot development.
GNU General Public License v3.0
74 stars 21 forks source link

fix: templates errors #329

Closed AlexD10S closed 1 week ago

AlexD10S commented 2 weeks ago

Closes https://github.com/r0gue-io/pop-cli/issues/323. For the contract_template's cross-contract-calls, it was necessary to rename e2e_tests.rs to match the user-defined input name. Without this adjustment, the e2e tests would fail due to the file not being correctly recognized.

Closes https://github.com/r0gue-io/pop-cli/issues/321 using the PSP34 managed by R0gue: https://github.com/r0gue-io/PSP34

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 86.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 70.38%. Comparing base (2af82eb) to head (f3a6a21). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/pop-contracts/src/new.rs 86.20% 0 Missing and 4 partials :warning:
@@            Coverage Diff             @@
##             main     #329      +/-   ##
==========================================
+ Coverage   70.33%   70.38%   +0.04%     
==========================================
  Files          53       53              
  Lines        9098     9123      +25     
  Branches     9098     9123      +25     
==========================================
+ Hits         6399     6421      +22     
  Misses       1718     1718              
- Partials      981      984       +3     
Files with missing lines Coverage Δ
crates/pop-contracts/src/templates.rs 98.24% <100.00%> (ø)
crates/pop-contracts/src/new.rs 82.38% <86.20%> (+0.92%) :arrow_up: