You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building contract in /code ...
error: failed to get `mycontract` as a dependency of package `mymaincontract v0.1.0 (/code)`
Caused by:
failed to load sourcefor dependency `mycontract`
Caused by:
Unable to update /mycontract
Caused by:
failed to read`/mycontract/Cargo.toml`
Caused by:
No such file or directory (os error 2)
node:internal/errors:841
const err = new Error(message);
^
Error: Command failed: docker run --rm -v "$(pwd)":/code --mount type=volume,source="mymaincontract_cache",target=/code/target --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry cosmwasm/rust-optimizer:0.12.6
at checkExecSyncError (node:child_process:828:11)
at Object.execSync (node:child_process:899:15)
at execDockerOptimization (/home/kargath/.nvm/versions/node/v16.16.0/lib/node_modules/@terra-money/terrain/lib/lib/deployment.js:30:21)
at optimizeContract (/home/kargath/.nvm/versions/node/v16.16.0/lib/node_modules/@terra-money/terrain/lib/lib/deployment.js:40:5)
at Object.exports.optimize (/home/kargath/.nvm/versions/node/v16.16.0/lib/node_modules/@terra-money/terrain/lib/lib/deployment.js:53:9)
at Object.exports.storeCode (/home/kargath/.nvm/versions/node/v16.16.0/lib/node_modules/@terra-money/terrain/lib/lib/deployment.js:60:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Deploy.run (/home/kargath/.nvm/versions/node/v16.16.0/lib/node_modules/@terra-money/terrain/lib/commands/deploy.js:43:28)
at async Deploy._run (/home/kargath/.nvm/versions/node/v16.16.0/lib/node_modules/@terra-money/terrain/node_modules/@oclif/command/lib/command.js:43:20) {
status: 101,
signal: null,
output: [ null, null, null ],
pid: 52532,
stdout: null,
stderr: null
}
Any insights?
Thank you !
The text was updated successfully, but these errors were encountered:
Issue description
When trying to deploy a contract that implements another contract as a dependency to LocalTerra, the rust optimizer fails
Steps to reproduce the issue
When trying to deploy a contract using terrain
Result :
Any insights?
Thank you !
The text was updated successfully, but these errors were encountered: