fix: reuse SDK tx type in submitters (#4642)
### Description Updating the types in the submitters because they were using their own types instead of the existing ones for some reason. ### Drive-by changes move `createTransferOwnershipTx` from the abstract hyperlane module to the evm module deployer, as it's EVM specific ### Related issues na ### Backward compatibility yes ### Testing ci --------- Signed-off-by: pbio <10051819+paulbalaji@users.noreply.github.com>pull/4656/head
parent
45eb3ae5e3
commit
fcfe91113f
@ -0,0 +1,6 @@ |
||||
--- |
||||
'@hyperlane-xyz/cli': patch |
||||
'@hyperlane-xyz/sdk': patch |
||||
--- |
||||
|
||||
Reuse SDK transaction typings in tx submitters |
@ -1,17 +1,5 @@ |
||||
import { ethers } from 'ethers'; |
||||
import { z } from 'zod'; |
||||
|
||||
import { |
||||
CallDataSchema, |
||||
PopulatedTransactionSchema, |
||||
PopulatedTransactionsSchema, |
||||
} from './schemas.js'; |
||||
|
||||
export type PopulatedTransaction = z.infer<typeof PopulatedTransactionSchema> & |
||||
ethers.PopulatedTransaction; |
||||
export type PopulatedTransactions = z.infer< |
||||
typeof PopulatedTransactionsSchema |
||||
> & |
||||
ethers.PopulatedTransaction[]; |
||||
import { CallDataSchema } from './schemas.js'; |
||||
|
||||
export type CallData = z.infer<typeof CallDataSchema>; |
||||
|
Loading…
Reference in new issue