Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xorsal committed Nov 27, 2024
1 parent 728e0e8 commit 6550a32
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions solidity/test/unit/modules/access/WhitelistAccessModule.t.sol
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import 'forge-std/Test.sol';

import {Helpers} from '../../../utils/Helpers.sol';

import {IModule} from '@defi-wonderland/prophet-core/solidity/interfaces/IModule.sol';
import {IOracle} from '@defi-wonderland/prophet-core/solidity/interfaces/IOracle.sol';
import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import 'forge-std/Test.sol';

import {
IAccessModule,
IWhitelistAccessModule,
WhitelistAccessModule
IAccessModule, WhitelistAccessModule
} from '../../../../contracts/examples/modules/access/WhitelistAccessModule.sol';
import {Helpers} from '../../../utils/Helpers.sol';

contract ForTest_WhitelistAccessModule is WhitelistAccessModule {
constructor(IOracle _oracle) WhitelistAccessModule(_oracle) {}
Expand All @@ -36,8 +30,6 @@ contract BaseTest is Test, Helpers {

function setUp() public {
oracle = IOracle(makeAddr('Oracle'));
vm.etch(address(oracle), hex'069420');
//
whitelistAccessModule = new ForTest_WhitelistAccessModule(oracle);
}
}
Expand Down

0 comments on commit 6550a32

Please sign in to comment.