From cafff9de6e5addb6d4d6965d3d303714998a8d65 Mon Sep 17 00:00:00 2001 From: yudrywet Date: Sun, 14 Apr 2024 20:33:08 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: yudrywet --- tasks/omniCounterUseCL.js | 6 +++--- tasks/omniCounterUseLZ.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/omniCounterUseCL.js b/tasks/omniCounterUseCL.js index ba1f932..c04ac2d 100644 --- a/tasks/omniCounterUseCL.js +++ b/tasks/omniCounterUseCL.js @@ -23,11 +23,11 @@ module.exports = async function (taskArgs, hre) { const localAddr = (await hre.deployments.get("OmniCounter")).address const omniCounter = await OmniCounter.attach(localAddr) const dstChainId = getEndpointIdByName(taskArgs.targetNetwork) - console.log(`omniCounter.adderss: ${omniCounter.address}`) + console.log(`omniCounter.address: ${omniCounter.address}`) - //---- get the current set oracle, ie: dont overwite it if its already set --- + //---- get the current set oracle, ie: don't overwrite it if its already set --- let tx - //---- get the current set oracle, ie: dont overwite it if its already set --- + //---- get the current set oracle, ie: don't overwrite it if its already set --- let sendVersion = await omniCounter.getSendVersion() let receiveVersion = await omniCounter.getReceiveVersion() console.log(`sendVersion: ${sendVersion}, receiveVersion: ${receiveVersion}`) diff --git a/tasks/omniCounterUseLZ.js b/tasks/omniCounterUseLZ.js index 1856fca..a1907df 100644 --- a/tasks/omniCounterUseLZ.js +++ b/tasks/omniCounterUseLZ.js @@ -14,10 +14,10 @@ module.exports = async function (taskArgs, hre) { const localAddr = (await hre.deployments.get("OmniCounter")).address const omniCounter = await OmniCounter.attach(localAddr) const dstChainId = getEndpointIdByName(taskArgs.targetNetwork) - console.log(`omniCounter.adderss: ${omniCounter.address}`) + console.log(`omniCounter.address: ${omniCounter.address}`) // console.log(`getConfig for targetNetwork: ${dstChainId}`) let tx - //---- get the current set oracle, ie: dont overwite it if its already set --- + //---- get the current set oracle, ie: don't overwrite it if its already set --- let sendVersion = await omniCounter.getSendVersion() let receiveVersion = await omniCounter.getReceiveVersion() console.log(`sendVersion: ${sendVersion}, receiveVersion: ${receiveVersion}`)