Skip to content

Commit

Permalink
pull in changes from #5038
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanschalm committed Nov 22, 2023
1 parent e2a5e67 commit 5beb9ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion utils/unittest/service_events_fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ func EpochSetupFixtureByChainID(chain flow.ChainID) (flow.Event, *flow.EpochSetu
DKGPhase2FinalView: 160,
DKGPhase3FinalView: 170,
RandomSource: randomSource,
//TargetEndTime: time.Unix(2000000000, 0),
Assignments: flow.AssignmentList{
{
flow.MustHexStringToIdentifier("0000000000000000000000000000000000000000000000000000000000000001"),
Expand Down Expand Up @@ -207,6 +206,9 @@ func createEpochSetupEvent() cadence.Event {
// DKGPhase3FinalView
cadence.UInt64(170),

// targetDuration
cadence.UInt64(200),

// targetEndTime
cadence.UInt64(time.Unix(2000000000, 0).Unix()),
}).WithType(newFlowEpochEpochSetupEventType())
Expand Down Expand Up @@ -887,6 +889,10 @@ func newFlowEpochEpochSetupEventType() *cadence.EventType {
Identifier: "DKGPhase3FinalView",
Type: cadence.UInt64Type{},
},
{
Identifier: "targetDuration",
Type: cadence.UInt64Type{},
},
{
Identifier: "targetEndTime",
Type: cadence.UInt64Type{},
Expand Down

0 comments on commit 5beb9ae

Please sign in to comment.