use mithril_common::entities::{CardanoTransactionsSigningConfig, ProtocolParameters};
#[derive(Clone, Debug, PartialEq)]
pub struct AggregatorEpochSettings {
pub protocol_parameters: ProtocolParameters,
pub cardano_transactions_signing_config: CardanoTransactionsSigningConfig,
}
impl AggregatorEpochSettings {
#[cfg(test)]
pub fn dummy() -> AggregatorEpochSettings {
use mithril_common::test_utils::fake_data;
let protocol_parameters = fake_data::protocol_parameters();
let cardano_transactions_signing_config = CardanoTransactionsSigningConfig::dummy();
AggregatorEpochSettings {
protocol_parameters,
cardano_transactions_signing_config,
}
}
}