-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (35 loc) · 1.06 KB
/
tps-single-bera.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Signal Node - Bera
on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
run:
runs-on: self-hosted
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