Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: report relevant changes from foundry artifacts #44

Merged
merged 18 commits into from
Nov 12, 2024
Merged

ci: report relevant changes from foundry artifacts #44

merged 18 commits into from
Nov 12, 2024

Conversation

sakulstra
Copy link
Contributor

No description provided.

Copy link
Contributor

github-actions bot commented Nov 7, 2024

Coverage after merging ci/test into main will be

28.98%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
script
   DeployCreate3Factory.s.sol0%100%0%0%11–13
   DeployTransparentProxyFactory.s.sol0%100%0%0%10–11, 9
src/contracts/access-control
   OwnableWithGuardian.sol72.73%50%75%80%15, 44, 44, 44
   UpgradeableOwnableWithGuardian.sol100%100%100%100%
src/contracts/create3
   Create3.sol77.27%0%80%92.86%102, 66, 86, 98
   Create3Factory.sol100%100%100%100%
src/contracts/oz-common
   Address.sol62.50%53.33%61.54%67.86%101, 120, 135, 150, 164–165, 209, 228, 228, 228–229, 231, 237, 245, 62, 65
   Context.sol50%100%50%50%23
   EnumerableSet.sol0%0%0%0%100, 102, 106, 109, 111, 113, 121, 128, 142, 154, 170, 180, 187, 194, 208, 220–221, 225, 228, 244, 254, 261, 268, 282, 294–295, 299, 302, 318, 328, 335, 342, 356, 368–369, 373, 376, 66, 66, 66–67, 70–71, 73, 85, 87, 87, 87, 93–94, 96, 96–97
   Ownable.sol71.43%50%71.43%80%37, 52, 63, 71
   SafeCast.sol0%0%0%0%1010–1011, 1011, 1011, 1028–1029, 1029, 1029, 104, 104, 104, 1046–1047, 1047, 1047, 105, 1064–1065, 1065, 1065, 1082–1083, 1083, 1083, 1100–1101, 1101, 1101, 1118–1119, 1119, 1119, 1133, 1133, 1133–1134, 121, 121, 121–122, 138, 138, 138–139, 155, 155, 155–156, 172, 172, 172–173, 189, 189, 189–190, 206, 206, 206–207, 223, 223, 223–224, 240, 240, 240–241, 257, 257, 257–258, 274, 274, 274–275, 291, 291, 291–292, 308, 308, 308–309, 325, 325, 325–326, 342, 342, 342–343, 359, 359, 359, 36, 36, 36, 360, 37, 376, 376, 376–377, 393, 393, 393–394, 410, 410, 410–411, 427, 427, 427–428, 444, 444, 444–445, 461, 461, 461–462, 478, 478, 478–479, 495, 495, 495–496, 512, 512, 512–513, 529, 529, 529, 53, 53, 53, 530, 54, 546, 546, 546–547, 560, 560, 560–561, 578–579, 579, 579, 596–597, 597, 597, 614–615, 615, 615, 632–633, 633, 633, 650–651, 651, 651, 668–669, 669, 669, 686–687, 687, 687, 70, 70, 70, 704–705, 705, 705, 71, 722–723, 723, 723, 740–741, 741, 741, 758–759, 759, 759, 776–777, 777, 777, 794–795, 795, 795, 812–813, 813, 813, 830–831, 831, 831, 848–849, 849, 849, 866–867, 867, 867, 87, 87, 87–88, 884–885, 885, 885, 902–903, 903, 903, 920–921, 921, 921, 938–939, 939, 939, 956–957, 957, 957, 974–975, 975, 975, 992–993, 993, 993
   SafeERC20.sol14.71%0%25%13.64%100–103, 103–104, 120–121, 138–139, 46, 54–55, 64–65, 65–66, 68, 78, 80, 80–82
   StorageSlot.sol25%100%25%25%66, 76, 86
src/contracts/transparent-proxy
   ERC1967Proxy.sol100%100%100%100%
   ERC1967Upgrade.sol92%60%100%100%106, 65
   Initializable.sol60%45.45%60%68.42%124, 124, 124, 128–129, 131–132, 140, 140, 140, 151, 95
   Proxy.sol92.86%100%100%90%45
   ProxyAdmin.sol0%0%0%0%33–34, 34, 34–35, 48–49, 49, 49–50, 64, 78, 94
   TransparentProxyFactory.sol100%100%100%100%
   TransparentProxyFactoryBase.sol60.87%100%66.67%58.82%24, 26–27, 32–33, 35–36
   TransparentUpgradeableProxy.sol25%25%22.22%27.27%103, 117, 124, 131, 53, 53, 53, 56, 70, 83, 94
src/contracts/utils
   ChainHelpers.sol0%0%0%0%100, 100, 100–102, 102, 102–104, 104, 104–106, 106, 106–108, 108, 108–110, 110, 110–112, 112, 112–114, 114, 114–115, 118, 118, 118–120, 120, 120–122, 122, 122–124, 124, 124–126, 126, 126–128, 128, 128–130, 130, 130–132, 132, 132–134, 134, 134–136, 136, 136–138, 138, 138–140, 140, 140–141, 143, 146, 47–50, 50, 50–52, 52, 52–54, 54

Copy link
Contributor

github-actions bot commented Nov 7, 2024

Coverage after merging ci/test into main will be

29.17%▴ +0.19%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
script
   DeployCreate3Factory.s.sol0%100%0%0%11–13
   DeployTransparentProxyFactory.s.sol0%100%0%0%10–11, 9
src/contracts/access-control
   OwnableWithGuardian.sol72.73%50%75%80%15, 44, 44, 44
   UpgradeableOwnableWithGuardian.sol100%100%100%100%
src/contracts/create3
   Create3.sol77.27%0%80%92.86%102, 66, 86, 98
   Create3Factory.sol100%100%100%100%
src/contracts/oz-common
   Address.sol62.50%53.33%61.54%67.86%101, 120, 135, 150, 164–165, 209, 228, 228, 228–229, 231, 237, 245, 62, 65
   Context.sol50%100%50%50%23
   EnumerableSet.sol0%0%0%0%100, 102, 106, 109, 111, 113, 121, 128, 142, 154, 170, 180, 187, 194, 208, 220–221, 225, 228, 244, 254, 261, 268, 282, 294–295, 299, 302, 318, 328, 335, 342, 356, 368–369, 373, 376, 66, 66, 66–67, 70–71, 73, 85, 87, 87, 87, 93–94, 96, 96–97
   Ownable.sol71.43%50%71.43%80%37, 52, 63, 71
   SafeCast.sol0%0%0%0%1010–1011, 1011, 1011, 1028–1029, 1029, 1029, 104, 104, 104, 1046–1047, 1047, 1047, 105, 1064–1065, 1065, 1065, 1082–1083, 1083, 1083, 1100–1101, 1101, 1101, 1118–1119, 1119, 1119, 1133, 1133, 1133–1134, 121, 121, 121–122, 138, 138, 138–139, 155, 155, 155–156, 172, 172, 172–173, 189, 189, 189–190, 206, 206, 206–207, 223, 223, 223–224, 240, 240, 240–241, 257, 257, 257–258, 274, 274, 274–275, 291, 291, 291–292, 308, 308, 308–309, 325, 325, 325–326, 342, 342, 342–343, 359, 359, 359, 36, 36, 36, 360, 37, 376, 376, 376–377, 393, 393, 393–394, 410, 410, 410–411, 427, 427, 427–428, 444, 444, 444–445, 461, 461, 461–462, 478, 478, 478–479, 495, 495, 495–496, 512, 512, 512–513, 529, 529, 529, 53, 53, 53, 530, 54, 546, 546, 546–547, 560, 560, 560–561, 578–579, 579, 579, 596–597, 597, 597, 614–615, 615, 615, 632–633, 633, 633, 650–651, 651, 651, 668–669, 669, 669, 686–687, 687, 687, 70, 70, 70, 704–705, 705, 705, 71, 722–723, 723, 723, 740–741, 741, 741, 758–759, 759, 759, 776–777, 777, 777, 794–795, 795, 795, 812–813, 813, 813, 830–831, 831, 831, 848–849, 849, 849, 866–867, 867, 867, 87, 87, 87–88, 884–885, 885, 885, 902–903, 903, 903, 920–921, 921, 921, 938–939, 939, 939, 956–957, 957, 957, 974–975, 975, 975, 992–993, 993, 993
   SafeERC20.sol14.71%0%25%13.64%100–103, 103–104, 120–121, 138–139, 46, 54–55, 64–65, 65–66, 68, 78, 80, 80–82
   StorageSlot.sol25%100%25%25%66, 76, 86
