Skip to content

Commit

Permalink
tps test: single node - bera (#9)
Browse files Browse the repository at this point in the history
* refactor "run" command with new listener, limiter and smart exit

* fix review issues

* Create main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update and rename main.yml to tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml

* Update tps-single-bera.yml
  • Loading branch information
0g-wh authored Oct 21, 2024
1 parent 78deff8 commit 70c0654
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/tps-single-bera.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Signal Node - Bera

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

0 comments on commit 70c0654

Please sign in to comment.