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

delvtech / hyperdrive / 8932626390
87%

Build:
DEFAULT BRANCH: main
Ran 03 May 2024 01:26AM CUT
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

03 May 2024 12:30AM CUT coverage: 93.16% (+0.2%) from 92.999%
8932626390

push

github

web-flow
Price Discovery Fix Pt. 2 (#1013)

* 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

---------

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

73 of 73 new or added lines in 9 files covered. (100.0%)

1866 of 2003 relevant lines covered (93.16%)

919687.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8932626390.1 03 May 2024 01:26AM CUT 78
93.16
GitHub Action Run
Source Files on build 8932626390
  • Tree
  • List 78
  • Changed 37
  • Source Changed 12
  • Coverage Changed 11
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
...ployers/reth/RETHHyperdriveDeployerCoordinator.sol152 18 0 18 0.0
61.11
...oyers/steth/StETHHyperdriveDeployerCoordinator.sol145 18 11 7 199.0
63.64
...oyers/ezeth/EzETHHyperdriveDeployerCoordinator.sol161 22 14 8 163.0
66.67
...racts/src/deployers/ezeth/EzETHTarget5Deployer.sol35 3 2 1 42.0
66.67
...racts/src/deployers/ezeth/EzETHTarget3Deployer.sol35 3 2 1 42.0
66.67
...racts/src/deployers/ezeth/EzETHTarget4Deployer.sol35 3 2 1 42.0
66.67
...racts/src/deployers/ezeth/EzETHTarget1Deployer.sol35 3 2 1 42.0
66.67
...rc/deployers/ezeth/EzETHHyperdriveCoreDeployer.sol62 3 2 1 52.0
66.67
...racts/src/deployers/ezeth/EzETHTarget0Deployer.sol35 3 2 1 42.0
66.67
...racts/src/deployers/ezeth/EzETHTarget2Deployer.sol35 3 2 1 42.0
Showing 1 to 10 of 78 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 8
  • Next
  • ►
    93.16
    contracts/
  • Back to Repo
  • Github Actions Build #8932626390
  • ca827b5a on github
  • Prev Build on main (#8928108247)
  • Next Build on main (#8933353219)
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