wormhole-foundation / example-liquidity-layer

Apache License 2.0
11 stars 11 forks source link

solana: remove payer sequence #90

Closed a5-pickle closed 5 months ago

a5-pickle commented 5 months ago

Instead of using a payer sequence for unique IDs for messages, the matching engine will use the Auction pubkey and the token router will use the PreparedOrder pubkey (which will either be a generated keypair or integrator's PDA).

Closes #88 because this removes the payer sequence account. Closes #89 because using the auction account as a seed effectively uses the VAA hash.

NOTE: This is a breaking change for Solana devnet.