diff --git a/script/StrategyKeeperManagement.s.sol b/script/StrategyKeeperManagement.s.sol index 5b7cc227..bb0b5e25 100644 --- a/script/StrategyKeeperManagement.s.sol +++ b/script/StrategyKeeperManagement.s.sol @@ -6,13 +6,15 @@ import "@tokenized-strategy/interfaces/ITokenizedStrategy.sol"; contract StrategyKeeperManagement is Script { function run() external { + uint256 deployerPK = vm.envUint("PRIVATE_KEY"); + uint256 keeperAddress = vm.envAddress("KEEPER_ADDRESS"); address strategy = vm.envAddress("STRATEGY"); // Set up the RPC URL (optional if you're using the default foundry config) string memory rpcUrl = vm.envString("RPC_URL"); - vm.startBroadcast(strategyManagement); + vm.startBroadcast(deployerPK); ITokenizedStrategy(strategy).setKeeper(keeperAddress); console.log("accepted management"); vm.stopBroadcast();