Skip to content

Commit

Permalink
build: update go mod to github.com/forbole/bdjuno/v3
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Apr 12, 2022
1 parent f0d9d68 commit 93f3b36
Show file tree
Hide file tree
Showing 117 changed files with 200 additions and 200 deletions.
10 changes: 5 additions & 5 deletions cmd/bdjuno/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
startcmd "github.com/forbole/juno/v3/cmd/start"
"github.com/forbole/juno/v3/modules/messages"

migratecmd "github.com/forbole/bdjuno/v2/cmd/migrate"
parsecmd "github.com/forbole/bdjuno/v2/cmd/parse"
migratecmd "github.com/forbole/bdjuno/v3/cmd/migrate"
parsecmd "github.com/forbole/bdjuno/v3/cmd/parse"

"github.com/forbole/bdjuno/v2/types/config"
"github.com/forbole/bdjuno/v3/types/config"

"github.com/forbole/bdjuno/v2/database"
"github.com/forbole/bdjuno/v2/modules"
"github.com/forbole/bdjuno/v3/database"
"github.com/forbole/bdjuno/v3/modules"

gaiaapp "github.com/cosmos/gaia/v7/app"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/migrate/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
parsecmdtypes "github.com/forbole/juno/v3/cmd/parse/types"
"github.com/spf13/cobra"

v3 "github.com/forbole/bdjuno/v2/cmd/migrate/v3"
v3 "github.com/forbole/bdjuno/v3/cmd/migrate/v3"
)

type Migrator func(parseCfg *parsecmdtypes.Config) error
Expand Down
2 changes: 1 addition & 1 deletion cmd/migrate/v3/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"io/ioutil"

"github.com/forbole/bdjuno/v2/modules/actions"
"github.com/forbole/bdjuno/v3/modules/actions"

parsecmdtypes "github.com/forbole/juno/v3/cmd/parse/types"

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

"github.com/forbole/bdjuno/v2/modules/actions"
"github.com/forbole/bdjuno/v3/modules/actions"
)

type Config struct {
Expand Down
6 changes: 3 additions & 3 deletions cmd/parse/auth/vesting.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/forbole/juno/v3/types/config"
"github.com/spf13/cobra"

"github.com/forbole/bdjuno/v2/database"
authutils "github.com/forbole/bdjuno/v2/modules/auth"
"github.com/forbole/bdjuno/v2/utils"
"github.com/forbole/bdjuno/v3/database"
authutils "github.com/forbole/bdjuno/v3/modules/auth"
"github.com/forbole/bdjuno/v3/utils"
)

// vestingCmd returns a Cobra command that allows to fix the vesting data for the accounts
Expand Down
6 changes: 3 additions & 3 deletions cmd/parse/feegrant/allowance.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
parsecmdtypes "github.com/forbole/juno/v3/cmd/parse/types"
"github.com/forbole/juno/v3/types/config"

"github.com/forbole/bdjuno/v2/modules/feegrant"
"github.com/forbole/bdjuno/v2/utils"
"github.com/forbole/bdjuno/v3/modules/feegrant"
"github.com/forbole/bdjuno/v3/utils"

"github.com/spf13/cobra"

"github.com/forbole/bdjuno/v2/database"
"github.com/forbole/bdjuno/v3/database"

"sort"

Expand Down
8 changes: 4 additions & 4 deletions cmd/parse/gov/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/hex"
"fmt"

modulestypes "github.com/forbole/bdjuno/v2/modules/types"
modulestypes "github.com/forbole/bdjuno/v3/modules/types"

govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
parsecmdtypes "github.com/forbole/juno/v3/cmd/parse/types"
Expand All @@ -13,9 +13,9 @@ import (

"github.com/forbole/juno/v3/parser"

"github.com/forbole/bdjuno/v2/database"
"github.com/forbole/bdjuno/v2/modules/gov"
"github.com/forbole/bdjuno/v2/utils"
"github.com/forbole/bdjuno/v3/database"
"github.com/forbole/bdjuno/v3/modules/gov"
"github.com/forbole/bdjuno/v3/utils"
)

// proposalCmd returns the Cobra command allowing to fix all things related to a proposal
Expand Down
8 changes: 4 additions & 4 deletions cmd/parse/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (

parsegenesis "github.com/forbole/juno/v3/cmd/parse/genesis"

parseauth "github.com/forbole/bdjuno/v2/cmd/parse/auth"
parsefeegrant "github.com/forbole/bdjuno/v2/cmd/parse/feegrant"
parsegov "github.com/forbole/bdjuno/v2/cmd/parse/gov"
parsestaking "github.com/forbole/bdjuno/v2/cmd/parse/staking"
parseauth "github.com/forbole/bdjuno/v3/cmd/parse/auth"
parsefeegrant "github.com/forbole/bdjuno/v3/cmd/parse/feegrant"
parsegov "github.com/forbole/bdjuno/v3/cmd/parse/gov"
parsestaking "github.com/forbole/bdjuno/v3/cmd/parse/staking"
)

// NewParseCmd returns the Cobra command allowing to parse some chain data without having to re-sync the whole database
Expand Down
6 changes: 3 additions & 3 deletions cmd/parse/staking/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package staking
import (
"fmt"

modulestypes "github.com/forbole/bdjuno/v2/modules/types"
modulestypes "github.com/forbole/bdjuno/v3/modules/types"

parsecmdtypes "github.com/forbole/juno/v3/cmd/parse/types"
"github.com/forbole/juno/v3/types/config"
"github.com/spf13/cobra"

"github.com/forbole/bdjuno/v2/database"
"github.com/forbole/bdjuno/v2/modules/staking"
"github.com/forbole/bdjuno/v3/database"
"github.com/forbole/bdjuno/v3/modules/staking"
)

