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}`)