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

Check with the metadata generation bug case when yul: false and stackAllocation: true #1789

Closed
kuzdogan opened this issue Dec 17, 2024 · 1 comment
Assignees
Labels
🪲 bug Something isn't working

Comments

@kuzdogan
Copy link
Member

In ethereum/solidity#15641 a bug was discovered that affects metadata.json generation. Apparently the metadata is wrong in the following cases:

Since 0.8.8 metadata produced in optimized compilation with Yul optimizer disabled will only allow recreating the same compilation if used via the same interface (Standard JSON vs CLI).

Since 0.8.21 metadata is wrong when compiling via Standard JSON with both optimizer.details.yul: false and optimizer.details.yulDetails.stackAllocation: true - the non-default state of the stackAllocation flag is not recorded.

@kuzdogan kuzdogan added the 🪲 bug Something isn't working label Dec 17, 2024
@kuzdogan kuzdogan moved this to Backlog in Sourcify Public Dec 17, 2024
@kuzdogan kuzdogan moved this from Backlog to Sprint - Candidates in Sourcify Public Dec 23, 2024
@marcocastignoli marcocastignoli moved this from Sprint - Candidates to Backlog in Sourcify Public Jan 6, 2025
@manuelwedler manuelwedler moved this from Backlog to Sprint - Up Next in Sourcify Public Feb 17, 2025
@kuzdogan
Copy link
Member Author

I've spent a good amount trying to understand the full issue and see what we can do.

I'm closing this in favor of other more things to do, as the case described is quite specific and rare and I don't expect to encounter this in practice.

This can be reopened if we come across this in the future.

@kuzdogan kuzdogan closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2025
@github-project-automation github-project-automation bot moved this from Sprint - Up Next to Sprint - Done in Sourcify Public Feb 27, 2025
@manuelwedler manuelwedler moved this from Sprint - Done to COMPLETED in Sourcify Public Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
Status: COMPLETED
Development

No branches or pull requests

1 participant