mithril_common::crypto_helper::tests_setup

Function setup_signers_from_stake_distribution

source
pub fn setup_signers_from_stake_distribution(
    stake_distribution: &ProtocolStakeDistribution,
    protocol_parameters: &ProtocolParameters,
) -> Vec<SignerFixture>
Expand description

Instantiate a list of protocol signers based on the given ProtocolStakeDistribution and ProtocolParameters, use this for tests only.