2.4 KiB
2.4 KiB
Environment File Cleanup Summary
Date: 2025-12-24
Status: ✅ CLEANUP COMPLETE
✅ Cleanup Actions
Files Processed
- ✅
/home/intlc/projects/proxmox/explorer-monorepo/.env - ✅
/home/intlc/projects/smom-dbis-138/.env
Actions Taken
- ✅ Identified duplicate contract address entries
- ✅ Kept best/most recent addresses (active)
- ✅ Commented out duplicates with
# DUPLICATE:prefix - ✅ Created backup files before modification
📋 Best Addresses (Active)
All contract addresses use the most recent deployed versions:
LINK Token
LINK_TOKEN=0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
CCIP_CHAIN138_FEE_TOKEN=0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
CCIP Contracts
CCIP_ROUTER_ADDRESS=0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e
CCIP_RECEIVER=0x95007eC50d0766162F77848Edf7bdC4eBA147fb4
CCIP_LOGGER=0xF597ABbe5E1544845C6Ba92a6884B4D601ffa334
Oracle Contracts
ORACLE_AGGREGATOR_ADDRESS=0x99b3511a2d315a497c8112c1fdd8d508d4b1e506
ORACLE_PROXY_ADDRESS=0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6
Bridge Contracts
CCIPWETH9_BRIDGE=0x89dd12025bfCD38A168455A44B400e913ED33BE2
CCIPWETH10_BRIDGE=0xe0E93247376aa097dB308B92e6Ba36bA015535D0
Pre-deployed Contracts
WETH9_ADDRESS=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
WETH10_ADDRESS=0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f
📄 Duplicate Handling
Format
Duplicates are commented out with the prefix # DUPLICATE: to:
- Preserve history
- Make it clear they are duplicates
- Allow easy identification if needed
Example
# Active (first occurrence)
LINK_TOKEN=0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
# Duplicate (commented out)
# DUPLICATE: LINK_TOKEN=0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
✅ Verification
All required addresses are present and active:
- ✅ LINK_TOKEN
- ✅ CCIP_RECEIVER
- ✅ CCIP_LOGGER
- ✅ CCIP_ROUTER_ADDRESS
- ✅ ORACLE_AGGREGATOR_ADDRESS
- ✅ CCIPWETH9_BRIDGE
- ✅ CCIPWETH10_BRIDGE
🔄 Backup Files
Backup files created before cleanup:
explorer-monorepo/.env.backup.YYYYMMDD_HHMMSSsmom-dbis-138/.env.backup.YYYYMMDD_HHMMSS
These can be used to restore previous state if needed.
✅ Status
All .env files cleaned and optimized!
- ✅ Best addresses active
- ✅ Duplicates commented out
- ✅ All required addresses present
- ✅ Backups created
Last Updated: 2025-12-24