Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to add workflows for simple transfer, erc20, and uniswap on evmos #16

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/tps-erc20-evmos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Signal Node - Evmos - 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 v20.0.0 https://github.com/evmos/evmos.git
cd evmos
make install
./local_node.sh > chain.log 2>&1 &
while ! nc -z localhost 8546; do sleep 1; done
cd ../../evmchainbench
./bin/evmchainbench run --faucet-private-key 8A36C69D940A92FCEA94B36D0F2928C7A0EE19A90073EDA769693298DFA9603B --tx-count 20000 --mempool 2500 -p erc20
32 changes: 32 additions & 0 deletions .github/workflows/tps-single-evmos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Signal Node - Evmos

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 v20.0.0 https://github.com/evmos/evmos.git
cd evmos
make install
./local_node.sh > chain.log 2>&1 &
while ! nc -z localhost 8546; do sleep 1; done
cd ../../evmchainbench
./bin/evmchainbench run --faucet-private-key 8A36C69D940A92FCEA94B36D0F2928C7A0EE19A90073EDA769693298DFA9603B --tx-count 20000 --mempool 2500
32 changes: 32 additions & 0 deletions .github/workflows/tps-uniswap-evmos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Signal Node - Evmos - 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 v20.0.0 https://github.com/evmos/evmos.git
cd evmos
make install
./local_node.sh > chain.log 2>&1 &
while ! nc -z localhost 8546; do sleep 1; done
cd ../../evmchainbench
./bin/evmchainbench run --faucet-private-key 8A36C69D940A92FCEA94B36D0F2928C7A0EE19A90073EDA769693298DFA9603B --tx-count 20000 --mempool 2500 -p uniswap
2 changes: 1 addition & 1 deletion lib/cmd/load/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (l *Loader) LoadAndRun() error {
}
}

err = util.WaitForReceiptsOfTxs(client, txs, 10*time.Second)
err = util.WaitForReceiptsOfTxs(client, txs, 20*time.Second)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion lib/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (g *Generator) prepareSenders() error {
txs = append(txs, signedTx)
}

err = util.WaitForReceiptsOfTxs(client, txs, 10*time.Second)
err = util.WaitForReceiptsOfTxs(client, txs, 20*time.Second)
if err != nil {
return err
}
Expand Down