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

Failed to create transcoder from metadata file #95

Open
JustAnotherDevv opened this issue Jan 24, 2024 · 3 comments
Open

Failed to create transcoder from metadata file #95

JustAnotherDevv opened this issue Jan 24, 2024 · 3 comments

Comments

@JustAnotherDevv
Copy link

JustAnotherDevv commented Jan 24, 2024

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===

  • Ubuntu WSL
  • cargo-contract-contract 3.2.0-unknown-x86_64-unknown-linux-gnu
  • drink-cli 0.8.6
@deuszx
Copy link
Collaborator

deuszx commented Feb 24, 2024

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

@JustAnotherDevv
Copy link
Author

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
Copy link
Collaborator

deuszx commented Mar 8, 2024

Try 0.8.7 - it was just fixed 2 days ago. 0.8.7 is still ink! 4 and [email protected].

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

No branches or pull requests

2 participants