Open AlexD10S opened 6 days ago
When the substrate-contracts-node binary is downloaded from GitHub releases, it extracts the files into the following structure: artifacts/substrate-contracts-node-mac or artifacts/substrate-contracts-node-linux.
substrate-contracts-node
artifacts/substrate-contracts-node-mac
artifacts/substrate-contracts-node-linux
After unpacking the contents into the cache folder (see code https://github.com/r0gue-io/pop-cli/blob/main/crates/pop-contracts/src/utils/contracts_node.rs#L62), move the binary outside the folder, remove the artifacts directory, and rename the binary substrate-contracts-node to eliminate the need to check the OS when using the binary.
When the
substrate-contracts-node
binary is downloaded from GitHub releases, it extracts the files into the following structure:artifacts/substrate-contracts-node-mac
orartifacts/substrate-contracts-node-linux
.After unpacking the contents into the cache folder (see code https://github.com/r0gue-io/pop-cli/blob/main/crates/pop-contracts/src/utils/contracts_node.rs#L62), move the binary outside the folder, remove the artifacts directory, and rename the binary
substrate-contracts-node
to eliminate the need to check the OS when using the binary.