-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity 0.8.25; | ||
|
||
import {Bootstrap} from "test/utils/Bootstrap.sol"; | ||
import {Test} from "forge-std/Test.sol"; | ||
import { KSXVault } from "../src/KSXVault.sol"; | ||
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | ||
|
||
contract KSXVaultTest is Bootstrap { | ||
contract KSXVaultTest is Test { | ||
function setUp() public { | ||
/// @dev uncomment the following line to test in a forked environment | ||
/// at a specific block number | ||
// vm.rollFork(NETWORK_BLOCK_NUMBER); | ||
|
||
initializeOptimismGoerli(); | ||
} | ||
} | ||
|
||
contract MockERC20 is ERC20 { | ||
constructor (string memory name_, string memory symbol_) ERC20(name_, symbol_) {} | ||
|
||
function mint(address to, uint256 amount) external { | ||
_mint(to, amount); | ||
} | ||
} |