From fec0c9eef519fba30a12393301e813e4517dc557 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:34:47 +0800 Subject: [PATCH] docs: fix typos (#9173) --- cmd/integration/Readme.md | 2 +- cmd/snapshots/README.md | 4 ++-- docs/programmers_guide/witness_format.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/integration/Readme.md b/cmd/integration/Readme.md index 389248b1e..5d97a6936 100644 --- a/cmd/integration/Readme.md +++ b/cmd/integration/Readme.md @@ -88,7 +88,7 @@ make all 4. Build integration: cd erigon; make integration 5. Run: ./build/bin/integration mdbx_to_mdbx --chaindata /existing/erigon/path/chaindata/ --chaindata.to /path/to/copy-to/chaindata/ 6. cp -R /existing/erigon/path/snapshots /path/to/copy-to/snapshots -7. start erigon in new datadir as usualy +7. start erigon in new datadir as usually ``` ## Clear bad blocks markers table in the case some block was marked as invalid after some error diff --git a/cmd/snapshots/README.md b/cmd/snapshots/README.md index 110f2d20a..06544214d 100644 --- a/cmd/snapshots/README.md +++ b/cmd/snapshots/README.md @@ -16,7 +16,7 @@ Snapshots supports the following sub commands: ## cmp - compare snapshots -This command takes the follwoing form: +This command takes the following form: ```shell snapshots cmp @@ -32,7 +32,7 @@ It is also possible to set the `--types` flag to limit the type of segment file This command can be used to copy segment files from one location to another. -This command takes the follwoing form: +This command takes the following form: ```shell snapshots copy diff --git a/docs/programmers_guide/witness_format.md b/docs/programmers_guide/witness_format.md index 8454e808d..fe0909f68 100644 --- a/docs/programmers_guide/witness_format.md +++ b/docs/programmers_guide/witness_format.md @@ -91,6 +91,6 @@ encoded as `[ 0x05 CBOR(key|[]byte)... flags /CBOR(nonce).../ /CBOR(balance).../ *flags* is a bitset encoded in a single bit (see [`witness_operators_test.go`](../../trie/witness_operators_test.go) to see flags in action). * bit 0 defines if **code** is present; if set to 1 it assumes that either `OpCode` or `OpHash` already put something on the stack; -* bit 1 defines if **storage** is present; if set to 1, the operators preceeding `OpAccountLeaf` will reconstruct a storage trie; +* bit 1 defines if **storage** is present; if set to 1, the operators preceding `OpAccountLeaf` will reconstruct a storage trie; * bit 2 defines if **nonce** is not 0; if set to 0, *nonce* field is not encoded; * bit 3 defines if **balance** is not 0; if set to 0, *balance* field is not encoded;