diff --git a/audits/kalos_recovery_v1.pdf b/audits/kalos_recovery_v1.pdf new file mode 100644 index 00000000..9cd7330a Binary files /dev/null and b/audits/kalos_recovery_v1.pdf differ diff --git a/test/foundry/validator/P256Validator.t.sol b/test/foundry/validator/P256Validator.t.sol index 6ffc012f..4f731844 100644 --- a/test/foundry/validator/P256Validator.t.sol +++ b/test/foundry/validator/P256Validator.t.sol @@ -190,7 +190,8 @@ contract P256ValidatorTest is KernelTestBase { } function signHash(bytes32 hash) internal view override returns (bytes memory) { - (uint256 r, uint256 s) = generateSignature(ownerKey, ECDSA.toEthSignedMessageHash(hash)); + (uint256 r, uint256 s) = generateSignature(ownerKey, hash); + return abi.encode(r, s); }