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

core deployer coverage for steth, reth and 4626 #986

Closed jrhea closed 2 months ago

jrhea commented 3 months ago

Description

Add tests for these coredeployers

coveralls commented 3 months ago

Coverage Status

coverage: 93.337% (+0.06%) from 93.278% when pulling ef5e90263bc03a09797a8da5dd478d39d58c0eab on deploycoordtests into 4565e961282dcbfdc103602b81d8801ce05f7659 on main.

github-actions[bot] commented 3 months ago

Hyperdrive Gas Benchmark

Benchmark suite Current: ef5e90263bc03a09797a8da5dd478d39d58c0eab Previous: 91d0e7f4170cbdec90e001a591bae52b37b70ba6 Deviation Status
addLiquidity: min 33893 gas 33893 gas 0% 🟰
addLiquidity: avg 144066 gas 144167 gas -0.0701% ✅
addLiquidity: max 428335 gas 428335 gas 0% 🟰
checkpoint: min 40220 gas 40220 gas 0% 🟰
checkpoint: avg 104036 gas 104098 gas -0.0596% ✅
checkpoint: max 212154 gas 212154 gas 0% 🟰
closeLong: min 31517 gas 31517 gas 0% 🟰
closeLong: avg 138410 gas 138123 gas 0.2078% 🚨
closeLong: max 2640435 gas 2640435 gas 0% 🟰
closeShort: min 31394 gas 31394 gas 0% 🟰
closeShort: avg 132797 gas 132809 gas -0.0090% ✅
closeShort: max 227553 gas 227553 gas 0% 🟰
initialize: min 31305 gas 31305 gas 0% 🟰
initialize: avg 253636 gas 253636 gas 0% 🟰
initialize: max 322760 gas 322760 gas 0% 🟰
openLong: min 33437 gas 33437 gas 0% 🟰
openLong: avg 167182 gas 167346 gas -0.0980% ✅
openLong: max 253057 gas 253057 gas 0% 🟰
openShort: min 33959 gas 33959 gas 0% 🟰
openShort: avg 170284 gas 170242 gas 0.0247% 🚨
openShort: max 385545 gas 385545 gas 0% 🟰
redeemWithdrawalShares: min 31227 gas 31227 gas 0% 🟰
redeemWithdrawalShares: avg 61746 gas 61960 gas -0.3454% ✅
redeemWithdrawalShares: max 167572 gas 167572 gas 0% 🟰
removeLiquidity: min 31191 gas 31191 gas 0% 🟰
removeLiquidity: avg 223977 gas 223855 gas 0.0545% 🚨
removeLiquidity: max 398887 gas 398887 gas 0% 🟰

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