Skip to content

Commit

Permalink
Merge pull request #197 from bcnmy/feat/SMA-378-379-ABI-SVM-Audit-Rem…
Browse files Browse the repository at this point in the history
…ediations

SMA 379 ABI SVM audit remediations pt 1
  • Loading branch information
filmakarov authored Feb 14, 2024
2 parents 5df0325 + 6de8982 commit dddc887
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ abstract contract ISessionValidationModule {
* @param funcCallData the data for the call.
* is parsed inside the Session Validation Module (SVM)
* @param sessionKeyData SessionKey data, that describes sessionKey permissions
* @param callSpecificData additional data for the call, that is parsed inside the SVM
* @return the Session Key address (public key) that was used to sign the call
*/
function validateSessionParams(
address destinationContract,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ contract ABISessionValidationModule is ISessionValidationModule {
"ABISV Not Execute Selector"
);

address destContract;
uint160 destContract;
uint256 callValue;
bytes calldata data;
assembly {
Expand All @@ -84,7 +84,7 @@ contract ABISessionValidationModule is ISessionValidationModule {

return
_validateSessionParams(
destContract,
address(destContract),
callValue,
data,
_sessionKeyData
Expand Down

0 comments on commit dddc887

Please sign in to comment.