// validatorsCmd returns a Cobra command that allows to fix the validator infos for all validators.
Expand Down
6 changes: 3 additions & 3 deletions database/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"github.com/gogo/protobuf/proto"
"github.com/lib/pq"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbutils "github.com/forbole/bdjuno/v2/database/utils"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
dbutils "github.com/forbole/bdjuno/v3/database/utils"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"
)

// SaveAccounts saves the given accounts inside the database
Expand Down
4 changes: 2 additions & 2 deletions database/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authttypes "github.com/cosmos/cosmos-sdk/x/auth/types"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
)

func (suite *DbTestSuite) TestSaveAccount() {
Expand Down
2 changes: 1 addition & 1 deletion database/bank.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package database
import (
"fmt"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/lib/pq"
Expand Down
4 changes: 2 additions & 2 deletions database/bank_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package database_test
import (
sdk "github.com/cosmos/cosmos-sdk/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"

bddbtypes "github.com/forbole/bdjuno/v2/database/types"
bddbtypes "github.com/forbole/bdjuno/v3/database/types"
)

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

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
)

// GetLastBlock returns the last block stored inside the database based on the heights
Expand Down
4 changes: 2 additions & 2 deletions database/consensus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package database_test
import (
time "time"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
"github.com/forbole/bdjuno/v2/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
"github.com/forbole/bdjuno/v3/types"
)

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

junodb "github.com/forbole/juno/v3/database"

"github.com/forbole/bdjuno/v2/database"
"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/database"
"github.com/forbole/bdjuno/v3/types"

juno "github.com/forbole/juno/v3/types"

Expand Down
4 changes: 2 additions & 2 deletions database/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"encoding/json"
"fmt"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/lib/pq"
Expand Down
6 changes: 3 additions & 3 deletions database/distribution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
bddbtypes "github.com/forbole/bdjuno/v2/database/types"
bddbtypes "github.com/forbole/bdjuno/v3/database/types"
)

func (suite *DbTestSuite) TestBigDipperDb_SaveCommunityPool() {
Expand Down
2 changes: 1 addition & 1 deletion database/feegrant.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cosmos/cosmos-sdk/codec"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"
)

// SaveFeeGrantAllowance allows to store the fee grant allowances for the given block height
Expand Down
4 changes: 2 additions & 2 deletions database/feegrant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
"github.com/forbole/bdjuno/v2/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
"github.com/forbole/bdjuno/v3/types"
)

func (suite *DbTestSuite) TestBigDipperDb_SaveFeeGrantAllowance() {
Expand Down
4 changes: 2 additions & 2 deletions database/gov.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/gogo/protobuf/proto"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"

"github.com/lib/pq"
)
Expand Down
4 changes: 2 additions & 2 deletions database/gov_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/gogo/protobuf/proto"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

sdk "github.com/cosmos/cosmos-sdk/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
)

func (suite *DbTestSuite) TestBigDipperDb_SaveGovParams() {
Expand Down
2 changes: 1 addition & 1 deletion database/mint.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"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"
)

// SaveInflation allows to store the inflation for the given block height as well as timestamp
Expand Down
4 changes: 2 additions & 2 deletions database/mint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
)

func (suite *DbTestSuite) TestBigDipperDb_SaveInflation() {
Expand Down
4 changes: 2 additions & 2 deletions database/pricefeed.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package database
import (
"fmt"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

"github.com/lib/pq"
)
Expand Down
4 changes: 2 additions & 2 deletions database/pricefeed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"time"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
)

func (suite *DbTestSuite) insertToken(name string) {
Expand Down
2 changes: 1 addition & 1 deletion database/slashing.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"
)

// SaveValidatorsSigningInfos saves the given infos inside the database
Expand Down
4 changes: 2 additions & 2 deletions database/slashing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"encoding/json"
"time"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"

sdk "github.com/cosmos/cosmos-sdk/types"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
)

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

stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
"github.com/forbole/bdjuno/v2/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
"github.com/forbole/bdjuno/v3/types"
)

// SaveStakingParams allows to store the given params into the database
Expand Down
4 changes: 2 additions & 2 deletions database/staking_params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
"github.com/forbole/bdjuno/v2/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
"github.com/forbole/bdjuno/v3/types"
)

func (suite *DbTestSuite) TestSaveStakingParams() {
Expand Down
2 changes: 1 addition & 1 deletion database/staking_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package database
import (
"fmt"

"github.com/forbole/bdjuno/v2/types"
"github.com/forbole/bdjuno/v3/types"
)

// SaveStakingPool allows to save for the given height the given stakingtypes pool
Expand Down
4 changes: 2 additions & 2 deletions database/staking_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package database_test
import (
sdk "github.com/cosmos/cosmos-sdk/types"

dbtypes "github.com/forbole/bdjuno/v2/database/types"
"github.com/forbole/bdjuno/v2/types"
dbtypes "github.com/forbole/bdjuno/v3/database/types"
"github.com/forbole/bdjuno/v3/types"
)

func (suite *DbTestSuite) TestBigDipperDb_SaveStakingPool() {
Expand Down
Loading

0 comments on commit 93f3b36

Please sign in to comment.