File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ go 1.24.5
44
55toolchain go1.24.6
66
7+ replace github.com/smartcontractkit/capabilities/libs => ../libs
8+
79require (
810 github.com/google/uuid v1.6.0
911 github.com/prometheus/client_golang v1.22.0
Original file line number Diff line number Diff line change @@ -272,8 +272,6 @@ github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp
272272github.com/shopspring/decimal v1.4.0 /go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME =
273273github.com/sirupsen/logrus v1.4.1 /go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q =
274274github.com/sirupsen/logrus v1.4.2 /go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE =
275- github.com/smartcontractkit/capabilities/libs v0.0.0-20250711131700-236a5b631ad7 h1:QPemruCphJmJMH09cO/aClkONPVqJeWcd0qJwDbmcOI =
276- github.com/smartcontractkit/capabilities/libs v0.0.0-20250711131700-236a5b631ad7 /go.mod h1:/zEPppsF8Q/iwWSFbZ5MoQj/BcfYXk/whR8y91PQD+0 =
277275github.com/smartcontractkit/chain-selectors v1.0.67 h1:gxTqP/JC40KDe3DE1SIsIKSTKTZEPyEU1YufO1admnw =
278276github.com/smartcontractkit/chain-selectors v1.0.67 /go.mod h1:xsKM0aN3YGcQKTPRPDDtPx2l4mlTN1Djmg0VVXV40b8 =
279277github.com/smartcontractkit/chainlink-common v0.9.6-0.20251007172033-a76cb023759b h1:0wwL6b6s0iRO4PHqoVnjj0KvaS014Sab+pQ/HZYuneU =
Original file line number Diff line number Diff line change @@ -3,8 +3,11 @@ package main
33import (
44 "github.com/smartcontractkit/capabilities/capabilitywatcher/server"
55 "github.com/smartcontractkit/capabilities/libs/loopserver"
6+ "github.com/smartcontractkit/chainlink-common/pkg/loop"
67)
78
89func main () {
9- loopserver .Serve ("CapabilityWatcher" , server .New )
10+ loopserver .ServeNew ("CapabilityWatcher" , func (s * loop.Server ) loop.StandardCapabilities {
11+ return server .New (s .Logger )
12+ })
1013}
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ replace github.com/smartcontractkit/capabilities/http_trigger => ../http_trigger
1010
1111replace github.com/smartcontractkit/capabilities/chain_capabilities/evm => ../chain_capabilities/evm
1212
13- replace github.com/smartcontractkit/chainlink/v2 => ../../chainlink
14-
1513replace github.com/fbsobreira/gotron-sdk => github.com/smartcontractkit/chainlink-tron/relayer/gotron-sdk v0.0.5-0.20250422175525-b7575d96bd4d
1614
1715require (
Original file line number Diff line number Diff line change @@ -1145,6 +1145,8 @@ github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250815105909-7549
11451145github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250815105909-75499abc4335 /go.mod h1:ccjEgNeqOO+bjPddnL4lUrNLzyCvGCxgBjJdhFX3wa8 =
11461146github.com/smartcontractkit/chainlink-tron/relayer/gotron-sdk v0.0.5-0.20250422175525-b7575d96bd4d h1:qLmSOOtB/Ogn79eIDkuujOu8M5Jd747V1H7Brk/nTvo =
11471147github.com/smartcontractkit/chainlink-tron/relayer/gotron-sdk v0.0.5-0.20250422175525-b7575d96bd4d /go.mod h1:4WhGgCA0smBbBud5mK+jnDb2wwndMvoqaWBJ3OV/7Bw =
1148+ github.com/smartcontractkit/chainlink/v2 v2.27.3-0.20251007205028-77fd4f160a37 h1:mZk7JGjbCFSWbjQs2r466HHZtUhL6hQYJzuV0mrurGg =
1149+ github.com/smartcontractkit/chainlink/v2 v2.27.3-0.20251007205028-77fd4f160a37 /go.mod h1:VghGkUDz46Kw6GDDr+WmFx0f8r2qLydaJIL1goOxEG4 =
11481150github.com/smartcontractkit/cre-sdk-go v0.7.0 h1:QmCc/a6kGCmzhm0k0WFJZKxjklDedtAfvrA+vTnLcW0 =
11491151github.com/smartcontractkit/cre-sdk-go v0.7.0 /go.mod h1:qVhKhBLANrGWKav6aHqO2UM7IltiouOnUbxu8ZQlKVM =
11501152github.com/smartcontractkit/cre-sdk-go/capabilities/blockchain/evm v0.6.0 h1:dbWA/2RItveFYTQUSwQ4oG2yyebQMyFQLrpXwFuz8v4 =
Original file line number Diff line number Diff line change @@ -3,8 +3,11 @@ package main
33import (
44 "github.com/smartcontractkit/capabilities/kvstore/server"
55 "github.com/smartcontractkit/capabilities/libs/loopserver"
6+ "github.com/smartcontractkit/chainlink-common/pkg/loop"
67)
78
89func main () {
9- loopserver .Serve ("KVStoreCapabilities" , server .New )
10+ loopserver .ServeNew ("KVStoreCapabilities" , func (s * loop.Server ) loop.StandardCapabilities {
11+ return server .New (s .Logger )
12+ })
1013}
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ go 1.24.5
44
55toolchain go1.24.6
66
7+ replace github.com/smartcontractkit/capabilities/libs => ../libs
8+
79require (
810 github.com/smartcontractkit/capabilities/libs v0.0.0-20250902122836-28fd635adf1f
911 github.com/smartcontractkit/chainlink-common v0.9.6-0.20251007172033-a76cb023759b
Original file line number Diff line number Diff line change @@ -287,8 +287,6 @@ github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp
287287github.com/shopspring/decimal v1.4.0 /go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME =
288288github.com/sirupsen/logrus v1.4.1 /go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q =
289289github.com/sirupsen/logrus v1.4.2 /go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE =
290- github.com/smartcontractkit/capabilities/libs v0.0.0-20250902122836-28fd635adf1f h1:EWtoA+9tYew5oBP5jHLuONwzTReFbJ23NAyS/3uLJ04 =
291- github.com/smartcontractkit/capabilities/libs v0.0.0-20250902122836-28fd635adf1f /go.mod h1:cnmQvDULHhvpVgvtgFcjL1y75gY+mcnPxMQh04iGnt0 =
292290github.com/smartcontractkit/chain-selectors v1.0.67 h1:gxTqP/JC40KDe3DE1SIsIKSTKTZEPyEU1YufO1admnw =
293291github.com/smartcontractkit/chain-selectors v1.0.67 /go.mod h1:xsKM0aN3YGcQKTPRPDDtPx2l4mlTN1Djmg0VVXV40b8 =
294292github.com/smartcontractkit/chainlink-common v0.9.6-0.20251007172033-a76cb023759b h1:0wwL6b6s0iRO4PHqoVnjj0KvaS014Sab+pQ/HZYuneU =
Original file line number Diff line number Diff line change 66
77 "github.com/smartcontractkit/chainlink-common/pkg/capabilities"
88 "github.com/smartcontractkit/chainlink-common/pkg/logger"
9+ "github.com/smartcontractkit/chainlink-common/pkg/loop"
910 "github.com/smartcontractkit/chainlink-common/pkg/services"
1011 "github.com/smartcontractkit/chainlink-common/pkg/types/core"
1112
@@ -30,8 +31,8 @@ type LoadTestWriteTargetGRPCService struct {
3031}
3132
3233func main () {
33- loopserver .Serve (serviceName , func (lggr logger. Logger ) * LoadTestWriteTargetGRPCService {
34- return & LoadTestWriteTargetGRPCService {lggr : lggr }
34+ loopserver .ServeNew (serviceName , func (s * loop. Server ) loop. StandardCapabilities {
35+ return & LoadTestWriteTargetGRPCService {lggr : s . Logger }
3536 })
3637}
3738
Original file line number Diff line number Diff line change @@ -3,8 +3,11 @@ package main
33import (
44 "github.com/smartcontractkit/capabilities/libs/loopserver"
55 "github.com/smartcontractkit/capabilities/mock/server"
6+ "github.com/smartcontractkit/chainlink-common/pkg/loop"
67)
78
89func main () {
9- loopserver .Serve ("MockCapability" , server .New )
10+ loopserver .ServeNew ("MockCapability" , func (s * loop.Server ) loop.StandardCapabilities {
11+ return server .New (s .Logger )
12+ })
1013}
You can’t perform that action at this time.
0 commit comments