@@ -925,7 +925,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
925925 /* https://github.com/anza-xyz/agave/blob/574bae8fefc0ed256b55340b9d87b7689bcdf222/programs/bpf_loader/src/lib.rs#L476-L493 */
926926 case fd_bpf_upgradeable_loader_program_instruction_enum_initialize_buffer : {
927927 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 2U ) ) ) {
928- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
928+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
929929 }
930930
931931 /* https://github.com/anza-xyz/agave/blob/v2.1.4/programs/bpf_loader/src/lib.rs#L479 */
@@ -966,7 +966,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
966966 /* https://github.com/anza-xyz/agave/blob/574bae8fefc0ed256b55340b9d87b7689bcdf222/programs/bpf_loader/src/lib.rs#L494-L525 */
967967 case fd_bpf_upgradeable_loader_program_instruction_enum_write : {
968968 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 2U ) ) ) {
969- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
969+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
970970 }
971971
972972 /* https://github.com/anza-xyz/agave/blob/v2.1.4/programs/bpf_loader/src/lib.rs#L497 */
@@ -1026,7 +1026,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
10261026 case fd_bpf_upgradeable_loader_program_instruction_enum_deploy_with_max_data_len : {
10271027 /* https://github.com/anza-xyz/agave/blob/574bae8fefc0ed256b55340b9d87b7689bcdf222/programs/bpf_loader/src/lib.rs#L527-L541 */
10281028 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 4U ) ) ) {
1029- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1029+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
10301030 }
10311031
10321032 /* https://github.com/anza-xyz/agave/blob/v2.1.4/programs/bpf_loader/src/lib.rs#L529-L534 */
@@ -1063,7 +1063,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
10631063
10641064 /* https://github.com/anza-xyz/agave/blob/v2.1.14/programs/bpf_loader/src/lib.rs#L538 */
10651065 if ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 8U ) ) {
1066- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1066+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
10671067 }
10681068
10691069 /* https://github.com/anza-xyz/agave/blob/v2.1.14/programs/bpf_loader/src/lib.rs#L539-L541 */
@@ -1366,7 +1366,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
13661366 case fd_bpf_upgradeable_loader_program_instruction_enum_upgrade : {
13671367 /* https://github.com/anza-xyz/agave/blob/574bae8fefc0ed256b55340b9d87b7689bcdf222/programs/bpf_loader/src/lib.rs#L704-L714 */
13681368 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 3U ) ) ) {
1369- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1369+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
13701370 }
13711371
13721372 /* https://github.com/anza-xyz/agave/blob/v2.1.14/programs/bpf_loader/src/lib.rs#L706-L708 */
@@ -1389,7 +1389,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
13891389 }
13901390
13911391 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 7U ) ) ) {
1392- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1392+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
13931393 }
13941394
13951395 /* https://github.com/anza-xyz/agave/blob/v2.1.14/programs/bpf_loader/src/lib.rs#L713-L715 */
@@ -1650,7 +1650,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
16501650 case fd_bpf_upgradeable_loader_program_instruction_enum_set_authority : {
16511651 int err ;
16521652 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 2U ) ) ) {
1653- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1653+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
16541654 }
16551655
16561656 /* https://github.com/anza-xyz/agave/blob/v2.1.4/programs/bpf_loader/src/lib.rs#L896-L897 */
@@ -1757,7 +1757,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
17571757 }
17581758
17591759 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 3U ) ) ) {
1760- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1760+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
17611761 }
17621762
17631763 /* https://github.com/anza-xyz/agave/blob/v2.1.4/programs/bpf_loader/src/lib.rs#L968-L969 */
@@ -1855,7 +1855,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
18551855 int err ;
18561856 /* https://github.com/anza-xyz/agave/blob/574bae8fefc0ed256b55340b9d87b7689bcdf222/programs/bpf_loader/src/lib.rs#L1032-L1046 */
18571857 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 2U ) ) ) {
1858- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1858+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
18591859 }
18601860
18611861 /* It's safe to directly access the instruction accounts because we already checked for two
@@ -1909,7 +1909,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
19091909 fd_borrowed_account_drop ( & close_account );
19101910
19111911 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 3U ) ) ) {
1912- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1912+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
19131913 }
19141914
19151915 fd_bpf_upgradeable_loader_state_buffer_t * state_buf = & close_account_state -> inner .buffer ;
@@ -1927,7 +1927,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
19271927 } else if ( fd_bpf_upgradeable_loader_state_is_program_data ( close_account_state ) ) {
19281928 int err ;
19291929 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 4U ) ) ) {
1930- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
1930+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
19311931 }
19321932
19331933 /* https://github.com/anza-xyz/agave/blob/v2.1.4/programs/bpf_loader/src/lib.rs#L1074 */
@@ -2037,7 +2037,7 @@ process_loader_upgradeable_instruction( fd_exec_instr_ctx_t * instr_ctx ) {
20372037
20382038 /* https://github.com/anza-xyz/agave/blob/v2.2.6/programs/bpf_loader/src/lib.rs#L1346 */
20392039 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( instr_ctx , 3U ) ) ) {
2040- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2040+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
20412041 }
20422042
20432043 /* https://github.com/anza-xyz/agave/blob/v2.2.6/programs/bpf_loader/src/lib.rs#L1347-L1349 */
0 commit comments