src/contracts/transparent-proxy
   ERC1967Proxy.sol100%100%100%100%
   ERC1967Upgrade.sol92%60%100%100%106, 65
   Initializable.sol60%45.45%60%68.42%124, 124, 124, 128–129, 131–132, 140, 140, 140, 151, 95
   Proxy.sol92.86%100%100%90%45
   ProxyAdmin.sol0%0%0%0%33–34, 34, 34–35, 48–49, 49, 49–50, 64, 78, 94
   TransparentProxyFactory.sol100%100%100%100%
   TransparentProxyFactoryBase.sol60.87%100%66.67%58.82%24, 26–27, 32–33, 35–36
   TransparentUpgradeableProxy.sol25%25%22.22%27.27%103, 117, 124, 131, 53, 53, 53, 56, 70, 83, 94
src/contracts/utils
   ChainHelpers.sol1.15%0%50%1.11%100, 100, 100–102, 102, 102–104, 104, 104–106, 106, 106–108, 108, 108–110, 110, 110–112, 112, 112–114, 114, 114–115, 118, 118, 118–120, 120, 120–122, 122, 122–124, 124, 124–126, 126, 126–128, 128, 128–130, 130, 130–132, 132, 132–134, 134, 134–136, 136, 136–138, 138, 138–140, 140, 140–141, 143, 146, 48–50, 50, 50–52, 52, 52–54,

Copy link
Contributor

github-actions bot commented Nov 8, 2024

Coverage after merging ci/test into main will be

29.17% 0.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
script
   DeployCreate3Factory.s.sol0%100%0%0%11–13
   DeployTransparentProxyFactory.s.sol0%100%0%0%10–11, 9
src/contracts/access-control
   OwnableWithGuardian.sol72.73%50%75%80%15, 44, 44, 44
   UpgradeableOwnableWithGuardian.sol100%100%100%100%
src/contracts/create3
   Create3.sol77.27%0%80%92.86%102, 66, 86, 98
   Create3Factory.sol100%100%100%100%
src/contracts/oz-common
   Address.sol62.50%53.33%61.54%67.86%101, 120, 135, 150, 164–165, 209, 228, 228, 228–229, 231, 237, 245, 62, 65
   Context.sol50%100%50%50%23
   EnumerableSet.sol0%0%0%0%100, 102, 106, 109, 111, 113, 121, 128, 142, 154, 170, 180, 187, 194, 208, 220–221, 225, 228, 244, 254, 261, 268, 282, 294–295, 299, 302, 318, 328, 335, 342, 356, 368–369, 373, 376, 66, 66, 66–67, 70–71, 73, 85, 87, 87, 87, 93–94, 96, 96–97
   Ownable.sol71.43%50%71.43%80%37, 52, 63, 71
   SafeCast.sol0%0%0%0%1010–1011, 1011, 1011, 1028–1029, 1029, 1029, 104, 104, 104, 1046–1047, 1047, 1047, 105, 1064–1065, 1065, 1065, 1082–1083, 1083, 1083, 1100–1101, 1101, 1101, 1118–1119, 1119, 1119, 1133, 1133, 1133–1134, 121, 121, 121–122, 138, 138, 138–139, 155, 155, 155–156, 172, 172, 172–173, 189, 189, 189–190, 206, 206, 206–207, 223, 223, 223–224, 240, 240, 240–241, 257, 257, 257–258, 274, 274, 274–275, 291, 291, 291–292, 308, 308, 308–309, 325, 325, 325–326, 342, 342, 342–343, 359, 359, 359, 36, 36, 36, 360, 37, 376, 376, 376–377, 393, 393, 393–394, 410, 410, 410–411, 427, 427, 427–428, 444, 444, 444–445, 461, 461, 461–462, 478, 478, 478–479, 495, 495, 495–496, 512, 512, 512–513, 529, 529, 529, 53, 53, 53, 530, 54, 546, 546, 546–547, 560, 560, 560–561, 578–579, 579, 579, 596–597, 597, 597, 614–615, 615, 615, 632–633, 633, 633, 650–651, 651, 651, 668–669, 669, 669, 686–687, 687, 687, 70, 70, 70, 704–705, 705, 705, 71, 722–723, 723, 723, 740–741, 741, 741, 758–759, 759, 759, 776–777, 777, 777, 794–795, 795, 795, 812–813, 813, 813, 830–831, 831, 831, 848–849, 849, 849, 866–867, 867, 867, 87, 87, 87–88, 884–885, 885, 885, 902–903, 903, 903, 920–921, 921, 921, 938–939, 939, 939, 956–957, 957, 957, 974–975, 975, 975, 992–993, 993, 993
   SafeERC20.sol14.71%0%25%13.64%100–103, 103–104, 120–121, 138–139, 46, 54–55, 64–65, 65–66, 68, 78, 80, 80–82
   StorageSlot.sol25%100%25%25%66, 76, 86
src/contracts/transparent-proxy
   ERC1967Proxy.sol100%100%100%100%
   ERC1967Upgrade.sol92%60%100%100%106, 65
   Initializable.sol60%45.45%60%68.42%124, 124, 124, 128–129, 131–132, 140, 140, 140, 151, 95
   Proxy.sol92.86%100%100%90%45
   ProxyAdmin.sol0%0%0%0%33–34, 34, 34–35, 48–49, 49, 49–50, 64, 78, 94
   TransparentProxyFactory.sol100%100%100%100%
   TransparentProxyFactoryBase.sol60.87%100%66.67%58.82%24, 26–27, 32–33, 35–36
   TransparentUpgradeableProxy.sol25%25%22.22%27.27%103, 117, 124, 131, 53, 53, 53, 56, 70, 83, 94
src/contracts/utils
   ChainHelpers.sol1.15%0%50%1.11%100, 100, 100–102, 102, 102–104, 104, 104–106, 106, 106–108, 108, 108–110, 110, 110–112, 112, 112–114, 114, 114–115, 118, 118, 118–120, 120, 120–122, 122, 122–124, 124, 124–126, 126, 126–128, 128, 128–130, 130, 130–132, 132, 132–134, 134, 134–136, 136, 136–138, 138, 138–140, 140, 140–141, 143, 146, 48–50, 50, 50–52, 52, 52–54,

Copy link
Contributor

github-actions bot commented Nov 11, 2024

Gas report

