We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 409e9b0 commit 15d9e19Copy full SHA for 15d9e19
1 file changed
typescript/sdk/src/hook/EvmHookModule.ts
@@ -811,11 +811,18 @@ export class EvmHookModule extends HyperlaneModule<
811
case HookType.CCIP:
812
return this.deployCCIPHook({ config });
813
case HookType.CCTP:
814
+ case HookType.CCTP:
815
+ // TODO: https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3773
816
+ // we can remove the ts-ignore once we have a proper type for address Hooks
817
// @ts-ignore
818
return IPostDispatchHook__factory.connect(
819
config.address,
820
this.multiProvider.getSignerOrProvider(this.args.chain),
821
);
822
+ return IPostDispatchHook__factory.connect(
823
+ config.address,
824
+ this.multiProvider.getSignerOrProvider(this.args.chain),
825
+ );
826
default:
827
throw new Error(`Unsupported hook config: ${config}`);
828
}
0 commit comments