Skip to content

Commit

Permalink
Update STATE-COMPATIBILITY.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-coderay authored Nov 27, 2024
1 parent fb598fc commit 1dc6403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions STATE-COMPATIBILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ To avoid these problems, let's now examine how these hashes work.

**Note:** The following explanation is simplified for clarity.

An app hash is a hash of hashes of every store's Merkle root that is returned by ABCI's `Commit()` from Cosmos-SDK to CometBFT.
An app hash is a hash of hashes of every store's Merkel root that is returned by ABCI's `Commit()` from Cosmos-SDK to CometBFT.
Cosmos-SDK [takes an app hash of the application state](https://github.com/cosmos/cosmos-sdk/blob/v0.47.6/store/rootmulti/store.go#L468), and propagates it to CometBFT which, in turn, compares it to the app hash of the rest of the network.
Then, CometBFT ensures that the app hash of the local node matches the app hash of the network.

Expand Down Expand Up @@ -209,4 +209,4 @@ to predict when the multi-threaded state can be updated.

### Hardware Errors

This is out of the developer's control but is mentioned for completeness.
This is out of the developer's control but is mentioned for completeness.

0 comments on commit 1dc6403

Please sign in to comment.