-
Notifications
You must be signed in to change notification settings - Fork 11
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
Build failure in openbrush examples #122
Comments
I'm getting the same error with the current |
Hey! First of all, it should be built with |
You're right, it works with 1.69 version. You need to add relevant |
@Artemka374 |
|
This is a problem with cargo contract, not OpenBrush. It is fixed in the latest cargo-contract v4. |
I'm trying to build psp34 metadata example from here, and it goes into failure with the following error:
...
Compiling my_psp34_metadata v4.0.0-beta (/tmp/cargo-contract_dCY6la)
Finished release [optimized] target(s) in 56.21s
[2/4] Post processing code
ERROR: Loading of original wasm failed
Caused by:
0: Loading of wasm module at '.../openbrush-contracts/examples/psp34_extensions/metadata/target/ink/wasm32-unknown-unknown/release/my_psp34_metadata.wasm' failed
1: Unknown opcode 192
I ran this command to build the example:
cargo +nightly contract build --release
here is the information of my toolchain:
rustc --version
rustc 1.73.0-nightly
rustup toolchain list
nightly-x86_64-unknown-linux-gnu (default)
The text was updated successfully, but these errors were encountered: