Skip to content

Commit

Permalink
Bump module path (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Warehime authored Jun 16, 2023
1 parent 3979f71 commit 3528a6f
Show file tree
Hide file tree
Showing 58 changed files with 259 additions and 253 deletions.
6 changes: 3 additions & 3 deletions accounting/rewind.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"fmt"

models "github.com/algorand/indexer/api/generated/v2"
"github.com/algorand/indexer/idb"
"github.com/algorand/indexer/types"
models "github.com/algorand/indexer/v3/api/generated/v2"
"github.com/algorand/indexer/v3/idb"
"github.com/algorand/indexer/v3/types"

sdk "github.com/algorand/go-algorand-sdk/v2/types"
)
Expand Down
8 changes: 4 additions & 4 deletions accounting/rewind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"testing"

sdk "github.com/algorand/go-algorand-sdk/v2/types"
"github.com/algorand/indexer/types"
"github.com/algorand/indexer/v3/types"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"

models "github.com/algorand/indexer/api/generated/v2"
"github.com/algorand/indexer/idb"
"github.com/algorand/indexer/idb/mocks"
models "github.com/algorand/indexer/v3/api/generated/v2"
"github.com/algorand/indexer/v3/idb"
"github.com/algorand/indexer/v3/idb/mocks"
)

func TestBasic(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions api/app_boxes_fixtures_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"fmt"
"testing"

"github.com/algorand/indexer/idb/postgres"
"github.com/algorand/indexer/v3/idb/postgres"
"github.com/stretchr/testify/require"

"github.com/algorand/avm-abi/apps"
"github.com/algorand/go-algorand-sdk/v2/crypto"
sdk "github.com/algorand/go-algorand-sdk/v2/types"
"github.com/algorand/indexer/util/test"
"github.com/algorand/indexer/v3/util/test"
)

func goalEncode(t *testing.T, s string) string {
Expand Down
6 changes: 3 additions & 3 deletions api/converter_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strconv"
"strings"

"github.com/algorand/indexer/api/generated/v2"
"github.com/algorand/indexer/idb"
"github.com/algorand/indexer/util"
"github.com/algorand/indexer/v3/api/generated/v2"
"github.com/algorand/indexer/v3/idb"
"github.com/algorand/indexer/v3/util"

"github.com/algorand/go-algorand-sdk/v2/crypto"
sdk "github.com/algorand/go-algorand-sdk/v2/types"
Expand Down
2 changes: 1 addition & 1 deletion api/disabled_parameters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/sirupsen/logrus/hooks/test"
"github.com/stretchr/testify/require"

"github.com/algorand/indexer/api/generated/v2"
"github.com/algorand/indexer/v3/api/generated/v2"
)

func TestToDisabledMapConfigFromFile(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions api/error_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package api
import (
"fmt"

"github.com/algorand/indexer/idb"
"github.com/algorand/indexer/util"
"github.com/algorand/indexer/v3/idb"
"github.com/algorand/indexer/v3/util"
)

// constant error messages.
Expand Down
6 changes: 3 additions & 3 deletions api/fixtures_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"

"github.com/algorand/indexer/api/generated/v2"
"github.com/algorand/indexer/idb/postgres"
"github.com/algorand/indexer/util/test"
"github.com/algorand/indexer/v3/api/generated/v2"
"github.com/algorand/indexer/v3/idb/postgres"
"github.com/algorand/indexer/v3/util/test"
)

/* See the README.md in this directory for more details about Fixtures Tests */
Expand Down
46 changes: 23 additions & 23 deletions api/generated/common/routes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/generated/common/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

128 changes: 64 additions & 64 deletions api/generated/v2/routes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/generated/v2/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions api/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import (
log "github.com/sirupsen/logrus"

"github.com/algorand/avm-abi/apps"
"github.com/algorand/indexer/accounting"
"github.com/algorand/indexer/api/generated/common"
"github.com/algorand/indexer/api/generated/v2"
"github.com/algorand/indexer/idb"
"github.com/algorand/indexer/util"
"github.com/algorand/indexer/version"
"github.com/algorand/indexer/v3/accounting"
"github.com/algorand/indexer/v3/api/generated/common"
"github.com/algorand/indexer/v3/api/generated/v2"
"github.com/algorand/indexer/v3/idb"
"github.com/algorand/indexer/v3/util"
"github.com/algorand/indexer/v3/version"

sdk "github.com/algorand/go-algorand-sdk/v2/types"
)
Expand Down
Loading

0 comments on commit 3528a6f

Please sign in to comment.