Skip to content

Commit

Permalink
Merge pull request #2726 from joke123321/chore/typos
Browse files Browse the repository at this point in the history
chore: fix typos
  • Loading branch information
nazar-pc authored Apr 28, 2024
2 parents bf9a627 + 79b7889 commit 4821618
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion domains/pallets/executive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ where
});

// Note the storage root before finalizing the block so that the block imported during the
// syncing processs produces the same storage root with the one processed based on
// syncing process produces the same storage root with the one processed based on
// the consensus block.
Pallet::<ExecutiveConfig>::push_root(Self::storage_root());

Expand Down
4 changes: 2 additions & 2 deletions domains/pallets/messenger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -855,13 +855,13 @@ mod pallet {
MessageWeightTag::EndpointRequest(endpoint) => {
T::get_endpoint_handler(endpoint)
.map(|endpoint_handler| endpoint_handler.message_weight())
// If there is no endpoint handler the request won't be handled thus reture zero weight
// If there is no endpoint handler the request won't be handled thus return zero weight
.unwrap_or(Weight::zero())
}
MessageWeightTag::EndpointResponse(endpoint) => {
T::get_endpoint_handler(endpoint)
.map(|endpoint_handler| endpoint_handler.message_response_weight())
// If there is no endpoint handler the request won't be handled thus reture zero weight
// If there is no endpoint handler the request won't be handled thus return zero weight
.unwrap_or(Weight::zero())
}
MessageWeightTag::None => Weight::zero(),
Expand Down

0 comments on commit 4821618

Please sign in to comment.