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

[WIP] Consolidate keeper logic #17

Merged
merged 3 commits into from
Jul 13, 2023
Merged

Conversation

kbrizzle
Copy link
Collaborator

  • Creates UKept

@github-actions
Copy link

[Payoff] Unit Test Code Coverage Report

Coverage after merging britz-consolidate-keeper-code into main will be
20.00%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/perennial-payoff/contracts
   PayoffFactory.sol0%0%0%0%12, 12–13, 16, 16–17
packages/perennial-payoff/contracts/interfaces
   IPayoffFactory.sol100%100%100%100%
   IPayoffProvider.sol100%100%100%100%
packages/perennial-payoff/contracts/payoff
   Giga.sol0%100%0%100%
   Kilo.sol0%100%0%100%
   KiloPowerHalf.sol0%100%0%0%11
   KiloPowerTwo.sol0%100%0%100%
   Mega.sol0%100%0%100%
   MegaPowerTwo.sol0%100%0%100%
   Micro.sol0%100%0%100%
   MicroPowerTwo.sol0%100%0%100%
   Milli.sol0%100%0%100%
   MilliPowerHalf.sol0%100%0%0%11
   MilliPowerTwo.sol100%100%100%100%
   Nano.sol0%100%0%100%
   PowerHalf.sol100%100%100%100%
   PowerTwo.sol100%100%100%100%

@github-actions
Copy link

[Payoff] Integration Test Code Coverage Report

Coverage after merging britz-consolidate-keeper-code into main will be
20.00%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/perennial-payoff/contracts
   PayoffFactory.sol0%0%0%0%12, 12–13, 16, 16–17
packages/perennial-payoff/contracts/interfaces
   IPayoffFactory.sol100%100%100%100%
   IPayoffProvider.sol100%100%100%100%
packages/perennial-payoff/contracts/payoff
   Giga.sol0%100%0%100%
   Kilo.sol0%100%0%100%
   KiloPowerHalf.sol0%100%0%0%11
   KiloPowerTwo.sol0%100%0%100%
   Mega.sol0%100%0%100%
   MegaPowerTwo.sol0%100%0%100%
   Micro.sol0%100%0%100%
   MicroPowerTwo.sol0%100%0%100%
   Milli.sol0%100%0%100%
   MilliPowerHalf.sol0%100%0%0%11
   MilliPowerTwo.sol100%100%100%100%
   Nano.sol0%100%0%100%
   PowerHalf.sol100%100%100%100%
   PowerTwo.sol100%100%100%100%

@github-actions
Copy link

[Core] Integration Test Coverage Report

Coverage after merging britz-consolidate-keeper-code into main will be
88.11%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/perennial/contracts
   Market.sol66.36%44.62%84.21%82.61%100, 103, 106–116, 116, 116, 116, 125, 128–153, 153, 160–162, 169, 171, 171, 171–172, 172, 172–174, 174, 174–175, 175, 175, 177, 181, 181, 181, 183–185, 189, 191–192, 194–195, 203, 235, 251–253, 325, 331, 390, 424, 452–453, 453, 453, 453, 460, 460, 462, 467, 467, 469–470, 470, 473, 475–476, 476, 478–479, 479, 481–482, 482, 484–485, 485, 488, 491, 491, 491–492, 492, 494, 498, 498, 503–504, 507, 509, 514, 514, 516–517, 517, 554, 558, 564–566, 570–572, 67, 93, 98, 98–99
   MarketFactory.sol63.89%50%71.43%70.59%39, 47, 53–54, 64, 66–67, 70, 73–74, 84
packages/perennial/contracts/interfaces
   IMarket.sol100%100%100%100%
   IMarketFactory.sol100%100%100%100%
packages/perennial/contracts/test
   GlobalTester.sol0%100%0%0%10, 14, 23–25, 29–31
packages/perennial/contracts/types
   Global.sol78%50%100%100%85–95
   Local.sol80.49%57.14%83.33%95.24%71, 77, 95–99
   MarketParameter.sol73.53%50%100%100%67–75
   Order.sol76%40%100%100%47, 55, 59, 59, 59, 59
   Position.sol80.31%58.70%88.89%94.44%116, 144, 174, 216, 244–250, 284–294
   ProtocolParameter.sol72.41%50%100%100%50–57
   RiskParameter.sol69.35%50%100%100%100–113, 95–99
   Version.sol89.91%70.59%100%98.51%167–168, 308–316

@kbrizzle kbrizzle merged commit 25c1efd into main Jul 13, 2023
5 of 9 checks passed
@kbrizzle kbrizzle deleted the britz-consolidate-keeper-code branch July 13, 2023 07:34
@github-actions
Copy link

[Core] Unit Test Coverage Report

Coverage after merging britz-consolidate-keeper-code into main will be
94.93%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/perennial/contracts
   Market.sol79.12%60.22%100%92.27%106–116, 116, 116, 116, 125, 128–153, 153, 325, 331, 390, 424, 452–453, 453, 453, 453, 460, 460, 467, 469–470, 470, 473, 476, 478–479, 479, 482, 484–485, 485, 487–488, 488, 491, 491, 491–492, 492, 498, 503–504, 507, 514, 516–517, 517, 558, 564–566, 570–572, 98
   MarketFactory.sol83.33%91.67%71.43%82.35%53–54, 64, 84
packages/perennial/contracts/interfaces
   IMarket.sol100%100%100%100%
   IMarketFactory.sol100%100%100%100%
packages/perennial/contracts/test
   GlobalTester.sol100%100%100%100%
packages/perennial/contracts/types
   Global.sol100%100%100%100%
   Local.sol85.37%57.14%100%100%71, 95–99
   MarketParameter.sol73.53%50%100%100%67–75
   Order.sol80%50%100%100%47, 55, 55, 59, 59
   Position.sol81.10%60.87%88.89%94.44%116, 144, 216, 244–250, 284–294
   ProtocolParameter.sol72.41%50%100%100%50–57
   RiskParameter.sol69.35%50%100%100%100–113, 95–99
   Version.sol89.91%70.59%100%98.51%167–168, 308–316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants