Skip to content

Commit

Permalink
add single vault actor logic for triple invariants
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailo-maksa committed May 23, 2024
1 parent 4ac3de6 commit 78854c2
Show file tree
Hide file tree
Showing 3 changed files with 794 additions and 252 deletions.
7 changes: 7 additions & 0 deletions test/invariant/EthMultiVaultSingleVaultInvariant.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ contract EthMultiVaultSingleVaultInvariantTest is InvariantEthMultiVaultBase {
// create single vault
ethMultiVault.createAtom{value: 100 ether}("PEPE");

// create 2 more atoms for the triple vault
ethMultiVault.createAtom{value: 100 ether}("WIF");
ethMultiVault.createAtom{value: 100 ether}("BASE");

// create triple vault
ethMultiVault.createTriple{value: 100 ether}(1, 2, 3);

// deploy actor
actor = new EthMultiVaultSingleVaultActor(ethMultiVault);

Expand Down
Loading

0 comments on commit 78854c2

Please sign in to comment.