diff --git a/src/generated/CodeGennable.sol b/src/generated/CodeGennable.sol index 9214b59..a9db139 100644 --- a/src/generated/CodeGennable.sol +++ b/src/generated/CodeGennable.sol @@ -4,11 +4,6 @@ pragma solidity ^0.8.25; // THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND. -// It is committed to the repository because there is a circular dependency -// between the contract and its generated file. The contract needs the -// generated file to exist so that it can compile, and the generated file -// needs the contract to exist so that it can be compiled. - /// @dev Hash of the known bytecode. bytes32 constant BYTECODE_HASH = bytes32(0x8016e5305d25be28ac4d72616cfd999756e36eded3ec88562375e2e1c9eca84d); diff --git a/src/lib/LibCodeGen.sol b/src/lib/LibCodeGen.sol index d89d9f4..5218d5f 100644 --- a/src/lib/LibCodeGen.sol +++ b/src/lib/LibCodeGen.sol @@ -33,11 +33,7 @@ library LibCodeGen { "// SPDX-License-Identifier: LicenseRef-DCL-1.0\n" "// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd\n" "pragma solidity ^0.8.25;\n\n", - "// THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND.\n\n" - "// It is committed to the repository because there is a circular dependency\n" - "// between the contract and its generated file. The contract needs the\n" - "// generated file to exist so that it can compile, and the generated file\n" - "// needs the contract to exist so that it can be compiled.\n" + "// THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND.\n" ); //REUSE-IgnoreEnd } diff --git a/test/lib/LibCodeGen.filePrefix.t.sol b/test/lib/LibCodeGen.filePrefix.t.sol index a860d92..7fc5594 100644 --- a/test/lib/LibCodeGen.filePrefix.t.sol +++ b/test/lib/LibCodeGen.filePrefix.t.sol @@ -26,11 +26,7 @@ contract LibCodeGenFilePrefixTest is Test { LibCodeGen.filePrefix(), "// SPDX-License-Identifier: LicenseRef-DCL-1.0\n" "// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd\n" - "pragma solidity ^0.8.25;\n\n" "// THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND.\n\n" - "// It is committed to the repository because there is a circular dependency\n" - "// between the contract and its generated file. The contract needs the\n" - "// generated file to exist so that it can compile, and the generated file\n" - "// needs the contract to exist so that it can be compiled.\n" + "pragma solidity ^0.8.25;\n\n" "// THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND.\n" ); //REUSE-IgnoreEnd }