You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of the code is unable to generate the correct devgovgigs.wasm file when using the latest version of Rust (1.70). As a workaround, it was necessary to install Rust 1.67.1, set it as the default toolchain, and add the wasm32-unknown-unknown target.
The code should generate the correct devgovgigs.wasm file using the latest version of Rust (1.70) without the need to install an older version and perform additional steps.
The text was updated successfully, but these errors were encountered:
Description:
The current version of the code is unable to generate the correct devgovgigs.wasm file when using the latest version of Rust (1.70). As a workaround, it was necessary to install Rust 1.67.1, set it as the default toolchain, and add the wasm32-unknown-unknown target.
Steps to Reproduce
Install the latest version of Rust (1.70.0)
In my case I used
rustup default stable-aarch64-apple-darwin
Then deploy using the near-cli and call the
new
func.Actual Behavior
The contract is able to deploy but calling
new
gives:Additional Information
Operating System: macOS Monetery 12.5
Possible Work around
Set Rust 1.67.1 as the default toolchain using
Expected Behavior
The code should generate the correct devgovgigs.wasm file using the latest version of Rust (1.70) without the need to install an older version and perform additional steps.
The text was updated successfully, but these errors were encountered: