Skip to content

feat: introduce CustomError handling for EthCall#2146

Closed
andyrobert3 wants to merge 1 commit intoLFDT-web3j:mainfrom
andyrobert3:main
Closed

feat: introduce CustomError handling for EthCall#2146
andyrobert3 wants to merge 1 commit intoLFDT-web3j:mainfrom
andyrobert3:main

Conversation

@andyrobert3
Copy link
Copy Markdown

@andyrobert3 andyrobert3 commented Feb 3, 2025

What does this PR do?

Supports Custom Error handling for EthCall, which partially closes #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.

@gtebrean
Copy link
Copy Markdown
Contributor

added with this #2173

@gtebrean gtebrean closed this Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solidity Custom Errors not supported by EthCall or Smart Contract Wrapper components

2 participants