Skip to content

Commit

Permalink
fix: some fixes in state-sync docs
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Sep 29, 2023
1 parent b03e0f1 commit 1b8d444
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ wget -qO- https://github.com/archway-network/networks/raw/main/archway-1/genesis
To install the required version of `ksync`, run the following command:

```bash
go install github.com/KYVENetwork/ksync/cmd/[email protected].0
go install github.com/KYVENetwork/ksync/cmd/[email protected].1
```

Run `ksync version` to verify the installation.
Expand All @@ -52,7 +52,7 @@ as follows:
```bash
git clone [email protected]:KYVENetwork/ksync.git
cd ksync
git checkout tags/v1.0.0-beta.0 -b v1.0.0-beta.0
git checkout tags/v1.0.0-beta.1 -b v1.0.0-beta.1
make ksync
```

Expand All @@ -72,7 +72,7 @@ once created they are exposed over a REST API server which the protocol node can
To start with default settings serve the snapshots with:

```bash
ksync serve-snapshots --binary="/path/to/archwayd" --home="/path/to/.archway" --snapshot-pool-id=4 --block-pool-id=2
ksync serve-snapshots --binary="/path/to/archwayd" --home="/path/to/.archway" --chain-id=kaon-1 --snapshot-pool-id=4 --block-pool-id=2
```

:::caution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ For the last option you can do a one time transfer so that the valaccount has so

Once you have joined the pool the node should continue in about ~10 seconds. After that you are successfully participating in a pool.

If you want to connect to a different endpoint other than the default _http://localhost:7878_, you can overwrite this endpoint with the env variable: KYVEJS_TENDERMINT_SSYNC_API=your-custom-endpoint.

Check failure on line 67 in docs/validators/protocol_nodes/pools/archway_state-sync/run_protocol_node.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/validators/protocol_nodes/pools/archway_state-sync/run_protocol_node.md#L67

[Vale.Spelling] Did you really mean 'env'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'env'?", "location": {"path": "docs/validators/protocol_nodes/pools/archway_state-sync/run_protocol_node.md", "range": {"start": {"line": 67, "column": 137}}}, "severity": "ERROR"}

## Start node with systemd

If you want to start the nodes as a background process you can use `systemd`.
Expand Down

1 comment on commit 1b8d444

@vercel
Copy link

@vercel vercel bot commented on 1b8d444 Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.