delvtech / hyperdrive

An automated market maker for fixed and variable yield with on-demand terms.
Apache License 2.0
25 stars 3 forks source link

misc coverage increase #993

Closed jrhea closed 2 months ago

jrhea commented 2 months ago

Description

This PR covers an invalid deployer coordinator case that is untested and a InsufficientLiquidity revert in YS Math

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 8747588042

Details


Totals Coverage Status
Change from base Build 8747462364: 0.2%
Covered Lines: 1807
Relevant Lines: 1932

💛 - Coveralls
github-actions[bot] commented 2 months ago

Hyperdrive Gas Benchmark

Benchmark suite Current: 7d5e7d5bf2149b1bd997e3f4c14c10063135fcde Previous: abd8f923eebf35218213516a8fd00578b0733b50 Deviation Status
addLiquidity: min 33893 gas 33893 gas 0% 🟰
addLiquidity: avg 144322 gas 144334 gas -0.0083% ✅
addLiquidity: max 428319 gas 428295 gas 0.0056% 🚨
checkpoint: min 40220 gas 40220 gas 0% 🟰
checkpoint: avg 103967 gas 104048 gas -0.0778% ✅
checkpoint: max 212154 gas 212154 gas 0% 🟰
closeLong: min 31517 gas 31517 gas 0% 🟰
closeLong: avg 138453 gas 138592 gas -0.1003% ✅
closeLong: max 2640435 gas 2640435 gas 0% 🟰
closeShort: min 31394 gas 31394 gas 0% 🟰
closeShort: avg 132774 gas 132876 gas -0.0768% ✅
closeShort: max 227565 gas 227565 gas 0% 🟰
initialize: min 31305 gas 31305 gas 0% 🟰
initialize: avg 253638 gas 253634 gas 0.0016% 🚨
initialize: max 322898 gas 322898 gas 0% 🟰
openLong: min 33437 gas 33437 gas 0% 🟰
openLong: avg 167181 gas 167394 gas -0.1272% ✅
openLong: max 253057 gas 253057 gas 0% 🟰
openShort: min 33959 gas 33959 gas 0% 🟰
openShort: avg 170155 gas 170193 gas -0.0223% ✅
openShort: max 385545 gas 385545 gas 0% 🟰
redeemWithdrawalShares: min 31227 gas 31227 gas 0% 🟰
redeemWithdrawalShares: avg 61643 gas 62055 gas -0.6639% ✅
redeemWithdrawalShares: max 167572 gas 167572 gas 0% 🟰
removeLiquidity: min 31191 gas 31191 gas 0% 🟰
removeLiquidity: avg 223654 gas 223546 gas 0.0483% 🚨
removeLiquidity: max 398887 gas 398879 gas 0.0020% 🚨

This comment was automatically generated by workflow using github-action-benchmark.