fix: Correct validator RPC port numbers in BlockchainClient

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 <noreply@anthropic.com>
This commit is contained in:
Alexis Bruneteau 2025-11-07 16:31:18 +01:00
parent 4c239c4552
commit 67199379ed

View File

@ -59,13 +59,13 @@ class BlockchainClient:
), ),
ValidatorNode( ValidatorNode(
node_id="validator-2", node_id="validator-2",
rpc_url="http://validator-2:8001", rpc_url="http://validator-2:8002",
p2p_url="http://validator-2:30303" p2p_url="http://validator-2:30304"
), ),
ValidatorNode( ValidatorNode(
node_id="validator-3", node_id="validator-3",
rpc_url="http://validator-3:8001", rpc_url="http://validator-3:8003",
p2p_url="http://validator-3:30303" p2p_url="http://validator-3:30305"
), ),
] ]