Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

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 cargo-contract@3.2.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants