Handle pending block case in traceTransaction method #3624
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync First 100 Blocks Smoke Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run_smoke_tests: | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version-file: go.mod | |
cache: true | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build docker image | |
run: docker build --build-arg VM_DEBUG=true -t nethermindeth/juno . | |
- name: Checkout Juno Smoke Tests | |
uses: actions/[email protected] | |
with: | |
repository: NethermindEth/juno-smoke-tests | |
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }} | |
- name: Run smoke tests | |
run: | | |
cd smoke-tests/node_tests | |
go test -v -run TestMonitorNodeSync -args -targetBlock=$TARGET_BLOCK -timeout=$TIMEOUT | |
env: | |
TARGET_BLOCK: 100 | |
TIMEOUT: 10m | |
JUNO_PARAMETERS: "--network mainnet --eth-node ${{ secrets.ETH_NODE_MAINNET }}" |