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

delvtech / hyperdrive / 8928108247
87%

Build:
DEFAULT BRANCH: main
Ran 02 May 2024 05:45PM UTC
Jobs 1
Files 78
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

02 May 2024 05:18PM UTC coverage: 92.999% (-0.6%) from 93.634%
8928108247

push

github

web-flow
Price Discovery Fix Pt. 1 (#1012)

* Updated `calculateUpdateLiquidity` to use the new algorithm

* Implemented the initialization logic

* Updated to the latest solution

* Fixed some add liquidity unit tests

* Fixed the `openShort` unit tests

* Fixed the `closeLong` unit tests

* Fixed `estimateLongProceeds` and `estimateShortProceeds`

* Fixed more tests

* Fixed the `ExtremeInputs` tests

* Fixed the `updateLiquidity` tests

* Fixed most of the intra-checkpoint netting tests

* Fixed more tests

* Fixed the remaining sandwich test

* Added an error for `InvalidEffectiveShareReserves` and fixed the remaining tests

* Cleaned up the PR

* Added another target

* Moved the add liquidity sandwich into `SandwichTest`

* Appeased the nit gods

* Addressed review feedback from @mcclurejt

* Increased coverage

---------

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

38 of 40 new or added lines in 11 files covered. (95.0%)

20 existing lines in 5 files now uncovered.

1820 of 1957 relevant lines covered (93.0%)

385748.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.86
2.94% contracts/src/deployers/HyperdriveDeployerCoordinator.sol
1
66.67
contracts/src/deployers/ezeth/EzETHTarget5Deployer.sol

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.83
0.13% contracts/src/internal/HyperdriveLP.sol
1
93.81
-0.88% contracts/src/internal/HyperdriveShort.sol
2
93.81
-1.77% contracts/src/internal/HyperdriveLong.sol
2
91.43
-1.9% contracts/src/libraries/YieldSpaceMath.sol
14
84.29
-4.38% contracts/src/libraries/LPMath.sol
Jobs
ID Job ID Ran Files Coverage
1 8928108247.1 02 May 2024 05:45PM UTC 78
93.0
GitHub Action Run
Source Files on build 8928108247
  • Tree
  • List 78
  • Changed 54
  • Source Changed 18
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8928108247
  • 1389e3b5 on github
  • Prev Build on gh-readonly-queue/main/pr-1008-95e456efb211b561c8b5cc1cefc6d23a55bbe853 (#8883158435)
  • Next Build on main (#8932626390)
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