near / near-cli-rs

near CLI is your human-friendly companion that helps to interact with NEAR Protocol from command line.
https://near.cli.rs
Apache License 2.0
102 stars 56 forks source link

Serialization issues with calling testnet smart contract due to incompatibility with v1.82 #411

Open s-n-park opened 5 hours ago

s-n-park commented 5 hours ago

Context:

The Issue:

Error: 0: Error: An error occurred during a FunctionCall Action, parameter is debug message. CompilationError(PrepareError(Deserialization))

The solution:

Request:

CC: @frol , @gagdiez, @PiVortex

PiVortex commented 5 hours ago

This can be resolved by upgrading to the most recent version of cargo-near and using the most recent version of near workspaces (which cargo near new has). This is not to do with the CLI AFIAK, if you test by calling the function through nearblocks I expect you would see the same error?

Try updating your cargo-near and running again, it should work with 1.82.0 https://github.com/near/cargo-near/releases/tag/cargo-near-v0.11.0