-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contracts under openzeppelin are not included #49
Comments
I @KimiWu123 I have the same issue. Have you already found a solution? |
@arnoudcommandeur , no idea how to fix it, we use |
Ok, thanks. @KimiWu123 |
Hi @KimiWu123, I had some issues using truffle-flattener because my directoryname contained soms special characters. Now I have changed the name to c:\Temp and the truffle-flattener is working. Thanks! |
I tried truffle-flattener but it failed. For this issue, copy the openzepplin's "contracts" directory to ./node_modules/.bin/poa-solidity-flattener |
|
Thanks @ozh. You solved my problem! |
Haha, thanks @ozh! |
used
poa-solidity-flattener
to flatten my contract to upload to etherscan.xxx_flat.sol
was generated successfully but we have some @OpenZeppelin dependencies, likeIERC20
,Context
... were not be included in the finalxxx_falt.sol
. Not sure what happened. Here are some messages saying those files are not found in the beginning, but found later. But they are not included in the output file.poa-solidity-flattener version: 3.0.6
build environment:
buidler
The text was updated successfully, but these errors were encountered: