-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
OpenZeppelin contracts ERC-20 merge problem #32
Comments
Hello, @dzarezenko Currently version Currenlty I made a couple of pull requests to support latest solidity Grammar, but didn't receive any result. So I'll start looking on another solution. To understand why it is an error, you can simply run next command: DEBUG="sol-merger*" <command to parse contracts> Connected issue: rkalis/truffle-plugin-verify#30 Best regards, |
Reminder for myself that this should also compile: |
BREAKING CHANGE: ImportsAnalyzer analizeImport is now private relates #32, rkalis/truffle-plugin-verify#28 Updated dependencies Added Solidity Grammar to project
Should be fixed in |
Thank you! |
Hi, does anyone know how to merge openzeppelin contracts into a .sol file? |
Follow the installation guide: https://docs.openzeppelin.com/contracts/4.x/ and then use this library to merge it into one file. Example of contract (with other library
You can checkout the readme file how to construct the build command. |
I'm trying to merge my simple ERC-20 token contract code but one of the dependencies contracts sources is not in the result file.
My simple contract code:
Sol-merger command:
In the result file, the
Address
contract source was not imported.How can I merge my contracts in the right way?
The text was updated successfully, but these errors were encountered: