Skip to content

Commit

Permalink
median provider returns OnchainConfigCodec (#388)
Browse files Browse the repository at this point in the history
* return default config codec

* go mod tidy tests

* bump relay commit
  • Loading branch information
aalu1418 authored Aug 24, 2022
1 parent 6bb62ae commit 161686d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/gagliardetto/treeout v0.1.4
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.12.1
github.com/smartcontractkit/chainlink-relay v0.1.5
github.com/smartcontractkit/chainlink-relay v0.1.6-0.20220824173548-dab4ac0a6595
github.com/smartcontractkit/libocr v0.0.0-20220812191430-db92a9fdaa52
github.com/stretchr/testify v1.7.1
go.uber.org/multierr v1.8.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeV
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
github.com/smartcontractkit/chainlink-relay v0.1.5 h1:EyUqzMATOFi6OhaukyaUPk1ePK9wemxVA13O0JQZBKc=
github.com/smartcontractkit/chainlink-relay v0.1.5/go.mod h1:f6ju2ncT/Q1loAdiT2/8M7dtpkXwCaZvhfddyeBESXE=
github.com/smartcontractkit/chainlink-relay v0.1.6-0.20220824173548-dab4ac0a6595 h1:B3OCQ+Zb+kgpWtoLvJTE7co38SOEtn4qt1B5QDPGlFk=
github.com/smartcontractkit/chainlink-relay v0.1.6-0.20220824173548-dab4ac0a6595/go.mod h1:f6ju2ncT/Q1loAdiT2/8M7dtpkXwCaZvhfddyeBESXE=
github.com/smartcontractkit/libocr v0.0.0-20220812191430-db92a9fdaa52 h1:Nac1UCKJwt0AY15bAaorscflOcBs/FnmO7NoCh8Tons=
github.com/smartcontractkit/libocr v0.0.0-20220812191430-db92a9fdaa52/go.mod h1:5JnCHuYgmIP9ZyXzgAfI5Iwu0WxBtBKp+ApeT5o1Cjw=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
Expand Down
4 changes: 4 additions & 0 deletions pkg/solana/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,7 @@ func (p *medianProvider) ReportCodec() median.ReportCodec {
func (p *medianProvider) MedianContract() median.MedianContract {
return p.contract
}

func (p *medianProvider) OnchainConfigCodec() median.OnchainConfigCodec {
return median.StandardOnchainConfigCodec{}
}
2 changes: 1 addition & 1 deletion tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ require (
github.com/russross/blackfriday v1.6.0 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/slack-go/slack v0.11.0 // indirect
github.com/smartcontractkit/chainlink-relay v0.1.5 // indirect
github.com/smartcontractkit/chainlink-relay v0.1.6-0.20220824173548-dab4ac0a6595 // indirect
github.com/spf13/cobra v1.5.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.8.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,8 @@ github.com/slack-go/slack v0.11.0 h1:sBBjQz8LY++6eeWhGJNZpRm5jvLRNnWBFZ/cAq58a6k
github.com/slack-go/slack v0.11.0/go.mod h1:hlGi5oXA+Gt+yWTPP0plCdRKmjsDxecdHxYQdlMQKOw=
github.com/smartcontractkit/chainlink-env v0.2.27-0.20220720162059-a7a5cdae23a9 h1:CA1Igkr6607kXG8MKST+5HDa8m1Dn0dAykfsXJ9QBrY=
github.com/smartcontractkit/chainlink-env v0.2.27-0.20220720162059-a7a5cdae23a9/go.mod h1:cBJAF2eL1W6JVqy0MJzNwkOWsa8qlDqRclzIW4AnLfk=
github.com/smartcontractkit/chainlink-relay v0.1.5 h1:EyUqzMATOFi6OhaukyaUPk1ePK9wemxVA13O0JQZBKc=
github.com/smartcontractkit/chainlink-relay v0.1.5/go.mod h1:f6ju2ncT/Q1loAdiT2/8M7dtpkXwCaZvhfddyeBESXE=
github.com/smartcontractkit/chainlink-relay v0.1.6-0.20220824173548-dab4ac0a6595 h1:B3OCQ+Zb+kgpWtoLvJTE7co38SOEtn4qt1B5QDPGlFk=
github.com/smartcontractkit/chainlink-relay v0.1.6-0.20220824173548-dab4ac0a6595/go.mod h1:f6ju2ncT/Q1loAdiT2/8M7dtpkXwCaZvhfddyeBESXE=
github.com/smartcontractkit/chainlink-testing-framework v1.5.0 h1:ihwX8fHMoIjPvIDMbSAKmxB26TiE8eFJz7sFG0gDcL8=
github.com/smartcontractkit/chainlink-testing-framework v1.5.0/go.mod h1:FCtT+nY6lTYtjhJaF8edPth42pWIiPv44fZaMkOyklk=
github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20220727205731-7d3de7be1c70 h1:7fuNk2xAP/v5bcoMykruO8ErgrZo/hUoW5xeP7iqc0w=
Expand Down

0 comments on commit 161686d

Please sign in to comment.