diff --git a/go.mod b/go.mod index d70b9b20..a68f9750 100644 --- a/go.mod +++ b/go.mod @@ -12,6 +12,7 @@ require ( github.com/cosmos/go-bip39 v1.0.0 github.com/gogo/protobuf v1.3.3 github.com/google/uuid v1.3.1 + github.com/jmoiron/sqlx v1.3.5 github.com/pelletier/go-toml v1.9.5 github.com/pelletier/go-toml/v2 v2.1.0 github.com/pkg/errors v0.9.1 @@ -19,7 +20,6 @@ require ( github.com/shopspring/decimal v1.3.1 github.com/smartcontractkit/chainlink-relay v0.1.7-0.20231031114820-e9826d481111 github.com/smartcontractkit/libocr v0.0.0-20230925165524-ffa38fe11ef8 - github.com/smartcontractkit/sqlx v1.3.5-0.20210805004948-4be295aacbeb github.com/stretchr/testify v1.8.4 github.com/tidwall/gjson v1.16.0 go.uber.org/multierr v1.11.0 @@ -109,7 +109,6 @@ require ( github.com/huandu/skiplist v1.2.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect - github.com/jmoiron/sqlx v1.3.5 // indirect github.com/jpillora/backoff v1.0.0 // indirect github.com/klauspost/compress v1.16.7 // indirect github.com/lib/pq v1.10.9 // indirect diff --git a/go.sum b/go.sum index d7edc01c..2181282d 100644 --- a/go.sum +++ b/go.sum @@ -680,8 +680,6 @@ github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f h1:hgJ 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= github.com/smartcontractkit/libocr v0.0.0-20230925165524-ffa38fe11ef8/go.mod h1:2lyRkw/qLQgUWlrWWmq5nj0y90rWeO6Y+v+fCakRgb0= -github.com/smartcontractkit/sqlx v1.3.5-0.20210805004948-4be295aacbeb h1:OMaBUb4X9IFPLbGbCHsMU+kw/BPCrewaVwWGIBc0I4A= -github.com/smartcontractkit/sqlx v1.3.5-0.20210805004948-4be295aacbeb/go.mod h1:HNUu4cJekUdsJbwRBCiOybtkPJEfGRELQPe2tkoDEyk= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= diff --git a/pkg/cosmos/chain.go b/pkg/cosmos/chain.go index 765024e5..7a890af4 100644 --- a/pkg/cosmos/chain.go +++ b/pkg/cosmos/chain.go @@ -14,7 +14,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" bank "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/smartcontractkit/sqlx" + "github.com/jmoiron/sqlx" "github.com/smartcontractkit/chainlink-cosmos/pkg/cosmos/adapters" "github.com/smartcontractkit/chainlink-cosmos/pkg/cosmos/client" diff --git a/pkg/cosmos/txm/orm.go b/pkg/cosmos/txm/orm.go index eaac4e03..98e1d3c5 100644 --- a/pkg/cosmos/txm/orm.go +++ b/pkg/cosmos/txm/orm.go @@ -6,7 +6,7 @@ import ( "errors" "fmt" - "github.com/smartcontractkit/sqlx" + "github.com/jmoiron/sqlx" "github.com/smartcontractkit/chainlink-cosmos/pkg/cosmos/adapters" "github.com/smartcontractkit/chainlink-cosmos/pkg/cosmos/db" diff --git a/pkg/cosmos/txm/orm_test.go b/pkg/cosmos/txm/orm_test.go index 51221f6f..26c457a0 100644 --- a/pkg/cosmos/txm/orm_test.go +++ b/pkg/cosmos/txm/orm_test.go @@ -3,7 +3,7 @@ package txm import ( "testing" - "github.com/smartcontractkit/sqlx" + "github.com/jmoiron/sqlx" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/cosmos/txm/txm.go b/pkg/cosmos/txm/txm.go index f94569d8..2513aa40 100644 --- a/pkg/cosmos/txm/txm.go +++ b/pkg/cosmos/txm/txm.go @@ -10,8 +10,8 @@ import ( "time" "github.com/gogo/protobuf/proto" + "github.com/jmoiron/sqlx" "github.com/pkg/errors" - "github.com/smartcontractkit/sqlx" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/cometbft/cometbft/crypto/tmhash"