Contract gas size
Create3Factory ↓-2.3%219061 ↓-2.5%1122
Method min mean median max calls
create(bytes32,bytes) ↓-0.74%294470 ↓-0.8%294476 ↓-0.8%294476 ↓-0.87%294482 2
predictAddress(address,bytes32) ↓-0.39%1020 ↓-0.39%1020 ↓-0.39%1020 ↓-0.39%1020 2
Contract gas size
ProxyAdmin 0 0
Method min mean median max calls
owner() ↓-0.52%384 ↓-0.52%384 ↓-0.52%384 ↓-0.52%384 2
Contract gas size
TransparentProxyFactory ↓-2.2%1573953 ↓-2.5%7064
Method min mean median max calls
createDeterministic(address,address,bytes,bytes32) ↓-1.4%566259 ↓-1.4%566553 ↓-1.4%566553 ↓-1.4%566847 2
createDeterministicProxyAdmin(address,bytes32) ↓-2.4%411344 ↓-2.4%411632 ↓-2.4%411632 ↓-2.3%411920 2
predictCreateDeterministic(address,address,bytes,bytes32) ↓-1.7%11858 ↓-1.7%11858 ↓-1.7%11858 ↓-1.7%11858 2
predictCreateDeterministicProxyAdmin(bytes32) ↓-3.1%6045 ↓-3.1%6045 ↓-3.1%6045 ↓-3.1%6045 2
Contract gas size
TransparentUpgradeableProxy 0 0
Method min mean median max calls
fallback() ↓-1.2%1029 ↓-1.2%1029 ↓-1.2%1029 ↓-1.2%1029 2
Contract gas size
ERC20 ↓-1.2%614659 ↓-1.8%3212
Method min mean median max calls
balanceOf(address) ↓-0.53%559 ↓-0.085%3527 ↓-0.53%559 ↓-0.013%23787 17
mint(address,uint256) ↓-0.0073%68172 ↓-0.0073%68172 ↓-0.0073%68172 ↓-0.0073%68172 2
transfer(address,uint256) ↓-0.012%51464 ↓-0.012%51464 ↓-0.012%51464 ↓-0.012%51464 2
Contract gas size
MockERC721 ↓-2.8%576790 ↓-3.4%2449
Method min mean median max calls
balanceOf(address) ↓-0.66%605 ↓-0.66%605 ↓-0.66%605 ↓-0.66%605 4
mint(address,uint256) ↓-0.29%68126 ↓-0.15%68222 ↓-0.15%68222 ↓-0.01%68318 2
transferFrom(address,address,uint256) ↓-0.37%53905 ↓-0.37%53905 ↓-0.37%53905 ↓-0.37%53905 1
Contract gas size
MockImpl ↓-1.2%180460 ↓-2.4%690
Method min mean median max calls
getFoo() ↓-0.4%246 ↓-0.4%246 ↓-0.4%246 ↓-0.4%246 2
initialize(uint256) ↓-0.015%46312 ↓-0.015%46312 ↓-0.015%46312 ↓-0.015%46312 2
Contract gas size
ImplOwnableWithGuardian ↓-0.77%283008 ↓-1.4%1052
Method min mean median max calls
guardian() ↓-0.044%2285 ↓-0.044%2285 ↓-0.044%2285 ↓-0.044%2285 1
owner() ↓-0.085%2339 ↓-0.085%2339 ↓-0.085%2339 ↓-0.085%2339 1
updateGuardian(address) ↓-0.011%26169 ↓-0.011%28280 ↓-0.011%28280 ↓-0.0099%30391 2
Contract gas size
TestPermissionlessRescuable ↓-1.9%520801 ↓-2.5%2180
Method min mean median max calls
emergencyEtherTransfer(uint256) ↓-0.015%58423 ↓-0.015%59298 ↓-0.015%59298 ↓-0.015%60174 2
emergencyTokenTransfer(address,uint256) ↓-0.067%32816 ↓-0.056%48600 ↓-0.059%49095 ↓-0.047%63393 4
receive() 0 0 0 0 1
whoShouldReceiveFunds() ↓-0.085%2362 ↓-0.085%2362 ↓-0.085%2362 ↓-0.085%2362 1
Contract gas size
MockReceiverTokensContract ↓-1.6%468773 ↓-2.1%2101
Method min mean median max calls
emergencyEtherTransfer(address,uint256) ↓-0.014%21979 ↓-0.015%40170 ↓-0.015%40170 ↓-0.015%58361 2
emergencyTokenTransfer(address,address,uint256) ↓-0.018%22352 ↓-0.037%37948 ↓-0.037%37948 ↓-0.045%53545 2
receive() 21055 21055 21055 21055 2
Contract gas size
MockReceiver721TokensContract ↓-1.4%513285 ↓-1.9%2315
Method min mean median max calls
emergency721TokenTransfer(address,address,uint256) ↓-0.98%22300 ↓-0.29%40896 ↓-0.29%40896 ↓-0.025%59493 2
Contract gas size
ImplOwnableWithGuardian ↓-0.91%369723 ↓-1.3%1492
Method min mean median max calls
guardian() ↓-0.084%2391 ↓-0.084%2391 ↓-0.084%2391 ↓-0.084%2391 1
initialize(address,address) ↓-0.0075%93656 ↓-0.0075%93656 ↓-0.0075%93656 ↓-0.0075%93656 6
mock_onlyGuardian() ↓-0.0085%23513 ↓-0.0085%23513 ↓-0.0085%23513 ↓-0.0085%23513 1
mock_onlyOwnerOrGuardian() ↓-0.012%25753 ↓-0.012%25753 ↓-0.012%25753 ↓-0.012%25753 1
owner() ↓-0.084%2379 ↓-0.084%2379 ↓-0.084%2379 ↓-0.084%2379 1
updateGuardian(address) ↓-0.015%26127 ↓-0.045%29060 ↓-0.72%30316 ↑0.61%30739 3
Contract gas size
MockContract 0 0
Method min mean median max calls
SOME_ADDRESS() ↓-0.37%269 ↓-0.37%269 ↓-0.37%269 ↓-0.37%269 1
owner() ↓-0.55%361 ↓-0.55%361 ↓-0.55%361 ↓-0.55%361 1

