1

I am doing the prepare your first contract tutorial on subtrate and i am getting the following error ERROR: Your wasm-opt version is 91, but we require a version >= 99.Can anyone please tell me how to solve it .

1

1 Answer 1

1

wasm-opt is part of the binaryen package. You can find out your local version by executing wasm-opt --version.

In the cargo-contract installation instructions and the error message that you are getting there are notes on how to get a new version.

It comes down to installing binaryen in a version >= 99:

If none of this works you can download a binary release here and put the wasm-opt binary into your environment.

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.