Skip to content

Commit 081778d

Browse files
committed
fix: duplicate hook
1 parent 122bca1 commit 081778d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

typescript/sdk/src/hook/EvmHookModule.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,6 @@ export class EvmHookModule extends HyperlaneModule<
810810
return this.deployAmountRoutingHook({ config });
811811
case HookType.CCIP:
812812
return this.deployCCIPHook({ config });
813-
case HookType.CCTP:
814813
case HookType.CCTP:
815814
// TODO: https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3773
816815
// we can remove the ts-ignore once we have a proper type for address Hooks
@@ -819,10 +818,6 @@ export class EvmHookModule extends HyperlaneModule<
819818
config.address,
820819
this.multiProvider.getSignerOrProvider(this.args.chain),
821820
);
822-
return IPostDispatchHook__factory.connect(
823-
config.address,
824-
this.multiProvider.getSignerOrProvider(this.args.chain),
825-
);
826821
default:
827822
throw new Error(`Unsupported hook config: ${config}`);
828823
}

0 commit comments

Comments
 (0)