From 9f9966edb89bc22acd328297134a34625c7f9ba7 Mon Sep 17 00:00:00 2001 From: JaredBorders Date: Mon, 13 Nov 2023 19:35:50 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=B8=20Update=20gas-snapshot/lcov?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gas-snapshot | 20 +++--- lcov.info | 179 +++++++++++++++++++++++--------------------------- 2 files changed, 94 insertions(+), 105 deletions(-) diff --git a/.gas-snapshot b/.gas-snapshot index 0a05d3c..df9efbb 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -1,19 +1,19 @@ ValidateSessionParams:test_validateSessionParams() (gas: 29469) -ValidateSessionParams:test_validateSessionParams() (gas: 76317) -ValidateSessionParams:test_validateSessionParams_callValue_invalid(uint256) (runs: 256, μ: 107033, ~: 107033) +ValidateSessionParams:test_validateSessionParams() (gas: 79125) +ValidateSessionParams:test_validateSessionParams_callValue_invalid(uint256) (runs: 256, μ: 109712, ~: 109712) ValidateSessionParams:test_validateSessionParams_destinationContract_invalid(address) (runs: 256, μ: 30633, ~: 30633) ValidateSessionParams:test_validateSessionParams_destinationContract_invalid(address) (runs: 256, μ: 30641, ~: 30641) ValidateSessionParams:test_validateSessionParams_funcCallData_invalid() (gas: 24048) -ValidateSessionParams:test_validateSessionParams_funcCallData_invalid() (gas: 37702) +ValidateSessionParams:test_validateSessionParams_funcCallData_invalid() (gas: 37720) ValidateSessionParams:test_validateSessionParams_sessionKeyData_invalid(address,address) (runs: 256, μ: 31495, ~: 31495) -ValidateSessionParams:test_validateSessionParams_sessionKeyData_invalid(address,address) (runs: 256, μ: 31633, ~: 31633) -ValidateSessionUserOp:test_validateSessionUserOp() (gas: 308778) +ValidateSessionParams:test_validateSessionParams_sessionKeyData_invalid(address,address) (runs: 256, μ: 31733, ~: 31733) +ValidateSessionUserOp:test_validateSessionUserOp() (gas: 311526) ValidateSessionUserOp:test_validateSessionUserOp() (gas: 71771) ValidateSessionUserOp:test_validateSessionUserOp_op_callData_invalid(address) (runs: 256, μ: 114525, ~: 114525) -ValidateSessionUserOp:test_validateSessionUserOp_op_callData_invalid(address,uint256) (runs: 256, μ: 280385, ~: 282121) -ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid(address,address) (runs: 256, μ: 93021, ~: 93040) -ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid(address,address) (runs: 256, μ: 95216, ~: 95216) +ValidateSessionUserOp:test_validateSessionUserOp_op_callData_invalid(address,uint256) (runs: 256, μ: 283271, ~: 284818) +ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid(address,address) (runs: 256, μ: 93040, ~: 93040) +ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid(address,address) (runs: 256, μ: 95241, ~: 95316) ValidateSessionUserOp:test_validateSessionUserOp_sessionKeySignature_invalid(uint256) (runs: 256, μ: 82818, ~: 82818) -ValidateSessionUserOp:test_validateSessionUserOp_sessionKeySignature_invalid(uint256) (runs: 256, μ: 83046, ~: 83046) +ValidateSessionUserOp:test_validateSessionUserOp_sessionKeySignature_invalid(uint256) (runs: 256, μ: 83146, ~: 83146) ValidateSessionUserOp:test_validateSessionUserOp_userOpHash_invalid(bytes32) (runs: 256, μ: 74706, ~: 74706) -ValidateSessionUserOp:test_validateSessionUserOp_userOpHash_invalid(bytes32) (runs: 256, μ: 74934, ~: 74934) \ No newline at end of file +ValidateSessionUserOp:test_validateSessionUserOp_userOpHash_invalid(bytes32) (runs: 256, μ: 75034, ~: 75034) \ No newline at end of file diff --git a/lcov.info b/lcov.info index 346f42a..ee2cd3c 100644 --- a/lcov.info +++ b/lcov.info @@ -6,18 +6,18 @@ DA:49,0 DA:50,0 DA:52,0 DA:54,0 -FN:62,DeployOptimism.run -FNDA:0,DeployOptimism.run -DA:63,0 -DA:64,0 -DA:66,0 -DA:68,0 FN:77,DeployOptimismGoerli.run FNDA:0,DeployOptimismGoerli.run DA:78,0 DA:79,0 DA:81,0 DA:83,0 +FN:62,DeployOptimism.run +FNDA:0,DeployOptimism.run +DA:63,0 +DA:64,0 +DA:66,0 +DA:68,0 FN:18,Setup.deploySystem FNDA:0,Setup.deploySystem DA:19,0 @@ -55,28 +55,28 @@ DA:45,1 DA:48,257 FN:61,SMv2SessionValidationModule.validateSessionUserOp FNDA:1793,SMv2SessionValidationModule.validateSessionUserOp -DA:69,1793 -DA:70,256 -BRDA:68,2,0,256 -BRDA:68,2,1,1537 -DA:72,256 -DA:75,1537 -DA:76,1537 +DA:72,1793 +DA:73,256 +BRDA:71,2,0,256 +BRDA:71,2,1,1537 +DA:75,256 DA:78,1537 -DA:84,1537 -BRDA:84,3,0,512 -BRDA:84,3,1,1025 -DA:85,512 -DA:90,1025 -DA:92,1025 +DA:79,1537 +DA:81,1537 +DA:87,1537 +BRDA:87,3,0,512 +BRDA:87,3,1,1025 +DA:88,512 DA:93,1025 -DA:94,1025 +DA:95,1025 DA:96,1025 -DA:100,1025 -BRDA:100,4,0,256 -BRDA:100,4,1,769 -DA:101,256 -DA:106,769 +DA:97,1025 +DA:99,1025 +DA:103,1025 +BRDA:103,4,0,256 +BRDA:103,4,1,769 +DA:104,256 +DA:109,769 FNF:2 FNH:2 LF:23 @@ -95,74 +95,63 @@ BRDA:42,0,0,512 BRDA:42,0,1,1799 DA:43,512 DA:47,1799 -DA:49,1799 -DA:50,1286 -DA:51,1029 -DA:52,772 -DA:53,515 -DA:54,258 -BRDA:48,1,0,1 -BRDA:48,1,1,1798 -DA:56,1 -DA:60,1798 -BRDA:60,2,0,256 -BRDA:60,2,1,1 -DA:61,257 -BRDA:61,3,0,256 -BRDA:61,3,1,1 -DA:62,256 -DA:64,1541 -BRDA:64,4,0,1280 -BRDA:64,4,1,261 -DA:65,1280 -DA:68,262 -FN:81,SMv3SessionValidationModule.validateSessionUserOp +DA:51,1799 +DA:55,1798 +DA:57,262 +FN:70,SMv3SessionValidationModule.validateSessionUserOp FNDA:3334,SMv3SessionValidationModule.validateSessionUserOp -DA:89,3334 -DA:90,256 -BRDA:88,5,0,256 -BRDA:88,5,1,3078 -DA:92,256 -DA:95,3078 +DA:81,3334 +DA:82,256 +BRDA:80,1,0,256 +BRDA:80,1,1,3078 +DA:84,256 +DA:87,3078 +DA:88,3078 +DA:90,3078 DA:96,3078 -DA:98,3078 -DA:104,3078 -BRDA:104,6,0,512 -BRDA:104,6,1,2566 -DA:105,512 -DA:110,2566 -DA:112,2566 -DA:113,2566 -DA:114,2566 +BRDA:96,2,0,512 +BRDA:96,2,1,2566 +DA:97,512 +DA:102,2566 +DA:104,2566 +DA:105,2566 +DA:106,2566 +DA:107,2566 +DA:111,2566 DA:115,2566 -DA:119,2566 -DA:121,2566 -DA:122,1541 -DA:123,1284 -DA:124,1027 -DA:125,770 -DA:126,513 -BRDA:120,7,0,256 -BRDA:120,7,1,2310 -DA:128,256 -DA:132,2310 -BRDA:132,8,0,256 -BRDA:132,8,1,1 -DA:133,257 -BRDA:133,9,0,256 -BRDA:133,9,1,1 -DA:134,256 -DA:136,2053 -BRDA:136,10,0,1280 -BRDA:136,10,1,773 -DA:137,1280 -DA:142,774 -FNF:2 -FNH:2 -LF:45 -LH:45 -BRF:22 -BRH:22 +DA:119,2310 +DA:123,774 +FN:132,SMv3SessionValidationModule._sanitizeSelector +FNDA:4365,SMv3SessionValidationModule._sanitizeSelector +DA:134,4365 +DA:135,2827 +DA:136,2313 +DA:137,1799 +DA:138,1285 +DA:139,771 +BRDA:133,3,0,257 +BRDA:133,3,1,4108 +DA:141,257 +FN:149,SMv3SessionValidationModule._sanitizeCallValue +FNDA:4108,SMv3SessionValidationModule._sanitizeCallValue +DA:154,4108 +DA:155,3594 +BRDA:153,4,0,1024 +BRDA:153,4,1,4 +DA:157,1028 +BRDA:157,5,0,1024 +BRDA:157,5,1,4 +DA:158,1024 +DA:160,3080 +BRDA:160,6,0,2048 +BRDA:160,6,1,1032 +DA:161,2048 +FNF:4 +FNH:4 +LF:38 +LH:38 +BRF:14 +BRH:14 end_of_record TN: SF:src/biconomy/interfaces/UserOperation.sol @@ -346,11 +335,6 @@ BRH:0 end_of_record TN: SF:test/utils/Bootstrap.sol -FN:40,BootstrapOptimismGoerli.init -FNDA:0,BootstrapOptimismGoerli.init -DA:41,0 -DA:44,0 -DA:46,0 FN:23,Bootstrap.initializeOptimismGoerli FNDA:0,Bootstrap.initializeOptimismGoerli DA:24,0 @@ -358,6 +342,11 @@ DA:25,0 DA:28,0 DA:30,0 DA:32,0 +FN:40,BootstrapOptimismGoerli.init +FNDA:0,BootstrapOptimismGoerli.init +DA:41,0 +DA:44,0 +DA:46,0 FNF:2 FNH:0 LF:8