Files
aitbc/docs/summaries/SCRIPTS_UPDATE_SUMMARY.md
aitbc 12702fc15b
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 40s
CLI Tests / test-cli (push) Successful in 1m3s
Integration Tests / test-service-integration (push) Successful in 1m19s
Package Tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk]) (push) Successful in 1m1s
Package Tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core]) (push) Successful in 24s
Package Tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto]) (push) Successful in 26s
Package Tests / test-javascript-packages (map[name:aitbc-sdk-js path:packages/js/aitbc-sdk]) (push) Successful in 15s
Package Tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk]) (push) Successful in 27s
Package Tests / test-javascript-packages (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 1m1s
Python Tests / test-python (push) Successful in 1m28s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 47s
Security Scanning / security-scan (push) Successful in 1m23s
Smart Contract Tests / test-solidity (map[name:zk-circuits path:apps/zk-circuits]) (push) Successful in 51s
Systemd Sync / sync-systemd (push) Successful in 6s
Smart Contract Tests / lint-solidity (push) Successful in 1m4s
ci: enhance test workflows with dependency fixes and service management improvements
🔧 Workflow Enhancements:
• Update CLI tests to use dedicated test runner with virtual environment
• Add locust dependency to integration and python test workflows
• Install Python packages in development mode for proper import testing
• Add package import verification in python-tests workflow

🛠️ Package Testing Improvements:
• Add Hardhat dependency installation for aitbc-token package
• Add
2026-03-30 09:04:42 +02:00

37 lines
1.3 KiB
Markdown

# AITBC Workflow Scripts Update Summary
## Updated Scripts for aitbc Node
### Core Scripts Fixed:
1. **03_follower_node_setup.sh** - Fixed configuration paths
2. **04_create_wallet.sh** - Updated to use local aitbc-cli instead of SSH
3. **06_final_verification.sh** - Removed SSH dependencies, uses local RPC
4. **09_transaction_manager.sh** - Updated RPC endpoints and wallet paths
### Key Changes Made:
- ✅ Replaced SSH commands with local operations
- ✅ Updated CLI paths from `/opt/aitbc/cli/simple_wallet.py` to `/opt/aitbc/aitbc-cli`
- ✅ Fixed RPC endpoints from `/rpc/getBalance` to `/rpc/accounts`
- ✅ Updated keystore paths from `/opt/aitbc/apps/blockchain-node/keystore` to `/var/lib/aitbc/keystore`
- ✅ Fixed configuration file references from `blockchain.env` to `.env`
- ✅ Added graceful error handling for missing SSH connections
### Scripts Ready to Use:
```bash
# Test wallet creation
/opt/aitbc/scripts/workflow/04_create_wallet.sh
# Test transaction sending
/opt/aitbc/scripts/workflow/09_transaction_manager.sh
# Test final verification
WALLET_ADDR="your-wallet-address" /opt/aitbc/scripts/workflow/06_final_verification.sh
```
## Benefits:
- 🚀 No SSH dependency issues
- 🔧 Uses correct local paths
- 📱 Uses updated aitbc-cli alias
- 🛡️ Better error handling
- ⚡ Faster execution (local operations)