setup_validators

Function setup_validators 

Source
pub async fn setup_validators(
    context: Context,
    __arg1: Setup,
) -> (Vec<TestingNode>, ExecutionRuntime)
Expand description

Sets up validators and returns the nodes and execution runtime.

The execution runtime is created internally with a chainspec configured according to the Setup parameters (epoch_length, allegretto, validators, polynomial).

The oracle is accessible via TestingNode::oracle() if needed for dynamic linking.