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

Add transient storage warning to default ignored_error_codes #7299

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

emo-eth
Copy link
Contributor

@emo-eth emo-eth commented Mar 3, 2024

Motivation

The warning generated by solc when compiling code that uses the new tstore/tload opcodes is not particularly useful or productive. The solc team has shown no interest in removing the warning from the compiler.

Solution

Default Forge behavior should be to ignore this warning, as no other (non-deprecated) opcodes get this treatment.

@emo-eth emo-eth marked this pull request as ready for review March 3, 2024 18:59
Copy link
Member

@gakonst gakonst left a comment

Choose a reason for hiding this comment

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

Totally supportive personally but looking for @mattsse @DaniPopes confirmation

@DaniPopes DaniPopes merged commit c24933d into foundry-rs:master Mar 4, 2024
19 checks passed
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.

3 participants