Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ Not Relevant
<!--
Not relevant
* graph-chain-ethereum: Avoid adapters with errors by @mangas in https://github.com/graphprotocol/graph-node/pull/4468
* Limit stack depth of asc_get by @leoyvens in https://gitub.com/graphprotocol/graph-node/pull/4576
* core: Log how many entries the cache had at each block by @lutter in https://ithub.com/graphprotocol/graph-node/pull/4541
* Limit stack depth of asc_get by @leoyvens in https://github.com/graphprotocol/graph-node/pull/4576
* core: Log how many entries the cache had at each block by @lutter in https://github.com/graphprotocol/graph-node/pull/4541
* store: Remove ability to recount entities by @lutter in https://github.com/graphprotocol/graph-node/pull/4406
-->

Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
16 changes: 8 additions & 8 deletions chain/ethereum/proto/ethereum.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand All @@ -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[]
//
Expand Down Expand Up @@ -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
//
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -505,4 +505,4 @@ message GasChange {
}

uint64 ordinal = 4;
}
}
4 changes: 2 additions & 2 deletions node/src/manager/commands/drop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Comment on lines +12 to +13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Asks for confirmation before removing any data. This is a convenience
/// function that to call a series of other graphman commands.
/// Asks for confirmation before removing any data. This is a convenience
/// function that calls a series of other graphman commands.

Might as well fix some grammar too while we’re at it. 😉

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shoot .. I didn't see this until after I merged. Sorry about that.

pub async fn run(
primary_pool: ConnectionPool,
subgraph_store: Arc<SubgraphStore>,
Expand Down
Loading