Skip to content

Commit 76f7b0d

Browse files
authored
fix typos
1 parent e061dd9 commit 76f7b0d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

chain/ethereum/proto/ethereum.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ message Block {
1313
uint64 size = 4;
1414
BlockHeader header = 5;
1515

16-
// Uncles represents block produced with a valid solution but were not actually choosen
16+
// Uncles represents block produced with a valid solution but were not actually chosen
1717
// as the canonical block for the given height so they are mostly "forked" blocks.
1818
//
1919
// If the Block has been produced using the Proof of Stake consensus algorithm, this
@@ -285,7 +285,7 @@ message Log {
285285
bytes data = 3;
286286

287287
// Index is the index of the log relative to the transaction. This index
288-
// is always populated regardless of the state revertion of the the call
288+
// is always populated regardless of the state reversion of the call
289289
// that emitted this log.
290290
uint32 index = 4;
291291

@@ -294,7 +294,7 @@ message Log {
294294
// An **important** notice is that this field will be 0 when the call
295295
// that emitted the log has been reverted by the chain.
296296
//
297-
// Currently, there is two locations where a Log can be obtained:
297+
// Currently, there are two locations where a Log can be obtained:
298298
// - block.transaction_traces[].receipt.logs[]
299299
// - block.transaction_traces[].calls[].logs[]
300300
//
@@ -341,7 +341,7 @@ message Call {
341341
reserved 29;
342342

343343
// In Ethereum, a call can be either:
344-
// - Successfull, execution passes without any problem encountered
344+
// - Successful, execution passes without any problem encountered
345345
// - Failed, execution failed, and remaining gas should be consumed
346346
// - Reverted, execution failed, but only gas consumed so far is billed, remaining gas is refunded
347347
//
@@ -355,7 +355,7 @@ message Call {
355355
// see above for details about those flags.
356356
string failure_reason = 11;
357357

358-
// This field represents wheter or not the state changes performed
358+
// This field represents whether or not the state changes performed
359359
// by this call were correctly recorded by the blockchain.
360360
//
361361
// On Ethereum, a transaction can record state changes even if some
@@ -412,7 +412,7 @@ message BalanceChange {
412412
BigInt new_value = 3;
413413
Reason reason = 4;
414414

415-
// Obtain all balanche change reasons under deep mind repository:
415+
// Obtain all balance change reasons under deep mind repository:
416416
//
417417
// ```shell
418418
// ack -ho 'BalanceChangeReason\(".*"\)' | grep -Eo '".*"' | sort | uniq
@@ -466,7 +466,7 @@ message CodeChange {
466466
// The gas is computed per actual op codes. Doing them completely might prove
467467
// overwhelming in most cases.
468468
//
469-
// Hence, we only index some of them, those that are costy like all the calls
469+
// Hence, we only index some of them, those that are costly like all the calls
470470
// one, log events, return data, etc.
471471
message GasChange {
472472
uint64 old_value = 1;
@@ -505,4 +505,4 @@ message GasChange {
505505
}
506506

507507
uint64 ordinal = 4;
508-
}
508+
}

0 commit comments

Comments
 (0)