Some checks failed
API Endpoint Tests / test-api-endpoints (push) Failing after 36s
CLI Tests / test-cli (push) Failing after 3m9s
Documentation Validation / validate-docs (push) Successful in 8s
Integration Tests / test-service-integration (push) Failing after 3s
JavaScript SDK Tests / test-js-sdk (push) Successful in 7s
Package Tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk]) (push) Failing after 8s
Package Tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core]) (push) Failing after 29s
Package Tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto]) (push) Failing after 13s
Package Tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk]) (push) Failing after 16s
Package Tests / test-javascript-packages (map[name:aitbc-sdk-js path:packages/js/aitbc-sdk]) (push) Successful in 7s
Package Tests / test-javascript-packages (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 18s
Python Tests / test-python (push) Failing after 3m37s
Rust ZK Components Tests / test-rust-zk (push) Successful in 28s
Security Scanning / security-scan (push) Failing after 46s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 18s
Smart Contract Tests / test-solidity (map[name:zk-circuits path:apps/zk-circuits]) (push) Failing after 43s
Smart Contract Tests / lint-solidity (push) Failing after 12s
Staking Tests / test-staking-service (push) Failing after 2m33s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Systemd Sync / sync-systemd (push) Failing after 4s
- Remove `|| echo "⚠️ ..."` fallbacks that masked failures - Add explicit `exit 1` on port readiness failures and missing test directories - Track port_ready flag in health check loops to fail if services don't start - Replace warning emoji (⚠️) with error emoji (❌) for actual failures - Fix docs-validation to use curated Markdown target list excluding high-noise directories - Update rust-zk-tests paths from gpu_acceleration/research to dev
44 lines
1.4 KiB
Bash
Executable File
44 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
# Wallet Creation Script for AITBC
|
|
# This script creates a new wallet on the aitbc follower node using enhanced CLI
|
|
|
|
set -e # Exit on any error
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
|
CLI_PATH="${REPO_ROOT}/aitbc-cli"
|
|
|
|
echo "=== AITBC Wallet Creation (Enhanced CLI) ==="
|
|
|
|
echo "1. Pre-creation verification..."
|
|
echo "=== Current wallets on aitbc ==="
|
|
"$CLI_PATH" wallet list
|
|
|
|
echo "2. Creating new wallet on aitbc..."
|
|
"$CLI_PATH" wallet create aitbc-user $(cat /var/lib/aitbc/keystore/.password)
|
|
|
|
# Get wallet address using CLI
|
|
WALLET_ADDR=$("$CLI_PATH" wallet balance aitbc-user 2>/dev/null | grep "Address:" | awk '{print $2}' || echo "")
|
|
echo "New wallet address: $WALLET_ADDR"
|
|
|
|
# Verify wallet was created successfully using CLI
|
|
echo "3. Post-creation verification..."
|
|
echo "=== Updated wallet list ==="
|
|
"$CLI_PATH" wallet list | grep aitbc-user || echo "Wallet not found in list"
|
|
|
|
echo "=== New wallet details ==="
|
|
"$CLI_PATH" wallet balance aitbc-user
|
|
|
|
echo "=== All wallets summary ==="
|
|
"$CLI_PATH" wallet list
|
|
|
|
echo "4. Cross-node verification..."
|
|
echo "=== Network status (local) ==="
|
|
"$CLI_PATH" network status 2>/dev/null || echo "Network status not available"
|
|
|
|
echo "✅ Wallet created successfully using enhanced CLI!"
|
|
echo "Wallet name: aitbc-user"
|
|
echo "Wallet address: $WALLET_ADDR"
|
|
echo "Wallet is ready to receive AIT coins."
|
|
echo "All operations used enhanced CLI capabilities."
|