Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

solidity_names() recognizes interface #737

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Jun 1, 2017

  1. solidity_names() recognizes interface

    Based directly on top of pyethereum v1.6.1
    
    This is a hack. Solidity 0.4.11 introduces the interface keyword and
    breaks the solidity_names() function. This simply tweaks the function
    so that it also treats interfaces like contracts and does not break.
    
    I don't believe pyethereum should attempt to parse solidity files on its
    own as compatibility issues like this are almost certain to arise also in the
    future. For more long-term a different solution should be found where
    pyethereum queries solidity itself and does not parse anything on its own.
    LefterisJP committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    246bc3d View commit details
    Browse the repository at this point in the history