diff --git a/scripts/deployment/bridges/wormhole/test/messenger_sepolia_celo_alfajores_governor.js b/scripts/deployment/bridges/wormhole/test/messenger_sepolia_celo_alfajores_governor.js index dca4a90..cd2edfd 100644 --- a/scripts/deployment/bridges/wormhole/test/messenger_sepolia_celo_alfajores_governor.js +++ b/scripts/deployment/bridges/wormhole/test/messenger_sepolia_celo_alfajores_governor.js @@ -102,9 +102,9 @@ async function main() { const balanceETHBefore = await celoAlfajoresProvider.getBalance(EOAceloAlfajores.address); // Build the final payload to be passed from the imaginary Timelock - const sendPayloadSelector = "0x8fecdd02"; + const sendPayloadSelector = "0x4b5ca6f4"; const timelockPayload = await wormholeRelayer.interface.encodeFunctionData(sendPayloadSelector, [targetChain, - wormholeMessengerAddress, data, 0, minGasLimit]); + wormholeMessengerAddress, data, 0, minGasLimit, targetChain, wormholeMessengerAddress]); // Send the message to celoAlfajores receiver tx = await mockTimelock.connect(EOAsepolia).execute(timelockPayload, { value: transferCost.nativePriceQuote }); diff --git a/scripts/deployment/bridges/wormhole/test/messenger_sepolia_polygon_mumbai_governor.js b/scripts/deployment/bridges/wormhole/test/messenger_sepolia_polygon_mumbai_governor.js index 33288a3..c94a5a5 100644 --- a/scripts/deployment/bridges/wormhole/test/messenger_sepolia_polygon_mumbai_governor.js +++ b/scripts/deployment/bridges/wormhole/test/messenger_sepolia_polygon_mumbai_governor.js @@ -102,9 +102,9 @@ async function main() { const balanceETHBefore = await polygonMumbaiProvider.getBalance(EOApolygonMumbai.address); // Build the final payload to be passed from the imaginary Timelock - const sendPayloadSelector = "0x8fecdd02"; + const sendPayloadSelector = "0x4b5ca6f4"; const timelockPayload = await wormholeRelayer.interface.encodeFunctionData(sendPayloadSelector, [targetChain, - wormholeMessengerAddress, data, 0, minGasLimit]); + wormholeMessengerAddress, data, 0, minGasLimit, targetChain, wormholeMessengerAddress]); // Send the message to polygonMumbai receiver tx = await mockTimelock.connect(EOAsepolia).execute(timelockPayload, { value: transferCost.nativePriceQuote });