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

Events in interfaces seem to produce compiler errors when testing #262

Closed
pakim249CAL opened this issue Aug 10, 2023 · 2 comments · Fixed by #263
Closed

Events in interfaces seem to produce compiler errors when testing #262

pakim249CAL opened this issue Aug 10, 2023 · 2 comments · Fixed by #263

Comments

@pakim249CAL
Copy link
Contributor

From @makcandrov

MRE:
image

Error:
image

@makcandrov
Copy link
Contributor

Context: to test if an event is emitted during a call, we need to emit the event from the test contract first:
image

@MathisGD
Copy link
Contributor

Let's merge @pakim249CAL's PR, and open an issue in solc

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 a pull request may close this issue.

3 participants