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

fix(sol-macro): don't panic when encountering functions without names #217

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Aug 1, 2023

Motivation

Fixes #184
Ref #157, this just avoids panicking and doesn't generate anything. We would need to support fallbacks and receive functions as separate structs in sol-type but I'm not sure if this is that useful. cc @prestwich

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@DaniPopes DaniPopes merged commit 43a14af into main Aug 1, 2023
18 checks passed
@DaniPopes DaniPopes deleted the dani/sol-non-functions branch August 1, 2023 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sol! macro panics when trying to process an ABI JSON file
2 participants