Skip to content

to add workflows for erc20 and uniswap on 0g #3

to add workflows for erc20 and uniswap on 0g

to add workflows for erc20 and uniswap on 0g #3

name: Signal Node - Bera - Uniswap
on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Build Tool
run: |
make build
- name: Build Chain
run: |
git clone -b v0.2.0-alpha.8 https://github.com/berachain/beacon-kit.git
cd beacon-kit
sudo mkdir .tmp
sudo chmod 777 .tmp
make build
make start &> consensus.log &
MAKEFILE_PATH="build/scripts/testing.mk"
sed -i '/start-reth:/,/^\s*$/s/--ipcpath ${IPC_PATH}/--ipcpath ${IPC_PATH} \\\n\t--ws \\\n\t--ws.addr "0.0.0.0" \\\n\t--ws.port 8546 \\\n\t--ws.api eth,net,web3/' "$MAKEFILE_PATH"
sed -i '/start-reth:/,/^\s*$/s/-p 8551:8551/-p 8551:8551 \\\n\t-p 8546:8546/' "$MAKEFILE_PATH"
make start-reth &> reth.log &
sleep 10
cd ../../evmchainbench
./bin/evmchainbench run --tx-count 20000 -p uniswap