From 33532bfe41dfb9ac153c99ae549c5b812479c492 Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Wed, 5 Mar 2025 10:03:39 +0100 Subject: [PATCH] all: Address various typos --- NEWS.md | 6 +++--- README.md | 2 +- chain/ethereum/proto/ethereum.proto | 16 ++++++++-------- node/src/manager/commands/drop.rs | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/NEWS.md b/NEWS.md index a8843422fde..719d2f12e49 100644 --- a/NEWS.md +++ b/NEWS.md @@ -446,8 +446,8 @@ Not Relevant @@ -1155,7 +1155,7 @@ storage](./docs/config.md) and spread subgraph deployments, and the load coming from indexing and querying them across multiple independent Postgres databases. -**This feature is considered experimenatal. We encourage users to try this +**This feature is considered experimental. We encourage users to try this out in a test environment, but do not recommend it yet for production use** In particular, the details of how sharding is configured may change in backwards-incompatible ways in the future. diff --git a/README.md b/README.md index ff31fdad758..b856653fd95 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ To build and run this project you need to have the following installed on your s - Note that `rustfmt`, which is part of the default Rust installation, is a build-time requirement. - PostgreSQL – [PostgreSQL Downloads](https://www.postgresql.org/download/) - IPFS – [Installing IPFS](https://docs.ipfs.io/install/) -- Profobuf Compiler - [Installing Protobuf](https://grpc.io/docs/protoc-installation/) +- Protobuf Compiler - [Installing Protobuf](https://grpc.io/docs/protoc-installation/) For Ethereum network data, you can either run your own Ethereum node or use an Ethereum node provider of your choice. diff --git a/chain/ethereum/proto/ethereum.proto b/chain/ethereum/proto/ethereum.proto index 3c9f7378c7d..42adbd0ffa6 100644 --- a/chain/ethereum/proto/ethereum.proto +++ b/chain/ethereum/proto/ethereum.proto @@ -13,7 +13,7 @@ message Block { uint64 size = 4; BlockHeader header = 5; - // Uncles represents block produced with a valid solution but were not actually choosen + // Uncles represents block produced with a valid solution but were not actually chosen // as the canonical block for the given height so they are mostly "forked" blocks. // // If the Block has been produced using the Proof of Stake consensus algorithm, this @@ -285,7 +285,7 @@ message Log { bytes data = 3; // Index is the index of the log relative to the transaction. This index - // is always populated regardless of the state revertion of the the call + // is always populated regardless of the state reversion of the call // that emitted this log. uint32 index = 4; @@ -294,7 +294,7 @@ message Log { // An **important** notice is that this field will be 0 when the call // that emitted the log has been reverted by the chain. // - // Currently, there is two locations where a Log can be obtained: + // Currently, there are two locations where a Log can be obtained: // - block.transaction_traces[].receipt.logs[] // - block.transaction_traces[].calls[].logs[] // @@ -341,7 +341,7 @@ message Call { reserved 29; // In Ethereum, a call can be either: - // - Successfull, execution passes without any problem encountered + // - Successful, execution passes without any problem encountered // - Failed, execution failed, and remaining gas should be consumed // - Reverted, execution failed, but only gas consumed so far is billed, remaining gas is refunded // @@ -355,7 +355,7 @@ message Call { // see above for details about those flags. string failure_reason = 11; - // This field represents wheter or not the state changes performed + // This field represents whether or not the state changes performed // by this call were correctly recorded by the blockchain. // // On Ethereum, a transaction can record state changes even if some @@ -412,7 +412,7 @@ message BalanceChange { BigInt new_value = 3; Reason reason = 4; - // Obtain all balanche change reasons under deep mind repository: + // Obtain all balance change reasons under deep mind repository: // // ```shell // ack -ho 'BalanceChangeReason\(".*"\)' | grep -Eo '".*"' | sort | uniq @@ -466,7 +466,7 @@ message CodeChange { // The gas is computed per actual op codes. Doing them completely might prove // overwhelming in most cases. // -// Hence, we only index some of them, those that are costy like all the calls +// Hence, we only index some of them, those that are costly like all the calls // one, log events, return data, etc. message GasChange { uint64 old_value = 1; @@ -505,4 +505,4 @@ message GasChange { } uint64 ordinal = 4; -} \ No newline at end of file +} diff --git a/node/src/manager/commands/drop.rs b/node/src/manager/commands/drop.rs index 30d724575c5..2c86e88e23a 100644 --- a/node/src/manager/commands/drop.rs +++ b/node/src/manager/commands/drop.rs @@ -9,8 +9,8 @@ use std::sync::Arc; /// Finds, unassigns, record and remove matching deployments. /// -/// Asks for confirmation before removing any data. -/// This is a convenience fuction that to call a series of other graphman commands. +/// Asks for confirmation before removing any data. This is a convenience +/// function that to call a series of other graphman commands. pub async fn run( primary_pool: ConnectionPool, subgraph_store: Arc,