LCOV - code coverage report
Current view: top level - flamenco/runtime - fd_runtime_err.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 17 22 77.3 %
Date: 2024-11-13 11:58:15 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      116232 : #define FD_RUNTIME_EXECUTE_SUCCESS                               ( 0 )  /* Slot executed successfully */
       5           0 : #define FD_RUNTIME_EXECUTE_GENERIC_ERR                          ( -1 ) /* The Slot execute returned an error */
       6             : 
       7             : /* Transaction errors */
       8             : #define FD_RUNTIME_TXN_ERR_ACCOUNT_IN_USE                            -1
       9         348 : #define FD_RUNTIME_TXN_ERR_ACCOUNT_LOADED_TWICE                      -2
      10          21 : #define FD_RUNTIME_TXN_ERR_ACCOUNT_NOT_FOUND                         -3
      11         663 : #define FD_RUNTIME_TXN_ERR_PROGRAM_ACCOUNT_NOT_FOUND                 -4
      12          12 : #define FD_RUNTIME_TXN_ERR_INSUFFICIENT_FUNDS_FOR_FEE                -5
      13          21 : #define FD_RUNTIME_TXN_ERR_INVALID_ACCOUNT_FOR_FEE                   -6
      14             : #define FD_RUNTIME_TXN_ERR_ALREADY_PROCESSED                         -7
      15        1038 : #define FD_RUNTIME_TXN_ERR_BLOCKHASH_NOT_FOUND                       -8
      16       13653 : #define FD_RUNTIME_TXN_ERR_INSTRUCTION_ERROR                         -9
      17             : #define FD_RUNTIME_TXN_ERR_CALL_CHAIN_TOO_DEEP                       -10
      18             : #define FD_RUNTIME_TXN_ERR_MISSING_SIGNATURE_FOR_FEE                 -11
      19             : #define FD_RUNTIME_TXN_ERR_INVALID_ACCOUNT_INDEX                     -12
      20           0 : #define FD_RUNTIME_TXN_ERR_SIGNATURE_FAILURE                         -13
      21          39 : #define FD_RUNTIME_TXN_ERR_INVALID_PROGRAM_FOR_EXECUTION             -14
      22             : #define FD_RUNTIME_TXN_ERR_SANITIZE_FAILURE                          -15
      23             : #define FD_RUNTIME_TXN_ERR_CLUSTER_MAINTENANCE                       -16
      24             : #define FD_RUNTIME_TXN_ERR_ACCOUNT_BORROW_OUTSTANDING                -17
      25           0 : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_MAX_BLOCK_COST_LIMIT         -18
      26             : #define FD_RUNTIME_TXN_ERR_UNSUPPORTED_VERSION                       -19
      27             : #define FD_RUNTIME_TXN_ERR_INVALID_WRITABLE_ACCOUNT                  -20
      28           0 : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT       -21
      29             : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT     -22
      30          45 : #define FD_RUNTIME_TXN_ERR_TOO_MANY_ACCOUNT_LOCKS                    -23
      31          63 : #define FD_RUNTIME_TXN_ERR_ADDRESS_LOOKUP_TABLE_NOT_FOUND            -24
      32          45 : #define FD_RUNTIME_TXN_ERR_INVALID_ADDRESS_LOOKUP_TABLE_OWNER        -25
      33         132 : #define FD_RUNTIME_TXN_ERR_INVALID_ADDRESS_LOOKUP_TABLE_DATA         -26
      34          30 : #define FD_RUNTIME_TXN_ERR_INVALID_ADDRESS_LOOKUP_TABLE_INDEX        -27
      35             : #define FD_RUNTIME_TXN_ERR_INVALID_RENT_PAYING_ACCOUNT               -28
      36             : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_MAX_VOTE_COST_LIMIT          -29
      37             : #define FD_RUNTIME_TXN_ERR_WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT     -30
      38          12 : #define FD_RUNTIME_TXN_ERR_DUPLICATE_INSTRUCTION                     -31
      39           6 : #define FD_RUNTIME_TXN_ERR_INSUFFICIENT_FUNDS_FOR_RENT               -32
      40           0 : #define FD_RUNTIME_TXN_ERR_MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED    -33
      41           6 : #define FD_RUNTIME_TXN_ERR_INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT   -34
      42             : #define FD_RUNTIME_TXN_ERR_RESANITIZATION_NEEDED                     -35
      43             : #define FD_RUNTIME_TXN_ERR_PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED  -36
      44             : #define FD_RUNTIME_TXN_ERR_UNBALANCED_TRANSACTION                    -37
      45             : #define FD_RUNTIME_TXN_ERR_PROGRAM_CACHE_HIT_MAX_LIMIT               -38
      46             : 
      47             : #endif /* HEADER_fd_src_flamenco_runtime_fd_runtime_err_h */

Generated by: LCOV version 1.14