Skip to content

Commit

Permalink
Fix NewMercuryTriggerService call post rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
krebernisak committed Nov 22, 2024
1 parent b45f9d4 commit 7bf04f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/capabilities/streams/mock_trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package streams
import (
"context"
"crypto/ecdsa"
"fmt"
"maps"
"math/big"
"sync"
Expand Down Expand Up @@ -59,7 +60,10 @@ type MockTriggerService struct {
}

func NewMockTriggerService(tickerResolutionMs int64, lggr logger.Logger) *MockTriggerService {
trigger := triggers.NewMercuryTriggerService(tickerResolutionMs, lggr)
trigger, err := triggers.NewMercuryTriggerService(tickerResolutionMs, "mock-streams-trigger", "1.0.0", lggr)
if err != nil {
panic(fmt.Sprintf("failed to create MercuryTriggerService: %v", err))
}
trigger.CapabilityInfo = capInfo

f := 1
Expand Down

0 comments on commit 7bf04f5

Please sign in to comment.