From af9dc66c0c39b32a95c62ffaf3993f7cb79c29a4 Mon Sep 17 00:00:00 2001 From: Ryan Goulding Date: Wed, 21 Feb 2024 09:24:04 -0800 Subject: [PATCH] fix: add template argument Signed-off-by: Ryan Goulding --- packages/devtools-evm-hardhat/src/transactions/signer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/devtools-evm-hardhat/src/transactions/signer.ts b/packages/devtools-evm-hardhat/src/transactions/signer.ts index 7e4f06676..f5b75ca2f 100644 --- a/packages/devtools-evm-hardhat/src/transactions/signer.ts +++ b/packages/devtools-evm-hardhat/src/transactions/signer.ts @@ -3,6 +3,7 @@ import type { OmniSignerFactory } from '@layerzerolabs/devtools' import { GnosisOmniSignerEVM, OmniSignerEVM } from '@layerzerolabs/devtools-evm' import { createProviderFactory } from '@/provider' import { createGetHreByEid } from '@/runtime' +import { ConnectSafeConfigWithSafeAddress } from '@safe-global/protocol-kit' export const createSignerFactory = ( addressOrIndex?: string | number, @@ -30,6 +31,6 @@ export const createGnosisSignerFactory = ( if (!safeConfig) { throw new Error('No safe config found for the current network') } - return new GnosisOmniSignerEVM(eid, signer, safeConfig.safeUrl, safeConfig) + return new GnosisOmniSignerEVM(eid, signer, safeConfig.safeUrl, safeConfig) }) }