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

test negative zeta adjustment #999

Closed jrhea closed 5 months ago

jrhea commented 5 months ago

Description

This should bump coverage in Hyperdrive Math

github-actions[bot] commented 5 months ago

Hyperdrive Gas Benchmark

Benchmark suite Current: 14d0a8b671c729a23e83c712a0466a766ed30f44 Previous: d14c4ef15b2dcf1c16e47c9b5893b80ecb1fe76e Deviation Status
addLiquidity: min 33893 gas 33893 gas 0% 🟰
addLiquidity: avg 144312 gas 144169 gas 0.0992% 🚨
addLiquidity: max 428319 gas 428263 gas 0.0131% 🚨
checkpoint: min 40220 gas 40220 gas 0% 🟰
checkpoint: avg 104014 gas 103979 gas 0.0337% 🚨
checkpoint: max 212154 gas 212154 gas 0% 🟰
closeLong: min 31517 gas 31517 gas 0% 🟰
closeLong: avg 138388 gas 138392 gas -0.0029% ✅
closeLong: max 2640435 gas 2640435 gas 0% 🟰
closeShort: min 31394 gas 31394 gas 0% 🟰
closeShort: avg 132852 gas 132918 gas -0.0497% ✅
closeShort: max 227565 gas 227565 gas 0% 🟰
initialize: min 31305 gas 31305 gas 0% 🟰
initialize: avg 253629 gas 253634 gas -0.0020% ✅
initialize: max 322898 gas 322898 gas 0% 🟰
openLong: min 33437 gas 33437 gas 0% 🟰
openLong: avg 167135 gas 167158 gas -0.0138% ✅
openLong: max 253057 gas 253057 gas 0% 🟰
openShort: min 33959 gas 33959 gas 0% 🟰
openShort: avg 170355 gas 170187 gas 0.0987% 🚨
openShort: max 385545 gas 385545 gas 0% 🟰
redeemWithdrawalShares: min 31227 gas 31227 gas 0% 🟰
redeemWithdrawalShares: avg 61798 gas 61923 gas -0.2019% ✅
redeemWithdrawalShares: max 167572 gas 167572 gas 0% 🟰
removeLiquidity: min 31191 gas 31191 gas 0% 🟰
removeLiquidity: avg 222951 gas 223634 gas -0.3054% ✅
removeLiquidity: max 398887 gas 398887 gas 0% 🟰

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