From b72614faf81a7bf17b7a858b088575f4eebcd01a Mon Sep 17 00:00:00 2001 From: suchsoon Date: Thu, 14 Mar 2024 13:52:21 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: suchsoon --- crates/edr_eth/src/access_list.rs | 2 +- packages/hardhat-core/test/internal/solidity/resolver.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/edr_eth/src/access_list.rs b/crates/edr_eth/src/access_list.rs index 38ab8e5b6f..e047d29076 100644 --- a/crates/edr_eth/src/access_list.rs +++ b/crates/edr_eth/src/access_list.rs @@ -35,7 +35,7 @@ pub struct AccessListItem { /// Accessed address pub address: Address, /// Accessed storage keys - // In JSON, we have to accept null as well for storage key, but we don't want to to change the + // In JSON, we have to accept null as well for storage key, but we don't want to change the // type to Option> as that's invalid in RLP. #[cfg_attr( feature = "serde", diff --git a/packages/hardhat-core/test/internal/solidity/resolver.ts b/packages/hardhat-core/test/internal/solidity/resolver.ts index 756499762b..0650cffa52 100644 --- a/packages/hardhat-core/test/internal/solidity/resolver.ts +++ b/packages/hardhat-core/test/internal/solidity/resolver.ts @@ -173,7 +173,7 @@ describe("Resolver", function () { ); }); - it("Should be local if its first directory exists in the project, even it it doesn't exist", async function () { + it("Should be local if its first directory exists in the project, even if it doesn't exist", async function () { await expectHardhatErrorAsync( () => resolver.resolveSourceName("contracts/non-existent.sol"), ERRORS.RESOLVER.FILE_NOT_FOUND