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

Implement tests for EIP-838 errors with local contract deployment #5482

@Muhammad-Altabba

Description

@Muhammad-Altabba

Is there an existing issue for this?

  • I have searched the existing issues

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?

  • Yes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions