Skip to content

Commit

Permalink
Merge pull request #21 from euler-xyz/poc
Browse files Browse the repository at this point in the history
Add empty POC test
  • Loading branch information
kasperpawlowski authored May 18, 2024
2 parents d8bbb37 + 22c3465 commit 4f63aea
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
29 changes: 29 additions & 0 deletions test/unit/POC.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

import "forge-std/Test.sol";
import {EthereumVaultConnector} from "evc/EthereumVaultConnector.sol";
import {StakingRewardStreams} from "../../src/StakingRewardStreams.sol";
import {TrackingRewardStreams} from "../../src/TrackingRewardStreams.sol";
import {MockERC20, MockERC20BalanceForwarder} from "../utils/MockERC20.sol";

contract POC_Test is Test {
EthereumVaultConnector internal evc;
StakingRewardStreams internal stakingDistributor;
TrackingRewardStreams internal trackingDistributor;
MockERC20 internal mockERC20;
MockERC20BalanceForwarder internal mockERC20BalanceForwarder;

function setUp() external {
evc = new EthereumVaultConnector();

stakingDistributor = new StakingRewardStreams(address(evc), 10 days);
mockERC20 = new MockERC20("Mock ERC20", "MOCK");

trackingDistributor = new TrackingRewardStreams(address(evc), 10 days);
mockERC20BalanceForwarder = new MockERC20BalanceForwarder(evc, trackingDistributor, "Mock ERC20 BT", "MOCK_BT");
}

function test_POC() external {}
}
2 changes: 0 additions & 2 deletions test/unit/View.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ pragma solidity ^0.8.0;
import "forge-std/Test.sol";
import "evc/EthereumVaultConnector.sol";
import "../harness/BaseRewardStreamsHarness.sol";
import {MockERC20} from "../utils/MockERC20.sol";
import {MockController} from "../utils/MockController.sol";
import {boundAddr} from "../utils/TestUtils.sol";

contract ViewTest is Test {
Expand Down

0 comments on commit 4f63aea

Please sign in to comment.