Copy link
Contributor

Coverage after merging ci/test into main will be

29.11%▾ -0.06%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
script
   DeployCreate3Factory.s.sol0%100%0%0%11–13
   DeployTransparentProxyFactory.s.sol0%100%0%0%10–11, 9
src/contracts/access-control
   OwnableWithGuardian.sol72.73%50%75%80%15, 44, 44, 44
   UpgradeableOwnableWithGuardian.sol100%100%100%100%
src/contracts/create3
   Create3.sol77.27%0%80%92.86%102, 66, 86, 98
   Create3Factory.sol100%100%100%100%
src/contracts/oz-common
   Address.sol62.50%53.33%61.54%67.86%101, 120, 135, 150, 164–165, 209, 228, 228, 228–229, 231, 237, 245, 62, 65
   Context.sol50%100%50%50%23
   EnumerableSet.sol0%0%0%0%100, 102, 106, 109, 111, 113, 121, 128, 142, 154, 170, 180, 187, 194, 208, 220–221, 225, 228, 244, 254, 261, 268, 282, 294–295, 299, 302, 318, 328, 335, 342, 356, 368–369, 373, 376, 66, 66, 66–67, 70–71, 73, 85, 87, 87, 87, 93–94, 96, 96–97
   Ownable.sol71.43%50%71.43%80%37, 52, 63, 71
   SafeCast.sol0%0%0%0%1010–1011, 1011, 1011, 1028–1029, 1029, 1029, 104, 104, 104, 1046–1047, 1047, 1047, 105, 1064–1065, 1065, 1065, 1082–1083, 1083, 1083, 1100–1101, 1101, 1101, 1118–1119, 1119, 1119, 1133, 1133, 1133–1134, 121, 121, 121–122, 138, 138, 138–139, 155, 155, 155–156, 172, 172, 172–173, 189, 189, 189–190, 206, 206, 206–207, 223, 223, 223–224, 240, 240, 240–241, 257, 257, 257–258, 274, 274, 274–275, 291, 291, 291–292, 308, 308, 308–309, 325, 325, 325–326, 342, 342, 342–343, 359, 359, 359, 36, 36, 36, 360, 37, 376, 376, 376–377, 393, 393, 393–394, 410, 410, 410–411, 427, 427, 427–428, 444, 444, 444–445, 461, 461, 461–462, 478, 478, 478–479, 495, 495, 495–496, 512, 512, 512–513, 529, 529, 529, 53, 53, 53, 530, 54, 546, 546, 546–547, 560, 560, 560–561, 578–579, 579, 579, 596–597, 597, 597, 614–615, 615, 615, 632–633, 633, 633, 650–651, 651, 651, 668–669, 669, 669, 686–687, 687, 687, 70, 70, 70, 704–705, 705, 705, 71, 722–723, 723, 723, 740–741, 741, 741, 758–759, 759, 759, 776–777, 777, 777, 794–795, 795, 795, 812–813, 813, 813, 830–831, 831, 831, 848–849, 849, 849, 866–867, 867, 867, 87, 87, 87–88, 884–885, 885, 885, 902–903, 903, 903, 920–921, 921, 921, 938–939, 939, 939, 956–957, 957, 957, 974–975, 975, 975, 992–993, 993, 993
   SafeERC20.sol14.71%0%25%13.64%100–103, 103–104, 120–121, 138–139, 46, 54–55, 64–65, 65–66, 68, 78, 80, 80–82
   StorageSlot.sol25%100%25%25%66, 76, 86
