Closed sentilesdal closed 5 months ago
Totals | |
---|---|
Change from base Build 8933353219: | 0.0% |
Covered Lines: | 1833 |
Relevant Lines: | 1966 |
Benchmark suite | Current: 35a7fa35d92248cfe5e671cdc15a5ad2e1cd49da | Previous: fee327731672c92ce71cc350a996016a30c5a617 | Deviation | Status |
---|---|---|---|---|
addLiquidity: min |
33827 gas |
33827 gas |
0% |
š° |
addLiquidity: avg |
156376 gas |
156220 gas |
0.0999% |
šØ |
addLiquidity: max |
428439 gas |
428439 gas |
0% |
š° |
checkpoint: min |
40270 gas |
40270 gas |
0% |
š° |
checkpoint: avg |
142288 gas |
142275 gas |
0.0091% |
šØ |
checkpoint: max |
253402 gas |
253402 gas |
0% |
š° |
closeLong: min |
31361 gas |
31361 gas |
0% |
š° |
closeLong: avg |
135250 gas |
135375 gas |
-0.0923% |
ā |
closeLong: max |
2625774 gas |
2625774 gas |
0% |
š° |
closeShort: min |
31349 gas |
31349 gas |
0% |
š° |
closeShort: avg |
131707 gas |
131559 gas |
0.1125% |
šØ |
closeShort: max |
402038 gas |
401793 gas |
0.0610% |
šØ |
initialize: min |
31371 gas |
31371 gas |
0% |
š° |
initialize: avg |
330356 gas |
330281 gas |
0.0227% |
šØ |
initialize: max |
396281 gas |
396281 gas |
0% |
š° |
openLong: min |
33370 gas |
33370 gas |
0% |
š° |
openLong: avg |
173538 gas |
173566 gas |
-0.0161% |
ā |
openLong: max |
306679 gas |
306679 gas |
0% |
š° |
openShort: min |
33936 gas |
33936 gas |
0% |
š° |
openShort: avg |
168009 gas |
167896 gas |
0.0673% |
šØ |
openShort: max |
415379 gas |
414945 gas |
0.1046% |
šØ |
redeemWithdrawalShares: min |
31251 gas |
31251 gas |
0% |
š° |
redeemWithdrawalShares: avg |
74746 gas |
74650 gas |
0.1286% |
šØ |
redeemWithdrawalShares: max |
209762 gas |
209762 gas |
0% |
š° |
removeLiquidity: min |
31301 gas |
31301 gas |
0% |
š° |
removeLiquidity: avg |
209194 gas |
208656 gas |
0.2578% |
šØ |
removeLiquidity: max |
403574 gas |
403574 gas |
0% |
š° |
This comment was automatically generated by workflow using github-action-benchmark.
Resolved Issues
No Issue
Description
Adds a MockEzEthPool to be used on testnet. It's uses Lido mechanics where it can, and Oracle functions are filled in where necessary.
Review Checklists
Please check each item before approving the pull request. While going through the checklist, it is recommended to leave comments on items that are referenced in the checklist to make sure that they are reviewed. If there are multiple reviewers, copy the checklists into sections titled
## [Reviewer Name]
. If the PR doesn't touch Solidity and/or Rust, the corresponding checklist can be removed.[[Reviewer Name]]
approve
calls useforceApprove
?transfer
calls usesafeTransfer
?transferFrom
calls usemsg.sender
as thefrom
address?call
,delegatecall
,staticcall
,transfer
,send
)success
boolean checked to handle failed calls?delegatecall
, are there strict access controls on the addresses that can be called? It shouldn't be possible todelegatecall
arbitrary addresses, so the list of possible targets should either be immutable or tightly controlled by an admin.nonReentrant
?payable
functions restricted to avoid stuck ether?Safe
functions are altered, are potential underflows and overflows caught so that a failure flag can be thrown?