Closed wenyuanhust closed 9 months ago
Closes: #274
At present, if the call of solidity contract failed, things like this printed
Contract call reverted with data: 0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c74657374206661696c656420746f2063726561746520636c69656e7400000000
After this pr, following will be printed
test failed to create client
which makes error message more human friendly. I haven't found a rust crate to do it, so I parse 2 kinds of errors mannually.
unclog
docs/
Files changed
See #390 where I tried to address the aforementioned problems.
Closes: #274
Description
At present, if the call of solidity contract failed, things like this printed
After this pr, following will be printed
which makes error message more human friendly. I haven't found a rust crate to do it, so I parse 2 kinds of errors mannually.
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.