This repository was archived by the owner on Jun 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
solana: Remove references to payer.sequence_value
from the code comments #143
Copy link
Copy link
Open
Description
This value was removed in #90 but is still listed as the seed for PDAs in e.g.
example-liquidity-layer/solana/programs/token-router/src/processor/market_order/place_cctp.rs
Lines 90 to 110 in f9d747b
/// CHECK: Mutable. Seeds must be \["core-msg", payer, payer_sequence.value\]. | |
#[account( | |
mut, | |
seeds = [ | |
common::CORE_MESSAGE_SEED_PREFIX, | |
prepared_order.key().as_ref(), | |
], | |
bump, | |
)] | |
core_message: UncheckedAccount<'info>, | |
/// CHECK: Mutable. Seeds must be \["cctp-msg", payer, payer_sequence.value\]. | |
#[account( | |
mut, | |
seeds = [ | |
common::CCTP_MESSAGE_SEED_PREFIX, | |
prepared_order.key().as_ref(), | |
], | |
bump, | |
)] | |
cctp_message: UncheckedAccount<'info>, |
Metadata
Metadata
Assignees
Labels
No labels