Skip to content

Conversation

@rodiazet
Copy link
Contributor

@rodiazet rodiazet commented Dec 3, 2025

This PR fixes assigning error or event selector value to a constant variable and adds a unit test covering this issue.
Closes: #13137

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Thank you for your contribution to the Solidity compiler! A team member will follow up shortly.

If you haven't read our contributing guidelines and our review checklist before, please do it now, this makes the reviewing process and accepting your contribution smoother.

If you have any questions or need our help, feel free to post them in the PR or talk to us directly on the #solidity-dev channel on Matrix.

Copy link
Collaborator

@nikola-matic nikola-matic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gonna need a changelog entry. Also, rebasing should take care of the failing zeppelin job.

Copy link
Collaborator

@nikola-matic nikola-matic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by accident - just wanted to leave comments, hence the change request.

@rodiazet rodiazet force-pushed the fix-error-event-selectors-constantness branch from a87a0f7 to 84c3bc3 Compare December 8, 2025 09:09
Copy link
Collaborator

@nikola-matic nikola-matic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - just rephrase the changelog entry and also please squash the second "Address review comments." commit into the first one, and we can merge this.

@rodiazet rodiazet force-pushed the fix-error-event-selectors-constantness branch from e0e3cc2 to d843fe3 Compare December 8, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Event and error selectors are not constants

3 participants