rust-web3
rust-web3 copied to clipboard
Feature: add revert reason to receipt
Changes:
- Added optional
revert_reasonString to receipt
Reasoning:
revert(...), as described in Solidity docs, can return a revert reason as an ABI-encoded string. Some Ethereum clients already have this functionality (e.g. Hyperledger Besu), while in others it may be added later.
Hello @tomusdrw , could you please review and merge this PR? Thanks in advance!