Skip to content

Commit

Permalink
✅ isVaultDeployed test
Browse files Browse the repository at this point in the history
  • Loading branch information
transmissions11 committed Dec 11, 2021
1 parent 79d62d5 commit 0d57d65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ testSetDefaultHarvestWindow() (gas: 65482)
testDefaultHarvestWindowOverridesCustomOfZero() (gas: 67656)
testSetCustomTargetFloatPercent() (gas: 53993)
testSetDefaultHarvestDelay() (gas: 55816)
testFailNoDuplicateVaults() (gas: 272747603292618)
testIsVaultDeployed() (gas: 3690)
testFailNoDuplicateVaults() (gas: 272747603292619)
testDeployVault() (gas: 4154358)
testVaultCreation() (gas: 4309323)
testSetConfigurationModule() (gas: 3471)
Expand Down
4 changes: 4 additions & 0 deletions src/test/VaultFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ contract VaultFactoryTest is DSTestPlus {
vaultFactory.deployVault(underlying);
vaultFactory.deployVault(underlying);
}

function testIsVaultDeployed() public {
assertFalse(vaultFactory.isVaultDeployed(Vault(payable(address(0xBEEF)))));
}
}

0 comments on commit 0d57d65

Please sign in to comment.