ApeWorX / ApeWorX/web3.py

Decoding of custom errors

Open
#3,829 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.5k
Forks
1.7k
Avg merge
3d 10h
Merged PRs (30d)
2

Description

### What feature should we add?

I wonder if there is any appetite for going a little further on this https://github.com/ethereum/web3.py/issues/2336 - now that `ContractLogicError.data` is available its not far from being possible to attempt to decode this and raise much clearer errors on the python side?

Would be great to get peoples thoughts and maybe I can have a go at it? I am currently doing this manually in my own code but it feels like it could live here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.