src/contracts/transparent-proxy
   ERC1967Proxy.sol100%100%100%100%
   ERC1967Upgrade.sol92%60%100%100%106, 65
   Initializable.sol60%45.45%60%68.42%124, 124, 124, 128–129, 131–132, 140, 140, 140, 151, 95
   Proxy.sol81.25%100%80%81.82%45, 82
   ProxyAdmin.sol0%0%0%0%33–34, 34, 34–35, 48–49, 49, 49–50, 64, 78, 94
   TransparentProxyFactory.sol100%100%100%100%
   TransparentProxyFactoryBase.sol60.87%100%66.67%58.82%24, 26–27, 32–33, 35–36
   TransparentUpgradeableProxy.sol25%25%22.22%27.27%103, 117, 124, 131, 53, 53, 53, 56, 70, 83, 94
src/contracts/utils
   ChainHelpers.sol1.15%0%50%1.11%100, 100, 100–102, 102, 102–104, 104, 104–106, 106, 106–108, 108, 108–110, 110, 110–112, 112, 112–114, 114, 114–115, 118, 118, 118–120, 120, 120–122, 122, 122–124, 124, 124–126, 126, 126–128, 128, 128–130, 130, 130–132, 132, 132–134, 134, 134–136, 136, 136–138, 138, 138–140, 140, 140–141, 143, 146, 48–50, 50, 50–52, 52,

Copy link
Contributor

Coverage after merging ci/test into main will be

29.11% 0.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
script
   DeployCreate3Factory.s.sol0%100%0%0%11–13
   DeployTransparentProxyFactory.s.sol0%100%0%0%10–11, 9
src/contracts/access-control
   OwnableWithGuardian.sol72.73%50%75%80%15, 44, 44, 44
   UpgradeableOwnableWithGuardian.sol100%100%100%100%
src/contracts/create3
   Create3.sol77.27%0%80%92.86%102, 66, 86, 98
   Create3Factory.sol100%100%100%100%
