Skip to main content

read_validator_config_at_block_hash

Function read_validator_config_at_block_hash 

Source
pub(crate) fn read_validator_config_at_block_hash<C, T>(
    node: &TempoFullNode,
    block_hash: B256,
    read_fn: impl FnOnce(&C) -> Result<T>,
) -> Result<(u64, B256, T)>
where C: Default,
Expand description

Reads the validator state at the given block hash.