Skip to content

Commit

Permalink
update mock node README (#6930)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
  • Loading branch information
mzhangmzz and matklad authored Jun 1, 2022
1 parent 0775622 commit fe095f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/mock_node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ Once you have the source dir already set up, you can run the command without `--
```console
$ cargo r -r -p mock-node -- ~/.near ~/mock_node_home_dir --target-height 60926000
```
The binary will not modify the client dir and the client will start from the chain head stored in the
client dir, which is height 60925900 in this case because that was the position of the chain head
in the client dir storage.
Without `--starting_height`, the binary will not modify the client home dir before starting the mock node. Therefore,
the mock node will start from the chain head stored in the client dir.

0 comments on commit fe095f4

Please sign in to comment.