Skip to content

Commit

Permalink
switch to grpc-proxy fork; rm replace (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 authored Aug 30, 2024
1 parent 5829c15 commit b45e43f
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 17 deletions.
11 changes: 3 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ require (
github.com/jpillora/backoff v1.0.0
github.com/lib/pq v1.10.9
github.com/linkedin/goavro/v2 v2.12.0
github.com/mwitkow/grpc-proxy v0.0.0-20230212185441-f345521cb9c9
github.com/pelletier/go-toml/v2 v2.2.0
github.com/prometheus/client_golang v1.17.0
github.com/riferrei/srclient v0.5.4
github.com/santhosh-tekuri/jsonschema/v5 v5.2.0
github.com/shopspring/decimal v1.4.0
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7
github.com/smartcontractkit/libocr v0.0.0-20240419185742-fd3cab206b2c
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0
Expand Down Expand Up @@ -107,10 +107,5 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace (
// until merged upstream: https://github.com/omissis/go-jsonschema/pull/264
github.com/atombender/go-jsonschema => github.com/nolag/go-jsonschema v0.16.0-rtinianov

// until merged upstream: https://github.com/mwitkow/grpc-proxy/pull/69
github.com/mwitkow/grpc-proxy => github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f
)
// until merged upstream: https://github.com/omissis/go-jsonschema/pull/264
replace github.com/atombender/go-jsonschema => github.com/nolag/go-jsonschema v0.16.0-rtinianov
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp
github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f h1:hgJif132UCdjo8u43i7iPN1/MFnu49hv7lFGFftCHKU=
github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f/go.mod h1:MvMXoufZAtqExNexqi4cjrNYE9MefKddKylxjS+//n0=
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 h1:12ijqMM9tvYVEm+nR826WsrNi6zCKpwBhuApq127wHs=
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7/go.mod h1:FX7/bVdoep147QQhsOPkYsPEXhGZjeYx6lBSaSXtZOA=
github.com/smartcontractkit/libocr v0.0.0-20240419185742-fd3cab206b2c h1:lIyMbTaF2H0Q71vkwZHX/Ew4KF2BxiKhqEXwF8rn+KI=
github.com/smartcontractkit/libocr v0.0.0-20240419185742-fd3cab206b2c/go.mod h1:fb1ZDVXACvu4frX3APHZaEBp0xi1DIm34DcA0CwTsZM=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/mwitkow/grpc-proxy/proxy"
"github.com/smartcontractkit/grpc-proxy/proxy"
"google.golang.org/grpc"

"github.com/smartcontractkit/chainlink-common/pkg/loop/internal/core/services/keyvalue"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/mwitkow/grpc-proxy/proxy"
"github.com/smartcontractkit/grpc-proxy/proxy"
"google.golang.org/grpc"

"github.com/smartcontractkit/chainlink-common/pkg/loop/internal/core/services/keyvalue"
Expand Down
2 changes: 1 addition & 1 deletion pkg/loop/internal/relayerset/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/mwitkow/grpc-proxy/proxy"
"github.com/smartcontractkit/grpc-proxy/proxy"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
Expand Down
2 changes: 1 addition & 1 deletion pkg/loop/internal/reportingplugin/ccip/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/mwitkow/grpc-proxy/proxy"
"github.com/smartcontractkit/grpc-proxy/proxy"
"google.golang.org/grpc"

"github.com/smartcontractkit/chainlink-common/pkg/logger"
Expand Down
2 changes: 1 addition & 1 deletion pkg/loop/internal/reportingplugin/ccip/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/mwitkow/grpc-proxy/proxy"
"github.com/smartcontractkit/grpc-proxy/proxy"
"google.golang.org/grpc"

"github.com/smartcontractkit/chainlink-common/pkg/logger"
Expand Down
2 changes: 1 addition & 1 deletion pkg/loop/internal/reportingplugin/median/median.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package median
import (
"context"

"github.com/mwitkow/grpc-proxy/proxy"
"github.com/smartcontractkit/grpc-proxy/proxy"
"github.com/smartcontractkit/libocr/offchainreporting2/reportingplugin/median"
"google.golang.org/grpc"

Expand Down
2 changes: 1 addition & 1 deletion pkg/loop/internal/reportingplugin/mercury/mercury.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/mwitkow/grpc-proxy/proxy"
"github.com/smartcontractkit/grpc-proxy/proxy"
"google.golang.org/grpc"

"github.com/smartcontractkit/chainlink-common/pkg/logger"
Expand Down

0 comments on commit b45e43f

Please sign in to comment.