Skip to content

Report errors only for contracts that directly inherit from one with a specified storage layout #15900

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

Merged
merged 2 commits into from
Mar 2, 2025

Conversation

matheusaaguiar
Copy link
Collaborator

Suggested in #15528 (comment)

@matheusaaguiar matheusaaguiar self-assigned this Feb 27, 2025
@matheusaaguiar matheusaaguiar changed the title Fix storage layout specifier error msg Report errors only for contracts that directly inherit from one with a specified storage layout Feb 27, 2025
@matheusaaguiar matheusaaguiar force-pushed the fixStorageLayoutSpecifierErrorMsg branch 2 times, most recently from 6204a59 to 22c333d Compare February 28, 2025 23:30
Copy link
Member

@cameel cameel left a comment

Choose a reason for hiding this comment

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

Looks correct now, but you need to update expectations in command-line tests.

Also, your commits are a bit misleading because "Add tests" actually mostly updates existing tests. The commit is also at the top - if you want to keep it separate, it would be much more useful to put it first so that we can see what the test output was initially. Then to see in subsequent commits how they affected those tests.

@matheusaaguiar matheusaaguiar force-pushed the fixStorageLayoutSpecifierErrorMsg branch from 0aec6d0 to ecb0dce Compare March 1, 2025 01:39
@cameel cameel force-pushed the fixStorageLayoutSpecifierErrorMsg branch from ecb0dce to 2995f04 Compare March 2, 2025 19:16
@cameel cameel enabled auto-merge March 2, 2025 19:56
@cameel cameel merged commit 5725b61 into develop Mar 2, 2025
74 checks passed
@cameel cameel deleted the fixStorageLayoutSpecifierErrorMsg branch March 2, 2025 19:57
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.

2 participants