splinter
splinter copied to clipboard
Scabbard client does not return error_data returned in InvalidTransaction error
The error_data is always empty [] when using the scabbard exec
command. One has to peep into the Splinter daemon logs to know what is printed by the smart contract. The log captured by this client is from the [consensus::consensus::two_phase] when looked into the Splinter daemon logs.
Sabre transactions don't yet return the error data from the handler. The exports in the to the WASM runtime need to be updated to support this.
In other words, this is more of a Sabre bug than a splinter bug.
Sabre transactions don't yet return the error data from the handler. The exports in the to the WASM runtime need to be updated to support this.
In other words, this is more of a Sabre bug than a splinter bug.
When I say error_data, my expectation was to see the message that is put in InvalidTransaction
. Are we on same page with this understanding?
Yes, I believe so.