Skip to content

Commit

Permalink
Prefer to use --private-key over in-code
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquefynn committed Jan 30, 2024
1 parent 19fa617 commit 6cc7022
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script/FeeRewardsManager.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import "../src/FeeRewardsManager.sol";

contract Deployer is Script {
function run() external {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
vm.startBroadcast();
new FeeRewardsManager(uint32(vm.envUint("DEFAULT_FEE")));
vm.stopBroadcast();
}
Expand Down

0 comments on commit 6cc7022

Please sign in to comment.