Remove debug logging from router.py and poa.py
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 10s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Successful in 14s
Security Scanning / security-scan (push) Successful in 24s

This commit is contained in:
aitbc
2026-04-22 13:42:08 +02:00
parent 941fff1b9d
commit d5a03acabb
4 changed files with 186 additions and 8 deletions

View File

@@ -255,7 +255,6 @@ class PoAProposer:
# Create transaction record
# Extract type from normalized tx_data (which should have the type field)
tx_type = tx.content.get("type", "TRANSFER")
self._logger.info(f"[PROPOSE] Transaction {tx.tx_hash} content type: {tx_type}, full content: {tx.content}")
if tx_type:
tx_type = tx_type.upper()
else:

View File

@@ -308,12 +308,7 @@ async def submit_transaction(tx_data: TransactionRequest) -> Dict[str, Any]:
"signature": tx_data.sig
}
_logger.info(f"[ROUTER] Before normalization: type={tx_data.type}, full dict keys={list(tx_data_dict.keys())}")
tx_data_dict = _normalize_transaction_data(tx_data_dict, chain_id)
_logger.info(f"[ROUTER] After normalization: type={tx_data_dict.get('type')}, full dict keys={list(tx_data_dict.keys())}")
_validate_transaction_admission(tx_data_dict, mempool)
tx_hash = mempool.add(tx_data_dict, chain_id=chain_id)