Skip to content

Commit

Permalink
Fixes syncer ORM tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzaldysanchez committed Jul 30, 2024
1 parent 7dda79c commit 3e5bc5f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/services/registrysyncer/orm_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package registrysyncer

import (
"encoding/hex"
"fmt"
"math/big"
"testing"
"time"
Expand Down Expand Up @@ -55,15 +57,17 @@ func generateState(t *testing.T) LocalRegistry {
}
capabilityID := randomWord()
capabilityID2 := randomWord()
capabilityIDStr := string(capabilityID[:])
capabilityID2Str := string(capabilityID2[:])
capabilityIDStr := hex.EncodeToString(capabilityID[:])
capabilityID2Str := hex.EncodeToString(capabilityID2[:])
rtc := capabilities.RemoteTriggerConfig{
RegistrationRefresh: 20 * time.Second,
MinResponsesToAggregate: 2,
RegistrationExpiry: 60 * time.Second,
MessageExpiry: 120 * time.Second,
}

fmt.Println(capabilityID2Str, capabilityIDStr)

return LocalRegistry{
IDsToDONs: map[DonID]DON{
DonID(dID): {
Expand Down

0 comments on commit 3e5bc5f

Please sign in to comment.