Skip to content

Commit 8a5dc80

Browse files
authored
docs: replace more references to lotus-shed with lotus in ChainIndexer docs (#12708)
Ref: #12654
1 parent 66a83b5 commit 8a5dc80

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

documentation/en/chain-indexer-overview-for-operators.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- [Backfill](#backfill)
1818
- [Backfill Timing](#backfill-timing)
1919
- [Backfill Disk Space Requirements](#backfill-disk-space-requirements)
20-
- [`lotus index validate-backfill` CLI tool](#lotus-shed-chainindex-validate-backfill-cli-tool)
20+
- [`lotus index validate-backfill` CLI tool](#lotus-index-validate-backfill-cli-tool)
2121
- [Usage](#usage)
2222
- [Regular Checks](#regular-checks)
2323
- [Downgrade Steps](#downgrade-steps)
@@ -233,7 +233,7 @@ The command validates the chain index entries for each epoch in the specified ra
233233

234234
You can learn about how to use the tool with `lotus index validate-backfill -h`.
235235

236-
Note: If you are using a non-standard Lotus repo directory then you can run the command with `lotus-shed -repo /path/to/lotus/repo chainindex validate-backfill ...`, or by setting the `LOTUS_REPO` environment variable.
236+
Note: If you are using a non-standard Lotus repo directory then you can run the command with `lotus -repo /path/to/lotus/repo chainindex validate-backfill ...`, or by setting the `LOTUS_REPO` environment variable.
237237

238238
## Regular Checks
239239

@@ -252,8 +252,8 @@ current_date=$(date '+%Y-%m-%d %H:%M:%S')
252252
# not expect regular errors in the index.
253253
BACKFILL_OPTION=false
254254

255-
# Path to the lotus-shed binary
256-
LOTUS_SHED_PATH="/path/to/lotus-shed"
255+
# Path to the lotus binary
256+
LOTUS_BIN_PATH="/path/to/lotus"
257257

258258
# Get the current chain head epoch number
259259
start_epoch=$(lotus chain head --height)
@@ -267,7 +267,7 @@ epochs_to_validate=3000
267267
end_epoch=$((start_epoch - epochs_to_validate + 1))
268268

269269
# Run the Lotus chainindex validate-backfill command
270-
validation_output=$("$LOTUS_SHED_PATH" chainindex validate-backfill --from="$start_epoch" --to="$end_epoch" --backfill="$BACKFILL_OPTION" --quiet 2>&1)
270+
validation_output=$("$LOTUS_BIN_PATH" chainindex validate-backfill --from="$start_epoch" --to="$end_epoch" --backfill="$BACKFILL_OPTION" --quiet 2>&1)
271271

272272
# Check the exit status of the command to determine if errors occurred
273273
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)