Closed snapple42 closed 1 year ago
Just rewrote the plugin over the weekend. And now logs should be displayed in reverted transactions as well. If you can, please try v1.1.0-rc.1 if it works for you.
I believe this has been fixed. You can also try the latest v2, which prints the view function calls and only to see reverted calls or txs, --traceError
can be used.
(closing, but feel free to reopen if you are running into any problems)
I have a small contract, and when a transaction is reverted, there are no logs displayed..
I run the contract with a good, non-reverted function call, and all the logs are displayed.
since, I can't upload a "sol" file:
contracts/test.sol
And the test script:
test/test.js
run with:
Relavant output expecting "[Receiver] Received(from=[Sender], amount=10000000000000000000)" in both calls: