Skip to content

Commit 96f34b3

Browse files
committed
test(cnft-burn): use crate ID (not hardcoded) so it survives anchor keys sync in CI
1 parent 9474920 commit 96f34b3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • compression/cnft-burn/anchor/programs/cnft-burn/tests

compression/cnft-burn/anchor/programs/cnft-burn/tests/test_burn.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ use {
2626

2727
// ---- Program IDs ----------------------------------------------------------
2828

29-
const CNFT_BURN_ID: Pubkey = pubkey!("C6qxH8n6mZxrrbtMtYWYSp8JR8vkQ55X1o4EBg7twnMv");
29+
// Track the program crate's declared id (CI runs `anchor keys sync`, which
30+
// rewrites it to a freshly generated keypair before building).
31+
const CNFT_BURN_ID: Pubkey = cnft_burn::ID;
3032
const BUBBLEGUM_ID: Pubkey = pubkey!("BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY");
3133
const COMPRESSION_ID: Pubkey = pubkey!("cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK");
3234
const NOOP_ID: Pubkey = pubkey!("noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV");

0 commit comments

Comments
 (0)