inkdevhub / drink

De-chained Ready-to-play ink! playground
Apache License 2.0
69 stars 15 forks source link

Failed to create transcoder from metadata file #95

Open JustAnotherDevv opened 9 months ago

JustAnotherDevv commented 9 months ago

I've installed drink-cli and build command prints out warning:

warning: The cargo-contract is not compatible with the contract's ink! version. Please update the cargo-contract to version '3.2.0' or update the contract ink! to a version of '^5.0.0-alpha', '^5.0.0'

after that it's being executed correctly.

But when I try to use command deploy I get error:Failed to create transcoder from metadata file.

===My setup===

deuszx commented 8 months ago

When you install from main it expects that you're working with cargo-contract 4.X.Y

JustAnotherDevv commented 7 months ago

When you install from main it expects that you're working with cargo-contract 4.X.Y

cargo-contract 4.X.Y seems to be only available in the prerelease for now, is there a way to use drink with cargo-contract V 3.X without adding that change myself?

deuszx commented 7 months ago

Try 0.8.7 - it was just fixed 2 days ago. 0.8.7 is still ink! 4 and cargo-contract@3.2.0.