Skip to content

Commit

Permalink
[replay-verify] add new range
Browse files Browse the repository at this point in the history
  • Loading branch information
areshand committed Mar 27, 2024
1 parent d6bfcee commit ff545b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-run-replay-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
strategy:
fail-fast: false
matrix:
number: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] # runner number
number: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17] # runner number
steps:
- name: Echo Runner Number
run: echo "Runner is ${{ matrix.number }}"
Expand All @@ -107,7 +107,7 @@ jobs:

- name: Run replay-verify in parallel
shell: bash
run: testsuite/replay_verify.py ${{ matrix.number }} 17 # first argument is the runner number, second argument is the total number of runners
run: testsuite/replay_verify.py ${{ matrix.number }} 18 # first argument is the runner number, second argument is the total number of runners
env:
BUCKET: ${{ inputs.BUCKET }}
SUB_DIR: ${{ inputs.SUB_DIR }}
Expand Down
6 changes: 4 additions & 2 deletions testsuite/replay_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
[516281796, 551052675],
[551052676, 582481398],
[582481399, 640_000_000],
[640_000_001, sys.maxsize],
[640_000_001, 980_000_000],
[980_000_000, sys.maxsize],
]

MAINNET_RANGES = [
Expand All @@ -67,7 +68,8 @@
[321_000_001, 331_000_000],
[331_000_001, 354_000_000],
[354_000_001, 400_000_000],
[400_000_001, sys.maxsize],
[400_000_001, 490_000_000],
[490_000_000, sys.maxsize],
]


Expand Down

0 comments on commit ff545b7

Please sign in to comment.