Skip to content

Commit

Permalink
fix: test lower block number
Browse files Browse the repository at this point in the history
  • Loading branch information
whichqua committed Aug 23, 2024
1 parent 5b49e4c commit b14e7b3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
- name: Download and extract database file
run: |
mkdir -p ~/pathfinder/data
curl -L https://pub-1fac64c3c0334cda85b45bcc02635c32.r2.dev/sepolia-testnet_0.13.0_74494_pruned.sqlite.zst -o ~/pathfinder/data/sepolia-testnet.sqlite.zst
zstd -d ~/pathfinder/data/sepolia-testnet.sqlite.zst -o ~/pathfinder/data/sepolia-testnet.sqlite
mkdir -p $HOME/pathfinder-data
curl -L https://pub-1fac64c3c0334cda85b45bcc02635c32.r2.dev/sepolia-testnet_0.13.0_74494_pruned.sqlite.zst -o sepolia-testnet.sqlite.zst
zstd -d sepolia-testnet.sqlite.zst -o $HOME/pathfinder-data/sepolia-testnet.sqlite
- name: Pull Pathfinder Docker image
run: |
Expand All @@ -46,7 +46,7 @@ jobs:
--user "$(id -u):$(id -g)" \
-e RUST_LOG=info \
-e PATHFINDER_ETHEREUM_API_URL=${{ secrets.PATHFINDER_ETHEREUM_API_URL }} \
-v $HOME/pathfinder/data:/usr/share/pathfinder/data \
-v $HOME/pathfinder-data:/usr/share/pathfinder/data \
odesenfans/pathfinder:latest \
--storage.state-tries=archive
- name: Wait for Pathfinder to be ready
Expand Down Expand Up @@ -83,5 +83,6 @@ jobs:
- name: Run cargo command
run: |
docker logs pathfinder
cd snos/crates/bin/prove_block
cargo run -p prove_block -- --block-number 38117 --rpc-provider http://127.0.0.1:9545
cargo run -p prove_block -- --block-number 117 --rpc-provider http://127.0.0.1:9545

0 comments on commit b14e7b3

Please sign in to comment.