Context: I’m using Pyth historical prices with Hermes. At midnight, I fetch historical price data from Hermes for the previous day, onload those prices into Solana accounts using the Pyth Solana Receiver, run my competition, then offload the price accounts.
What’s happening: The transaction executes two Pyth Receiver instructions:
WriteEncodedVaa — writes the encoded VAA (price update data) to an account. This succeeds.
VerifyEncodedVaaV1 — verifies the VAA against Wormhole guardian signatures. This fails because the guardian_set account is not initialized.
Root cause: The Pyth Receiver program requires a Wormhole guardian set account to verify VAAs. This account must exist and be initialized before verification. On devnet (or when using historical prices), this account may not be set up.
Has anyone successfully initialized the guardian set on devnet, or is there a recommended approach for setting this up?