Skip to content

PR check for comparing release binaries added to solc-bin with those in github releases #9930

@cameel

Description

@cameel

Extracted from #9258.

We want the release binaries added to solc-bin to be identical with those on github release page. Since the process of adding them to solc-bin is manual right now, we should really have an automated check for that, running on all solc-bin PRs.

The easiest way to do so is to just download the binaries from github release page and compare. I already have a script for getting the binaries from both Github and CircleCI: ethereum/solc-bin#35, ethereum/solc-bin#41. It was originally meant to make it easier for the uploader to get them but we shelved that idea. It can be easily repurposed as a part of the check. I just need to do minor modification and run it inside a github action.

Relevant parts from the original issue

#9258 (comment)

  • Binaries in solc-bin must be the exact same binaries as the ones on the release page.
    • Maybe we could have the manual update script check that.

#9258 (comment)

Right now @chriseth wants release binaries to be uploaded manually so it's easy to ensure that they're the same. Just upload the same files to both places :) This would be just a sanity check to ensure you did just that.

And if we automate publishing releases, I think it would just be a matter of having the same CI job upload both to solc-bin and to the release page

Metadata

Metadata

Assignees

Labels

closed due inactivityThe issue/PR was automatically closed due to inactivity.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.solcbinstaleThe issue/PR was marked as stale because it has been open for too long.testing 🔨

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions