Skip to content

Commit

Permalink
build(deps): bump github.com/desmos-labs/desmos to v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Mar 7, 2024
1 parent a6843c5 commit 73efb32
Show file tree
Hide file tree
Showing 67 changed files with 206 additions and 140 deletions.
2 changes: 1 addition & 1 deletion cmd/athena/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
desmosapp "github.com/desmos-labs/desmos/v6/app"
desmosapp "github.com/desmos-labs/desmos/v7/app"
junocmd "github.com/forbole/juno/v5/cmd"
initcmd "github.com/forbole/juno/v5/cmd/init"
migratecmd "github.com/forbole/juno/v5/cmd/migrate"
Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/contracts/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

contractsbuilder "github.com/desmos-labs/athena/v2/x/contracts/builder"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"
parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types"
"github.com/forbole/juno/v5/node/remote"
"github.com/forbole/juno/v5/types/config"
Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/posts/posts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package posts
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"

"github.com/rs/zerolog/log"

Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/reactions/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package reactions
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"

parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types"
"github.com/forbole/juno/v5/node/remote"
Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/reactions/reactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package reactions
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"

"github.com/rs/zerolog/log"

Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/reactions/registered_reactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package reactions
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"
"github.com/rs/zerolog/log"

parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types"
Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/relationships/relationships.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package relationships
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"
"github.com/rs/zerolog/log"

parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types"
Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/relationships/user_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package relationships
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"

parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types"
"github.com/forbole/juno/v5/node/remote"
Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/reports/reasons.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package reports
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"

"github.com/rs/zerolog/log"

Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/reports/reports.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package reports
import (
"fmt"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"

"github.com/rs/zerolog/log"

Expand Down
2 changes: 1 addition & 1 deletion cmd/parse/subspaces/subspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

contractsbuilder "github.com/desmos-labs/athena/v2/x/contracts/builder"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"
parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types"
"github.com/forbole/juno/v5/node/remote"
"github.com/forbole/juno/v5/types/config"
Expand Down
4 changes: 2 additions & 2 deletions database/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/desmos-labs/desmos/v6/app"
profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
"github.com/desmos-labs/desmos/v7/app"
profilestypes "github.com/desmos-labs/desmos/v7/x/profiles/types"
junodb "github.com/forbole/juno/v5/database"
junodbcfg "github.com/forbole/juno/v5/database/config"
"github.com/forbole/juno/v5/logging"
Expand Down
2 changes: 1 addition & 1 deletion database/posts.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"errors"
"fmt"

poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
poststypes "github.com/desmos-labs/desmos/v7/x/posts/types"

dbtypes "github.com/desmos-labs/athena/v2/database/types"
"github.com/desmos-labs/athena/v2/types"
Expand Down
2 changes: 1 addition & 1 deletion database/profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"errors"
"fmt"

profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
profilestypes "github.com/desmos-labs/desmos/v7/x/profiles/types"

"github.com/desmos-labs/athena/v2/types"

Expand Down
2 changes: 1 addition & 1 deletion database/profiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/desmos-labs/athena/v2/types"

sdk "github.com/cosmos/cosmos-sdk/types"
profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
profilestypes "github.com/desmos-labs/desmos/v7/x/profiles/types"
)

func (suite *DbTestSuite) TestSaveUserIfNotExisting() {
Expand Down
4 changes: 2 additions & 2 deletions database/relationships_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"time"

sdk "github.com/cosmos/cosmos-sdk/types"
relationshipstypes "github.com/desmos-labs/desmos/v6/x/relationships/types"
subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
relationshipstypes "github.com/desmos-labs/desmos/v7/x/relationships/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"

dbtypes "github.com/desmos-labs/athena/v2/database/types"
"github.com/desmos-labs/athena/v2/types"
Expand Down
2 changes: 1 addition & 1 deletion database/types/profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"

profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
profilestypes "github.com/desmos-labs/desmos/v7/x/profiles/types"
)

// ProfileRow represents a single PostgreSQL row containing the data of a profile
Expand Down
2 changes: 1 addition & 1 deletion database/types/subspaces.sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package types
import (
"github.com/lib/pq"

subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
subspacestypes "github.com/desmos-labs/desmos/v7/x/subspaces/types"
)

// ConvertPermissions converts the given permissions into a pq.StringArray so that
Expand Down
37 changes: 22 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ require (
github.com/cosmos/cosmos-sdk v0.47.9
github.com/cosmos/gogoproto v1.4.11
github.com/cosmos/ibc-go/v7 v7.3.2
github.com/desmos-labs/desmos/v6 v6.4.0
github.com/forbole/juno/v5 v5.2.1-0.20230828170207-c75730cef085
github.com/desmos-labs/desmos/v7 v7.0.0
github.com/forbole/juno/v5 v5.3.0
github.com/g8rswimmer/go-twitter/v2 v2.1.5
github.com/gin-contrib/cors v1.5.0
github.com/gin-gonic/gin v1.9.1
Expand All @@ -32,6 +32,8 @@ require (
gopkg.in/yaml.v3 v3.0.1
)

require github.com/desmos-labs/athena v1.0.0

require (
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
4d63.com/gochecknoglobals v0.2.1 // indirect
Expand All @@ -46,7 +48,7 @@ require (
cosmossdk.io/core v0.5.1 // indirect
cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
cosmossdk.io/errors v1.0.1 // indirect
cosmossdk.io/log v1.3.0 // indirect
cosmossdk.io/log v1.3.1 // indirect
cosmossdk.io/math v1.2.0 // indirect
cosmossdk.io/simapp v0.0.0-20230323161446-0af178d721ff // indirect
cosmossdk.io/tools/rosetta v0.2.1 // indirect
Expand All @@ -60,7 +62,8 @@ require (
github.com/Antonboom/testifylint v0.2.3 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect
github.com/CosmWasm/wasmvm v1.5.0 // indirect
github.com/CosmWasm/wasmvm v1.5.1 // indirect
github.com/DataDog/zstd v1.4.5 // indirect
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
Expand Down Expand Up @@ -97,14 +100,16 @@ require (
github.com/chenzhuoyu/iasm v0.9.0 // indirect
github.com/chzyer/readline v1.5.1 // indirect
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
github.com/cockroachdb/errors v1.10.0 // indirect
github.com/cockroachdb/errors v1.11.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/pebble v1.1.0 // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect
github.com/cometbft/cometbft-db v0.9.1 // indirect
github.com/cometbft/cometbft-db v0.11.0 // indirect
github.com/confio/ics23/go v0.9.0 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/cosmos-proto v1.0.0-beta.2 // indirect
github.com/cosmos/cosmos-proto v1.0.0-beta.4 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/gogogateway v1.2.0 // indirect
github.com/cosmos/iavl v0.20.1 // indirect
Expand All @@ -119,6 +124,7 @@ require (
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/denis-tingaikin/go-header v0.4.3 // indirect
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
github.com/desmos-labs/desmos/v6 v6.2.0 // indirect
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
github.com/dgraph-io/ristretto v0.1.1 // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
Expand Down Expand Up @@ -238,7 +244,7 @@ require (
github.com/leonklingele/grouper v1.1.1 // indirect
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
github.com/likexian/gokit v0.25.13 // indirect
github.com/linxGnu/grocksdb v1.8.6 // indirect
github.com/linxGnu/grocksdb v1.8.12 // indirect
github.com/lufeee/execinquery v1.2.1 // indirect
github.com/macabu/inamedparam v0.1.2 // indirect
github.com/magiconair/properties v1.8.7 // indirect
Expand All @@ -249,7 +255,7 @@ require (
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/mbilski/exhaustivestruct v1.2.0 // indirect
github.com/mgechev/revive v1.3.4 // indirect
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect
Expand All @@ -273,16 +279,17 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/polyfloyd/go-errorlint v1.4.5 // indirect
github.com/prometheus/client_golang v1.17.0 // indirect
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
github.com/prometheus/client_golang v1.18.0 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/quasilyte/go-ruleguard v0.4.0 // indirect
github.com/quasilyte/gogrep v0.5.0 // indirect
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
github.com/rakyll/statik v0.1.7 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/cors v1.8.3 // indirect
Expand Down Expand Up @@ -371,9 +378,9 @@ require (
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d // indirect
nhooyr.io/websocket v1.8.7 // indirect
pgregory.net/rapid v0.5.5 // indirect
pgregory.net/rapid v1.1.0 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

// Our cosmos-sdk branch is: https://github.com/desmos-labs/cosmos-sdk v0.47.x-desmos
replace github.com/cosmos/cosmos-sdk => github.com/desmos-labs/cosmos-sdk v0.47.7-desmos
replace github.com/cosmos/cosmos-sdk => github.com/desmos-labs/cosmos-sdk v0.47.9-desmos
Loading

0 comments on commit 73efb32

Please sign in to comment.