Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EpochCommitFixture ¶
func EpochCommitFixture() (flow.Event, *flow.EpochCommit)
EpochCommitFixture returns an EpochCommit service event as a Cadence event representation and as a protocol model representation.
func EpochSetupFixture ¶
func EpochSetupFixture() (flow.Event, *flow.EpochSetup)
EpochSetupFixture returns an EpochSetup service event as a Cadence event representation and as a protocol model representation.
func ServiceEvent ¶
func ServiceEvent(event flow.Event) (*flow.ServiceEvent, error)
ServiceEvent converts a service event encoded as the generic flow.Event type to a ServiceEvent type for use within protocol software and protocol state. This acts as the conversion from the Cadence type to the flow-go type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.