I have received error when i’m trying to get value from:
storage().instance()
I’m trying to set value in one fn and receive from another fn.
In test this function is passed, all
works as i expected.
But in terminal when i invoke contract and call my fn I have received Error(WasmVm, InvalidAction).
I have checked that problem connected with panic, I guess error connected with unwrap object in storage.
How to avoid it and test correctly in testnet. Have i missed smth important?