【发布时间】:2021-09-19 09:11:40
【问题描述】:
我正在尝试调用视图方法来检索 u128 值的 Vec,结果我收到此错误,我不知道该怎么做,有人可以帮助我吗?
{
"block_hash": "76auef76bmvvKT6kVZabiCrrHeTzoBP2vxGZGqaBjDc1",
"block_height": 54564995,
"error": "wasm execution failed with error: FunctionCallError(HostError(GuestPanic { panic_msg: \"Cannot deserialize value with Borsh\" }))",
"logs": []
}
at JsonRpcProvider.query (json-rpc-provider.js:116)
at async ConnectedWalletAccount.viewFunction (account.js:356)
at async <anonymous>:1:1
TypedError @ errors.js:18
query @ json-rpc-provider.js:116
感谢您的帮助!
【问题讨论】:
-
我们需要查看合约代码来回答可能出现的问题。
标签: rust blockchain smartcontracts nearprotocol