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

fix: remove unused folders after download contracts node binary #240

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

AlexD10S
Copy link
Collaborator

@AlexD10S AlexD10S commented Jul 3, 2024

Once the substrate-contract-node is downloaded, the binary is extracted to artifacts/substrate-contracts-node-mac/substrate-contracts-node. This made the cargo clean cache process more complex as it was failing when trying to remove the folder.
This PR fixes that by copying the binary to the root cache folder and removing the unnecessary folders.

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

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

Project coverage is 70.31%. Comparing base (9e42df4) to head (551824f).

@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
- Coverage   70.34%   70.31%   -0.03%     
==========================================
  Files          44       44              
  Lines        6787     6792       +5     
  Branches     6787     6792       +5     
==========================================
+ Hits         4774     4776       +2     
  Misses       1240     1240              
- Partials      773      776       +3     
Files Coverage Δ
crates/pop-contracts/src/utils/contracts_node.rs 63.80% <42.85%> (-0.20%) ⬇️

... and 1 file with indirect coverage changes

@AlexD10S AlexD10S merged commit 15e2f65 into main Jul 8, 2024
13 of 15 checks passed
@AlexD10S AlexD10S deleted the fix/substrate-contracts-node-binary branch July 8, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants