[#29] Enable HTTPS oracle in chain
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
bcb0a6cc93
commit
ed9bc1c395
3 changed files with 19 additions and 1 deletions
2
.env
2
.env
|
@ -1,3 +1,3 @@
|
||||||
FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
||||||
AIO_IMAGE=truecloudlab/frostfs-aio
|
AIO_IMAGE=truecloudlab/frostfs-aio
|
||||||
AIO_VERSION=1.2.8
|
AIO_VERSION=1.2.9
|
||||||
|
|
11
Makefile
11
Makefile
|
@ -88,6 +88,17 @@ s3cred-custom:
|
||||||
--container-placement-policy "REP 1" \
|
--container-placement-policy "REP 1" \
|
||||||
--bearer-rules $(S3_BEARER_RULES)
|
--bearer-rules $(S3_BEARER_RULES)
|
||||||
|
|
||||||
|
enable-oracle:
|
||||||
|
@docker exec aio neo-go contract invokefunction -r http://localhost:30333 \
|
||||||
|
--wallet-config /config/node-config.yaml \
|
||||||
|
--out /config/tx.json 49cf4e5378ffcd4dec034fd98a174c5491e395e2 designateAsRole \
|
||||||
|
int:8 [ bytes:02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 ] \
|
||||||
|
-- NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP
|
||||||
|
@docker exec aio neo-go wallet sign --in /config/tx.json \
|
||||||
|
-r http://localhost:30333 \
|
||||||
|
--wallet-config /config/node-config.yaml \
|
||||||
|
-a NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP
|
||||||
|
|
||||||
# Tick new epoch in side chain
|
# Tick new epoch in side chain
|
||||||
tick.epoch:
|
tick.epoch:
|
||||||
@docker exec aio /usr/bin/frostfs-adm --config /config/frostfs-adm.yml morph force-new-epoch
|
@docker exec aio /usr/bin/frostfs-adm --config /config/frostfs-adm.yml morph force-new-epoch
|
||||||
|
|
|
@ -52,3 +52,10 @@ ApplicationConfiguration:
|
||||||
UnlockWallet:
|
UnlockWallet:
|
||||||
Path: "/config/node-wallet.json"
|
Path: "/config/node-wallet.json"
|
||||||
Password: "one"
|
Password: "one"
|
||||||
|
Oracle:
|
||||||
|
Enabled: true
|
||||||
|
Nodes:
|
||||||
|
- http://127.0.0.1:30333
|
||||||
|
UnlockWallet:
|
||||||
|
Path: "/config/node-wallet.json"
|
||||||
|
Password: "one"
|
||||||
|
|
Loading…
Reference in a new issue