Fix FunctionCallError(WasmTrap("unknown")) #2009
Labels
A-RPC
Area: rpc
A-transaction-runtime
Area: transaction runtime (transaction and receipts processing, state transition, etc)
P-critical
Priority: critical
Currently when contract fails we return a non-descriptive error message
FunctionCallError(WasmTrap("unknown"))
we were not able to return a more descriptive message because it was not supported by Wasmer Singlepass: wasmerio/wasmer#903However, now it is fixed: wasmerio/wasmer#1129
We should update to the new version of Wasmer+Singlepass and make sure this error message is now descriptive in our RPC by writing a test.
The text was updated successfully, but these errors were encountered: