From 4f72fd214f378ec8fc98681cdf4e75f049d38744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 2 Jul 2024 11:45:42 +0200 Subject: [PATCH] service: use new --portal-rpc-url flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces old badly named `rpc-address` and `rpc-port`. https://github.com/status-im/nimbus-eth1/pull/2437 Signed-off-by: Jakub SokoĊ‚owski --- defaults/main.yml | 7 +++---- templates/portal_bridge.service.j2 | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index bb91a8b..61ee94e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -29,10 +29,9 @@ portal_bridge_group: 'staff' # General portal_bridge_command: 'beacon' # beacon, history, state portal_bridge_log_level: 'INFO' # TRACE DEBUG INFO NOTICE WARN ERROR FATAL NONE -portal_bridge_rpc_address: '127.0.0.1' -portal_bridge_rpc_port: 8545 +#portal_bridge_portal_rpc_url: 'http://127.0.0:8545 # beacon -portal_bridge_rest_url: 'http://127.0.0.1:5052' +#portal_bridge_rest_url: 'http://127.0.0.1:5052' portal_bridge_backfill_amount: 64 # history #portal_bridge_web3_url: ~ @@ -42,7 +41,7 @@ portal_bridge_backfill: false portal_bridge_audit: true portal_bridge_era1_dir: '{{ portal_bridge_service_path }}/era' # state -portal_bridge_web3_url: 'https://127.0.0.1:8545' +#portal_bridge_web3_url: 'https://127.0.0.1:5052' # Consul service definition settings portal_bridge_consul_service_name: 'nimbus-portal-bridge' diff --git a/templates/portal_bridge.service.j2 b/templates/portal_bridge.service.j2 index 5353965..0a4ba13 100644 --- a/templates/portal_bridge.service.j2 +++ b/templates/portal_bridge.service.j2 @@ -14,8 +14,7 @@ SyslogLevel=debug Restart=on-failure ExecStart={{ portal_bridge_binary_path }} \ --log-level={{ portal_bridge_log_level | upper }} \ - --rpc-address={{ portal_bridge_rpc_address }} \ - --rpc-port={{ portal_bridge_rpc_port }} \ + --portal-rpc-url={{ portal_bridge_portal_rpc_url }} \ {% if portal_bridge_command == "beacon" %} beacon \ --rest-url={{ portal_bridge_rest_url | mandatory }} \