Skip to content

py-solc is incompatible with Solidity compiler 0.5.0Β #64

@Jonasmpi

Description

@Jonasmpi
  • py-solc Version: 3.2.0
  • solc Version: 0.5.0
  • Python Version: 3.6.7
  • OS: Linux

What was wrong?

py-solc is incompatible with Solidity compiler 0.5.0

--combined-json clone-bin is deprecated in version 0.5.0 but is set in main.py and wrapper.py. Has to be removed.

Compile from source uses the solc compiler option to compile from stdin but does this incorrectly.
The fix would be to add command += "-" at the end of the command creation.
A quick and dirty fix for both issues can be seen on my repository master branch at:

https://github.com/Jonasmpi/py-solc

Cute Animal Picture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions