File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 6767 echo " WARN: $PCHAIN_BIN not found; skipping authz grant."
6868fi
6969
70+ sleep 1
71+
72+ if command -v " $PCHAIN_BIN " > /dev/null 2>&1 ; then
73+ echo " ==> Granting authz (generic: /uexecutor.v1.MsgVoteGasPrice) to $UV_HOTKEY_ADDR via $PCHAIN_BIN "
74+ " $PCHAIN_BIN " tx authz grant " $UV_HOTKEY_ADDR " generic \
75+ --msg-type=/uexecutor.v1.MsgVoteGasPrice \
76+ --from acc1 \
77+ --fees " $FEES " \
78+ -y
79+ else
80+ echo " WARN: $PCHAIN_BIN not found; skipping authz grant."
81+ fi
82+
83+ sleep 1
84+
85+ if command -v " $PCHAIN_BIN " > /dev/null 2>&1 ; then
86+ echo " ==> Granting authz (generic: /uexecutor.v1.MsgVoteOutbound) to $UV_HOTKEY_ADDR via $PCHAIN_BIN "
87+ " $PCHAIN_BIN " tx authz grant " $UV_HOTKEY_ADDR " generic \
88+ --msg-type=/uexecutor.v1.MsgVoteOutbound \
89+ --from acc1 \
90+ --fees " $FEES " \
91+ -y
92+ else
93+ echo " WARN: $PCHAIN_BIN not found; skipping authz grant."
94+ fi
95+
96+ sleep 1
97+
98+ if command -v " $PCHAIN_BIN " > /dev/null 2>&1 ; then
99+ echo " ==> Granting authz (generic: /utss.v1.MsgVoteTssKeyProcess) to $UV_HOTKEY_ADDR via $PCHAIN_BIN "
100+ " $PCHAIN_BIN " tx authz grant " $UV_HOTKEY_ADDR " generic \
101+ --msg-type=/utss.v1.MsgVoteTssKeyProcess \
102+ --from acc1 \
103+ --fees " $FEES " \
104+ -y
105+ else
106+ echo " WARN: $PCHAIN_BIN not found; skipping authz grant."
107+ fi
108+
109+ sleep 1
110+
70111# ---------- Initialize and start ----------
71112echo " ==> Initializing $BINARY ..."
72113" $BINARY " init
You can’t perform that action at this time.
0 commit comments