Skip to content

Commit

Permalink
fix: add template argument
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Goulding <[email protected]>
  • Loading branch information
ryandgoulding committed Feb 21, 2024
1 parent 94de06b commit af9dc66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/devtools-evm-hardhat/src/transactions/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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<ConnectSafeConfigWithSafeAddress>(eid, signer, safeConfig.safeUrl, safeConfig)
})
}

0 comments on commit af9dc66

Please sign in to comment.