Im trying to deploy INK! 3.3.0 smart contract to my local substrate node and Im getting
CodeRejected; Can't decode wasm code
.
When I compile my code i get no errors and using the following command to compile and build the smart contract:
cargo +nightly-2022-08-15 contract build
Note:
I was able to deploy the contract not long ago, i think its stopped work after i updated rustup nightly.
I get no error from the substrate console
./target/release/node-template --dev -l error,debug
Rustc nightly version: rustc 1.67.0-nightly (b3bc6bf31 2022-11-24)
Im using MacBook Pro M1 Pro chip (13.0.1 (22A400) version)