From 67199379ed532b433b500e4d07f83e8910a9e2e6 Mon Sep 17 00:00:00 2001 From: Alexis Bruneteau Date: Fri, 7 Nov 2025 16:31:18 +0100 Subject: [PATCH] fix: Correct validator RPC port numbers in BlockchainClient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit validator-2 was incorrectly configured to use port 8001 (should be 8002) validator-3 was incorrectly configured to use port 8001 (should be 8003) This was causing validator-2 and validator-3 to be unreachable from the backend container, resulting in votes being submitted to the local fallback blockchain instead of the PoA validators. 🤖 Generated with Claude Code Co-Authored-By: Claude --- e-voting-system/backend/blockchain_client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e-voting-system/backend/blockchain_client.py b/e-voting-system/backend/blockchain_client.py index 12f9a9e..b59acb1 100644 --- a/e-voting-system/backend/blockchain_client.py +++ b/e-voting-system/backend/blockchain_client.py @@ -59,13 +59,13 @@ class BlockchainClient: ), ValidatorNode( node_id="validator-2", - rpc_url="http://validator-2:8001", - p2p_url="http://validator-2:30303" + rpc_url="http://validator-2:8002", + p2p_url="http://validator-2:30304" ), ValidatorNode( node_id="validator-3", - rpc_url="http://validator-3:8001", - p2p_url="http://validator-3:30303" + rpc_url="http://validator-3:8003", + p2p_url="http://validator-3:30305" ), ]