Closed naszam closed 1 year ago
dapp install https://github.com/makerdao/dss-interfaces
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.6.12; import { VatAbstract, VowAbstract } from "dss-interfaces/Interfaces.sol"; contract TestDssInterfaces { }
dapp --use solc:0.6.12 build
hevm flatten --source-file "src/TestDssInterfaces.sol" > out/flat.sol
This is by design. You can avoid it by importing individual interfaces.
Yes, this was addressed in #71 and included in the checklists as well, to avoid multi-import layout (see here). Closing for now.
To reproduce:
dapp install https://github.com/makerdao/dss-interfaces
dapp --use solc:0.6.12 build
hevm flatten --source-file "src/TestDssInterfaces.sol" > out/flat.sol
Output