@@ -2649,7 +2649,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
26492649 if ( FD_UNLIKELY ( !clock ) ) return FD_EXECUTOR_INSTR_ERR_UNSUPPORTED_SYSVAR ;
26502650 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L94
26512651 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 3 ) )
2652- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2652+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
26532653 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L95
26542654 fd_pubkey_t const * custodian_pubkey = NULL ;
26552655 rc = get_optional_pubkey ( ctx , 3 , 0 , & custodian_pubkey );
@@ -2686,7 +2686,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
26862686
26872687 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L109
26882688 if ( ctx -> instr -> acct_cnt < 2 )
2689- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2689+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
26902690 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L110
26912691 rc = fd_sysvar_instr_acct_check ( ctx , 2 , & fd_sysvar_clock_id );
26922692 if ( FD_UNLIKELY ( rc ) ) return rc ;
@@ -2729,7 +2729,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
27292729 if ( FD_UNLIKELY ( rc ) ) return rc ;
27302730 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L130
27312731 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 2 ) )
2732- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2732+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
27332733 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L131
27342734 rc = fd_sysvar_instr_acct_check ( ctx , 2 , & fd_sysvar_clock_id );
27352735 if ( FD_UNLIKELY ( rc ) ) return rc ;
@@ -2744,7 +2744,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
27442744 }
27452745 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L138
27462746 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 5 ) )
2747- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2747+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
27482748
27492749 /* https://github.com/anza-xyz/agave/blob/v2.1.14/programs/stake/src/stake_instruction.rs#L138 */
27502750 fd_borrowed_account_drop ( & me );
@@ -2778,7 +2778,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
27782778 if ( FD_UNLIKELY ( rc ) ) return rc ;
27792779 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L154
27802780 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 2 ) )
2781- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2781+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
27822782
27832783 /* https://github.com/anza-xyz/agave/blob/v2.1.14/programs/stake/src/stake_instruction.rs#L154 */
27842784 fd_borrowed_account_drop ( & me );
@@ -2803,7 +2803,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
28032803 if ( FD_UNLIKELY ( rc ) ) return rc ;
28042804 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L168
28052805 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 2 ) )
2806- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2806+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
28072807 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L169
28082808 rc = fd_sysvar_instr_acct_check ( ctx , 2 , & fd_sysvar_clock_id );
28092809 if ( FD_UNLIKELY ( rc ) ) return rc ;
@@ -2844,7 +2844,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
28442844 if ( FD_UNLIKELY ( rc ) ) return rc ;
28452845 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L190
28462846 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 2 ) )
2847- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2847+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
28482848 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L191
28492849 rc = fd_sysvar_instr_acct_check ( ctx , 2 , & fd_sysvar_clock_id );
28502850 if ( FD_UNLIKELY ( rc ) ) return rc ;
@@ -2859,7 +2859,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
28592859 }
28602860 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L198
28612861 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 5 ) )
2862- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
2862+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
28632863
28642864 /* https://github.com/anza-xyz/agave/blob/v2.1.14/programs/stake/src/stake_instruction.rs#L198 */
28652865 fd_borrowed_account_drop ( & me );
@@ -3019,7 +3019,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
30193019 if ( FD_UNLIKELY ( !clock ) ) return FD_EXECUTOR_INSTR_ERR_UNSUPPORTED_SYSVAR ;
30203020 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L253
30213021 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 4 ) )
3022- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
3022+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
30233023
30243024 // https://github.com/anza-xyz/agave/blob/v2.1.14/programs/stake/src/stake_instruction.rs#L253
30253025 fd_pubkey_t const * authorized_pubkey = NULL ;
@@ -3064,7 +3064,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
30643064
30653065 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L274
30663066 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 2 ) )
3067- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
3067+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
30683068 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L276
30693069 rc = fd_sysvar_instr_acct_check ( ctx , 2 , & fd_sysvar_clock_id );
30703070 if ( FD_UNLIKELY ( rc ) ) return rc ;
@@ -3073,7 +3073,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
30733073 if ( FD_UNLIKELY ( !clock ) ) return FD_EXECUTOR_INSTR_ERR_UNSUPPORTED_SYSVAR ;
30743074 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L277
30753075 if ( FD_UNLIKELY ( fd_exec_instr_ctx_check_num_insn_accounts ( ctx , 4U ) ) )
3076- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
3076+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
30773077
30783078 // https://github.com/anza-xyz/agave/blob/v2.1.14/programs/stake/src/stake_instruction.rs#L277-L280
30793079 fd_pubkey_t const * authorized_pubkey = NULL ;
@@ -3168,7 +3168,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
31683168 if ( FD_UNLIKELY ( rc ) ) return rc ;
31693169 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L323
31703170 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 3 ) )
3171- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
3171+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
31723172 // https://github.com/anza-xyz/agave/blob/c8685ce0e1bb9b26014f1024de2cd2b8c308cbde/programs/stake/src/stake_instruction.rs#L325
31733173 fd_sol_sysvar_clock_t clock_ ;
31743174 fd_sol_sysvar_clock_t const * clock = fd_sysvar_cache_clock_read ( ctx -> sysvar_cache , & clock_ );
@@ -3202,7 +3202,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
32023202 case fd_stake_instruction_enum_move_stake : {
32033203 // https://github.com/anza-xyz/agave/blob/cdff19c7807b006dd63429114fb1d9573bf74172/programs/stake/src/stake_instruction.rs#L361
32043204 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 3 ) )
3205- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
3205+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
32063206
32073207 ulong lamports = instruction -> inner .move_stake ;
32083208 // https://github.com/anza-xyz/agave/blob/cdff19c7807b006dd63429114fb1d9573bf74172/programs/stake/src/stake_instruction.rs#L362
@@ -3226,7 +3226,7 @@ fd_stake_program_execute( fd_exec_instr_ctx_t * ctx ) {
32263226 case fd_stake_instruction_enum_move_lamports : {
32273227 // https://github.com/anza-xyz/agave/blob/cdff19c7807b006dd63429114fb1d9573bf74172/programs/stake/src/stake_instruction.rs#L380
32283228 if ( FD_UNLIKELY ( ctx -> instr -> acct_cnt < 3 ) )
3229- return FD_EXECUTOR_INSTR_ERR_NOT_ENOUGH_ACC_KEYS ;
3229+ return FD_EXECUTOR_INSTR_ERR_MISSING_ACC ;
32303230
32313231 // https://github.com/anza-xyz/agave/blob/cdff19c7807b006dd63429114fb1d9573bf74172/programs/stake/src/stake_instruction.rs#L381
32323232 ulong lamports = instruction -> inner .move_lamports ;
0 commit comments