solana-ed25519-secp256k1-sig-verification
solana-ed25519-secp256k1-sig-verification copied to clipboard
[SOLVED]: Why can't we verify through a CPI?
-
After read your
check_ed25519_data
function, I wonder, Isn't it suffice to do verify {msg, signature, pubkey} without IX data ? To my expecience on Ethereum, we can recover public key from signature, and compare it agaistpubkey
-
Your Tx compose from 2 instructions, first one is sig verification IX. I think this first IX do verification also, then, why do we need to check sig again in second IX ?