• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

delvtech / hyperdrive / 9844420245
87%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2024 06:07PM UTC
Jobs 1
Files 68
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2024 05:07PM UTC coverage: 92.759% (+0.1%) from 92.664%
9844420245

push

github

web-flow
Implemented a price discovery circuit breaker on `addLiquidity` and `initialize` (#1067)

* Implemented a basic version of the `addLiquidity` circuit breaker

* Fixed `test_lp_withdrawal_long_and_short_maturity`

* Fixed the remaining tests

* add priceDiscoveryCheck to LPMath and also check it in initialize

* use initial price

* add tests and fix placement of check

* remove lib from LPMath

* remove comment

* remove console import

* remove console import

* fix price discovery tests

* fixed tests

* commit test to investigate

* add test_solvency_at_0_apr

* add test_solvency_cross_checkpoint_long_short

* address review feedback

* Update test/integrations/hyperdrive/PriceDiscovery.t.sol

* Added some testing examples

* Minor updates

* Updated `verifyPriceDiscovery` to `calculateSolvencyAfterMaxLong`

* Cleaned up the tests

* Increased the efficiency of the solvency check

* Fixed the code size issue

* Addressed Saw Mon's comment

* Improved one of the price discovery tests

* Updated the price discovery tests

* Fixed the remaining tests

* Addressed review feedback from @mcclurejt

* Fixed the deployment scripts

---------

Co-authored-by: jonny rhea <jonathan.rhea@gmail.com>
Co-authored-by: Jonny Rhea <5555162+jrhea@users.noreply.github.com>

56 of 59 new or added lines in 6 files covered. (94.92%)

2024 of 2182 relevant lines covered (92.76%)

867358.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.99
-0.44% contracts/src/internal/HyperdriveBase.sol
2
96.6
-0.28% contracts/src/internal/HyperdriveLP.sol
Jobs
ID Job ID Ran Files Coverage
1 9844420245.1 08 Jul 2024 06:07PM UTC 68
92.76
GitHub Action Run
Source Files on build 9844420245
  • Tree
  • List 68
  • Changed 34
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9844420245
  • d838493e on github
  • Prev Build on main (#9764480772)
  • Next Build on main (#9938507711)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc