Skip to content

Commit

Permalink
Some more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeating committed Feb 7, 2024
1 parent 1225484 commit c4ff290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions script/interfaces/GovernorBravoInterfaces.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.23;

// Constracts were taken from
// This interface was created using cast interface. The contract can be found at
// https://etherscan.io/address/0x53a328f4086d7c0f1fa19e594c9b842125263026#code#F2#L182
// Taken from the address

interface GovernorBravoDelegate {
type ProposalState is uint8;
Expand Down
5 changes: 2 additions & 3 deletions test/UniStaker.integration.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ contract DeployScriptTest is Test, DeployInput {
}

contract Propose is ProposalTest {
// After setup, skip to passed proposal
// with a passed proposal verify it looks right
function testFuzz_CorrectlyPassAndExecutreProposal() public {
_passAndQueueUniswapProposal();
_executeProposal();
// assert the owner of the v3 factory is correct

IUniswapV3FactoryOwnerActions factory =
IUniswapV3FactoryOwnerActions(UNISWAP_V3_FACTORY_ADDRESS);

IUniswapPool wbtcWethPool = IUniswapPool(WBTC_WETH_3000_POOL);
(,,,,, uint8 wbtcWethFeeProtocol,) = wbtcWethPool.slot0();

Expand Down

0 comments on commit c4ff290

Please sign in to comment.