Skip to content

Commit

Permalink
Fix GitHub Markdown compatibility for notes
Browse files Browse the repository at this point in the history
This PR replaces unsupported :::note syntax with GitHub-compatible Markdown.
  • Loading branch information
cyte-zhang authored Jan 19, 2025
1 parent f9bb180 commit f0b3769
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/learn/beginner/00-app-anatomy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ sidebar_position: 1

# Anatomy of a Cosmos SDK Application

:::note Synopsis
This document describes the core parts of a Cosmos SDK application, represented throughout the document as a placeholder application named `app`.
:::
> **Synopsis**
>
> This document describes the core parts of a Cosmos SDK application, represented throughout the document as a placeholder application named `app`.
## Node Client

Expand Down Expand Up @@ -47,9 +47,8 @@ Once the main binary is built, the node can be started by running the [`start` c
2. Initialize the state-machine with the latest known state, extracted from the `db` stored in the `~/.app/data` folder. At this point, the state-machine is at height `appBlockHeight`.
3. Create and start a new CometBFT instance. Among other things, the node performs a handshake with its peers. It gets the latest `blockHeight` from them and replays blocks to sync to this height if it is greater than the local `appBlockHeight`. The node starts from genesis and CometBFT sends an `InitChain` message via the ABCI to the `app`, which triggers the [`InitChainer`](#initchainer).

:::note
When starting a CometBFT instance, the genesis file is the `0` height and the state within the genesis file is committed at block height `1`. When querying the state of the node, querying block height 0 will return an error.
:::
> When starting a CometBFT instance, the genesis file is the `0` height and the state within the genesis file is committed at block height `1`.
> When querying the state of the node, querying block height `0` will return an error.
## Core Application File

Expand Down

0 comments on commit f0b3769

Please sign in to comment.