Skip to content

Commit 44ea0ec

Browse files
authored
fix: warp send tx prepare (#8516)
1 parent fc0a1cf commit 44ea0ec

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/shiny-donuts-explode.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperlane-xyz/cli": patch
3+
---
4+
5+
fix: warp send tx prepare

typescript/cli/src/send/transfer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ async function executeDelivery({
438438
for (const tx of transferTxs) {
439439
if (tx.type === ProviderType.EthersV5 || tx.type === ProviderType.Tron) {
440440
const signer = multiProvider.getSigner(origin);
441-
const txResponse = await signer.sendTransaction(tx.transaction);
441+
const preparedTx = await multiProvider.prepareTx(origin, tx.transaction);
442+
const txResponse = await signer.sendTransaction(preparedTx);
442443
const txReceipt = await multiProvider.handleTx(origin, txResponse);
443444
const typedReceipt: TypedTransactionReceipt = {
444445
type: tx.type,

0 commit comments

Comments
 (0)