forked from ethereum/hive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
79 lines (57 loc) · 3.77 KB
/
Makefile
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.PHONY: hive hivechain hiveview hive_alpine_dependency hive_go_dependency
all: hive hivechain hiveview hive_alpine_dependency hive_go_dependency
test_base: test_full_sync
test_reorg: test_reorg_reorg test_reorg_shorter test_reorg_longer test_reorg_finalize
test_preconf: test_preconf_preconf test_preconf_forced_inclusion test_preconf_reorg_propose test_preconf_reorg_preconf
test_blob: test_blob_beacon test_blob_server
hive:
@echo "Building hive..."
@go build -o build/bin/hive ./
hivechain:
@echo "Building hivechain..."
@go build -o build/bin/hivechain ./cmd/hivechain
hiveview:
@echo "Building hiveview..."
@go build -o build/bin/hiveview ./cmd/hiveview
hive_alpine_dependency:
@echo "Building hive_alpine_dependency..."
@docker build --no-cache -t hive_alpine_dependency:latest --target hive_alpine_dependency .
hive_go_dependency:
@echo "Building hive_go_dependency..."
@docker build --no-cache -t hive_go_dependency:latest --target hive_go_dependency .
hive_prysmctl:
@echo "Building prysmctl"
@docker build --no-cache -t hive_prysmctl:latest clients/prysm/prysmctl
test_reorg_reorg: hive_prysmctl
@echo "Running reorg/reorg_reorg test..."
./build/bin/hive --docker.output --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/prover --sim taiko --sim.limit "reorg/reorg_reorg"
test_reorg_longer: hive_prysmctl
@echo "Running reorg/reorg_longer test..."
./build/bin/hive --docker.output --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/prover --sim taiko --sim.limit "reorg/reorg_longer"
test_reorg_shorter: hive_prysmctl
@echo "Running reorg/reorg_shorter test..."
./build/bin/hive --docker.output --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/prover --sim taiko --sim.limit "reorg/reorg_shorter"
test_reorg_finalize: hive_prysmctl
@echo "Running reorg/reorg_finalize test..."
./build/bin/hive --docker.output --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/prover --sim taiko --sim.limit "reorg/reorg_finalize"
test_preconf_preconf: hive_prysmctl
@echo "Running preconf/preconf test..."
./build/bin/hive --docker.output --sim taiko --sim.limit "preconf/preconf" --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/taiko-geth,taiko/driver
test_preconf_reorg_propose: hive_prysmctl
@echo "Running preconf/reorg_propose test..."
./build/bin/hive --docker.output --sim taiko --sim.limit "preconf/reorg_propose" --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer
test_preconf_reorg_preconf: hive_prysmctl
@echo "Running preconf/reorg_preconf test..."
./build/bin/hive --docker.output --sim taiko --sim.limit "preconf/reorg_preconf" --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer
test_preconf_forced_inclusion: hive_prysmctl
@echo "Running preconf/forced-inclusion test..."
./build/bin/hive --docker.output --client geth,prysm/prysm-bn,prysm/prysm-vc,taiko/taiko-geth,taiko/driver,taiko/proposer --sim taiko --sim.limit "preconf/forced-inclusion"
test_full_sync: hive_prysmctl
@echo "Running base/fullsync test..."
./build/bin/hive --docker.output --client anvil,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/prover,taiko/taiko-geth,taiko/driver,taiko/taiko-geth,taiko/driver --sim taiko --sim.limit "base/fullsync"
test_blob_beacon: hive_prysmctl
@echo "Running blob/blob-l1-beacon test..."
./build/bin/hive --docker.output --client geth,prysm/prysm-bn,prysm/prysm-vc,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/prover --sim taiko --sim.limit "blob/blob-l1-beacon"
test_blob_server: hive_prysmctl
@echo "Running blob/blob-server test..."
./build/bin/hive --docker.output --client geth,prysm/prysm-bn,prysm/prysm-vc,taiko/taiko-geth,taiko/driver,taiko/proposer,taiko/prover,storage/postgres,blobscan/blobscan-api,blobscan/blobscan-indexer --sim taiko --sim.limit "blob/blob-server"