Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solang does not use all Solidity Panic codes #1477

Open
xermicus opened this issue Aug 7, 2023 · 0 comments
Open

Solang does not use all Solidity Panic codes #1477

xermicus opened this issue Aug 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@xermicus
Copy link
Contributor

xermicus commented Aug 7, 2023

While implementing of #1449, it became apparent that Solang does not use all the Panic codes Solidity knows. Maybe this is fine because for our currently supported targets, it doesn't make sense to use them. But it is a hint that our codegen could produce different code from what's actually expected and should be investigated further.

Currently never used:

  • EnumCastOob
  • StorageBytesEncodingIncorrect
  • OutOfMemory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant