Skip to content

Commit 4700833

Browse files
Fix replay usage in blocks CI (#1263)
* fix ci * fix daily blocks ci * update starknet-replay and sequencer in staknet-blocks workflow
1 parent 858681c commit 4700833

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/daily.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ jobs:
148148
run: |
149149
BLOCK_START=${{ matrix.block }}
150150
BLOCK_END=$(($BLOCK_START + $RANGE_SIZE - 1))
151-
cargo run --release --features state_dump block-range $BLOCK_START $BLOCK_END mainnet
151+
cargo run --release --bin replay --features state_dump block-range $BLOCK_START $BLOCK_END mainnet
152152
- name: Run with VM
153153
if: ${{ matrix.runner == 'vm' }}
154154
run: |
155155
BLOCK_START=${{ matrix.block }}
156156
BLOCK_END=$(($BLOCK_START + $RANGE_SIZE - 1))
157-
cargo run --release --features state_dump,only_cairo_vm block-range $BLOCK_START $BLOCK_END mainnet
157+
cargo run --release --bin replay --features state_dump,only_cairo_vm block-range $BLOCK_START $BLOCK_END mainnet
158158
159159
# We always upload the dump, even if the job fails
160160
- name: Upload dumps

.github/workflows/starknet-blocks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
repository: lambdaclass/starknet-replay
3434
path: starknet-replay
35-
ref: d36491aa5fca3f48b4d7fb25eba599603ff48225
35+
ref: 95c7e85f65acbf536462ffb538b866ddafb7ce39
3636
# We need native to use the linux deps ci action
3737
- name: Checkout Native
3838
uses: actions/checkout@v4
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
repository: lambdaclass/sequencer
4545
path: sequencer
46-
ref: 14be65ca995ac702bad26ac20f2a522d9515f70a
46+
ref: 7aaf0e38c2c80276b8121bca5df8e8389bcdc2f6
4747
- name: Cache RPC Calls
4848
uses: actions/cache@v4.2.0
4949
with:
@@ -89,12 +89,12 @@ jobs:
8989
- name: Run with Native
9090
if: ${{ matrix.runner == 'native' }}
9191
run: |
92-
cargo run --features state_dump block mainnet ${{ matrix.block }}
92+
cargo run --release --bin replay --features state_dump block mainnet ${{ matrix.block }}
9393
9494
- name: Run with VM
9595
if: ${{ matrix.runner == 'vm' }}
9696
run: |
97-
cargo run --features "state_dump,only_cairo_vm" block mainnet ${{ matrix.block }}
97+
cargo run --release --bin replay --features "state_dump,only_cairo_vm" block mainnet ${{ matrix.block }}
9898
9999
- name: Upload dumps
100100
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)