merge main into feat-caller-program-id-and-flash-swap

This commit is contained in:
Moudy
2026-04-07 19:44:55 +02:00
36 changed files with 9 additions and 2 deletions
@@ -15,6 +15,7 @@ fn main() {
let (
ProgramInput {
self_program_id,
caller_program_id,
pre_states,
instruction: (clock_program_id, timestamp),
},
@@ -33,7 +34,7 @@ fn main() {
pda_seeds: vec![],
};
ProgramOutput::new(self_program_id, instruction_words, pre_states, post_states)
ProgramOutput::new(self_program_id, caller_program_id, instruction_words, pre_states, post_states)
.with_chained_calls(vec![chained_call])
.write();
}
@@ -49,6 +49,7 @@ fn main() {
let (
ProgramInput {
self_program_id,
caller_program_id,
pre_states,
instruction: (),
},
@@ -102,6 +103,7 @@ fn main() {
ProgramOutput::new(
self_program_id,
caller_program_id,
instruction_words,
vec![pinata, winner, clock_pre],
vec![
@@ -19,6 +19,7 @@ fn main() {
let (
ProgramInput {
self_program_id,
caller_program_id,
pre_states,
instruction: (amount, deadline),
},
@@ -58,6 +59,7 @@ fn main() {
ProgramOutput::new(
self_program_id,
caller_program_id,
instruction_words,
vec![sender_pre, receiver_pre, clock_pre],
vec![