File tree Expand file tree Collapse file tree
charts/zama-protocol-pause/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 cast balance ${PAUSER_ADDRESS} --rpc-url ${GATEWAY_RPC_URL}
8888 echo "=================================================="
8989 echo "Get Ethereum (Host) {{ .Values.network | title }} paused status:"
90- ETH_CONTRACTS_PAUSED_STATUS=$(cast call ${ETHEREUM_ACL_CONTRACT_ADDRESS} ${ETHEREUM_ACL_CONTRACT_PAUSED_METHOD_ID} --rpc-url ${ETHEREUM_RPC_URL})
90+ ETH_CONTRACTS_PAUSED_STATUS=$(cast call ${ETHEREUM_ACL_CONTRACT_ADDRESS} "paused()" --rpc-url ${ETHEREUM_RPC_URL})
9191 if [ "${ETH_CONTRACTS_PAUSED_STATUS}" = "0x0000000000000000000000000000000000000000000000000000000000000000" ]; then
9292 echo "${ETH_CONTRACTS_PAUSED_STATUS} (Ethereum Contracts are *not* paused)"
9393 else
@@ -126,8 +126,6 @@ spec:
126126 {{- end }}
127127 - name : ETHEREUM_ACL_CONTRACT_PAUSE_METHOD_ID
128128 value : {{ .Values.config.pauseMethodIds.ethereumAclContract | quote }}
129- - name : ETHEREUM_ACL_CONTRACT_PAUSED_METHOD_ID
130- value : {{ .Values.config.pausedMethodIds.ethereumAclContract | quote }}
131129 - name : GATEWAY_CONFIG_CONTRACT_PAUSE_METHOD_ID
132130 value : {{ .Values.config.pauseMethodIds.gatewayConfigContract | quote }}
133131 {{- with .Values.env }}
You can’t perform that action at this time.
0 commit comments