Skip to content

Commit

Permalink
Fix linter formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
apbendi committed Dec 31, 2023
1 parent aea5ddf commit d748716
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
13 changes: 2 additions & 11 deletions script/DeployLaunch.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,12 @@ contract DeployLaunch is DeployLaunchConstants, Script {
_executors[0] = address(0x0);

vm.startBroadcast(deployer);
_timelock = new TimelockController(
TIMELOCK_MIN_DELAY,
_proposers,
_executors,
deployer
);
_timelock = new TimelockController(TIMELOCK_MIN_DELAY, _proposers, _executors, deployer);

_token = new GuineaPigToken(address(_timelock), INITIAL_MINT_RECEIVER, INITIAL_MINT_AMOUNT);

_governor = new GuineaPigGovernor(
_token,
INITIAL_VOTING_DELAY,
INITIAL_VOTING_PERIOD,
INITIAL_PROPOSAL_THRESHOLD,
_timelock
_token, INITIAL_VOTING_DELAY, INITIAL_VOTING_PERIOD, INITIAL_PROPOSAL_THRESHOLD, _timelock
);

// Give the Governor the roles it needs to execute & cancel proposals
Expand Down
13 changes: 2 additions & 11 deletions test/GuineaPigGovernor.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,12 @@ contract GuineaPigGovernorTest is Test {
uint256 INITIAL_PROPOSAL_THRESHOLD = 100_000e18;

function setUp() public {
timelock = new TimelockController(
100,
new address[](0),
new address[](0),
address(this)
);
timelock = new TimelockController(100, new address[](0), new address[](0), address(this));

token = new GuineaPigToken(address(timelock), address(0xcafe), 100e18);

governor = new GuineaPigGovernor(
token,
INITIAL_VOTING_DELAY,
INITIAL_VOTING_PERIOD,
INITIAL_PROPOSAL_THRESHOLD,
timelock
token, INITIAL_VOTING_DELAY, INITIAL_VOTING_PERIOD, INITIAL_PROPOSAL_THRESHOLD, timelock
);
}
}
Expand Down

0 comments on commit d748716

Please sign in to comment.