@@ -47,12 +47,12 @@ impl ToDigest for AuthenticStampedParcel {
4747}
4848
4949/// A message an authority sends out attest that an Authentic stamp parcel is accurate. When an edge
50- /// node gets 2f+1 of these it commmits the transactions in the parcel
50+ /// node gets 2f+1 of these it commits the transactions in the parcel
5151#[ derive( Serialize , Deserialize , Debug , Clone ) ]
5252pub struct CommitteeAttestation {
5353 /// The digest we are attesting is correct
5454 pub digest : Digest ,
55- /// We send random bytes with this messsage so it gives it a unique hash and differentiates it
55+ /// We send random bytes with this message so it gives it a unique hash and differentiates it
5656 /// from the other committee members attestation broadcasts
5757 pub node_index : NodeIndex ,
5858 pub epoch : Epoch ,
@@ -61,9 +61,9 @@ pub struct CommitteeAttestation {
6161pub struct Execution < Q : SyncQueryRunnerInterface > {
6262 /// Managing certificates generated by narwhal.
6363 executor : ExecutionEngineSocket ,
64- /// Used to signal internal consensus proccesses that it is time to reconfigure for a new epoch
64+ /// Used to signal internal consensus processes that it is time to reconfigure for a new epoch
6565 reconfigure_notify : Arc < Notify > ,
66- /// Notifier that notifies everytime a block is executed on application state
66+ /// Notifier that notifies every time a block is executed on application state
6767 new_block_notify : Arc < Notify > ,
6868 /// Used to send payloads to the edge node consensus to broadcast out to other nodes
6969 tx_narwhal_batches : mpsc:: Sender < ( AuthenticStampedParcel , bool ) > ,
@@ -127,7 +127,7 @@ impl<Q: SyncQueryRunnerInterface> Execution<Q> {
127127 }
128128
129129 // If we have the archive socket that means our node is in archive node and we should send
130- // the block and the reciept to be indexed
130+ // the block and the receipt to be indexed
131131 if let ( Some ( block) , Some ( socket) ) = ( archive_block, & self . index_socket ) {
132132 if let Err ( e) = socket
133133 . run ( IndexRequest {
@@ -189,7 +189,7 @@ impl<Q: SyncQueryRunnerInterface> ExecutionState for Execution<Q> {
189189 let epoch_changed = self . submit_batch ( batch_payload, parcel. to_digest ( ) ) . await ;
190190
191191 if let Err ( e) = self . tx_narwhal_batches . send ( ( parcel, epoch_changed) ) . await {
192- // This shouldnt ever happen. But if it does there is no critical tasks
192+ // This shouldn't ever happen. But if it does there is no critical tasks
193193 // happening on the other end of this that would require a
194194 // panic
195195 error ! ( "Narwhal failed to send batch payload to edge consensus: {e:?}" ) ;
0 commit comments