Skip to content

Commit

Permalink
Reword suggestion to lower the block size
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Feb 18, 2020
1 parent 2f93e23 commit 7f77f8d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,13 @@ zksync server
```

By default block chunk size set to `50`. For testing & development purposes you
can change it to the smaller value (`18` should be enough).
can change it to the smaller value.

To do so, change the environment variable `BLOCK_SIZE_CHUNKS` value in `./etc/env/dev.env`.
**Note:** Currently it's not recommended though. Lowering the block chunk size may
break several tests, since some of them create big blocks.

If you have to change the block chunk size anyway, you should change the environment
variable `BLOCK_SIZE_CHUNKS` value in `./etc/env/dev.env`.

After that you may need to invalidate `cargo` cache by touching the files of `models`:

Expand Down

0 comments on commit 7f77f8d

Please sign in to comment.