Closed saki-osive closed 1 year ago
You need to use the 2.0.0-rc
version of cargo-contract
with ink!``4.0-beta
.
Install with cargo install cargo-contract --version 2.0.0-rc
@saki-osive I'm going to close this since it should be fixed by Andrew's suggestion
I'm trying to build the contracts under
paritytech/ink/examples/rand-extension
:I run the command
cargo +nightly contract build
.It is failing with the following error:
----DEBUG STEPS I TRIED----
If I try to add
ink_lang
as a dependency(v3.4.0, tried 4.0.0-alpha too) underexamples/rand-extension/Cargo.toml
and then re-build, I'm getting the error:I'm using the latest version of the master branch and the latest version of
cargo-contract
.