@@ -12,7 +12,7 @@ pub struct Block {
1212 pub size : u64 ,
1313 #[ prost( message, optional, tag = "5" ) ]
1414 pub header : :: core:: option:: Option < BlockHeader > ,
15- /// Uncles represents block produced with a valid solution but were not actually choosen
15+ /// Uncles represents block produced with a valid solution but were not actually chosen
1616 /// as the canonical block for the given height so they are mostly "forked" blocks.
1717 ///
1818 /// If the Block has been produced using the Proof of Stake consensus algorithm, this
@@ -360,7 +360,7 @@ pub struct Log {
360360 #[ prost( bytes = "vec" , tag = "3" ) ]
361361 pub data : :: prost:: alloc:: vec:: Vec < u8 > ,
362362 /// Index is the index of the log relative to the transaction. This index
363- /// is always populated regardless of the state revertion of the the call
363+ /// is always populated regardless of the state reversion of the call
364364 /// that emitted this log.
365365 #[ prost( uint32, tag = "4" ) ]
366366 pub index : u32 ,
@@ -369,7 +369,7 @@ pub struct Log {
369369 /// An **important** notice is that this field will be 0 when the call
370370 /// that emitted the log has been reverted by the chain.
371371 ///
372- /// Currently, there is two locations where a Log can be obtained:
372+ /// Currently, there are two locations where a Log can be obtained:
373373 /// - block.transaction_traces\[\].receipt.logs\[\]
374374 /// - block.transaction_traces\[\].calls\[\].logs\[\]
375375 ///
@@ -432,7 +432,7 @@ pub struct Call {
432432 #[ prost( message, repeated, tag = "28" ) ]
433433 pub gas_changes : :: prost:: alloc:: vec:: Vec < GasChange > ,
434434 /// In Ethereum, a call can be either:
435- /// - Successfull , execution passes without any problem encountered
435+ /// - Successful , execution passes without any problem encountered
436436 /// - Failed, execution failed, and remaining gas should be consumed
437437 /// - Reverted, execution failed, but only gas consumed so far is billed, remaining gas is refunded
438438 ///
@@ -447,7 +447,7 @@ pub struct Call {
447447 /// see above for details about those flags.
448448 #[ prost( string, tag = "11" ) ]
449449 pub failure_reason : :: prost:: alloc:: string:: String ,
450- /// This field represents wheter or not the state changes performed
450+ /// This field represents whether or not the state changes performed
451451 /// by this call were correctly recorded by the blockchain.
452452 ///
453453 /// On Ethereum, a transaction can record state changes even if some
@@ -507,7 +507,7 @@ pub struct BalanceChange {
507507}
508508/// Nested message and enum types in `BalanceChange`.
509509pub mod balance_change {
510- /// Obtain all balanche change reasons under deep mind repository:
510+ /// Obtain all balance change reasons under deep mind repository:
511511 ///
512512 /// ```shell
513513 /// ack -ho 'BalanceChangeReason\(".*"\)' | grep -Eo '".*"' | sort | uniq
@@ -632,7 +632,7 @@ pub struct CodeChange {
632632/// The gas is computed per actual op codes. Doing them completely might prove
633633/// overwhelming in most cases.
634634///
635- /// Hence, we only index some of them, those that are costy like all the calls
635+ /// Hence, we only index some of them, those that are costly like all the calls
636636/// one, log events, return data, etc.
637637#[ allow( clippy:: derive_partial_eq_without_eq) ]
638638#[ derive( Clone , PartialEq , :: prost:: Message ) ]
0 commit comments