Skip to content

Use a different mechanism to fetch solc binaries links #13

@rach-id

Description

@rach-id

Currently, we're using https://github.com/web3j/web3j-sokt/blob/master/src/main/resources/releases.json to install solidity.
This is not good as we need to release new versions of sokt, and most of the other libraries, whenever we have a new solc version so that we're up-to-date.

I suggest we:

  • Either host the releases.json file somewhere (or even a very simple API to query the links), and we make a GET request call whenever we want to check for the versions.
  • Find a repetitive pattern for the links and look for them dynamically when detecting a version in contracts:
    • For Linux binaries for example: https://github.com/ethereum/solidity/releases/download/v<version>/solc-static-linux seems to work

This would make our releases easier and also avoid the issues we're getting from users depending on libraries that use the latest solidity versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions