web3j icon indicating copy to clipboard operation
web3j copied to clipboard

feat: introduce CustomError handling for EthCall

Open andyrobert3 opened this issue 1 year ago • 0 comments

What does this PR do?

Supports Custom Error handling for EthCall, which partially closes https://github.com/hyperledger-web3j/web3j/issues/1812

Where should the reviewer start?

PR in progresss

Why is it needed?

Added support for custom errors in Solidity 0.8.x to improve compatibility. Custom errors are more gas-efficient than revert strings and provide structured error handling. This update enables proper decoding and handling of these errors in Web3J

Checklist

  • [ ] I've read the contribution guidelines.
  • [ ] I've added tests (if applicable).
  • [ ] I've added a changelog entry if necessary.

andyrobert3 avatar Feb 03 '25 10:02 andyrobert3