Skip to content

Commit

Permalink
chore: linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Apr 9, 2024
1 parent 4d7672e commit 64ae085
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ async function main() {
// Home Mediator to change the foreign governor address
const rawPayload = homeMediator.interface.encodeFunctionData("changeForeignGovernor", [EOAchiado.address]);
// Pack the second part of data
target = homeMediatorAddress;
value = 0;
const target = homeMediatorAddress;
const value = 0;
const payload = ethers.utils.arrayify(rawPayload);
data = ethers.utils.solidityPack(
const data = ethers.utils.solidityPack(
["address", "uint96", "uint32", "bytes"],
[target, value, payload.length, payload]
);
Expand All @@ -67,7 +67,7 @@ async function main() {
mediatorPayload, requestGasLimit]);

// Send the message to chiado receiver
tx = await mockTimelock.connect(EOAgoerli).execute(timelockPayload);
const tx = await mockTimelock.connect(EOAgoerli).execute(timelockPayload);
console.log("Timelock data execution hash", tx.hash);
await tx.wait();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function main() {
const transferCost = await wormholeRelayer["quoteEVMDeliveryPrice(uint16,uint256,uint256)"](targetChain, 0, minGasLimit);

// Send the message to optimisticSepolia receiver
tx = await wormholeMessenger.connect(EOAoptimisticSepolia).sendMessage({ value: transferCost.nativePriceQuote });
const tx = await wormholeMessenger.connect(EOAoptimisticSepolia).sendMessage({ value: transferCost.nativePriceQuote });
console.log("Execution hash", tx.hash);
await tx.wait();
// https://wormholescan.io/#/tx/0xef934da740738881b3069373602a64148944e15ae3b5da2c2630f85886ae6453?network=TESTNET
Expand Down

0 comments on commit 64ae085

Please sign in to comment.