LCOV - code coverage report
Current view: top level - flamenco/runtime/sysvar - fd_sysvar_base.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 2 3 66.7 %
Date: 2025-08-05 05:04:49 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_flamenco_runtime_sysvar_fd_sysvar_base_h
       2             : #define HEADER_fd_src_flamenco_runtime_sysvar_fd_sysvar_base_h
       3             : 
       4             : #include "../../fd_flamenco_base.h"
       5             : #include "../../../funk/fd_funk_base.h"
       6             : 
       7             : #define FD_SYSVAR_ALIGN_MAX (16UL)
       8             : 
       9           3 : #define FD_SYSVAR_CLOCK_BINCODE_SZ         (    40UL)
      10             : #define FD_SYSVAR_CLOCK_ALIGN              (     8UL)
      11             : #define FD_SYSVAR_CLOCK_FOOTPRINT          (    40UL)
      12             : 
      13             : #define FD_SYSVAR_EPOCH_REWARDS_BINCODE_SZ (    81UL)
      14             : /*      FD_SYSVAR_EPOCH_REWARDS_ALIGN provided by fd_types.h (16UL) */
      15             : #define FD_SYSVAR_EPOCH_REWARDS_FOOTPRINT  (    96UL)
      16             : 
      17             : #define FD_SYSVAR_EPOCH_SCHEDULE_BINCODE_SZ (   33UL)
      18             : #define FD_SYSVAR_EPOCH_SCHEDULE_ALIGN      (    8UL)
      19             : #define FD_SYSVAR_EPOCH_SCHEDULE_FOOTPRINT  (   40UL)
      20             : 
      21             : #define FD_SYSVAR_LAST_RESTART_SLOT_BINCODE_SZ  (8UL)
      22             : #define FD_SYSVAR_LAST_RESTART_SLOT_ALIGN       (8UL)
      23             : #define FD_SYSVAR_LAST_RESTART_SLOT_FOOTPRINT   (8UL)
      24             : 
      25           3 : #define FD_SYSVAR_RECENT_HASHES_BINCODE_SZ (  6008UL) /* Agave v2.2.1: https://github.com/anza-xyz/solana-sdk/blob/slot-history%40v2.2.1/sysvar/src/recent_blockhashes.rs#L157 */
      26             : #define FD_SYSVAR_RECENT_HASHES_ALIGN      (     8UL)
      27             : #define FD_SYSVAR_RECENT_HASHES_FOOTPRINT  (  6088UL)
      28             : 
      29             : #define FD_SYSVAR_RENT_BINCODE_SZ          (    17UL)
      30             : #define FD_SYSVAR_RENT_ALIGN               (     8UL)
      31             : #define FD_SYSVAR_RENT_FOOTPRINT           (    24UL)
      32             : 
      33             : #define FD_SYSVAR_SLOT_HASHES_BINCODE_SZ   ( 20488UL) /* Agave v2.2.1: https://github.com/anza-xyz/solana-sdk/blob/slot-history%40v2.2.1/sysvar/src/slot_hashes.rs#L69 */
      34           0 : #define FD_SYSVAR_SLOT_HASHES_ALIGN        (     8UL)
      35             : #define FD_SYSVAR_SLOT_HASHES_FOOTPRINT    ( 20528UL)
      36             : 
      37             : #define FD_SYSVAR_SLOT_HISTORY_BINCODE_SZ  (131097UL) /* Agave v2.2.1: https://github.com/anza-xyz/solana-sdk/blob/slot-history%40v2.2.1/sysvar/src/slot_history.rs#L65 */
      38             : #define FD_SYSVAR_SLOT_HISTORY_ALIGN       (     8UL)
      39             : #define FD_SYSVAR_SLOT_HISTORY_FOOTPRINT   (131120UL)
      40             : 
      41             : #define FD_SYSVAR_STAKE_HISTORY_BINCODE_SZ ( 16392UL) /* Agave v2.2.1: https://github.com/anza-xyz/solana-sdk/blob/slot-history%40v2.2.1/sysvar/src/stake_history.rs#L66 */
      42             : #define FD_SYSVAR_STAKE_HISTORY_ALIGN      (     8UL)
      43             : #define FD_SYSVAR_STAKE_HISTORY_FOOTPRINT  ( 16408UL)
      44             : 
      45             : #endif /* HEADER_fd_src_flamenco_runtime_sysvar_fd_sysvar_base_h */

Generated by: LCOV version 1.14