diff --git a/.changeset/plenty-pets-heal.md b/.changeset/plenty-pets-heal.md new file mode 100644 index 0000000..bc3d0fd --- /dev/null +++ b/.changeset/plenty-pets-heal.md @@ -0,0 +1,5 @@ +--- +"solive-core": patch +--- + +Fix a lint problem. diff --git a/packages/core/src/editor/utils/deploy.ts b/packages/core/src/editor/utils/deploy.ts index 8b77417..c8d9d78 100644 --- a/packages/core/src/editor/utils/deploy.ts +++ b/packages/core/src/editor/utils/deploy.ts @@ -7,7 +7,7 @@ const deploy = async ( bytecode: string, signer: providers.JsonRpcSigner, callOptions: {value: number; gasLimit: number}, - args: any[] + args: any[], ): Promise<[Contract, ethers.providers.TransactionReceipt]> => { const contractFactory = new ethers.ContractFactory(abi, bytecode, signer); const instance = await contractFactory.deploy(...(args || []), { @@ -16,7 +16,7 @@ const deploy = async ( }); const tx = await instance.deployTransaction.wait(); return [instance, tx]; -} +}; // const getBytecode = (compiledContract: any) => compiledContract.evm.bytecode.object;