Skip to content

Fix replay usage in blocks CI #1263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ jobs:
run: |
BLOCK_START=${{ matrix.block }}
BLOCK_END=$(($BLOCK_START + $RANGE_SIZE - 1))
cargo run --release --features state_dump block-range $BLOCK_START $BLOCK_END mainnet
cargo run --release --bin replay --features state_dump block-range $BLOCK_START $BLOCK_END mainnet
- name: Run with VM
if: ${{ matrix.runner == 'vm' }}
run: |
BLOCK_START=${{ matrix.block }}
BLOCK_END=$(($BLOCK_START + $RANGE_SIZE - 1))
cargo run --release --features state_dump,only_cairo_vm block-range $BLOCK_START $BLOCK_END mainnet
cargo run --release --bin replay --features state_dump,only_cairo_vm block-range $BLOCK_START $BLOCK_END mainnet

# We always upload the dump, even if the job fails
- name: Upload dumps
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/starknet-blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
repository: lambdaclass/starknet-replay
path: starknet-replay
ref: d36491aa5fca3f48b4d7fb25eba599603ff48225
ref: 95c7e85f65acbf536462ffb538b866ddafb7ce39
# We need native to use the linux deps ci action
- name: Checkout Native
uses: actions/checkout@v4
Expand All @@ -43,7 +43,7 @@ jobs:
with:
repository: lambdaclass/sequencer
path: sequencer
ref: 14be65ca995ac702bad26ac20f2a522d9515f70a
ref: 7aaf0e38c2c80276b8121bca5df8e8389bcdc2f6
- name: Cache RPC Calls
uses: actions/cache@v4.2.0
with:
Expand Down Expand Up @@ -89,12 +89,12 @@ jobs:
- name: Run with Native
if: ${{ matrix.runner == 'native' }}
run: |
cargo run --features state_dump block mainnet ${{ matrix.block }}
cargo run --release --bin replay --features state_dump block mainnet ${{ matrix.block }}

- name: Run with VM
if: ${{ matrix.runner == 'vm' }}
run: |
cargo run --features "state_dump,only_cairo_vm" block mainnet ${{ matrix.block }}
cargo run --release --bin replay --features "state_dump,only_cairo_vm" block mainnet ${{ matrix.block }}

- name: Upload dumps
uses: actions/upload-artifact@v4
Expand Down
Loading