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

increase coverage for yieldspace math #1023

Closed jrhea closed 2 months ago

jrhea commented 2 months ago

increase test coverage

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 9067272048

Details


Totals Coverage Status
Change from base Build 9039652527: 0.2%
Covered Lines: 1836
Relevant Lines: 1966

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

Hyperdrive Gas Benchmark

Benchmark suite Current: 2d1ab2b68fa3ed0c70360b3e9f4243e0588c5c77 Previous: c26ba165a419a9cd90933df0bb1be0b385baa054 Deviation Status
addLiquidity: min 33827 gas 33827 gas 0% 🟰
addLiquidity: avg 156162 gas 156990 gas -0.5274% ✅
addLiquidity: max 428417 gas 428417 gas 0% 🟰
checkpoint: min 40292 gas 40292 gas 0% 🟰
checkpoint: avg 142319 gas 142359 gas -0.0281% ✅
checkpoint: max 253424 gas 253424 gas 0% 🟰
closeLong: min 31361 gas 31361 gas 0% 🟰
closeLong: avg 135296 gas 135212 gas 0.0621% 🚨
closeLong: max 2625796 gas 2625796 gas 0% 🟰
closeShort: min 31349 gas 31349 gas 0% 🟰
closeShort: avg 131701 gas 131726 gas -0.0190% ✅
closeShort: max 401899 gas 262998 gas 52.8145% 🚨
initialize: min 31371 gas 31371 gas 0% 🟰
initialize: avg 330341 gas 330266 gas 0.0227% 🚨
initialize: max 396259 gas 396259 gas 0% 🟰
openLong: min 33370 gas 33370 gas 0% 🟰
openLong: avg 173530 gas 173099 gas 0.2490% 🚨
openLong: max 306657 gas 306657 gas 0% 🟰
openShort: min 33936 gas 33936 gas 0% 🟰
openShort: avg 167920 gas 168046 gas -0.0750% ✅
openShort: max 415307 gas 415299 gas 0.0019% 🚨
redeemWithdrawalShares: min 31251 gas 31251 gas 0% 🟰
redeemWithdrawalShares: avg 74561 gas 74263 gas 0.4013% 🚨
redeemWithdrawalShares: max 209828 gas 209828 gas 0% 🟰
removeLiquidity: min 31301 gas 31301 gas 0% 🟰
removeLiquidity: avg 209120 gas 208988 gas 0.0632% 🚨
removeLiquidity: max 403652 gas 403652 gas 0% 🟰

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