protosol 7.1.0

Protobuf definitions for the SVM fuzzing project.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::protos;

impl From<&protos::EpochSchedule> for solana_epoch_schedule::EpochSchedule {
    fn from(value: &protos::EpochSchedule) -> Self {
        solana_epoch_schedule::EpochSchedule {
            slots_per_epoch: value.slots_per_epoch,
            leader_schedule_slot_offset: value.leader_schedule_slot_offset,
            warmup: value.warmup,
            first_normal_epoch: value.first_normal_epoch,
            first_normal_slot: value.first_normal_slot,
        }
    }
}