Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce CustomError handling for EthCall #2146

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andyrobert3
Copy link

@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.

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
1 participant