SNIP-64: Custom Errors for ERC20 and ERC721
🧐 Motivation Specification error message
📝 Details Ref: https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-64.md Refactor every contract error's definition
I'm interested in contributing and would like to know if there is a link or resource that captures previous discussions or decisions on this issue. This would help me understand the current status and next steps
Hi @sprtd thanks for your interest in contributing! We are still discussing wether we want to implement this(but have decided not to do it in the short term). We still need to evaluate a few things:
- How much adoption does the SNIP have?
- What are gas cost implications of doing this formatting
- This is a breaking change since it changes the API of the contracts, which are ones of the most widely used in the library. We need to communicate in anticipation this change.
If you have thoughts about any of this or have seen demand feel free to leave it in the comments. In the meantime if you see any other issue that is a good fit feel free to let us know :)
Closing this as it is not widely adopted. Feel free to reopen the discussion if you think otherwise.