oscoin / oscoin-parity-wasm-prototype

Prototype implemenation of Oscoin ledger on Parity Ethereum Wasm
0 stars 0 forks source link

Failed transactions don’t trigger error #46

Closed geigerzaehler closed 5 years ago

geigerzaehler commented 5 years ago

If a submitted transaction fails (for example if the ledger code panics) the client method that was called does not return an error.

Currently the only failure mode for the ledger is really panics or issues with Parity Ethereum. We should use the status field of the receipt that is available to the client to return an error and clearly find a way to document how to debug the error.