Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Re-Add SingleBalancedVault and Tests #201

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Conversation

arjun-io
Copy link
Collaborator

No description provided.

@github-actions
Copy link

Unit Test Coverage Report

Coverage after merging arjun/re-add-balanced into master will be
98.68%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/perennial/contracts/collateral
   Collateral.sol93.57%85%100%100%110, 113, 236, 53, 57, 86, 91–93
packages/perennial/contracts/collateral/types
   OptimisticLedger.sol100%100%100%100%
packages/perennial/contracts/controller
   Controller.sol100%100%100%100%
   UControllerProvider.sol97.44%93.75%100%100%33
packages/perennial/contracts/incentivizer
   Incentivizer.sol95.80%89.66%100%100%140, 153, 166, 185, 42, 83
packages/perennial/contracts/incentivizer/types
   ProductManager.sol100%100%100%100%
   Program.sol100%100%100%100%
packages/perennial/contracts/interfaces
   ICollateral.sol100%100%100%100%
   IContractPayoffProvider.sol100%100%100%100%
   IController.sol100%100%100%100%
   IIncentivizer.sol100%100%100%100%
   IMultiInvoker.sol100%100%100%100%
   IMultiInvokerRollup.sol100%100%100%100%
   IParamProvider.sol100%100%100%100%
   IPayoffProvider.sol100%100%100%100%
   IPerennialLens.sol100%100%100%100%
   IProduct.sol100%100%100%100%
packages/perennial/contracts/interfaces/types
   Accumulator.sol100%100%100%100%
   PackedAccumulator.sol100%100%100%100%
   PackedPosition.sol100%100%100%100%
   PayoffDefinition.sol91.67%75%100%100%61, 66, 79
   PendingFeeUpdates.sol90.70%60%100%100%34, 51, 68, 80
   Position.sol100%100%100%100%
   PrePosition.sol100%100%100%100%
   ProgramInfo.sol100%100%100%100%
packages/perennial/contracts/lens
   PerennialLens.sol87.06%53.57%100%100%103, 168, 177, 186, 195, 205, 214, 226, 240, 250, 261, 274, 292, 302, 312, 322, 334, 348, 363, 375, 387, 399, 423, 437, 464, 65
packages/perennial/contracts/multiinvoker
   MultiInvoker.sol92.77%90.38%95.24%93.55%156–157, 159, 372, 386, 386, 386–388, 390, 49
   MultiInvokerRollup.sol92.52%90%92.86%93.55%180, 187, 187–190, 192, 240, 250–251
packages/perennial/contracts/product
   Product.sol91.61%80.95%100%100%136, 208, 212–214, 216, 244, 247–248, 281, 285, 287–288, 290, 318, 320–323, 346, 346, 494, 494, 68
   UParamProvider.sol91.93%79.03%100%100%113, 132, 144, 167, 179, 202, 214, 236, 254, 254, 262, 36, 94
   UPayoffProvider.sol96%83.33%100%100%33
packages/perennial/contracts/product/types/accumulator
   AccountAccumulator.sol100%100%100%100%
   VersionedAccumulator.sol100%100%100%100%
packages/perennial/contracts/product/types/position
   AccountPosition.sol100%100%100%100%
   VersionedPosition.sol100%100%100%100%
packages/perennial/contracts/test
   TestnetBatcher.sol100%100%100%100%
   TestnetDSU.sol100%100%100%100%
   TestnetProductProvider.sol100%100%100%100%
   TestnetReserve.sol100%100%100%100%
   TestnetUSDC.sol100%100%100%100%
   TestnetVault.sol88.24%100%80%91.67%44

@github-actions
Copy link

[Vaults] Integration Test Coverage Report

Coverage after merging arjun/re-add-balanced into master will be
38.80%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/perennial-vaults/contracts/balanced
   BalancedVault.sol0%0%0%0%113, 113–115, 118–119, 122–124, 124, 124–125, 135, 144–145, 154–155, 155, 155, 157, 157, 157–161, 163–166, 169, 171, 182, 182, 182, 184–185, 185, 185, 187, 187, 187–191, 193–196, 199, 201, 209, 211–215, 218–220, 220, 220, 222, 224, 234–236, 245–246, 256–257, 265–266, 274–275, 284–285, 293–294, 303–304, 313–314, 316, 325–326, 328, 336, 336, 336, 345–346, 346, 346, 351, 360–361, 361, 361, 366, 377, 379, 379, 379–384, 386–387, 389–392, 394, 396–397, 400–403, 406, 406, 406–407, 407, 407–412, 414, 414, 414–420, 422, 433–434, 443–444, 444, 444–445, 448–449, 451, 451, 451–453, 453, 453–454, 458–459, 461, 461, 461–463, 463, 463–464, 475, 479, 479, 479–480, 483–485, 485, 485, 485, 485, 487–489, 491–492, 502, 504, 504, 504, 506–508, 508, 511, 514, 514, 514, 516–518, 518, 518, 520, 530, 532, 532, 532–534, 534, 534–535, 544–546, 554, 563–564, 575, 575, 575–576, 586–588, 591, 601–602, 614, 614, 614–616, 616, 616, 618, 628, 628, 628, 628, 628, 628, 628, 640, 640, 640–642, 642, 642, 657, 657, 657–658, 667, 671, 671, 671, 680, 680, 680–681, 691, 691, 691–692, 701, 701, 701–702, 712, 712, 712–713, 721–723, 736, 736, 736–737, 747, 747, 747–748, 758–760, 764, 773, 784–785, 788, 798–799, 801, 814, 814, 814–816, 816, 816
   BalancedVaultDefinition.sol0%0%0%0%100, 100, 100, 102–103, 103, 103–104, 104, 104–105, 105, 105–106, 106, 106, 108–110, 110, 110–111, 111, 111–112, 112, 112, 114–115, 115, 115, 118, 118, 118, 120–122, 124, 124, 124, 126–127, 127, 127–130, 130, 130–131, 131, 131, 142, 142, 142–143, 143, 143, 145, 81, 81, 81, 83–87, 89–90, 90, 90–92, 94, 94, 94–95, 95, 95–96, 96, 96, 98, 98, 98–99, 99, 99
packages/perennial-vaults/contracts/interfaces
   IBalancedVault.sol100%100%100%100%
   IBalancedVaultDefinition.sol100%100%100%100%
   ISingleBalancedVault.sol100%100%100%100%
packages/perennial-vaults/contracts/single-balanced
   SingleBalancedVault.sol100%100%100%100%

@arjun-io arjun-io merged commit a71759d into master Jul 25, 2023
7 checks passed
@arjun-io arjun-io deleted the arjun/re-add-balanced branch July 25, 2023 00:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants