Skip to content

Commit 619f183

Browse files
committed
fix scaffold interfaces
1 parent 97cf3c7 commit 619f183

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/scaffold_contract.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ task('scaffold-contract', 'Batch replace text in local filenames and contents')
5151
5252
import { _I${name} } from './_I${name}.sol';
5353
54-
abstract contract I${name} is _I${name} {}
54+
interface I${name} is _I${name} {}
5555
`;
5656

5757
const internalInterface = `
5858
pragma solidity ${pragma};
5959
60-
abstract contract _I${name} {}
60+
interface _I${name} {}
6161
`;
6262

6363
await fs.promises.writeFile(

0 commit comments

Comments
 (0)