Skip to content

Commit

Permalink
Bumps dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzaldysanchez authored and samsondav committed Apr 26, 2023
1 parent ca0718d commit 6d52511
Show file tree
Hide file tree
Showing 17 changed files with 75 additions and 166 deletions.
23 changes: 12 additions & 11 deletions go.mod
Expand Up @@ -10,9 +10,9 @@ require (
github.com/gagliardetto/treeout v0.1.4
github.com/google/uuid v1.3.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.14.0
github.com/smartcontractkit/chainlink-relay v0.1.7-0.20230405215737-b39c337cdf0e
github.com/smartcontractkit/libocr v0.0.0-20221209172631-568a30f68407
github.com/prometheus/client_golang v1.15.0
github.com/smartcontractkit/chainlink-relay v0.1.7-0.20230425172532-cf86c43eaf99
github.com/smartcontractkit/libocr v0.0.0-20230419212942-1c3f88528944
github.com/stretchr/testify v1.8.2
go.uber.org/multierr v1.8.0
go.uber.org/zap v1.24.0
Expand All @@ -29,23 +29,23 @@ require (
github.com/benbjohnson/clock v1.1.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blendle/zapdriver v1.3.1 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/confluentinc/confluent-kafka-go v1.9.2 // indirect
github.com/dfuse-io/logging v0.0.0-20210109005628-b97a57253f70 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/klauspost/compress v1.15.15 // indirect
github.com/linkedin/goavro/v2 v2.12.0 // indirect
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
Expand All @@ -54,9 +54,10 @@ require (
github.com/onsi/gomega v1.24.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/riferrei/srclient v0.5.4 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.1.1 // indirect
github.com/satori/go.uuid v1.2.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
Expand All @@ -68,9 +69,9 @@ require (
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/ratelimit v0.2.0 // indirect
golang.org/x/crypto v0.5.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/term v0.4.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

Expand Down
160 changes: 28 additions & 132 deletions go.sum

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions integration-tests/common/common.go
Expand Up @@ -25,9 +25,9 @@ import (
mockservercfg "github.com/smartcontractkit/chainlink-env/pkg/helm/mockserver-cfg"
"github.com/smartcontractkit/chainlink-env/pkg/helm/sol"

"github.com/smartcontractkit/libocr/offchainreporting2/confighelper"
"github.com/smartcontractkit/libocr/offchainreporting2/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/confighelper"
"github.com/smartcontractkit/libocr/offchainreporting2plus/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"

ctfClient "github.com/smartcontractkit/chainlink-testing-framework/client"
"github.com/smartcontractkit/chainlink/integration-tests/client"
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/go.mod
Expand Up @@ -395,6 +395,12 @@ replace (
// K8s imports are weird
k8s.io/api => k8s.io/api v0.25.4
k8s.io/client-go => k8s.io/client-go v0.25.4

// TODO: replace this with the installation of the libocr final version supporting block ranges for mercury
github.com/smartcontractkit/libocr => github.com/smartcontractkit/libocr v0.0.0-20230419212942-1c3f88528944

github.com/smartcontractkit/chainlink/v2 => github.com/smartcontractkit/chainlink/v2 v2.0.0-20230424160613-84de6834a2e7
github.com/smartcontractkit/chainlink/integration-tests => github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20230424160613-84de6834a2e7
)

exclude k8s.io/client-go v12.0.0+incompatible
2 changes: 1 addition & 1 deletion integration-tests/solclient/ocr2.go
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/gagliardetto/solana-go/rpc"
"github.com/rs/zerolog/log"
"github.com/smartcontractkit/chainlink/integration-tests/contracts"
"github.com/smartcontractkit/libocr/offchainreporting2/confighelper"
"github.com/smartcontractkit/libocr/offchainreporting2plus/confighelper"

ocr_2 "github.com/smartcontractkit/chainlink-solana/contracts/generated/ocr2"
"github.com/smartcontractkit/chainlink-solana/integration-tests/utils"
Expand Down
6 changes: 5 additions & 1 deletion ops/go.mod
Expand Up @@ -218,4 +218,8 @@ require (
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 // indirect
)

replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
replace (
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

github.com/smartcontractkit/chainlink-relay => github.com/smartcontractkit/chainlink-relay v0.1.7-0.20230420161409-bc9a3111e34e
)
2 changes: 1 addition & 1 deletion pkg/monitoring/node_config.go
Expand Up @@ -6,7 +6,7 @@ import (
"io"

relayMonitoring "github.com/smartcontractkit/chainlink-relay/pkg/monitoring"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
)

type SolanaNodeConfig struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/monitoring/source_envelope.go
Expand Up @@ -10,10 +10,11 @@ import (
"github.com/gagliardetto/solana-go"
"github.com/gagliardetto/solana-go/rpc"
relayMonitoring "github.com/smartcontractkit/chainlink-relay/pkg/monitoring"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
"go.uber.org/multierr"

"github.com/smartcontractkit/chainlink-solana/pkg/monitoring/event"
pkgSolana "github.com/smartcontractkit/chainlink-solana/pkg/solana"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"go.uber.org/multierr"
)

func NewEnvelopeSourceFactory(
Expand Down
7 changes: 4 additions & 3 deletions pkg/monitoring/source_envelope_test.go
Expand Up @@ -11,11 +11,12 @@ import (
"github.com/gagliardetto/solana-go"
"github.com/gagliardetto/solana-go/rpc"
relayMonitoring "github.com/smartcontractkit/chainlink-relay/pkg/monitoring"
"github.com/smartcontractkit/chainlink-solana/pkg/monitoring/mocks"
pkgSolana "github.com/smartcontractkit/chainlink-solana/pkg/solana"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-solana/pkg/monitoring/mocks"
pkgSolana "github.com/smartcontractkit/chainlink-solana/pkg/solana"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/solana/config_digester.go
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"

"github.com/gagliardetto/solana-go"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
)

var _ types.OffchainConfigDigester = (*OffchainConfigDigester)(nil)
Expand Down
4 changes: 2 additions & 2 deletions pkg/solana/config_tracker.go
Expand Up @@ -3,8 +3,8 @@ package solana
import (
"context"

"github.com/smartcontractkit/libocr/offchainreporting2/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"

"github.com/smartcontractkit/chainlink-solana/pkg/solana/client"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/solana/median_contract.go
Expand Up @@ -5,7 +5,7 @@ import (
"math/big"
"time"

"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
)

type MedianContract struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/solana/relay.go
Expand Up @@ -10,8 +10,8 @@ import (
relaylogger "github.com/smartcontractkit/chainlink-relay/pkg/logger"
relaytypes "github.com/smartcontractkit/chainlink-relay/pkg/types"
"github.com/smartcontractkit/chainlink-relay/pkg/utils"
"github.com/smartcontractkit/libocr/offchainreporting2/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"

"github.com/smartcontractkit/chainlink-solana/pkg/solana/client"
"github.com/smartcontractkit/chainlink-solana/pkg/solana/logger"
Expand Down
4 changes: 2 additions & 2 deletions pkg/solana/report.go
Expand Up @@ -7,8 +7,8 @@ import (
"sort"

"github.com/smartcontractkit/libocr/bigbigendian"
"github.com/smartcontractkit/libocr/offchainreporting2/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
)

var _ median.ReportCodec = (*ReportCodec)(nil)
Expand Down
2 changes: 1 addition & 1 deletion pkg/solana/report_fuzz_test.go
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/smartcontractkit/libocr/offchainreporting2/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2plus/reportingplugin/median"
)

// Ensure your env is using go 1.18 then in pkg/solana:
Expand Down
4 changes: 2 additions & 2 deletions pkg/solana/report_test.go
Expand Up @@ -11,8 +11,8 @@ import (
bin "github.com/gagliardetto/binary"
"github.com/smartcontractkit/chainlink-relay/pkg/utils"
"github.com/smartcontractkit/libocr/commontypes"
"github.com/smartcontractkit/libocr/offchainreporting2/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/reportingplugin/median"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/solana/transmitter.go
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gagliardetto/solana-go"
"github.com/pkg/errors"
"github.com/smartcontractkit/chainlink-relay/pkg/utils"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"

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

0 comments on commit 6d52511

Please sign in to comment.