Open Sledro opened 6 months ago
We get the following error when compiling with hardhat-tenderly installed:
hardhat-tenderly
❯ npx hardhat compile An unexpected error occurred: Error: Failed to compile modified contracts for namespaced storage: DeclarationError: Identifier already declared. --> blobstream-contracts/src/lib/verifier/DAVerifier.sol:11:1: | 11 | import "../tree/namespace/NamespaceMerkleTree.sol"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Note: The previous declaration is here: --> blobstream-contracts/src/lib/tree/binary/TreeHasher.sol:19:1: | 19 | enum leafDigest { dummy } | ^^^^^^^^^^^^^^^^^^^^^^^^^ DeclarationError: Identifier already declared. --> blobstream-contracts/src/lib/verifier/DAVerifier.sol:11:1: | 11 | import "../tree/namespace/NamespaceMerkleTree.sol"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Note: The previous declaration is here: --> blobstream-contracts/src/lib/tree/binary/TreeHasher.sol:12:1: | 12 | enum nodeDigest { dummy }
Without hardhat-tenderly installed it works fine
We get the following error when compiling with
hardhat-tenderly
installed:Without
hardhat-tenderly
installed it works fine