Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add empty POC test #21

Merged
merged 1 commit into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading