chore: sync submodule state (parent ref update)

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-02 12:14:09 -08:00
parent 50ab378da9
commit 5efe36b1e0
1100 changed files with 155024 additions and 8674 deletions

View File

@@ -15,8 +15,6 @@ contract DeployKeeper is Script {
require(chainId == 138, "This script is for ChainID 138 only");
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
address deployer = vm.addr(deployerPrivateKey);
console.log("=== Deploy Price Feed Keeper (ChainID 138) ===");
console.log("Deployer:", deployer);
@@ -24,8 +22,15 @@ contract DeployKeeper is Script {
// Load addresses from environment
address admin = vm.envOr("RESERVE_ADMIN", deployer);
address oraclePriceFeed = vm.envAddress("ORACLE_PRICE_FEED");
address oraclePriceFeed = vm.envOr("ORACLE_PRICE_FEED", address(0));
if (oraclePriceFeed == address(0)) {
console.log("ORACLE_PRICE_FEED not set in .env. Skipping keeper deployment.");
console.log("Set ORACLE_PRICE_FEED (from SetupPriceFeeds.s.sol) or RESERVE_KEEPER (existing keeper) in .env.");
return;
}
vm.startBroadcast(deployerPrivateKey);
console.log("Deploying PriceFeedKeeper...");
PriceFeedKeeper keeper = new PriceFeedKeeper(admin, oraclePriceFeed);
console.log("PriceFeedKeeper deployed at:", address(keeper));