Flattener that supports Solidity 0.6? truffle-flattener has parser error for abstract contracts

@abcoathup - It seems truffle-flattener doesn't work with Solidity 0.6. Happen to know of any alternatives that work w/ 0.6?

1 Like

Hi @dougiebuckets,

I see that you had an issue with abstract contracts: https://github.com/nomiclabs/truffle-flattener/issues/56

As a work around, you could try removing the abstract keyword, flattening and then manually updating.

Assuming you are flattening for verification, SPDX license identifiers in Solidity 0.6.8 means that we can’t flatten a contract with mixed licenses. You may want to verify individual contract files instead.

Hi @dougiebuckets,

Did you work around this or did your verify using individual contract files?

@abcoathup - Yup, I went ahead and manually flattened them myself. Thanks for circling back!

1 Like

A post was split to a new topic: Flattening on Windows and get error ENOENT: no such file or directory