Open elenadimitrova opened 6 years ago
@elenadimitrova for me it was failing because I was using solc installed with node. I installed solc version 0.4.24 via Homebrew and it fixed the issue you mentioned for me. solidity-flattener mentions a related point in the README. Hopefully this helps you.
Thanks @aquabu We ended up rolling our own flattener https://github.com/JoinColony/solidity-steamroller
I ran into the same issue but installing specific version via brew and also from source failed. I then decided to upgrade to solc v0.5 and now I'm not sure if this flattener is compatible with the new compiler and if it's worth investigating
I love the truffle-flattener but the code doesn't always verify and everyone (truffle-flattener, etherscan, ...) point to this solidity-flattener here
Fails for contracts on
solidity ^0.4.23
with the following error: