diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index bc6b2a847..595007fcd 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -34,7 +34,7 @@ jobs: ports: - 5001:5001 graph-node: - image: graphprotocol/graph-node + image: graphprotocol/graph-node:latest # Would be best to get this health check working, but so far it hasn't been an issue. # options: >- # --health-cmd "curl --fail http://graph-node:8040" @@ -61,7 +61,7 @@ jobs: uses: ./.github/actions/setup - name: Bench - run: bench:ponder:ci + run: pnpm bench:ponder-ci env: ANVIL_FORK_URL: ${{ secrets.ANVIL_FORK_URL }} DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres diff --git a/benchmarks/package.json b/benchmarks/package.json index 3d48461a7..c36c8d8b0 100644 --- a/benchmarks/package.json +++ b/benchmarks/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "bench:ponder": "export $(grep -v '^#' .env.local | xargs) && rm -rf data/ && docker-compose up --detach && tsup-node && (node dist/ponder.mjs || true) && docker-compose down", - "bench:ponder:ci": "tsup-node && node dist/ponder.mjs" + "bench:ponder-ci": "tsup-node && node dist/ponder.mjs" }, "devDependencies": { "@graphprotocol/graph-cli": "0.54.0-alpha-20230727052453-1e0e6e5", diff --git a/benchmarks/subgraph/subgraph.yaml b/benchmarks/subgraph/subgraph.yaml index abd9eb785..14c853da7 100644 --- a/benchmarks/subgraph/subgraph.yaml +++ b/benchmarks/subgraph/subgraph.yaml @@ -8,8 +8,7 @@ dataSources: source: address: "0xae78736cd615f374d3085123a210448e74fc6393" abi: RocketTokenRETH - startBlock: 17499000 - endBlock: 17500000 + startBlock: 17490000 mapping: kind: ethereum/events apiVersion: 0.0.8