-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (31 loc) · 1.02 KB
/
tps-erc20-0g.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
name: Signal Node - 0G - ERC20
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 dev0.38 https://github.com/0glabs/0g-chain.git
cd 0g-chain
sudo LINK_STATICALLY=true make build-release
sed -i '/$BINARY config broadcast-mode sync/a sed -i '\''s/timeout_commit = "5s"/timeout_commit = "1s"/'\'' ~/.0gchain/config/config.toml' localtestnet.sh
tail localtestnet.sh
./localtestnet.sh &> chain.log &
while ! nc -z localhost 8546; do sleep 1; done
cd ../../evmchainbench
./bin/evmchainbench run --faucet-private-key 58095A53EA065B7DC3065365B2A8F6797F26464381BB6A34F8337F010A63CB63 --sender-count 2 --tx-count 20000 --mempool 2500 -p erc20