Skip to content

Commit

Permalink
⏳ Post-Audit Enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredBorders authored Oct 19, 2023
2 parents 7016975 + 65f06dd commit b262223
Show file tree
Hide file tree
Showing 12 changed files with 717 additions and 848 deletions.
39 changes: 19 additions & 20 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
ValidateSessionParams:test_validateSessionParams() (gas: 31723)
ValidateSessionParams:test_validateSessionParams() (gas: 67203)
ValidateSessionParams:test_validateSessionParams_callValue_invalid() (gas: 52768)
ValidateSessionParams:test_validateSessionParams_callValue_invalid() (gas: 59733)
ValidateSessionParams:test_validateSessionParams_destinationContract_invalid() (gas: 30614)
ValidateSessionParams:test_validateSessionParams_destinationContract_invalid() (gas: 42281)
ValidateSessionParams:test_validateSessionParams_funcCallData_invalid() (gas: 32032)
ValidateSessionParams:test_validateSessionParams_funcCallData_invalid() (gas: 41891)
ValidateSessionParams:test_validateSessionParams_sessionKeyData_invalid() (gas: 50994)
ValidateSessionParams:test_validateSessionParams_sessionKeyData_invalid() (gas: 93348)
ValidateSessionUserOp:test_validateSessionUserOp() (gas: 137313)
ValidateSessionUserOp:test_validateSessionUserOp() (gas: 284073)
ValidateSessionUserOp:test_validateSessionUserOp_op_callData_invalid() (gas: 140834)
ValidateSessionUserOp:test_validateSessionUserOp_op_callData_invalid() (gas: 144764)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid() (gas: 106098)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid() (gas: 279589)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeySignature_invalid() (gas: 107963)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeySignature_invalid() (gas: 81852)
ValidateSessionUserOp:test_validateSessionUserOp_userOpHash_invalid() (gas: 71922)
ValidateSessionUserOp:test_validateSessionUserOp_userOpHash_invalid() (gas: 79475)
ValidateSessionParams:test_validateSessionParams() (gas: 29469)
ValidateSessionParams:test_validateSessionParams() (gas: 76317)
ValidateSessionParams:test_validateSessionParams_callValue_invalid(uint256) (runs: 256, μ: 107033, ~: 107033)
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(bytes4) (runs: 256, μ: 24502, ~: 24502)
ValidateSessionParams:test_validateSessionParams_funcCallData_invalid(bytes4) (runs: 256, μ: 39815, ~: 39928)
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)
ValidateSessionUserOp:test_validateSessionUserOp() (gas: 71829)
ValidateSessionUserOp:test_validateSessionUserOp_op_callData_invalid(bytes4,address,uint256) (runs: 256, μ: 130244, ~: 130244)
ValidateSessionUserOp:test_validateSessionUserOp_op_callData_invalid(bytes4,address,uint256) (runs: 256, μ: 282952, ~: 282231)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid(address,address) (runs: 256, μ: 93063, ~: 93082)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeyData_invalid(address,address) (runs: 256, μ: 95222, ~: 95260)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeySignature_invalid(uint256) (runs: 256, μ: 82854, ~: 82854)
ValidateSessionUserOp:test_validateSessionUserOp_sessionKeySignature_invalid(uint256) (runs: 256, μ: 83024, ~: 83024)
ValidateSessionUserOp:test_validateSessionUserOp_userOpHash_invalid(bytes32) (runs: 256, μ: 74764, ~: 74764)
ValidateSessionUserOp:test_validateSessionUserOp_userOpHash_invalid(bytes32) (runs: 256, μ: 74934, ~: 74934)
3 changes: 2 additions & 1 deletion deployments/Base.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"SMv2SessionValidationModule": ""
"SMv2SessionValidationModule": "0xaD873e5E79df7F7a7fFE637EdaCcD5A3640B4a49",
"SMv3SessionValidationModule": "0x3e52b5f840eafD79394c6359E93Bf3FfdAE89ee4"
}
3 changes: 2 additions & 1 deletion deployments/BaseGoerli.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"SMv2SessionValidationModule": ""
"SMv2SessionValidationModule": "0xf88D3220a7AB9AC75aE18A6c158557a8CcaBa691",
"SMv3SessionValidationModule": "0xa5Aac6b5De821E631C7Ad01f978e32e80a8461c7"
}
3 changes: 2 additions & 1 deletion deployments/Optimism.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"SMv2SessionValidationModule": ""
"SMv2SessionValidationModule": "0xfc026f2230C55DC8BDE3bD9bE8941fbDCA6B39C2",
"SMv3SessionValidationModule": "0xEfc2aAE2eBABcD242b210AACc6A121078714bF26"
}
4 changes: 2 additions & 2 deletions deployments/OptimismGoerli.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"SMv2SessionValidationModule": "0x38Fec4DccA924e6dF408083bd18fb82aff9a838D",
"SMv3SessionValidationModule": "0x7b1d4aF0b8FA4D9860aa3690569220fAa04DeD44"
"SMv2SessionValidationModule": "0x88d5A3EaCeeFB1Ca054a0EaDb788F6BE77a579fC",
"SMv3SessionValidationModule": "0xf82191044a40a92a4d1A2Cad5F6Bc8e527Fc520A"
}
Loading

0 comments on commit b262223

Please sign in to comment.