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

Change contract file prefix to be cw* in Cargo.toml #556

Closed

Conversation

findolor
Copy link
Contributor

@findolor findolor commented Nov 17, 2021

Resolves #545

When trying to compile all the contracts, we get an error because of the new base-helpers.ts. Since Cargo.toml has contracts/* as a workspace, it tries to get inside the helpers file. This is not possible because it's a file.

Added cw prefix to go through only the contract folders.

@webmaster128
Copy link
Member

webmaster128 commented Nov 17, 2021

How do you get the error? What do you run and what do you get?

If it is related to the workspace-optimizer, we better add a directory check.

@webmaster128
Copy link
Member

Sorry, missed the ticket.

@webmaster128
Copy link
Member

Thank you for your contribution! This is very much appreciated. But we have to solve this differently in order to avoid having the same problem in diferent projects (see #545). Closing here because cargo itself does not have an issue with the file.

@findolor findolor deleted the fix-all-contracts-compilation branch November 17, 2021 07:44
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.

Issue running wasm compilation out-of-the-box
3 participants