- 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.
1.9 KiB
1.9 KiB
Deployment Scripts Consolidation
Date: 2025-11-18
Status: In Progress
Unified Scripts
Contract Deployment
deploy-contracts-unified.sh- Unified contract deployment script- Supports both
--mode orderedand--mode parallel - Replaces:
deploy-all-contracts.sh,deploy-contracts-parallel.sh,deploy-contracts-ordered.sh - Usage:
# Ordered deployment (respects dependencies) ./deploy-contracts-unified.sh --mode ordered # Parallel deployment (where dependencies allow) ./deploy-contracts-unified.sh --mode parallel # Dry run ./deploy-contracts-unified.sh --dry-run
- Supports both
WETH Deployment
deploy-weth-unified.sh- Unified WETH deployment script- Supports multiple methods:
create,create2,genesis - Supports token selection:
weth9,weth10,both - Optional CCIP bridge deployment
- Replaces: Multiple WETH deployment scripts
- Supports multiple methods:
Legacy Scripts (Still Available)
The following scripts are still available but may be consolidated in the future:
deploy-all-contracts.sh- Usedeploy-contracts-unified.shinsteaddeploy-contracts-parallel.sh- Usedeploy-contracts-unified.sh --mode parallelinsteaddeploy-contracts-ordered.sh- Usedeploy-contracts-unified.sh --mode orderedinsteaddeploy-weth.sh- Usedeploy-weth-unified.shinsteaddeploy-weth-create.sh- Usedeploy-weth-unified.sh --method createinsteaddeploy-weth-create2.sh- Usedeploy-weth-unified.sh --method create2instead
Migration Guide
Old Way
./deploy-all-contracts.sh
./deploy-weth.sh
New Way
./deploy-contracts-unified.sh --mode ordered
./deploy-weth-unified.sh --method create --token both
Future Consolidation
Planned consolidations:
- Infrastructure deployment scripts
- Verification scripts
- Status checking scripts
- Monitoring scripts