delvtech / hyperdrive

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

coverage increase for deployers #992

Closed jrhea closed 5 months ago

jrhea commented 5 months ago

Description

add return variables to increase coverage

coveralls commented 5 months ago

Coverage Status

coverage: 93.375% (+0.007%) from 93.368% when pulling 48c872d4f998d5595e69a1bcf8e95ba071675edb on coverage-hacks into abd8f923eebf35218213516a8fd00578b0733b50 on main.

github-actions[bot] commented 5 months ago

Hyperdrive Gas Benchmark

Benchmark suite Current: 48c872d4f998d5595e69a1bcf8e95ba071675edb Previous: abd8f923eebf35218213516a8fd00578b0733b50 Deviation Status
addLiquidity: min 33893 gas 33893 gas 0% 🟰
addLiquidity: avg 145319 gas 144334 gas 0.6824% 🚨
addLiquidity: max 428335 gas 428295 gas 0.0093% 🚨
checkpoint: min 40220 gas 40220 gas 0% 🟰
checkpoint: avg 103872 gas 104048 gas -0.1692% ✅
checkpoint: max 212154 gas 212154 gas 0% 🟰
closeLong: min 31517 gas 31517 gas 0% 🟰
closeLong: avg 138415 gas 138592 gas -0.1277% ✅
closeLong: max 2640435 gas 2640435 gas 0% 🟰
closeShort: min 31394 gas 31394 gas 0% 🟰
closeShort: avg 132906 gas 132876 gas 0.0226% 🚨
closeShort: max 227565 gas 227565 gas 0% 🟰
initialize: min 31305 gas 31305 gas 0% 🟰
initialize: avg 253632 gas 253634 gas -0.0008% ✅
initialize: max 322898 gas 322898 gas 0% 🟰
openLong: min 33437 gas 33437 gas 0% 🟰
openLong: avg 166963 gas 167394 gas -0.2575% ✅
openLong: max 253057 gas 253057 gas 0% 🟰
openShort: min 33959 gas 33959 gas 0% 🟰
openShort: avg 170388 gas 170193 gas 0.1146% 🚨
openShort: max 385545 gas 385545 gas 0% 🟰
redeemWithdrawalShares: min 31227 gas 31227 gas 0% 🟰
redeemWithdrawalShares: avg 61983 gas 62055 gas -0.1160% ✅
redeemWithdrawalShares: max 167572 gas 167572 gas 0% 🟰
removeLiquidity: min 31191 gas 31191 gas 0% 🟰
removeLiquidity: avg 224279 gas 223546 gas 0.3279% 🚨
removeLiquidity: max 398887 gas 398879 gas 0.0020% 🚨

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