[#1619] example: Fix IR RPC

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-07-22 12:32:58 +03:00 committed by Pavel Karpy
parent fb1fac02e9
commit ee9312dcfb
2 changed files with 4 additions and 3 deletions

View file

@ -12,7 +12,8 @@ NEOFS_IR_MORPH_ENDPOINT_CLIENT_1_ADDRESS="wss://sidechain2.fs.neo.org:30333/ws"
NEOFS_IR_MORPH_VALIDATORS="0283120f4c8c1fc1d792af5063d2def9da5fddc90bc1384de7fcfdda33c3860170" NEOFS_IR_MORPH_VALIDATORS="0283120f4c8c1fc1d792af5063d2def9da5fddc90bc1384de7fcfdda33c3860170"
NEOFS_IR_MAINNET_DIAL_TIMEOUT=5s NEOFS_IR_MAINNET_DIAL_TIMEOUT=5s
NEOFS_IR_MORPH_ENDPOINT_CLIENT="wss://mainchain1.fs.neo.org:30333/ws wss://mainchain2.fs.neo.org:30333/ws" NEOFS_IR_MAINNET_ENDPOINT_CLIENT_0_ADDRESS="wss://mainchain1.fs.neo.org:30333/ws"
NEOFS_IR_MAINNET_ENDPOINT_CLIENT_1_ADDRESS="wss://mainchain2.fs.neo.org:30333/ws"
NEOFS_IR_CONTROL_AUTHORIZED_KEYS="035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11 028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6" NEOFS_IR_CONTROL_AUTHORIZED_KEYS="035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11 028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6"
NEOFS_IR_CONTROL_GRPC_ENDPOINT=localhost:8090 NEOFS_IR_CONTROL_GRPC_ENDPOINT=localhost:8090

View file

@ -23,8 +23,8 @@ mainnet:
dial_timeout: 5s # Timeout for RPC client connection to mainchain; ignore if mainchain is disabled dial_timeout: 5s # Timeout for RPC client connection to mainchain; ignore if mainchain is disabled
endpoint: endpoint:
client: # List of websocket RPC endpoints in mainchain; ignore if mainchain is disabled client: # List of websocket RPC endpoints in mainchain; ignore if mainchain is disabled
- wss://mainchain1.fs.neo.org:30333/ws - address: wss://mainchain1.fs.neo.org:30333/ws
- wss://mainchain.fs.neo.org:30333/ws - address: wss://mainchain.fs.neo.org:30333/ws
control: control:
authorized_keys: # List of hex-encoded 33-byte public keys that have rights to use the control service authorized_keys: # List of hex-encoded 33-byte public keys that have rights to use the control service