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

delvtech / hyperdrive / 8933086049
93%
main: 87%

Build:
Build:
LAST BUILD BRANCH: jalextowle/erc1155/supports-interface
DEFAULT BRANCH: main
Ran 03 May 2024 02:25AM UTC
Jobs 1
Files 66
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

03 May 2024 02:01AM UTC coverage: 93.235% (+0.08%) from 93.16%
8933086049

push

github

web-flow
Remove `HyperdriveTarget4` and `HyperdriveTarget5` (#1014)

* 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`

* Adds a time-weighted spot price to each checkpoint

* Update the weighted spot price in `openLong` and `closeLong`

* Update the weighted spot price in `openShort` and `closeShort`

* Added an immutable for the `addLiquidity` circuit breaker

* Added the `addLiquidity` circuit-breakers

* fix oom with a smaller vm.warp value via advanceTimeWithCheckpoints2

* add missing advanceTimeWithCheckpoints2

* Fixed a bug and most of the failing tests

* add circuit breaker tests

* add additional tests

* push netted weighted average test

* address nitlers nits

* add max min checks to netted test

* add more checks to netting cb test

* Moved the add liquidity sandwich into `SandwichTest`

* Added guards for the circuit breaker delta to the HyperdriveFactory

* Appeased the nit gods

* Addressed review feedback from @mcclurejt

* fix variable renaming

* fix lint issues

* Appeased the nit gods

* Switched to using external libraries

* Fixed the oom issue

* Removed targets 4 and 5

---------

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

21 of 21 new or added lines in 5 files covered. (100.0%)

1 existing line in 1 file now uncovered.

1833 of 1966 relevant lines covered (93.23%)

934698.75 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
99.16
-0.42% contracts/src/factory/HyperdriveFactory.sol
Jobs
ID Job ID Ran Files Coverage
1 8933086049.1 03 May 2024 02:25AM UTC 66
93.23
GitHub Action Run
Source Files on build 8933086049
  • Tree
  • List 66
  • Changed 50
  • Source Changed 16
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8933086049
  • fee32773 on github
  • Prev Build on gh-readonly-queue/main/pr-1013-1389e3b571fc11c5acfe5adb323a4e41cfedba35 (#8932332862)
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