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

Handle standard JSON transalation with outputSelection for =<0.4.19 #690

Open
kuzdogan opened this issue May 8, 2023 · 0 comments
Open

Comments

@kuzdogan
Copy link
Member

kuzdogan commented May 8, 2023

We've come across an issue while recompiling a contract with 0.4.19 as laid out here: ethereum/sourcify#1017

TLDR: The compiler gives empty JSON output without throwing because the outputSelection fields were introduced in 0.4.18 and updated in 0.4.19.

I believe the outputSelection field needs to be handled by the JSON translator translate.ts of solc-js for the earlier versions.

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

No branches or pull requests

1 participant