Skip to content

Commit

Permalink
Fix typos (polkadot-evm#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDaisy authored Oct 18, 2023
1 parent 849e712 commit 9d41a61
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/rpc-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion client/rpc-core/src/types/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct Transaction {
pub from: H160,
/// Recipient
pub to: Option<H160>,
/// Transfered value
/// Transferred value
pub value: U256,
/// Gas Price
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down
2 changes: 1 addition & 1 deletion client/rpc-core/src/types/txpool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub struct TxPoolTransaction {
/// Recipient
#[serde(serialize_with = "to_serialize")]
pub to: Option<H160>,
/// Transfered value
/// Transferred value
pub value: U256,
/// Gas Price
pub gas_price: U256,
Expand Down
2 changes: 1 addition & 1 deletion client/rpc/src/eth/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions ts-tests/tests/test-log-filtering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9d41a61

Please sign in to comment.