Skip to content

Commit

Permalink
Merge branch 'master' into euler-synths-minimal-rework
Browse files Browse the repository at this point in the history
Signed-off-by: Mick de Graaf <[email protected]>
  • Loading branch information
MickdeGraaf authored Mar 19, 2024
2 parents bbbd1e9 + aa40792 commit 29699bf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ lcov.info

# Coverage directory
coverage/
*.info
*.info
15 changes: 15 additions & 0 deletions test/unit/evault/modules/Vault/views.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.8.0;

import "../../EVaultTestBase.t.sol";

contract Vault_views is EVaultTestBase {
function test_Vault_basicViews() public {
assertEq(eTST.asset(), address(assetTST));
address creator = makeAddr("creator");
vm.prank(creator);
address newVault = factory.createProxy(true, abi.encodePacked(address(assetTST), address(oracle), unitOfAccount));
assertEq(IEVault(newVault).creator(), creator);
}
}

0 comments on commit 29699bf

Please sign in to comment.