-
Notifications
You must be signed in to change notification settings - Fork 8
/
makefile
41 lines (36 loc) · 941 Bytes
/
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
# include .env file and export its env vars
# (-include to ignore error if it does not exist)
-include .env
########################
## DEPLOYMENT SCRIPTS ##
########################
deploy :; forge script scripts/$(script).s.sol:$(script) \
--fork-url $(chain) \
--with-gas-price $(gas-price) \
--slow \
--verify \
--broadcast \
--sig 'run(string)' \
$(chain) \
-vvv
simulate-deploy :; forge script scripts/$(script).s.sol:$(script) \
--with-gas-price $(gas-price) \
--fork-url $(chain) \
--slow \
--sig 'run(string)' \
$(chain) \
-vvv
#############################
## PROTOCOL UPDATE SCRIPTS ##
#############################
update-policy-activation-status:
forge script scripts/UpdatePolicyActivationStatus.s.sol:UpdatePolicyActivationStatus \
--with-gas-price $(gas-price) \
--fork-url $(chain) \
--slow \
--broadcast \
--sig 'run(string,address,bool)' \
$(chain) \
$(policy) \
$(is-enabled) \
-vvv