BlockCatIO / solidity-flattener

A python utility to flatten Solidity code with imports into a single file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{name} was defined multiple times

owocki opened this issue · comments

This is what I get when I try to flatten BountyIndex.sol

kevinowocki@local /Users/kevinowocki/Sites/gitcoin/smart_contracts/contracts/bounty~ % solidity_flattener BountyIndex.sol
  File "/usr/local/bin/solidity_flattener", line 27
    print("FATAL: '{name}' was defined multiple times. Aborting.".format(name=contract_name), file=sys.stderr)

version info: /usr/local/lib/python3.6/site-packages