-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve contract visibility & overridability, added SocialReco…
…veryExecutorMock
- Loading branch information
Showing
7 changed files
with
147 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 0 additions & 54 deletions
54
contracts/mocks/account/modules/ERC7579ReconfigurableValidatorMock.sol
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
contracts/mocks/account/modules/ERC7579SocialRecoveryExecutorMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.24; | ||
|
||
import {ERC7579SocialRecoveryExecutor} from "../../../account/extensions/ERC7579Modules/ERC7579SocialRecoveryExecutor.sol"; | ||
|
||
contract ERC7579SocialRecoveryExecutorMock is ERC7579SocialRecoveryExecutor { | ||
constructor(string memory name, string memory version) ERC7579SocialRecoveryExecutor(name, version) {} | ||
|
||
// helper for testing signature validation | ||
function validateGuardianSignatures( | ||
address account, | ||
GuardianSignature[] calldata guardianSignatures, | ||
bytes32 digest | ||
) public view virtual { | ||
super._validateGuardianSignatures(account, guardianSignatures, digest); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.