Files
smom-dbis-138/scripts/configure-network-advanced.sh
defiQUG 1fb7266469 Add Oracle Aggregator and CCIP Integration
- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control.
- Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities.
- Created .gitmodules to include OpenZeppelin contracts as a submodule.
- Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment.
- Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks.
- Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring.
- Created scripts for resource import and usage validation across non-US regions.
- Added tests for CCIP error handling and integration to ensure robust functionality.
- Included various new files and directories for the orchestration portal and deployment scripts.
2025-12-12 14:57:48 -08:00

48 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
# Wrapper script for configure-network-advanced.py
# Provides easy access to the advanced configuration tool
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/../lib/init.sh"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
# Check Python version
if ! command -v python3 &> /dev/null; then
log_error "Error: Python 3 is required"
exit 1
fi
PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
REQUIRED_VERSION="3.8"
if [ "$(printf '%s\n' "$REQUIRED_VERSION" "$PYTHON_VERSION" | sort -V | head -n1)" != "$REQUIRED_VERSION" ]; then
log_error "Error: Python 3.8 or higher is required (found $PYTHON_VERSION)"
exit 1
fi
# Check if script exists
if [ ! -f "$SCRIPT_DIR/configure-network-advanced.py" ]; then
log_error "Error: configure-network-advanced.py not found"
exit 1
fi
# Run advanced configuration tool
log_success "Starting Advanced Besu Network Configuration Tool..."
cd "$PROJECT_ROOT"
python3 "$SCRIPT_DIR/configure-network-advanced.py" "$@"
exit_code=$?
if [ $exit_code -eq 0 ]; then
log_success "Configuration complete!"
else
log_error "Configuration failed with exit code $exit_code"
exit $exit_code
fi