Closed anupam-io closed 2 years ago
cosmwasm/workspace-optimizer
is for a multi-contract repo and cosmwasm/rust-optimizer
needs to be used if you have a simple one contract project. Which repo are you trying to build with the command above?
Mine is a multi-contract repo. Very similar to anchor.
You need to execute the command in the monorepo root where you have a Cargo.toml that contains an workspace
entry. Also the workspace-optimizer assumes all contracts are a subfolder of contracts/.
Thanks. I was running the command on the wrong path. Resolved now.
Facing this issue while using rust-optimizer:
Any suggestions on how to resolve this?