chore(faucet): add genesis prefix to instruction names

This commit is contained in:
Daniil Polyakov
2026-05-29 20:05:38 +03:00
parent 0a7cdb1971
commit d86e02139f
17 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ fn main() {
let post_states = unchanged_post_states(&pre_states_clone);
let chained_calls = match instruction {
Instruction::TransferVault {
Instruction::GenesisTransferVault {
vault_program_id,
recipient_id,
amount,
@@ -62,7 +62,7 @@ fn main() {
.with_pda_seeds(vec![faucet_core::compute_faucet_seed()]),
]
}
Instruction::TransferDirect { amount } => {
Instruction::GenesisTransferDirect { amount } => {
let [faucet, recipient] = pre_states
.try_into()
.expect("TransferDirect requires exactly 2 accounts");