Skip to content

Commit

Permalink
Add codec to median provider and relay
Browse files Browse the repository at this point in the history
  • Loading branch information
nolag committed Nov 27, 2023
1 parent 6d3537c commit 27702dd
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.17.0
github.com/shopspring/decimal v1.3.1
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231123003013-379db0b9e4c7
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231127183034-e06700b3e3a7
github.com/smartcontractkit/libocr v0.0.0-20230925165524-ffa38fe11ef8
github.com/stretchr/testify v1.8.4
github.com/tidwall/gjson v1.16.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5g
github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
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/smartcontractkit/chainlink-common v0.1.7-0.20231123003013-379db0b9e4c7 h1:QLhOOIeFldRBc+ESAVZfEPrIpfeiduwnmHlvDt1iFmM=
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231123003013-379db0b9e4c7/go.mod h1:ipa32mlAXbF3uUQqfVDNxQbBiyu2KKA3AwhK3ewhSSU=
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231127183034-e06700b3e3a7 h1:/xuodpLG076FUBwf8RPpBVetXaUgdoS+g+5BlvvknJg=
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231127183034-e06700b3e3a7/go.mod h1:ipa32mlAXbF3uUQqfVDNxQbBiyu2KKA3AwhK3ewhSSU=
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/libocr v0.0.0-20230925165524-ffa38fe11ef8 h1:R9NkVN+1fooUJFsN9zj9gDY1B+zv54zNO785RQZRVfE=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/google/uuid v1.3.1
github.com/lib/pq v1.10.9
github.com/rs/zerolog v1.30.0
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231123003013-379db0b9e4c7
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231127183034-e06700b3e3a7
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20231120072345-ec92d212f606
github.com/smartcontractkit/chainlink-cosmos/ops v0.0.0-20230615043323-5fe39e28b7ee
github.com/smartcontractkit/chainlink-testing-framework v1.19.5
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1511,8 +1511,8 @@ github.com/smartcontractkit/caigo v0.0.0-20230621050857-b29a4ca8c704 h1:T3lFWumv
github.com/smartcontractkit/caigo v0.0.0-20230621050857-b29a4ca8c704/go.mod h1:2QuJdEouTWjh5BDy5o/vgGXQtR4Gz8yH1IYB5eT7u4M=
github.com/smartcontractkit/chainlink-automation v1.0.0-alpha.0.0.20231120164534-d4cab696c459 h1:hJhuShYv9eUQxHJQdOmyEymVmApOrICrQdOY7kKQ5Io=
github.com/smartcontractkit/chainlink-automation v1.0.0-alpha.0.0.20231120164534-d4cab696c459/go.mod h1:INSchkV3ntyDdlZKGWA030MPDpp6pbeuiRkRKYFCm2k=
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231123003013-379db0b9e4c7 h1:QLhOOIeFldRBc+ESAVZfEPrIpfeiduwnmHlvDt1iFmM=
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231123003013-379db0b9e4c7/go.mod h1:ipa32mlAXbF3uUQqfVDNxQbBiyu2KKA3AwhK3ewhSSU=
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231127183034-e06700b3e3a7 h1:/xuodpLG076FUBwf8RPpBVetXaUgdoS+g+5BlvvknJg=
github.com/smartcontractkit/chainlink-common v0.1.7-0.20231127183034-e06700b3e3a7/go.mod h1:ipa32mlAXbF3uUQqfVDNxQbBiyu2KKA3AwhK3ewhSSU=
github.com/smartcontractkit/chainlink-solana v1.0.3-0.20231120073604-89592fceb0af h1:lwrfntkyF0onNy2QVdphvtutQsqj5E5izh63t7XZbFc=
github.com/smartcontractkit/chainlink-solana v1.0.3-0.20231120073604-89592fceb0af/go.mod h1:jOBq6ZSI0bkVS721oiAZ2t3IzOszk2B81PfWAeNeL40=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20231120192657-3769c7fcc8f0 h1:rWrd5VnZWpFXH/UzcGI0PxhT6u4BAuoZDBr2QBy5YNc=
Expand Down
4 changes: 4 additions & 0 deletions pkg/cosmos/adapters/cosmwasm/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,7 @@ func (p *medianProvider) OnchainConfigCodec() median.OnchainConfigCodec {
func (p *medianProvider) ChainReader() relaytypes.ChainReader {
return nil
}

func (p *medianProvider) Codec() relaytypes.Codec {
return nil
}
4 changes: 4 additions & 0 deletions pkg/cosmos/adapters/injective/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,7 @@ func (p *medianProvider) OnchainConfigCodec() median.OnchainConfigCodec {
func (p *medianProvider) ChainReader() relaytypes.ChainReader {
return nil
}

func (p *medianProvider) Codec() relaytypes.Codec {
return nil
}

0 comments on commit 27702dd

Please sign in to comment.