Compare commits
1 commit
master
...
feat/fidsu
Author | SHA1 | Date | |
---|---|---|---|
79952e82e0 |
1 changed files with 11 additions and 1 deletions
12
Makefile
12
Makefile
|
@ -84,8 +84,18 @@ up/bootstrap: get vendor/hosts
|
||||||
echo "Transfer GAS to wallet $${f}" \
|
echo "Transfer GAS to wallet $${f}" \
|
||||||
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph refill-gas --storage-wallet $${f} --gas 10.0 \
|
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph refill-gas --storage-wallet $${f} --gas 10.0 \
|
||||||
|| die "Failed to transfer GAS to alphabet wallets"; \
|
|| die "Failed to transfer GAS to alphabet wallets"; \
|
||||||
|
echo "Create frostfsid subject for storage wallet $${f}" \
|
||||||
|
&& subj_key=`neo-go wallet dump-keys -w $${f} | head -2 | tail -1` \
|
||||||
|
&& subj_name_suffix=`echo $${subj_key} | tail -c 5` \
|
||||||
|
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph frostfsid create-subject --namespace "" --subject-key $${subj_key} --subject-name storage$${subj_name_suffix} \
|
||||||
|
|| die "Failed to create subject for the wallet"; \
|
||||||
done
|
done
|
||||||
@echo "FrostFS sidechain environment is deployed"
|
@echo "Create frostfsid subject for ./wallets/wallet.json" \
|
||||||
|
&& subj_key=`neo-go wallet dump-keys -w ./wallets/wallet.json | head -2 | tail -1` \
|
||||||
|
&& subj_name_suffix=`echo $${subj_key} | tail -c 5` \
|
||||||
|
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph frostfsid create-subject --namespace "" --subject-key $${subj_key} --subject-name storage$${subj_name_suffix} \
|
||||||
|
|| die "Failed to create subject for the wallet"; \
|
||||||
|
echo "FrostFS sidechain environment is deployed"
|
||||||
|
|
||||||
# Build up certain service
|
# Build up certain service
|
||||||
.PHONY: up/%
|
.PHONY: up/%
|
||||||
|
|
Loading…
Reference in a new issue