This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Description
Is there an existing issue for this?
Feature Request
As a follow-up to #4235 implements more tests (and replace the current one).
Additionally, some cases need to be handled. According to: https://blog.soliditylang.org/2021/04/21/custom-errors/ there are special selectors: 0x82b42900 which is the ‘selector’ for Unauthorized() and 0x08c379a0 is the ‘selector’ of Error(string).
Use Cases
Deploying a smart contract locally enables better testing. And handling for Unauthorized() and Error(string) would be good as they are special selectors that the user would not need to provide the ABI for.
Implementation Ideas
No response
Feature Examples/References
No response
Are you willing to implement this feature?