forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 21
57 lines (56 loc) · 2.35 KB
/
hive.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: hive
run-name: hive simulations
on:
pull_request:
env:
HIVE_REPO: kcc-community/hive
jobs:
hive-smoke-tests:
runs-on: ubuntu-latest
steps:
- name: checkout kcc's repo into kcc/
uses: actions/checkout@v3
with:
path: kcc
- name: checkout hive's repo into hive/
uses: actions/checkout@v3
with:
path: hive
repository: ${{ env.HIVE_REPO }}
ref: master
- name: Install golang
uses: actions/setup-go@v3
with:
go-version: '>=1.18.0'
- name: build kcc docker image
run: cd $GITHUB_WORKSPACE/kcc && docker build -t kucoincommunitychain/kcc:latest .
- name: build hive
run: cd $GITHUB_WORKSPACE/hive && go build -v .
- name: "[hive] smoke test"
run: |
cd $GITHUB_WORKSPACE/hive && ./hive --panic --client kcc_latest --sim 'kcc/(smoke|gas-block-limit|gpo)' \
${{ inputs.hive_extra_flags }}
- name: "[hive] Pre EIP-1559: New TX Pool"
run: |
cd $GITHUB_WORKSPACE/hive && ./hive --panic --docker.output --client.checktimelimit 10m --client kcc_latest --sim 'kcc/(new-txpool)' \
${{ inputs.hive_extra_flags }}
- name: "[hive] Pre EIP-1559"
run: |
cd $GITHUB_WORKSPACE/hive && ./hive --panic --client.checktimelimit 10m --client kcc_latest --sim 'kcc/(ancient-db|auth-server|test-flag|deploy-contract|pre-1559)' \
${{ inputs.hive_extra_flags }}
- name: "[hive] Synchronization with an old client"
run: |
cd $GITHUB_WORKSPACE/hive && ./hive --panic --client kcc,kcc_v1.2.0 --sim 'kcc/(devp2p-eth66)' \
${{ inputs.hive_extra_flags }}
- name: "[hive] issue-9, mallicious tx "
run: |
cd $GITHUB_WORKSPACE/hive && ./hive --panic --client kcc,kcc_v1.0.3 --sim 'kcc/issues/issue-9' \
${{ inputs.hive_extra_flags }}
- name: "[hive] Ishikari hardfork (without punishment)"
run: |
cd $GITHUB_WORKSPACE/hive && ./hive --panic --client kcc --sim 'kcc/ishikari-(distri|multinode|singlenode)' \
${{ inputs.hive_extra_flags }}
- name: "[hive] litedebug mode"
run: |
cd $GITHUB_WORKSPACE/hive && ./hive --panic --client kcc --sim 'kcc/litedebug' \
${{ inputs.hive_extra_flags }}