Closed jalextowle closed 2 weeks ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contracts/src/deployers/HyperdriveDeployerCoordinator.sol | 0 | 1 | 0.0% | ||
<!-- | Total: | 8 | 9 | 88.89% | --> |
Totals | |
---|---|
Change from base Build 9556880128: | -0.03% |
Covered Lines: | 1968 |
Relevant Lines: | 2137 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contracts/src/deployers/HyperdriveDeployerCoordinator.sol | 0 | 1 | 0.0% | ||
<!-- | Total: | 8 | 9 | 88.89% | --> |
Totals | |
---|---|
Change from base Build 9556880128: | -0.03% |
Covered Lines: | 1968 |
Relevant Lines: | 2137 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contracts/src/deployers/HyperdriveDeployerCoordinator.sol | 0 | 1 | 0.0% | ||
<!-- | Total: | 8 | 9 | 88.89% | --> |
Totals | |
---|---|
Change from base Build 9556880128: | -0.03% |
Covered Lines: | 1968 |
Relevant Lines: | 2137 |
Benchmark suite | Current: 9db6012f471140148e5890bffa862790246cec36 | Previous: 41f0a714171b485d422e3dabf82ec59cae9b3994 | Deviation | Status |
---|---|---|---|---|
addLiquidity: min |
33937 gas |
33937 gas |
0% |
š° |
addLiquidity: avg |
155779 gas |
155380 gas |
0.2568% |
šØ |
addLiquidity: max |
429262 gas |
429437 gas |
-0.0408% |
ā |
checkpoint: min |
40316 gas |
40316 gas |
0% |
š° |
checkpoint: avg |
144746 gas |
144623 gas |
0.0850% |
šØ |
checkpoint: max |
255940 gas |
255830 gas |
0.0430% |
šØ |
closeLong: min |
31361 gas |
31361 gas |
0% |
š° |
closeLong: avg |
136053 gas |
136434 gas |
-0.2793% |
ā |
closeLong: max |
2539376 gas |
2621435 gas |
-3.1303% |
ā |
closeShort: min |
31327 gas |
31327 gas |
0% |
š° |
closeShort: avg |
131179 gas |
132600 gas |
-1.0716% |
ā |
closeShort: max |
271348 gas |
402622 gas |
-32.6048% |
ā |
initialize: min |
31349 gas |
31349 gas |
0% |
š° |
initialize: avg |
333384 gas |
333287 gas |
0.0291% |
šØ |
initialize: max |
399978 gas |
399922 gas |
0.0140% |
šØ |
openLong: min |
33370 gas |
33370 gas |
0% |
š° |
openLong: avg |
173124 gas |
174232 gas |
-0.6359% |
ā |
openLong: max |
334062 gas |
335241 gas |
-0.3517% |
ā |
openShort: min |
33936 gas |
33936 gas |
0% |
š° |
openShort: avg |
168479 gas |
169118 gas |
-0.3778% |
ā |
openShort: max |
415253 gas |
415910 gas |
-0.1580% |
ā |
redeemWithdrawalShares: min |
31251 gas |
31251 gas |
0% |
š° |
redeemWithdrawalShares: avg |
75428 gas |
75250 gas |
0.2365% |
šØ |
redeemWithdrawalShares: max |
305698 gas |
305633 gas |
0.0213% |
šØ |
removeLiquidity: min |
31301 gas |
31301 gas |
0% |
š° |
removeLiquidity: avg |
214673 gas |
215104 gas |
-0.2004% |
ā |
removeLiquidity: max |
403870 gas |
404194 gas |
-0.0802% |
ā |
This comment was automatically generated by workflow using github-action-benchmark.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contracts/src/deployers/HyperdriveDeployerCoordinator.sol | 0 | 1 | 0.0% | ||
<!-- | Total: | 8 | 9 | 88.89% | --> |
Totals | |
---|---|
Change from base Build 9556880128: | -0.03% |
Covered Lines: | 1968 |
Relevant Lines: | 2137 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contracts/src/deployers/HyperdriveDeployerCoordinator.sol | 0 | 1 | 0.0% | ||
<!-- | Total: | 8 | 9 | 88.89% | --> |
Totals | |
---|---|
Change from base Build 9556880128: | -0.03% |
Covered Lines: | 1968 |
Relevant Lines: | 2137 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contracts/src/deployers/HyperdriveDeployerCoordinator.sol | 0 | 1 | 0.0% | ||
<!-- | Total: | 8 | 9 | 88.89% | --> |
Totals | |
---|---|
Change from base Build 9571325900: | -0.03% |
Covered Lines: | 1972 |
Relevant Lines: | 2141 |
Description
This PR adds a
kind
function to each contract that provides a human-readable way to identify a given contract. In addition to this change, the registry was updated to supportkind
, and thename
andversion
fields were added to any straggler contracts.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, 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?