File tree Expand file tree Collapse file tree
charts/zama-protocol-pause Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ apiVersion: v2
22name : zama-protocol-pause
33description : A Helm chart to setup zama-protocol emergency pause job
44type : application
5- version : 0.1.2
5+ version : 0.2.0
Original file line number Diff line number Diff line change 22apiVersion : batch/v1
33kind : CronJob
44metadata :
5- name : {{ include "zama-protocol-pause.fullname" . }}
5+ name : {{ include "zama-protocol-pause.fullname" . }}-contracts
66 namespace : {{ include "zama-protocol-pause.namespace" . }}
77 labels :
88 {{- include "zama-protocol-pause.labels" . | nindent 4 }}
Original file line number Diff line number Diff line change 9898 {{- else }}
9999 if [ "${ETH_TOKEN_MINT_PAUSED_STATUS}" = "0x0000000000000000000000000000000000000000000000000000000000000000" ]; then
100100 echo "Pause Zama Token Mint on {{ .Values.network | title }}"
101- cast send {{ if .Values.wallet.awsKMS.enabled }}--aws{{ else }}--private-key ${WALLET_PRIVATE_KEY}{{ end }} ${ETHEREUM_TOKEN_PAUSER_SET_WRAPPER_ADDRESS} --data ${ETHEREUM_TOKEN_PAUSER_SET_WRAPPER_PAUSE_CALL_DATA} --rpc-url ${ETHEREUM_RPC_URL}
101+ cast send {{ if .Values.wallet.awsKMS.enabled }}--aws{{ else }}--private-key ${WALLET_PRIVATE_KEY}{{ end }} ${ETHEREUM_TOKEN_PAUSER_SET_WRAPPER_ADDRESS} "callFunction(bytes)" 0x --rpc-url ${ETHEREUM_RPC_URL}
102102 fi
103103 {{- end }}
104104 env :
@@ -121,8 +121,6 @@ spec:
121121 - name : ETHEREUM_TOKEN_PAUSER_SET_WRAPPER_ADDRESS
122122 value : {{ .ethereumTokenPauserSetWrapperAddress | quote }}
123123 {{- end }}
124- - name : ETHEREUM_TOKEN_PAUSER_SET_WRAPPER_PAUSE_CALL_DATA
125- value : {{ .Values.config.tokenPauserSetWrapperContractCallData | quote }}
126124 {{- with .Values.env }}
127125 {{- toYaml . | nindent 16 }}
128126 {{- end }}
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ config:
2626 pauseMethodIds :
2727 gatewayConfigContract : " 0x9a5a3bc4"
2828 ethereumAclContract : " 0x8456cb59"
29- # Call data to use to pause Token minting
30- tokenPauserSetWrapperContractCallData : " 0x0bdf12f100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000"
3129 devnet :
3230 gatewayConfigContractAddress : " 0x530749d571beBEc20980425557968cabc6328296"
3331 ethereumAclContractAddress : " 0xBCA6F8De823a399Dc431930FD5EE550Bf1C0013e"
You can’t perform that action at this time.
0 commit comments