Skip to content

Commit d7d55d3

Browse files
Rahul MagantiRahulMaganti47
Rahul Maganti
authored andcommitted
ci: update transfer call to include refundAddress
1 parent 75bc00f commit d7d55d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci_tests/src/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,12 @@ async function transferWithChecks(
528528
token.approve(sourceChain.managerAddress, amount)
529529
);
530530
const txResponse = await tryAndWaitThrice(() =>
531-
manager["transfer(uint256,uint16,bytes32,bool,bytes)"](
531+
manager["transfer(uint256,uint16,bytes32,bytes32,bool,bytes)"](
532532
amount,
533533
destinationChain.chainId,
534+
destinationChain.type === "evm"
535+
? addressToBytes32(ETH_PUBLIC_KEY)
536+
: `0x${SOL_PUBLIC_KEY.toBuffer().toString("hex")}`,
534537
destinationChain.type === "evm"
535538
? addressToBytes32(ETH_PUBLIC_KEY)
536539
: `0x${SOL_PUBLIC_KEY.toBuffer().toString("hex")}`,

0 commit comments

Comments
 (0)