You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: add failing test for EOA admin key validation issue
This test demonstrates that when an EOA's own address is used as the
publicKey for an admin key (which happens when using the EOA's private
key to create the admin key), the validation fails due to a recursive
validation loop in the signature checking logic.
The issue occurs because:
1. unwrapAndValidateSignature extracts the inner signature
2. For Secp256k1 keys, it calls isValidSignatureNowCalldata with the EOA address
3. Since the EOA has code (via EIP-7702), it calls isValidSignature on the EOA
4. This triggers the 64/65 byte special case expecting raw EOA signature
5. But the signature is EIP-712 formatted, causing validation to fail
0 commit comments