LCOV - code coverage report
Current view: top level - flamenco/runtime - fd_runtime_err.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 10 31 32.3 %
Date: 2026-07-11 05:27:41 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_flamenco_runtime_fd_runtime_err_h
       2             : #define HEADER_fd_src_flamenco_runtime_fd_runtime_err_h
       3             : 
       4        7668 : #define FD_RUNTIME_EXECUTE_SUCCESS                               ( 0 )  /* Slot executed successfully */
       5             : 
       6             : /* Transaction errors */
       7           0 : #define FD_RUNTIME_TXN_ERR_ACCOUNT_LOADED_TWICE                      -2
       8           0 : #define FD_RUNTIME_TXN_ERR_ACCOUNT_NOT_FOUND                         -3
       9          12 : #define FD_RUNTIME_TXN_ERR_PROGRAM_ACCOUNT_NOT_FOUND                 -4
      10           0 : #define FD_RUNTIME_TXN_ERR_INSUFFICIENT_FUNDS_FOR_FEE                -5
      11           0 : #define FD_RUNTIME_TXN_ERR_INVALID_ACCOUNT_FOR_FEE                   -6
      12           0 : #define FD_RUNTIME_TXN_ERR_ALREADY_PROCESSED                         -7
      13           0 : #define FD_RUNTIME_TXN_ERR_BLOCKHASH_NOT_FOUND                       -8
      14          72 : #define FD_RUNTIME_TXN_ERR_INSTRUCTION_ERROR                         -9
      15           0 : #define FD_RUNTIME_TXN_ERR_SIGNATURE_FAILURE                         -13
      16           0 : #define FD_RUNTIME_TXN_ERR_INVALID_PROGRAM_FOR_EXECUTION             -14
      17           3 : #define FD_RUNTIME_TXN_ERR_SANITIZE_FAILURE                          -15
      18           0 : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_MAX_BLOCK_COST_LIMIT         -18
      19           0 : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT       -21
      20           0 : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT     -22
      21           0 : #define FD_RUNTIME_TXN_ERR_TOO_MANY_ACCOUNT_LOCKS                    -23
      22           6 : #define FD_RUNTIME_TXN_ERR_ADDRESS_LOOKUP_TABLE_NOT_FOUND            -24
      23           3 : #define FD_RUNTIME_TXN_ERR_INVALID_ADDRESS_LOOKUP_TABLE_OWNER        -25
      24          12 : #define FD_RUNTIME_TXN_ERR_INVALID_ADDRESS_LOOKUP_TABLE_DATA         -26
      25          12 : #define FD_RUNTIME_TXN_ERR_INVALID_ADDRESS_LOOKUP_TABLE_INDEX        -27
      26           0 : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_MAX_VOTE_COST_LIMIT          -29
      27           0 : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT     -30
      28           0 : #define FD_RUNTIME_TXN_ERR_DUPLICATE_INSTRUCTION                     -31
      29           0 : #define FD_RUNTIME_TXN_ERR_INSUFFICIENT_FUNDS_FOR_RENT               -32
      30           9 : #define FD_RUNTIME_TXN_ERR_MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED    -33
      31           0 : #define FD_RUNTIME_TXN_ERR_INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT   -34
      32           0 : #define FD_RUNTIME_TXN_ERR_UNBALANCED_TRANSACTION                    -37
      33           0 : #define FD_RUNTIME_TXN_ERR_BUNDLE_PEER                               -40
      34             : 
      35             : /* Transaction error that does not directly map to an Agave error.
      36             :    These all map to FD_RUNTIME_TXN_ERR_BLOCKHASH_NOT_FOUND (-8) and are
      37             :    just differentiated to provide additional insight into the error.*/
      38           3 : #define FD_RUNTIME_TXN_ERR_BLOCKHASH_NONCE_ALREADY_ADVANCED          -50
      39           0 : #define FD_RUNTIME_TXN_ERR_BLOCKHASH_FAIL_ADVANCE_NONCE_INSTR        -51
      40           0 : #define FD_RUNTIME_TXN_ERR_BLOCKHASH_FAIL_WRONG_NONCE                -52
      41             : 
      42             : #endif /* HEADER_fd_src_flamenco_runtime_fd_runtime_err_h */

Generated by: LCOV version 1.14