I've been able to run near dev-deploy
using near-shell for a Rust contract, and then call a function "new" with near call my-account new '{"param1": "foo"}'
However, this does not work when I deploy the same contract to my preferred account created with NEAR Wallet.
The error is:
Smart contract panicked: panicked at 'Cannot deserialize the contract state.: Custom { kind: InvalidInput, error: "Unexpected length of input" }',