Skip to content

Commit

Permalink
Fix typos in docs (rollkit#1303)
Browse files Browse the repository at this point in the history
Fix typos in docs

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Documentation:
- Corrected typographical errors in various files to improve readability
and understanding. Changes include spelling corrections in the Makefile,
block/header-sync.md, specs/lazy-adr/adr-009-state-fraud-proofs.md, and
state/block-executor.md. These changes do not impact the functionality
of the system but enhance the clarity of the documentation and code
comments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
xiaolou86 authored and Ganesha Upadhyaya committed Nov 8, 2023
1 parent 5d3170d commit 871c4c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DOCKER := $(shell which docker)
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf

# Define pkgs, run, and cover vairables for test so that we can override them in
# Define pkgs, run, and cover variables for test so that we can override them in
# the terminal more easily.
pkgs := $(shell go list ./...)
run := .
Expand Down
2 changes: 1 addition & 1 deletion block/header-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The nodes in the P2P network sync headers using the header sync service that imp

## Details

All three types of nodes (sequencer, full, and light) run the header sync service to maintain the cannonical view of the rollup chain (with respect to the P2P network).
All three types of nodes (sequencer, full, and light) run the header sync service to maintain the canonical view of the rollup chain (with respect to the P2P network).

The header sync service inherits the `ConnectionGater` from the node's P2P client which enables blocking and allowing peers as needed by specifying the `P2PConfig.BlockedPeers` and `P2PConfig.AllowedPeers`.

Expand Down
2 changes: 1 addition & 1 deletion specs/lazy-adr/adr-009-state-fraud-proofs.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ The `GenerateFraudProof` method in the Cosmos SDK app receives this list of stat
// Represents a single-round state fraudProof
message FraudProof {
// The block height during which the fraudulent state transition occured
// The block height during which the fraudulent state transition occurred
uint64 block_height = 1;
// Intermediate State Root right before the fraudulent state transition
bytes pre_state_app_hash = 2;
Expand Down

0 comments on commit 871c4c0

Please sign in to comment.