From 37cb5a2ed6bda4b9abd8084c44987d0cebd77de8 Mon Sep 17 00:00:00 2001 From: zoupingshi Date: Thu, 13 Feb 2025 03:20:57 +0800 Subject: [PATCH] chore: fix some typos in comment (#15503) Signed-off-by: zoupingshi Co-authored-by: Julien Genestoux --- governance/helpers/crossChain.js | 2 +- governance/helpers/multisig.js | 2 +- governance/tasks/gov.js | 2 +- packages/README.md | 2 +- packages/hardhat-helpers/README.md | 2 +- subgraph/src/public-lock.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/governance/helpers/crossChain.js b/governance/helpers/crossChain.js index 5c361b4de46..738795f4a4b 100644 --- a/governance/helpers/crossChain.js +++ b/governance/helpers/crossChain.js @@ -83,7 +83,7 @@ async function simulateDelayCall({ rpcUrl, projectURL, network, moduleCall }) { // package module args const [to, value, data, operation] = moduleCall const moduleArgs = [to, value, data, operation ? 1n : 0n] - console.log(`${name} [${id}]: simulating execution on receving chain`) + console.log(`${name} [${id}]: simulating execution on receiving chain`) // ethers provider and signer const forkProvider = new ethers.JsonRpcProvider(rpcUrl) diff --git a/governance/helpers/multisig.js b/governance/helpers/multisig.js index a7742076ec3..2c62a5c9e29 100644 --- a/governance/helpers/multisig.js +++ b/governance/helpers/multisig.js @@ -237,7 +237,7 @@ const parseSafeMulticall = async ({ calls, chainId, options }) => { calldata = data } - // parse calls correcly for our multisig/dao helpers + // parse calls correctly for our multisig/dao helpers data.calldata = calldata data.contractAddress = to return { diff --git a/governance/tasks/gov.js b/governance/tasks/gov.js index 2c39d6db142..f5cce3be072 100644 --- a/governance/tasks/gov.js +++ b/governance/tasks/gov.js @@ -234,7 +234,7 @@ task('gov:quorum', 'Retrieve current quorum') }) task('gov:delegate', 'Delagate voting power') - .addParam('delegate', 'The delegate receving the voting power') + .addParam('delegate', 'The delegate receiving the voting power') .addParam('govAddress', 'The address of the Governor contract') .addOptionalParam('holder', 'The holder address') .setAction(async ({ delegate, holder, govAddress }) => { diff --git a/packages/README.md b/packages/README.md index bc5208bc26f..c062ebdc1f0 100644 --- a/packages/README.md +++ b/packages/README.md @@ -1,6 +1,6 @@ # Packages -Packages in this folder are shared accross multiple apps in this (mono)repo. +Packages in this folder are shared across multiple apps in this (mono)repo. ## Howto diff --git a/packages/hardhat-helpers/README.md b/packages/hardhat-helpers/README.md index 8154debc537..de13dbeab56 100644 --- a/packages/hardhat-helpers/README.md +++ b/packages/hardhat-helpers/README.md @@ -1,6 +1,6 @@ # Hardhat helpers -This package contains a bunch of convenience helpers that can be used accross various hardhat project to add various tasks, parse networks file, verification APis, etc. +This package contains a bunch of convenience helpers that can be used across various hardhat project to add various tasks, parse networks file, verification APis, etc. ### Usage diff --git a/subgraph/src/public-lock.ts b/subgraph/src/public-lock.ts index 14928a8905e..672c58646b3 100644 --- a/subgraph/src/public-lock.ts +++ b/subgraph/src/public-lock.ts @@ -256,7 +256,7 @@ export function handleKeyExtended(event: KeyExtendedEvent): void { } } -// from < v10 (before using tokenId accross the board) +// from < v10 (before using tokenId across the board) export function handleRenewKeyPurchase(event: RenewKeyPurchaseEvent): void { const lockContract = PublicLock.bind(event.address)