fix: remove duplicate protocol check and add better logging
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m10s
Integration Tests / test-service-integration (push) Successful in 2m8s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
Multi-Node Stress Testing / stress-test (push) Successful in 1s
Node Failover Simulation / failover-test (push) Failing after 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 43s
Security Scanning / security-scan (push) Successful in 26s
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m10s
Integration Tests / test-service-integration (push) Successful in 2m8s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
Multi-Node Stress Testing / stress-test (push) Successful in 1s
Node Failover Simulation / failover-test (push) Failing after 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 43s
Security Scanning / security-scan (push) Successful in 26s
This commit is contained in:
@@ -322,14 +322,16 @@ class ChainSync:
|
||||
|
||||
async def _bulk_import_from(self, source_url: str) -> int:
|
||||
"""Import blocks from a remote source via RPC."""
|
||||
self._logger.info(f"Starting bulk import from source: {source_url}")
|
||||
|
||||
# Ensure URL has protocol
|
||||
if source_url and not source_url.startswith("http://") and not source_url.startswith("https://"):
|
||||
source_url = f"http://{source_url}"
|
||||
self._logger.info(f"Added http:// prefix to source URL: {source_url}")
|
||||
# Ensure URL has protocol
|
||||
if source_url and not source_url.startswith("http://") and not source_url.startswith("https://"):
|
||||
source_url = f"http://{source_url}"
|
||||
self._logger.info(f"Added http:// prefix to source URL: {source_url}")
|
||||
|
||||
if not source_url:
|
||||
self._logger.error("Source URL is empty or None")
|
||||
return 0
|
||||
|
||||
# Get local head
|
||||
with self._session_factory() as session:
|
||||
|
||||
Reference in New Issue
Block a user