From 476a7f729ab1cd00eee3b8fd5a3744bf8a3aaef7 Mon Sep 17 00:00:00 2001 From: pengqiseven Date: Sat, 9 Mar 2024 21:24:57 +0800 Subject: [PATCH] Fix some comments Signed-off-by: pengqiseven --- .../guides/web3_upgrade_guide/1.x/contracts_migration_guide.md | 2 +- packages/web3-eth/test/e2e/e2e_utils.ts | 2 +- packages/web3-types/src/eth_types.ts | 2 +- packages/web3/test/e2e/e2e_utils.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/guides/web3_upgrade_guide/1.x/contracts_migration_guide.md b/docs/docs/guides/web3_upgrade_guide/1.x/contracts_migration_guide.md index c78af41704d..7df5a06d9bd 100644 --- a/docs/docs/guides/web3_upgrade_guide/1.x/contracts_migration_guide.md +++ b/docs/docs/guides/web3_upgrade_guide/1.x/contracts_migration_guide.md @@ -9,7 +9,7 @@ sidebar_label: web3.eth.Contract ### Receipt Status -The `receipt.status` will now be be an `unsigned integer` instead of `boolean` value to comply with the specification. +The `receipt.status` will now be an `unsigned integer` instead of `boolean` value to comply with the specification. ```ts // in 1.x diff --git a/packages/web3-eth/test/e2e/e2e_utils.ts b/packages/web3-eth/test/e2e/e2e_utils.ts index 80fd40196c2..ff9717a9370 100644 --- a/packages/web3-eth/test/e2e/e2e_utils.ts +++ b/packages/web3-eth/test/e2e/e2e_utils.ts @@ -16,7 +16,7 @@ along with web3.js. If not, see . */ /** - * @NOTE This Util method is kept seperate from shared system_test_utils.ts file because + * @NOTE This Util method is kept separate from shared system_test_utils.ts file because * of it's import of .secrets.json. For this method to exist in shared system_test_utils.ts * file, the import path would be ../.secrets.json which doesn't resolve when the file is * copied over to each package's test directory. Because web3 package is the only package diff --git a/packages/web3-types/src/eth_types.ts b/packages/web3-types/src/eth_types.ts index 66ede2c7008..cae32515332 100644 --- a/packages/web3-types/src/eth_types.ts +++ b/packages/web3-types/src/eth_types.ts @@ -548,7 +548,7 @@ export interface FeeData { readonly gasPrice?: Numbers; /** - * The baseFeePerGas returned from the the last available block. + * The baseFeePerGas returned from the last available block. * * If EIP-1559 is not supported, this will be `undefined` * diff --git a/packages/web3/test/e2e/e2e_utils.ts b/packages/web3/test/e2e/e2e_utils.ts index cf7db8b66ec..91165ddd899 100644 --- a/packages/web3/test/e2e/e2e_utils.ts +++ b/packages/web3/test/e2e/e2e_utils.ts @@ -16,7 +16,7 @@ along with web3.js. If not, see . */ /** - * @NOTE This Util method is kept seperate from shared system_test_utils.ts file because + * @NOTE This Util method is kept separate from shared system_test_utils.ts file because * of it's import of .secrets.json. For this method to exist in shared system_test_utils.ts * file, the import path would be ../.secrets.json which doesn't resolve when the file is * copied over to each package's test directory. Because web3 package is the only package