zerodevapp / sdk

MIT License
34 stars 32 forks source link

Does Kernel Account v3 support eip 6492 signature verification for signMessage? #173

Open ieow opened 1 month ago

ieow commented 1 month ago

for kernal v2 there is a wrapping of the signature with eip6492 for signMessage method https://github.com/zerodevapp/sdk/blob/3b9ced3c41a4ef6a68b4909e2a395a921f492431/packages/core/accounts/kernel/v2/createKernelAccountV0_2.ts#L215

But for kernal v3, there was no wrapping but concat with kernelPluginManager.getIdentifier() hex https://github.com/zerodevapp/sdk/blob/3b9ced3c41a4ef6a68b4909e2a395a921f492431/packages/core/accounts/kernel/createKernelAccount.ts#L487

What is the method used to verify the signature for kernal v3 signMessage ?