dapp create errors when contract in src/subdir
travs opened this issue · 1 comments
travs commented
Calling something like:
# dapp create SimpleMarket --from $ADDRESS_1 # this can't find anything
dapp create exchange/thirdparty/SimpleMarket --from $ADDRESS_1 # this is my 2nd guess
gives:
+ seth send --create out/exchange/thirdparty/SimpleMarket.bin 'exchange/thirdparty/SimpleMarket
()' --from 0x0015248b433a62fb2d17e19163449616510926b6
seth-send: warning: `ETH_GAS' not set; using default gas amount
<stdin>:1:55: Error: Expected token LParen got 'Div'
pragma solidity ^0.4.8; contract A { function exchange/thirdparty/SimpleMarket() public; }
which seems to be due to the /
delimiter.
My first guess is to do something like this, and find
the contract by its filename. Does this make sense?