From 1303b835ee2ea3a3da9341782c2784c63f9e068d Mon Sep 17 00:00:00 2001 From: jinjiadu Date: Sat, 1 Jun 2024 15:03:18 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: jinjiadu --- src/utils.ts | 4 ++-- types.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index f5bb83e4..bbc0c02b 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -588,7 +588,7 @@ export function mergeABIs( return false; } if (!existingEthersFragment) { - return v.name === fragment.name; // TODO fallback and receive hanlding + return v.name === fragment.name; // TODO fallback and receive handling } if ( @@ -606,7 +606,7 @@ export function mergeABIs( } else if (newEthersFragment.type === 'event') { return existingEthersFragment.format() === newEthersFragment.format(); } else { - return v.name === fragment.name; // TODO fallback and receive hanlding + return v.name === fragment.name; // TODO fallback and receive handling } }); if (foundSameSig) { diff --git a/types.ts b/types.ts index 3d4df3ff..dee7be46 100644 --- a/types.ts +++ b/types.ts @@ -227,7 +227,7 @@ export interface DeploymentsExtension { // deploy diamond based contract (see section below) deploy(name: string, options: DiamondOptions): Promise; }; - deterministic( // return the determinsitic address as well as a function to deploy the contract, can pass the `salt` field in the option to use different salt + deterministic( // return the deterministic address as well as a function to deploy the contract, can pass the `salt` field in the option to use different salt name: string, options: Create2DeployOptions ): Promise<{