Skip to content

build(deps-dev): Bump @openzeppelin/hardhat-upgrades from 3.4.0 to 3.5.0 #264

build(deps-dev): Bump @openzeppelin/hardhat-upgrades from 3.4.0 to 3.5.0

build(deps-dev): Bump @openzeppelin/hardhat-upgrades from 3.4.0 to 3.5.0 #264

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
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@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
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@01e2d127ea061e2ce8fa34340de71ca8518f093e # v1.2.1
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