protocol_config_for_tests

Function protocol_config_for_tests 

Source
pub fn protocol_config_for_tests() -> ProtocolConfig
Expand description

Creates a ProtocolConfig with a very long active phase (effectively infinite). This allows any slot to be in epoch 0’s active phase.