You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom errors defined outside of a contract are not imported into the flattened contract.
This is a problem when working with contracts like pr math that define the custom error outside the contract.
Below is an minimum working example showcasing the bug.
markus0x1
changed the title
[Bug-Candidate]: Slither-flat ignores custom errors
[Bug-Candidate]: Slither-flat ignores custom errors defined outside of contract
Oct 6, 2022
0xalpharush
changed the title
[Bug-Candidate]: Slither-flat ignores custom errors defined outside of contract
Slither-flat ignores custom errors defined outside of contract
Jan 9, 2023
Describe the problem:
Custom errors defined outside of a contract are not imported into the flattened contract.
This is a problem when working with contracts like pr math that define the custom error outside the contract.
Below is an minimum working example showcasing the bug.
Code example to reproduce the issue:
Version:
0.8.3, 0.9.0
Flattened contract:
The text was updated successfully, but these errors were encountered: