Skip to content

build(deps-dev): Bump @hashgraph/hedera-local from 2.29.0 to 2.29.1 #92

build(deps-dev): Bump @hashgraph/hedera-local from 2.29.0 to 2.29.1

build(deps-dev): Bump @hashgraph/hedera-local from 2.29.0 to 2.29.1 #92

name: Opcode logger testing
on:
pull_request:
branches: [ main, release/** ]
push:
branches: [ main, release/** ]
tags: [ v* ]
jobs:
check:
name:
Opcode logger comparison between besu and hedera
runs-on: smart-contracts-linux-large
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: recursive
- name: Install Docker Compose Plugin
run: |
sudo curl -fLo /usr/local/lib/docker/cli-plugins/docker-compose https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-x86_64
sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
- name: Use Node.js [18]
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 18
cache: npm
- name: Create .env file
run: cp local.env .env
- name: Install dependencies
run: npm install
- name: Upgrade @hashgraph/hedera-local to v2.27.1
run: npm install @hashgraph/[email protected] --save
- name: Install Foundry
uses: step-security/foundry-toolchain@c8ec18dbd1287becdc38602c6a02beaccf13c89f # v1.2.0
with:
version: nightly
- name: Run besu node
run: npm run besu:start
- name: Run opcode tests against besu
run: npx hardhat test --grep "besu comparison" --network besu_local
- name: Start the hedera local node
run: npx hedera start -d
- name: Run opcode tests against hedera local node
run: npx hardhat test --grep @OpcodeLogger