From 61528aa8d9233ca328712e3c949390f1bc74b645 Mon Sep 17 00:00:00 2001 From: keating Date: Tue, 6 Feb 2024 09:57:57 -0500 Subject: [PATCH] Fix formatting --- script/Deploy.s.sol | 9 ++++++--- test/UniStaker.integration.t.sol | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index a5b2f03..289ba95 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -14,7 +14,7 @@ import {INotifiableRewardReceiver} from "src/interfaces/INotifiableRewardReceive import {IUniswapV3FactoryOwnerActions} from "src/interfaces/IUniswapV3FactoryOwnerActions.sol"; contract Deploy is Script, DeployInput { - uint256 deployerPrivateKey; + uint256 deployerPrivateKey; function setUp() public { deployerPrivateKey = vm.envOr( @@ -26,8 +26,11 @@ contract Deploy is Script, DeployInput { function run() public returns (V3FactoryOwner, UniStaker) { vm.startBroadcast(deployerPrivateKey); // Deploy the staking contract - UniStaker uniStaker = - new UniStaker(IERC20(PAYOUT_TOKEN_ADDRESS), IERC20Delegates(STAKE_TOKEN_ADDRESS), vm.addr(deployerPrivateKey)); + UniStaker uniStaker = new UniStaker( + IERC20(PAYOUT_TOKEN_ADDRESS), + IERC20Delegates(STAKE_TOKEN_ADDRESS), + vm.addr(deployerPrivateKey) + ); // Deploy a new owner for the V3 factory owner actions contract. V3FactoryOwner v3FactoryOwner = new V3FactoryOwner( diff --git a/test/UniStaker.integration.t.sol b/test/UniStaker.integration.t.sol index 7d31e73..2063120 100644 --- a/test/UniStaker.integration.t.sol +++ b/test/UniStaker.integration.t.sol @@ -15,7 +15,7 @@ contract DeployScriptTest is Test, DeployInput { function testFork_DeployStakingContracts() public { Deploy _deployScript = new Deploy(); - _deployScript.setUp(); + _deployScript.setUp(); (V3FactoryOwner v3FactoryOwner, UniStaker uniStaker) = _deployScript.run(); assertEq(v3FactoryOwner.admin(), UNISWAP_GOVERNOR_TIMELOCK);