Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/test_commit_finalize_from_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use solana_sdk::{

use crate::fixtures::{
get_delegation_metadata_data, get_delegation_record_data, DELEGATED_PDA_ID,
TEST_AUTHORITY,
DELEGATED_PDA_OWNER_ID, TEST_AUTHORITY,
};

mod fixtures;
Expand All @@ -42,6 +42,7 @@ async fn test_commit_finalize_from_buffer_perf() {
let (ix, pdas) = dlp_api::instruction_builder::commit_finalize_from_buffer(
authority.pubkey(),
DELEGATED_PDA_ID,
DELEGATED_PDA_OWNER_ID,
state_buffer_pda,
&mut CommitFinalizeArgs {
commit_id: 1,
Expand Down Expand Up @@ -110,6 +111,7 @@ async fn test_commit_finalize_from_buffer_out_of_order() {
let (ix, _pdas) = dlp_api::instruction_builder::commit_finalize_from_buffer(
authority.pubkey(),
DELEGATED_PDA_ID,
DELEGATED_PDA_OWNER_ID,
state_buffer_pda,
&mut CommitFinalizeArgs {
commit_id: 2, // this is the min value which will cause NonceOutOfOrder
Expand Down