Skip to content

Commit 9f93e2c

Browse files
authored
Merge pull request #1211 from oasisprotocol/anzoman/state-sync-updates-v25.1-config
docs/node: Update state sync config to be compatible with Oasis Core v25.1
2 parents 9f98040 + d1405de commit 9f93e2c

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs/node/run-your-node/advanced/sync-node-using-state-sync.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The State Sync is a way to **quickly bootstrap** a **full Oasis node** (either a
44
[validator node](../validator-node.mdx) or a
55
[non-validator node](../non-validator-node.mdx)) by using the
6-
[Tendermint's Light Client protocol]. It allows one to initialize a node from a
6+
[CometBFT's Light Client protocol]. It allows one to initialize a node from a
77
trusted height, its corresponding block's header and a trusted validator set
88
(given in the [genesis document](../../genesis-doc.md)). It does so by securely
99
updating the node's trusted state by requesting and verifying a minimal set of
@@ -19,7 +19,7 @@ node to the other].
1919

2020
:::caution
2121

22-
Tendermint's Light Client protocol requires at least 1 full node to be correct
22+
CometBFT's Light Client protocol requires at least 1 full node to be correct
2323
to be able to [detect and submit evidence for a light client attack].
2424

2525
:::
@@ -38,8 +38,11 @@ consensus:
3838
# Enable consensus state sync (i.e. CometBFT light client sync).
3939
state_sync:
4040
enabled: true
41-
trust_height: {{ trusted_height }}
42-
trust_hash: "{{ trusted_height_hash }}"
41+
# Configure trusted height & hash for the light client.
42+
light_client:
43+
trust:
44+
height: {{ trusted_height }}
45+
hash: "{{ trusted_height_hash }}"
4346

4447
... trimmed ...
4548

@@ -66,11 +69,11 @@ something like the following in your node's logs:
6669

6770
:::
6871

69-
[Tendermint's Light Client protocol]:
70-
https://docs.tendermint.com/main/tendermint-core/light-client.html
72+
[CometBFT's Light Client protocol]:
73+
https://docs.cometbft.com/main/explanation/core/light-client
7174
[copy state from one node to the other]: copy-state-from-one-node-to-the-other.md
7275
[detect and submit evidence for a light client attack]:
73-
https://docs.tendermint.com/main/tendermint-core/light-client.html#where-to-obtain-trusted-height-hash
76+
https://docs.cometbft.com/main/explanation/core/light-client#where-to-obtain-trusted-height--hash
7477
[Wiping Node State]: ../maintenance/wiping-node-state.md#state-wipe-and-keep-node-identity
7578

7679
### Obtaining Trusted Height and Hash

0 commit comments

Comments
 (0)