aitbc
a7b6e39cdf
fix: replace all print() with click.echo() or logger in CLI production code
...
- 55 CLI files: handlers/, aitbc_cli/commands/, cli/core/, cli/utils/, top-level scripts
- Click-based files: print() -> click.echo()
- Library modules: print() -> logger.info/error/warning
- Fixed pre-existing indentation bugs in monitor.py dashboard function
- Fixed bare print() -> logger.info('') in chain_manager.py
- 0 remaining print() in production CLI code
- All files compile cleanly
2026-05-25 13:53:49 +02:00
aitbc
2713951a1b
refactor: reorganize aitbc core library into subpackages
...
API Endpoint Tests / test-api-endpoints (push) Successful in 17s
CLI Tests / test-cli (push) Failing after 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 2m39s
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 12s
Package Tests / Python package - aitbc-core (push) Successful in 12s
Package Tests / Python package - aitbc-crypto (push) Successful in 10s
Package Tests / Python package - aitbc-sdk (push) Failing after 7s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 6s
Package Tests / JavaScript package - aitbc-token (push) Successful in 14s
Python Tests / test-python (push) Failing after 9s
Security Scanning / security-scan (push) Successful in 15s
- Create aitbc/crypto/ subpackage (crypto.py, security.py)
- Create aitbc/utils/ subpackage (validation, time_utils, json_utils, paths, env)
- Create aitbc/network/ subpackage (http_client, web3_utils)
- Update all import statements across codebase
- Maintain backward compatibility with __init__.py exports
- Improve code organization and modularity
2026-05-09 12:25:14 +02:00
aitbc
df865c55b8
fix: resolve CLI regressions in wallet send and transactions
...
Fixed two CLI bugs exposed during training:
1. wallet send - Fixed 'name requests is not defined'
- Added missing 'import requests' in cli/handlers/wallet.py
- Command now reaches RPC correctly; failures are blockchain-level
2. wallet transactions - Fixed 'list object has no attribute get'
- Updated get_transactions in cli/aitbc_cli.py to handle both list and dict responses
- RPC /rpc/transactions returns a list, CLI expected dict with transactions key
- Normalizes tx_hash to hash for display
3. Training self-transfer - Skip when wallet has 0 balance
- Updated scripts/training/stage1_foundation.sh to check wallet balance before self-transfer
- Avoids retrying guaranteed failures when wallet has no on-chain account
Validation:
- wallet transactions: No longer raises list.get error
- wallet send: Fails correctly at blockchain layer (sender account not found)
- Training script: Skips self-transfer when balance is 0
2026-05-04 11:10:40 +02:00
aitbc
97252911b3
Simplify handlers - remove wallet daemon integration due to import issues, use direct file-based operations
Blockchain Synchronization Verification / sync-verification (push) Failing after 5s
CLI Tests / test-cli (push) Failing after 4s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 2m29s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Successful in 11s
2026-04-28 18:31:59 +02:00
aitbc
36b1937fcb
Fix import errors in handlers - use absolute imports instead of relative imports
API Endpoint Tests / test-api-endpoints (push) Successful in 13s
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 11s
2026-04-28 18:21:48 +02:00
aitbc
1bacb0a3eb
Update market buy handler to use dual-mode wallet adapter
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 39s
2026-04-28 18:15:30 +02:00
aitbc
cac4c65aab
Fix wallet handler to use importlib for decrypt_private_key
CLI Tests / test-cli (push) Failing after 3s
Security Scanning / security-scan (push) Successful in 33s
P2P Network Verification / p2p-verification (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
2026-04-28 17:57:59 +02:00
aitbc
2d73f51452
Fix wallet handler to import decrypt_private_key correctly
2026-04-28 17:53:55 +02:00
aitbc
3a2789a718
Fix CLI wallet send to decrypt private key and use modern payload
2026-04-28 17:19:10 +02:00
aitbc
5aa5038a76
Fix CLI wallet send to use modern transaction payload format
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 1m17s
2026-04-28 17:18:34 +02:00
aitbc
ad5c147789
Expand aitbc package with new utility modules and enhanced HTTP client
...
- Add new exception types: RetryError, CircuitBreakerOpenError, RateLimitError
- Enhance AITBCHTTPClient with retry logic, caching, circuit breaker, and rate limiting
- Add AsyncAITBCHTTPClient for async HTTP operations
- Add crypto module with Ethereum key derivation, signing, encryption, and hashing utilities
- Add web3_utils module with Web3Client and create_web3_client
- Add security module with token generation, API key management
2026-04-25 07:46:44 +02:00
aitbc
e60cc3226c
Add sys import to test files and remove obsolete integration tests
...
API Endpoint Tests / test-api-endpoints (push) Successful in 9s
Blockchain Synchronization Verification / sync-verification (push) Failing after 1s
CLI Tests / test-cli (push) Failing after 3s
Documentation Validation / validate-docs (push) Successful in 6s
Documentation Validation / validate-policies-strict (push) Successful in 2s
Integration Tests / test-service-integration (push) Successful in 40s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 1s
P2P Network Verification / p2p-verification (push) Successful in 2s
Production Tests / Production Integration Tests (push) Successful in 21s
Python Tests / test-python (push) Successful in 13s
Security Scanning / security-scan (push) Failing after 46s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 17s
Smart Contract Tests / lint-solidity (push) Successful in 10s
- Add sys import to 29 test files across agent-coordinator, blockchain-event-bridge, blockchain-node, and coordinator-api
- Remove apps/blockchain-event-bridge/tests/test_integration.py (obsolete bridge integration tests)
- Remove apps/coordinator-api/tests/test_integration.py (obsolete API integration tests)
- Implement GPU registration in marketplace_gpu.py with GPURegistry model persistence
2026-04-23 16:43:17 +02:00