Skip to content

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

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

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

Workflow file for this run

name: Hoppscotch Endpoint Tests
on:
pull_request:
branches:
- main
- release/**
push:
branches:
- main
- release/**
tags:
- v*
workflow_dispatch:
concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
setup-local-hedera:
name: Hoppscotch Endpoint Tests
runs-on: hiero-smart-contracts-linux-medium
permissions:
contents: write
actions: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
with:
egress-policy: audit
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y make gcc g++
- name: Setup node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 22
- name: Checkout repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install packages
run: npm ci
- name: Create .env file
run: 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: Run Hoppscotch Tests
run: npm run hopp