Open palango opened 3 years ago
It's because Ganache sends a response which is not a valid JSON-RPC response, since it contains both result
and error
. It's a bit similar to https://github.com/tomusdrw/rust-web3/issues/544
The fix would need to be implemented in jsonrpc-core
library. Or we could somehow try to override that in rust-web3
level. I'd prefer to stay strict in terms of spec-adherence, so maybe there is some way to workaround that by parsing to a custom Output
first.
Yes, I see your point. Feel free to close this issue then.
I'm sending some transaction using
Contract.signed_call_with_confirmations
on a ganache test chain.This transaction reverts, but
web3
is unable to properly decode the error:This looks a bit like https://github.com/tomusdrw/rust-web3/issues/460 , but that has been fixed. Any hints?
Complete logs: