Skip to content

Commit

Permalink
Fix a lint problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glacier-Luo committed May 3, 2023
1 parent 303291f commit f70faad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/plenty-pets-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"solive-core": patch
---

Fix a lint problem.
4 changes: 2 additions & 2 deletions packages/core/src/editor/utils/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || []), {
Expand All @@ -16,7 +16,7 @@ const deploy = async (
});
const tx = await instance.deployTransaction.wait();
return [instance, tx];
}
};

// const getBytecode = (compiledContract: any) => compiledContract.evm.bytecode.object;

Expand Down

0 comments on commit f70faad

Please sign in to comment.