-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
123 lines (90 loc) · 3.7 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
-include .env
COMMON_DEPLOYMENT_FLAGS := --broadcast --with-gas-price 100000000 --optimizer-runs 8000
start-node :; anvil --fork-url ${ETHEREUM_RPC_URL}
.PHONY: coverage
coverage:
./sh-script/coverage.sh
.PHONY: deploy-arbitrum
deploy-arbitrum:
forge script script/multichain-setup/AribitrumAcrossRelayer.s.sol --rpc-url ${ARBITRUM_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-base
deploy-base:
forge script script/multichain-setup/BaseAcrossRelayer.s.sol --rpc-url ${BASE_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-blast
deploy-blast:
forge script script/multichain-setup/BlastAcrossRelayer.s.sol --rpc-url ${BLAST_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-ethereum
deploy-ethereum:
forge script script/multichain-setup/EtherreumAcrossRelayer.s.sol --rpc-url ${ETHEREUM_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-linea
deploy-linea:
forge script script/multichain-setup/LineaAcrossRelayer.s.sol --rpc-url ${LINEA_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-lisk
deploy-lisk:
forge script script/multichain-setup/LiskAcrossRelayer.s.sol --rpc-url ${LISK_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-mode
deploy-mode:
forge script script/multichain-setup/ModeAcrossRelayer.s.sol --rpc-url ${MODE_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-optimism
deploy-optimism:
forge script script/multichain-setup/OptimismAcrossRelayer.s.sol --rpc-url ${OPTIMISM_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-polygon
deploy-polygon:
forge script script/multichain-setup/PolygonAcrossRelayer.s.sol --rpc-url ${POLYGON_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-redstone
deploy-redstone:
forge script script/multichain-setup/RedstoneAcrossRelayer.s.sol --rpc-url ${REDSTONE_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-scroll
deploy-scroll:
forge script script/multichain-setup/ScrollAcrossRelayer.s.sol --rpc-url ${SCROLL_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-zksync
deploy-zksync:
forge script script/multichain-setup/ZkSyncAcrossRelayer.s.sol --rpc-url ${ZKSYNC_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-zora
deploy-zora:
forge script script/multichain-setup/ZoraAcrossRelayer.s.sol --rpc-url ${ZORA_RPC_URL} $(COMMON_DEPLOYMENT_FLAGS)
.PHONY: deploy-all
deploy-all:
./sh-script/deploy-all.sh
.PHONY: test-arbitrum
test-arbitrum:
forge test --match-path test/multichain-setup/ArbitrumAcrossRelayer.t.sol
.PHONY: test-base
test-base:
forge test --match-path test/multichain-setup/BaseAcrossRelayer.t.sol
.PHONY: test-blast
test-blast:
forge test --match-path test/multichain-setup/BlastAcrossRelayer.t.sol
.PHONY: test-ethereum
test-ethereum:
forge test --match-path test/multichain-setup/EthereumAcrossRelayer.t.sol
.PHONY: test-linea
test-linea:
forge test --match-path test/multichain-setup/LineaAcrossRelayer.t.sol
.PHONY: test-lisk
test-lisk:
forge test --match-path test/multichain-setup/LiskAcrossRelayer.t.sol
.PHONY: test-mode
test-mode:
forge test --match-path test/multichain-setup/ModeAcrossRelayer.t.sol
.PHONY: test-optimism
test-optimism:
forge test --match-path test/multichain-setup/OptimismAcrossRelayer.t.sol
.PHONY: test-polygon
test-polygon:
forge test --match-path test/multichain-setup/PolygonAcrossRelayer.t.sol
.PHONY: test-redstone
test-redstone:
forge test --match-path test/multichain-setup/RedstoneAcrossRelayer.t.sol
.PHONY: test-scroll
test-scroll:
forge test --match-path test/multichain-setup/ScrollAcrossRelayer.t.sol
.PHONY: test-zksync
test-zksync:
forge test --match-path test/multichain-setup/ZkSyncAcrossRelayer.t.sol
.PHONY: test-zora
test-zora:
forge test --match-path test/multichain-setup/ZoraAcrossRelayer.t.sol
.PHONY: test-all
test-all:
./sh-script/test-all.sh