Skip to content

Commit

Permalink
Merge pull request #6160 from jiangmencity/main
Browse files Browse the repository at this point in the history
chore: fix some typos in comment
  • Loading branch information
alcuadrado authored Jan 23, 2025
2 parents b09108b + ceedd72 commit fdcd080
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/hardhat-core/src/builtin-tasks/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ subtask(TASK_COMPILE_SOLIDITY_READ_FILE)
* DEPRECATED: This subtask is deprecated and will be removed in the future.
*
* This task transform the string literal in an import directive.
* By default it does nothing, but it can be overriden by plugins.
* By default it does nothing, but it can be overridden by plugins.
*/
subtask(TASK_COMPILE_TRANSFORM_IMPORT_NAME)
.addParam("importName", undefined, undefined, types.string)
Expand Down Expand Up @@ -254,7 +254,7 @@ subtask(TASK_COMPILE_SOLIDITY_GET_DEPENDENCY_GRAPH)
* returned instead.
*
* This is the right task to override to change the compiler configuration.
* For example, if you want to change the compiler settings when targetting
* For example, if you want to change the compiler settings when targeting
* goerli, you could do something like this:
*
* const compilationJob = await runSuper();
Expand Down Expand Up @@ -704,7 +704,7 @@ subtask(TASK_COMPILE_SOLIDITY_RUN_SOLC)
* solc binary or, if that's not possible, using solcjs. Returns the generated
* output.
*
* This task can be overriden to change how solc is obtained or used.
* This task can be overridden to change how solc is obtained or used.
*/
subtask(TASK_COMPILE_SOLIDITY_COMPILE_SOLC)
.addParam("input", undefined, undefined, types.any)
Expand Down Expand Up @@ -1062,7 +1062,7 @@ subtask(TASK_COMPILE_SOLIDITY_COMPILE_JOB)
* Receives a list of CompilationJobsFailure and throws an error if it's not
* empty.
*
* This task could be overriden to avoid interrupting the compilation if
* This task could be overridden to avoid interrupting the compilation if
* there's some part of the project that can't be compiled.
*/
subtask(TASK_COMPILE_SOLIDITY_HANDLE_COMPILATION_JOBS_FAILURES)
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-core/src/builtin-tasks/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ subtask(TASK_NODE_SERVER_CREATED)
provider: EthereumProvider;
server: JsonRpcServer;
}) => {
// this task is meant to be overriden by plugin writers
// this task is meant to be overridden by plugin writers
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class EdrProviderWrapper
? BigInt(Math.floor(config.initialDate.getTime() / 1000))
: undefined;

// To accomodate construction ordering, we need an adapter to forward events
// To accommodate construction ordering, we need an adapter to forward events
// from the EdrProvider callback to the wrapper's listener
const eventAdapter = new EdrProviderEventAdapter();

Expand Down

0 comments on commit fdcd080

Please sign in to comment.