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.
This commit is contained in:
35
scripts/deployment/generate-static-nodes.sh
Executable file
35
scripts/deployment/generate-static-nodes.sh
Executable file
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
# Generate static-nodes.json from deployed node information
|
||||
# Run this after nodes are deployed to get their enode addresses
|
||||
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$SCRIPT_DIR/../lib/init.sh"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||||
cd "$PROJECT_ROOT"
|
||||
|
||||
CONFIG_DIR="$PROJECT_ROOT/config"
|
||||
|
||||
echo "=== Generating static-nodes.json ==="
|
||||
echo "This script generates static-nodes.json from deployed nodes."
|
||||
echo "For now, creating template with placeholders."
|
||||
|
||||
cat > "$CONFIG_DIR/static-nodes.json" << 'EOF'
|
||||
[
|
||||
"enode://<validator-1-public-key>@<validator-1-ip>:30303",
|
||||
"enode://<validator-2-public-key>@<validator-2-ip>:30303",
|
||||
"enode://<validator-3-public-key>@<validator-3-ip>:30303",
|
||||
"enode://<validator-4-public-key>@<validator-4-ip>:30303",
|
||||
"enode://<sentry-1-public-key>@<sentry-1-ip>:30303",
|
||||
"enode://<sentry-2-public-key>@<sentry-2-ip>:30303",
|
||||
"enode://<sentry-3-public-key>@<sentry-3-ip>:30303"
|
||||
]
|
||||
EOF
|
||||
|
||||
echo "✅ Created static-nodes.json template"
|
||||
echo "After deployment, update with actual:"
|
||||
echo " 1. Node public keys (from keys/validators and keys/sentries)"
|
||||
echo " 2. Node IP addresses (from kubectl get pods -n besu-network)"
|
||||
echo "To extract enode addresses from running nodes:"
|
||||
echo " kubectl exec -n besu-network besu-validator-0 -- besu public-key export --node-private-key-file=/keys/key.priv"
|
||||
Reference in New Issue
Block a user