- 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.
63 lines
1.9 KiB
Markdown
63 lines
1.9 KiB
Markdown
# 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 ordered` and `--mode parallel`
|
|
- Replaces: `deploy-all-contracts.sh`, `deploy-contracts-parallel.sh`, `deploy-contracts-ordered.sh`
|
|
- Usage:
|
|
```bash
|
|
# 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
|
|
```
|
|
|
|
### 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
|
|
|
|
## Legacy Scripts (Still Available)
|
|
|
|
The following scripts are still available but may be consolidated in the future:
|
|
- `deploy-all-contracts.sh` - Use `deploy-contracts-unified.sh` instead
|
|
- `deploy-contracts-parallel.sh` - Use `deploy-contracts-unified.sh --mode parallel` instead
|
|
- `deploy-contracts-ordered.sh` - Use `deploy-contracts-unified.sh --mode ordered` instead
|
|
- `deploy-weth.sh` - Use `deploy-weth-unified.sh` instead
|
|
- `deploy-weth-create.sh` - Use `deploy-weth-unified.sh --method create` instead
|
|
- `deploy-weth-create2.sh` - Use `deploy-weth-unified.sh --method create2` instead
|
|
|
|
## Migration Guide
|
|
|
|
### Old Way
|
|
```bash
|
|
./deploy-all-contracts.sh
|
|
./deploy-weth.sh
|
|
```
|
|
|
|
### New Way
|
|
```bash
|
|
./deploy-contracts-unified.sh --mode ordered
|
|
./deploy-weth-unified.sh --method create --token both
|
|
```
|
|
|
|
## Future Consolidation
|
|
|
|
Planned consolidations:
|
|
1. Infrastructure deployment scripts
|
|
2. Verification scripts
|
|
3. Status checking scripts
|
|
4. Monitoring scripts
|
|
|