0

This issue display when I clone the swanky project from GH and try to compile.

swanky contract compile {project_name}

enter image description here

I try to ignore the issue which display while compiling and try to deploy and got this issue.

swanky contract deploy {project_name} --account alice --gas 100000000000 --network shibuya

enter image description here

swanky node running in the background

Any suggestion how to solve this issue?

6
  • Please check if the .contract file exists in the following directory. "contracts/todo_list/target/ink". If it doesn't exist, please tell us the result of executing the compile command with "-v". Feb 16, 2023 at 10:22
  • Which swnky-cli version are you using? There was an issue with copying artifacts some older versions. (latest one being 1.0.11) Also, the swanky dev container is available now, it has a full environment set up with latest swanky version, and removes that warning from polkadot/util github.com/AstarNetwork/swanky-dev-container
    – codespool
    Feb 16, 2023 at 10:53
  • @s.Takahashi contract doesn't compile so no .contract file exists and result of executing compile command is 1st image
    – Ganesh11
    Feb 16, 2023 at 11:32
  • @codespool I am using @astar-network/swanky-cli/1.0.10 darwin-x64 node-v18.2.0 I use this precompiled binaries
    – Ganesh11
    Feb 16, 2023 at 11:34

1 Answer 1

1

There have been multiple new releases of swanky-cli since you posted: https://github.com/AstarNetwork/swanky-cli/releases.

There were some fixes for handling contract artifacts and it's likely that your issue will be resolved by using a recent swanky-cli version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.