@@ -901,7 +901,7 @@ create_instr_context_protobuf_from_instructions( fd_exec_test_instr_context_t *
901901
902902 /* Accounts */
903903 instr_context -> accounts_count = (pb_size_t ) txn_out -> accounts .accounts_cnt ;
904- instr_context -> accounts = fd_spad_alloc ( spad , alignof(fd_exec_test_acct_state_t ), (instr_context -> accounts_count + num_sysvar_entries + runtime -> executable . cnt ) * sizeof (fd_exec_test_acct_state_t ));
904+ instr_context -> accounts = fd_spad_alloc ( spad , alignof(fd_exec_test_acct_state_t ), (instr_context -> accounts_count + num_sysvar_entries + runtime -> accounts . executable_cnt ) * sizeof (fd_exec_test_acct_state_t ));
905905 for ( ulong i = 0 ; i < txn_out -> accounts .accounts_cnt ; i ++ ) {
906906 // Copy account information over
907907 fd_txn_account_t const * txn_account = & txn_out -> accounts .accounts [i ];
@@ -933,16 +933,16 @@ create_instr_context_protobuf_from_instructions( fd_exec_test_instr_context_t *
933933 }
934934
935935 /* Add executable accounts */
936- for ( ulong i = 0 ; i < runtime -> executable . cnt ; i ++ ) {
936+ for ( ulong i = 0 ; i < runtime -> accounts . executable_cnt ; i ++ ) {
937937 fd_txn_account_t txn_account [1 ];
938- int ret = fd_txn_account_init_from_funk_readonly ( txn_account , runtime -> executable . accounts [i ].pubkey , runtime -> funk , & xid );
938+ int ret = fd_txn_account_init_from_funk_readonly ( txn_account , runtime -> accounts . executables [i ].pubkey , runtime -> funk , & xid );
939939 if ( ret != FD_ACC_MGR_SUCCESS ) {
940940 continue ;
941941 }
942942 // Make sure the account doesn't exist in the output accounts yet
943943 bool account_exists = false;
944944 for ( ulong j = 0 ; j < instr_context -> accounts_count ; j ++ ) {
945- if ( 0 == memcmp ( instr_context -> accounts [j ].address , runtime -> executable . accounts [i ].pubkey -> uc , sizeof (fd_pubkey_t ) ) ) {
945+ if ( 0 == memcmp ( instr_context -> accounts [j ].address , runtime -> accounts . executables [i ].pubkey -> uc , sizeof (fd_pubkey_t ) ) ) {
946946 account_exists = true;
947947 break ;
948948 }
0 commit comments