forked from TrueCloudLab/frostfs-dev-env
[#164] services: Do not use underscore in hostnames
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
a2ab73c82f
commit
1d58f1774d
13 changed files with 28 additions and 28 deletions
|
@ -6,8 +6,8 @@
|
|||
# NeoGo binary path.
|
||||
NEOGO="${NEOGO:-docker exec -it morph_chain neo-go}"
|
||||
# NNS contract script hash
|
||||
NNS_ADDR=`curl -s --data '{ "id": 1, "jsonrpc": "2.0", "method": "getcontractstate", "params": [1] }' http://morph_chain.${LOCAL_DOMAIN}:30333/ | jq -r '.result.hash'`
|
||||
NNS_ADDR=`curl -s --data '{ "id": 1, "jsonrpc": "2.0", "method": "getcontractstate", "params": [1] }' http://morph-chain.${LOCAL_DOMAIN}:30333/ | jq -r '.result.hash'`
|
||||
|
||||
${NEOGO} contract testinvokefunction \
|
||||
-r http://morph_chain.${LOCAL_DOMAIN}:30333 \
|
||||
-r http://morph-chain.${LOCAL_DOMAIN}:30333 \
|
||||
${NNS_ADDR} resolve string:${1} int:16 | jq -r '.stack[0].value | if type=="array" then .[0].value else . end' | base64 -d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue