Skip to content

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

@kuzdogan

Description

@kuzdogan

We've come across an issue while recompiling a contract with 0.4.19 as laid out here: argotorg/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    low effortThere is not much implementation work to be done. The task is very easy or tiny.low impactChanges are not very noticeable or potential benefits are limited.should haveWe like the idea but it’s not important enough to be a part of the roadmap.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions