From ee9312dcfb8d9e47a60a566893082c8fc4b65cb1 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Fri, 22 Jul 2022 12:32:58 +0300 Subject: [PATCH] [#1619] example: Fix IR RPC Signed-off-by: Pavel Karpy --- config/example/ir.env | 3 ++- config/example/ir.yaml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/example/ir.env b/config/example/ir.env index 71fb11182..318dd1c3d 100644 --- a/config/example/ir.env +++ b/config/example/ir.env @@ -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_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_GRPC_ENDPOINT=localhost:8090 diff --git a/config/example/ir.yaml b/config/example/ir.yaml index 2c765dbdc..eacd3ba03 100644 --- a/config/example/ir.yaml +++ b/config/example/ir.yaml @@ -23,8 +23,8 @@ mainnet: dial_timeout: 5s # Timeout for RPC client connection to mainchain; ignore if mainchain is disabled endpoint: client: # List of websocket RPC endpoints in mainchain; ignore if mainchain is disabled - - wss://mainchain1.fs.neo.org:30333/ws - - wss://mainchain.fs.neo.org:30333/ws + - address: wss://mainchain1.fs.neo.org:30333/ws + - address: wss://mainchain.fs.neo.org:30333/ws control: authorized_keys: # List of hex-encoded 33-byte public keys that have rights to use the control service