Skip to content

[SOLVED]: Why can't we verify through a CPI? #6

Open
@code-brewer

Description

@code-brewer
  1. 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 agaist pubkey

  2. 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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    explanationExplanation on how this program works

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions