Skip to content

Commit

Permalink
fix: recompress_storage.py (#11096)
Browse files Browse the repository at this point in the history
It was broken after #10961 because format of command changed. Fixing the
format.
Note that it is not a complete solution because of #8741, but the issue
may occur only if charged costs are complicated, which is unlikely the
case for the test.

Nayduck https://nayduck.nearone.org/#/run/50

Co-authored-by: Longarithm <the.aleksandr.logunov@gmail.com>
  • Loading branch information
Longarithm and Looogarithm authored Apr 18, 2024
1 parent f2eb163 commit fc55791
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/practices/workflows/io_trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cargo build --release -p neard --features=io_trace
target/release/neard \
--record-io-trace=75220100-75220101.s0.io_trace \
view-state apply-range --start-index 75220100 --end-index 75220101 \
--sequential --shard-id 0
--shard-id 0 sequential
```

```bash
Expand Down
1 change: 1 addition & 0 deletions pytest/tests/sanity/recompress_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def do_test_recompress_storage(self, *, archive: bool) -> None:
'apply-range',
'--start-index=0',
'--verbose-output',
'sequential',
)

# Restart all nodes with the new database
Expand Down
2 changes: 1 addition & 1 deletion runtime/runtime-params-estimator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ do
target/release/neard \
--record-io-trace=75220100-75220101.s${shard}.io_trace view-state \
apply-range --start-index 75220100 --end-index 75220101 \
--sequential --shard-id ${shard}
--shard-id ${shard} sequential
done
```
Expand Down

0 comments on commit fc55791

Please sign in to comment.