- Changed CCIP Router address from `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` to `0x42DAb7b888Dd382bD5Adcf9E038dBF1fD03b4817` across multiple documentation files. - Updated WETH9 Bridge address from `0x89dd12025bfCD38A168455A44B400e913ED33BE2` to `0xcacfd227A040002e49e2e01626363071324f820a`. - Ensured all references to the new addresses are consistent throughout the documentation. This update reflects the latest deployment configurations and ensures accurate contract references for ChainID 138.
4.6 KiB
CCIPReceiver Re-deployment Status
Date: 2025-12-24
Status: ⚠️ IN PROGRESS - Compilation issues blocking deployment
📋 Action Required
CCIPReceiver Re-deployment (ChainID 138)
- Current Address:
0x95007eC50d0766162F77848Edf7bdC4eBA147fb4 - Issue: Code size only 3 bytes (not actually deployed)
- Action: Re-deploy using fixed deployment script
✅ Completed Actions
1. Fixed Deployment Script
- File:
smom-dbis-138/script/DeployCCIPReceiver.s.sol - Issue: Script was missing
ORACLE_AGGREGATOR_ADDRESSparameter - Fix: Added
oracleAggregatorparameter to constructor call - Status: ✅ FIXED
Before:
CCIPReceiver receiver = new CCIPReceiver(ccipRouter);
After:
address oracleAggregator = vm.envAddress("ORACLE_AGGREGATOR_ADDRESS");
CCIPReceiver receiver = new CCIPReceiver(ccipRouter, oracleAggregator);
2. Fixed OraclePriceFeed Compilation Error
- File:
smom-dbis-138/contracts/reserve/OraclePriceFeed.sol - Issue:
updatePriceFeedwasexternaland couldn't be called internally - Fix: Changed
updatePriceFeedfromexternaltopublic - Status: ✅ FIXED
3. Verified Environment Variables
- PRIVATE_KEY: ✅ Set
- CCIP_ROUTER_ADDRESS: ✅
0x42DAb7b888Dd382bD5Adcf9E038dBF1fD03b4817 - ORACLE_AGGREGATOR_ADDRESS: ✅
0x99b3511a2d315a497c8112c1fdd8d508d4b1e506 - RPC_URL: ✅
http://192.168.11.250:8545 - Status: ✅ VERIFIED
4. Verified Network Connectivity
- RPC Endpoint: ✅ Accessible
- Deployer Balance: ✅ 999.63 ETH (sufficient)
- Network Status: ✅ Active (block 194687+)
- Status: ✅ VERIFIED
⚠️ Remaining Issues
1. Compilation Errors in Other Contracts
PriceFeedKeeper.sol (Line 251):
Error (7576): Undeclared identifier. "checkUpkeep" is not (or not yet) visible at this point.
Issue: checkUpkeep is external and being called internally.
Fix Required: Change checkUpkeep from external to public in PriceFeedKeeper.sol, or use this.checkUpkeep().
File: smom-dbis-138/contracts/reserve/PriceFeedKeeper.sol
Location: Line 86 (function definition) and Line 251 (function call)
🔧 Next Steps
Immediate
-
⚠️ Fix
PriceFeedKeeper.solcompilation error- Change
checkUpkeepfromexternaltopublic - Or change call to
this.checkUpkeep()
- Change
-
⚠️ Re-deploy CCIPReceiver
cd /home/intlc/projects/proxmox/smom-dbis-138 source ../explorer-monorepo/.env export PRIVATE_KEY=$(grep "^PRIVATE_KEY=" ../explorer-monorepo/.env | grep -v "^#" | tail -1 | cut -d'=' -f2) export CCIP_ROUTER_ADDRESS=$(grep "^CCIP_ROUTER_ADDRESS=" ../explorer-monorepo/.env | grep -v "^#" | tail -1 | cut -d'=' -f2) export ORACLE_AGGREGATOR_ADDRESS=$(grep "^ORACLE_AGGREGATOR_ADDRESS=" ../explorer-monorepo/.env | grep -v "^#" | tail -1 | cut -d'=' -f2) export RPC_URL=http://192.168.11.250:8545 forge script script/DeployCCIPReceiver.s.sol:DeployCCIPReceiver \ --rpc-url "$RPC_URL" \ --broadcast \ --legacy \ --gas-price 20000000000 \ --skip-simulation \ --via-ir -
⚠️ Verify deployment on-chain
cast code <NEW_ADDRESS> --rpc-url http://192.168.11.250:8545 -
⚠️ Update .env with new address (if different)
# Update explorer-monorepo/.env CCIP_RECEIVER=<NEW_ADDRESS> CCIP_RECEIVER_138=<NEW_ADDRESS>
📄 Files Modified
-
✅
smom-dbis-138/script/DeployCCIPReceiver.s.sol- Added
ORACLE_AGGREGATOR_ADDRESSparameter
- Added
-
✅
smom-dbis-138/contracts/reserve/OraclePriceFeed.sol- Changed
updatePriceFeedfromexternaltopublic
- Changed
-
⚠️
smom-dbis-138/contracts/reserve/PriceFeedKeeper.sol- NEEDS FIX: Change
checkUpkeepfromexternaltopublic
- NEEDS FIX: Change
📊 Deployment Configuration
Constructor Parameters
- CCIP Router:
0x42DAb7b888Dd382bD5Adcf9E038dBF1fD03b4817 - Oracle Aggregator:
0x99b3511a2d315a497c8112c1fdd8d508d4b1e506
Deployment Settings
- Gas Price: 20 gwei (20000000000 wei)
- Gas Limit: 5,000,000 (if needed)
- Transaction Type: Legacy
- RPC URL:
http://192.168.11.250:8545
🔍 Verification Checklist
After deployment:
- Contract code size > 100 bytes
- Contract address matches expected format
- Constructor parameters verified on-chain
- .env file updated with new address
- Documentation updated
Last Updated: 2025-12-24
Status: ⚠️ BLOCKED - Compilation errors need to be fixed before deployment