src/contracts/oz-common
   Address.sol62.50%53.33%61.54%67.86%101, 120, 135, 150, 164–165, 209, 228, 228, 228–229, 231, 237, 245, 62, 65
   Context.sol50%100%50%50%23
   EnumerableSet.sol0%0%0%0%100, 102, 106, 109, 111, 113, 121, 128, 142, 154, 170, 180, 187, 194, 208, 220–221, 225, 228, 244, 254, 261, 268, 282, 294–295, 299, 302, 318, 328, 335, 342, 356, 368–369, 373, 376, 66, 66, 66–67, 70–71, 73, 85, 87, 87, 87, 93–94, 96, 96–97
   Ownable.sol71.43%50%71.43%80%37, 52, 63, 71
   SafeCast.sol0%0%0%0%1010–1011, 1011, 1011, 1028–1029, 1029, 1029, 104, 104, 104, 1046–1047, 1047, 1047, 105, 1064–1065, 1065, 1065, 1082–1083, 1083, 1083, 1100–1101, 1101, 1101, 1118–1119, 1119, 1119, 1133, 1133, 1133–1134, 121, 121, 121–122, 138, 138, 138–139, 155, 155, 155–156, 172, 172, 172–173, 189, 189, 189–190, 206, 206, 206–207, 223, 223, 223–224, 240, 240, 240–241, 257, 257, 257–258, 274, 274, 274–275, 291, 291, 291–292, 308, 308, 308–309, 325, 325, 325–326, 342, 342, 342–343, 359, 359, 359, 36, 36, 36, 360, 37, 376, 376, 376–377, 393, 393, 393–394, 410, 410, 410–411, 427, 427, 427–428, 444, 444, 444–445, 461, 461, 461–462, 478, 478, 478–479, 495, 495, 495–496, 512, 512, 512–513, 529, 529, 529, 53, 53, 53, 530, 54, 546, 546, 546–547, 560, 560, 560–561, 578–579, 579, 579, 596–597, 597, 597, 614–615, 615, 615, 632–633, 633, 633, 650–651, 651, 651, 668–669, 669, 669, 686–687, 687, 687, 70, 70, 70, 704–705, 705, 705, 71, 722–723, 723, 723, 740–741, 741, 741, 758–759, 759, 759, 776–777, 777, 777, 794–795, 795, 795, 812–813, 813, 813, 830–831, 831, 831, 848–849, 849, 849, 866–867, 867, 867, 87, 87, 87–88, 884–885, 885, 885, 902–903, 903, 903, 920–921, 921, 921, 938–939, 939, 939, 956–957, 957, 957, 974–975, 975, 975, 992–993, 993, 993
   SafeERC20.sol14.71%0%25%13.64%100–103, 103–104, 120–121, 138–139, 46, 54–55, 64–65, 65–66, 68, 78, 80, 80–82
   StorageSlot.sol25%100%25%25%66, 76, 86
src/contracts/transparent-proxy
   ERC1967Proxy.sol100%100%100%100%
   ERC1967Upgrade.sol92%60%100%100%106, 65
   Initializable.sol60%45.45%60%68.42%124, 124, 124, 128–129, 131–132, 140, 140, 140, 151, 95
   Proxy.sol81.25%100%80%81.82%45, 82
   ProxyAdmin.sol0%0%0%0%33–34, 34, 34–35, 48–49, 49, 49–50, 64, 78, 94
   TransparentProxyFactory.sol100%100%100%100%
   TransparentProxyFactoryBase.sol60.87%100%66.67%58.82%24, 26–27, 32–33, 35–36
   TransparentUpgradeableProxy.sol25%25%22.22%27.27%103, 117, 124, 131, 53, 53, 53, 56, 70, 83, 94
src/contracts/utils
   ChainHelpers.sol1.15%0%50%1.11%100, 100, 100–102, 102, 102–104, 104, 104–106, 106, 106–108, 108, 108–110, 110, 110–112, 112, 112–114, 114, 114–115, 118, 118, 118–120, 120, 120–122, 122, 122–124, 124, 124–126, 126, 126–128, 128, 128–130, 130, 130–132, 132, 132–134, 134, 134–136, 136, 136–138, 138, 138–140, 140, 140–141, 143, 146, 48–50, 50, 50–52, 52,

@sakulstra sakulstra merged commit 4b7ecc2 into main Nov 12, 2024
2 checks passed
@sakulstra sakulstra deleted the ci/test branch November 12, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant