diff --git a/client/rpc-core/CHANGELOG.md b/client/rpc-core/CHANGELOG.md index d6dc0db8e0..d600802f8f 100644 --- a/client/rpc-core/CHANGELOG.md +++ b/client/rpc-core/CHANGELOG.md @@ -1,5 +1,5 @@ # Changelog for `fc-rpc-core` ## Unreleased -- Add `FilteredParams::address_in_bloom()` and `FilteredParams::topics_in_bloom()` functions to check the possible existance of Filter addresses or topics in a block. +- Add `FilteredParams::address_in_bloom()` and `FilteredParams::topics_in_bloom()` functions to check the possible existence of Filter addresses or topics in a block. - Removed `PendingTransaction` and `PendingTransactions` types. diff --git a/client/rpc-core/src/types/transaction.rs b/client/rpc-core/src/types/transaction.rs index 6306df69e0..0ba042d4f5 100644 --- a/client/rpc-core/src/types/transaction.rs +++ b/client/rpc-core/src/types/transaction.rs @@ -40,7 +40,7 @@ pub struct Transaction { pub from: H160, /// Recipient pub to: Option, - /// Transfered value + /// Transferred value pub value: U256, /// Gas Price #[serde(skip_serializing_if = "Option::is_none")] diff --git a/client/rpc-core/src/types/txpool.rs b/client/rpc-core/src/types/txpool.rs index 5fd9bcb31a..7968994407 100644 --- a/client/rpc-core/src/types/txpool.rs +++ b/client/rpc-core/src/types/txpool.rs @@ -96,7 +96,7 @@ pub struct TxPoolTransaction { /// Recipient #[serde(serialize_with = "to_serialize")] pub to: Option, - /// Transfered value + /// Transferred value pub value: U256, /// Gas Price pub gas_price: U256, diff --git a/client/rpc/src/eth/execute.rs b/client/rpc/src/eth/execute.rs index 1c1e37c737..df92f52ed2 100644 --- a/client/rpc/src/eth/execute.rs +++ b/client/rpc/src/eth/execute.rs @@ -53,7 +53,7 @@ pub const JSON_RPC_ERROR_DEFAULT: i32 = -32000; /// Can be used to estimate gas of some contracts using a different function /// in the case the normal gas estimation doesn't work. /// -/// Exemple: a precompile that tries to do a subcall but succeeds regardless of the +/// Example: a precompile that tries to do a subcall but succeeds regardless of the /// success of the subcall. The gas estimation will thus optimize the gas limit down /// to the minimum, while we want to estimate a gas limit that will allow the subcall to /// have enough gas to succeed. diff --git a/ts-tests/tests/test-log-filtering.ts b/ts-tests/tests/test-log-filtering.ts index b1bf7d95e9..a8f85edd3d 100644 --- a/ts-tests/tests/test-log-filtering.ts +++ b/ts-tests/tests/test-log-filtering.ts @@ -27,26 +27,26 @@ describeWithFrontier("Frontier RPC (Log filtering)", (context) => { function getNonMatchingCases(receipt: TransactionReceipt) { return [ - // Non-existant address. + // Non-existent address. { fromBlock: "0x0", toBlock: "latest", address: "0x0000000000000000000000000000000000000000", }, - // Non-existant topic. + // Non-existent topic. { fromBlock: "0x0", toBlock: "latest", topics: ["0x0000000000000000000000000000000000000000000000000000000000000000"], }, - // Existant address + non-existant topic. + // Existent address + non-existent topic. { fromBlock: "0x0", toBlock: "latest", address: receipt.contractAddress, topics: ["0x0000000000000000000000000000000000000000000000000000000000000000"], }, - // Non-existant address + existant topic. + // Non-existent address + existent topic. { fromBlock: "0x0", toBlock: "latest",