This repository was archived by the owner on May 23, 2023. It is now read-only.
Commit 246bc3d
committed
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.1 parent ddaac54 commit 246bc3d
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
| |||
0 commit comments