Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed May 3, 2024
1 parent 4512481 commit ee47efc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contracts/abstraction/mocks/AdvancedAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ contract AdvancedAccountECDSA is AdvancedAccount, AccountECDSA {
PackedUserOperation calldata userOp,
bytes32 userOpHash
) internal virtual override(Account, AccountMultisig) returns (uint256 validationData) {
// In this mock, calling super would work, but it may not depending on how the function is overriden by other

Check failure on line 89 in contracts/abstraction/mocks/AdvancedAccount.sol

View workflow job for this annotation

GitHub Actions / codespell

overriden ==> overridden
// modules. Using a more explicit override may bypass additional modules though.
//
// If possible, this should be improved.
return AccountMultisig._validateSignature(userOp, userOpHash);
}
}
Expand All @@ -102,6 +106,10 @@ contract AdvancedAccountP256 is AdvancedAccount, AccountP256 {
PackedUserOperation calldata userOp,
bytes32 userOpHash
) internal virtual override(Account, AccountMultisig) returns (uint256 validationData) {
// In this mock, calling super would work, but it may not depending on how the function is overriden by other

Check failure on line 109 in contracts/abstraction/mocks/AdvancedAccount.sol

View workflow job for this annotation

GitHub Actions / codespell

overriden ==> overridden
// modules. Using a more explicit override may bypass additional modules though.
//
// If possible, this should be improved.
return AccountMultisig._validateSignature(userOp, userOpHash);
}
}

0 comments on commit ee47efc

Please sign in to comment.