fix: update legacy port 8545 to 8006 across codebase
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Has been cancelled
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
P2P Network Verification / p2p-verification (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 58s
Package Tests / Python package - aitbc-core (push) Failing after 3s
Package Tests / Python package - aitbc-crypto (push) Successful in 19s
Package Tests / Python package - aitbc-sdk (push) Successful in 16s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 24s
Package Tests / JavaScript package - aitbc-token (push) Failing after 10s
Production Tests / Production Integration Tests (push) Failing after 1m10s
API Endpoint Tests / test-api-endpoints (push) Failing after 11m17s

- Updated Blockchain RPC port from legacy 8545 to current 8006
- Updated documentation files (SETUP.md, infrastructure README, etc.)
- Updated code files (config.py, wallet_adapter.py, base.py, blockchain_simple.py)
- Updated scripts (production-setup.sh, production-deploy.sh, dashboard.sh)
- Updated test configuration (tests/README.md)
- Fixed service endpoints table in SETUP.md
- hermes agents will now use correct port 8006 for blockchain RPC
This commit is contained in:
aitbc
2026-05-26 09:28:40 +02:00
parent 6895c86589
commit 013d848132
14 changed files with 21 additions and 21 deletions

View File

@@ -36,8 +36,8 @@ def main():
# Run the blockchain FastAPI app
import uvicorn
logger.info("Starting blockchain FastAPI app on port 8545")
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("BLOCKCHAIN_PORT", 8545)))
logger.info("Starting blockchain FastAPI app on port 8006")
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("BLOCKCHAIN_PORT", 8006)))
except ImportError as e:
logger.error(f"Failed to import blockchain app: {e}")
@@ -121,8 +121,8 @@ def basic_blockchain_node():
activity_thread = threading.Thread(target=blockchain_activity, daemon=True)
activity_thread.start()
logger.info("Starting basic blockchain API on port 8545")
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("BLOCKCHAIN_PORT", 8545)))
logger.info("Starting basic blockchain API on port 8006")
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("BLOCKCHAIN_PORT", 8006)))
except ImportError:
# Fallback to simple heartbeat

View File

@@ -253,7 +253,7 @@ class MultiChainWalletAdapter:
},
1000: { # AITBC Mainnet
"chain_type": ChainType.AITBC,
"rpc_url": "http://localhost:8545",
"rpc_url": "http://localhost:8006",
"name": "AITBC Mainnet",
},
}

View File

@@ -184,7 +184,7 @@ class BridgeMessageTooLargeError(BridgeError):
class EthereumBridge(BridgeAdapter):
"""Ethereum settlement bridge implementation"""
def __init__(self, config: BridgeConfig, rpc_url: str = "http://localhost:8545"):
def __init__(self, config: BridgeConfig, rpc_url: str = "http://localhost:8006"):
super().__init__(config)
self.rpc_url = rpc_url
self._web3_client = None