Concordium / concordium-rust-smart-contracts

Libraries and tools for writing and testing smart contracts on Concordium
https://docs.rs/concordium-std/latest/concordium_std/
Mozilla Public License 2.0
57 stars 35 forks source link

Rust version 1.82 unsupported #449

Open rasmus-kirk opened 2 weeks ago

rasmus-kirk commented 2 weeks ago

Bug Description

Rust 1.82 has enabled new WASM extensions, which means that compilation/execution of smart contracts fails. We need to also add the new extensions such that smart contracts work correctly with this Rust version.

Steps to Reproduce

Run the following command in concordium-rust-smart-contracts/concordium-std:

cargo concordium test --only-unit-tests -- --features internal-wasm-test

Expected Result

The unit tests runs

Actual Result

Unexpected byte 0x80. Expected 0x00