Skip to content

fix: fixed cumulativeGasUsed calculations in eth_getBlockReceipts and eth_getTransactionReceipt (#4921) #13301

fix: fixed cumulativeGasUsed calculations in eth_getBlockReceipts and eth_getTransactionReceipt (#4921)

fix: fixed cumulativeGasUsed calculations in eth_getBlockReceipts and eth_getTransactionReceipt (#4921) #13301

Workflow file for this run

name: Dapp Tests
on:
pull_request:
branches: [main, release/**]
push:
branches: [main, release/**]
tags: [v*]
concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
setup-local-hedera:
name: Dapp Tests
runs-on: hiero-smart-contracts-linux-medium
timeout-minutes: 45 # Set to 45 minutes for now
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
with:
egress-policy: audit
- name: Checkout repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 22
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y make gcc g++
- name: Install packages
run: npm ci
- name: Create .env file
run: |
cp ./dapp-example/localDappCI.env ./dapp-example/.env
cp ./packages/server/tests/localAcceptance.env .env
- name: Build Typescript
run: npx lerna run build
- name: Start the hedera local node
run: npx hedera start -d
- name: Stop the local node's relay
run: docker stop json-rpc-relay
- name: Start the local relay
run: npm run start &
- name: Build, Bootstrap & Test the dapp in Docker
run: docker compose up --exit-code-from synpress
working-directory: ./dapp-example/
- name: Dump relay logs
if: ${{ always() && !cancelled() }}
uses: step-security/gh-docker-logs@2ffe2e0e1da43c5db68902dd900c47cdba10bfe6 # v2.2.6
with:
dest: './logs'
- name: Tar logs
if: ${{ always() && !cancelled() }}
run: tar cvzf ./logs.tgz ./logs
- name: Upload logs to GitHub
if: ${{ always() && !cancelled() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: logs.tgz
path: ./logs.tgz
- name: Publish Reports
uses: mikepenz/action-junit-report@74626db7353a25a20a72816467ebf035f674c5f8 # v6.2.0
if: ${{ always() && !cancelled() }}
with:
check_name: Dapp Test Report
report_paths: "**/*.xml"
detailed_summary: true