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

@@ -77,7 +77,7 @@ Before running this scenario, you must deploy the CrossChainAtomicSwap contract
aitbc contract deploy \
--name CrossChainAtomicSwap \
--type atomic-swap \
--rpc-url http://localhost:8545 \
--rpc-url http://localhost:8006 \
--password-file ~/.aitbc/wallets/mainnet-wallet.password
# Deploy on destination chain
@@ -123,7 +123,7 @@ Lock tokens on source chain with hashlock and timelock:
aitbc contract deploy \
--name CrossChainAtomicSwap \
--type atomic-swap \
--rpc-url http://localhost:8545 \
--rpc-url http://localhost:8006 \
--password-file ~/.aitbc/wallets/mainnet-wallet.password
# Call the initiateSwap method
@@ -131,7 +131,7 @@ aitbc contract call \
--address <CONTRACT_ADDRESS> \
--method initiateSwap \
--params '{"swapId": "'"$SWAP_ID"'", "token": "AITBC", "amount": 1000, "participant": "aitbc1recipient", "hashlock": "'"$HASHLOCK"'", "timelock": 3600}' \
--rpc-url http://localhost:8545 \
--rpc-url http://localhost:8006 \
--password-file ~/.aitbc/wallets/mainnet-wallet.password
```
@@ -180,7 +180,7 @@ aitbc contract call \
--address <CONTRACT_ADDRESS> \
--method completeSwap \
--params '{"swapId": "'"$SWAP_ID"'", "secret": "'"$SECRET"'"}' \
--rpc-url http://localhost:8545 \
--rpc-url http://localhost:8006 \
--password-file ~/.aitbc/wallets/mainnet-wallet.password
# Counterparty completes with same secret on destination chain
@@ -222,7 +222,7 @@ aitbc contract call \
--address <CONTRACT_ADDRESS> \
--method refundSwap \
--params '{"swapId": "'"$SWAP_ID"'"}' \
--rpc-url http://localhost:8545 \
--rpc-url http://localhost:8006 \
--password-file ~/.aitbc/wallets/mainnet-wallet.password
```