Skip to content

Commit

Permalink
Remove external dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Schultz <[email protected]>
  • Loading branch information
dylanschultzie committed Jun 5, 2024
1 parent 3b91dc1 commit 33f9f2a
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ linters-settings:
- prefix(github.com/cosmos/cosmos-sdk)
- prefix(github.com/cometbft/cometbft)
- prefix(github.com/cosmos/ibc-go)
- prefix(github.com/pfc-developer/cosmos-exporter)
- prefix(github.com/lavenderfive/cosmos-exporter)
custom-order: true
revive:
enable-all-rules: true
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# cosmos-exporter

![Latest release](https://img.shields.io/github/v/release/pfc-developer/cosmos-exporter)
[![Actions Status](https://github.com/pfc-developer/cosmos-exporter/workflows/test/badge.svg)](https://github.com/pfc-developer/cosmos-exporter/actions)
![Latest release](https://img.shields.io/github/v/release/lavenderfive/cosmos-exporter)
[![Actions Status](https://github.com/lavenderfive/cosmos-exporter/workflows/test/badge.svg)](https://github.com/lavenderfive/cosmos-exporter/actions)

This is a fork of: https://github.com/solarlabsteam/cosmos-exporter

Expand Down
2 changes: 1 addition & 1 deletion cmd/cosmos-exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/inj-cosmos-exporter/Injective.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion cmd/inj-cosmos-exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/inj-cosmos-exporter/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

func InjSingleHandler(w http.ResponseWriter, r *http.Request, s *exporter.Service) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/kuji-cosmos-exporter/kuji.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion cmd/kuji-cosmos-exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/kuji-cosmos-exporter/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

func KujiSingleHandler(w http.ResponseWriter, r *http.Request, s *exporter.Service) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/sei-cosmos-exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/sei-cosmos-exporter/sei.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (

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

oracletypes "github.com/pfc-developer/cosmos-exporter/cmd/sei-cosmos-exporter/types"
"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
oracletypes "github.com/lavenderfive/cosmos-exporter/cmd/sei-cosmos-exporter/types"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion cmd/sei-cosmos-exporter/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

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

"github.com/pfc-developer/cosmos-exporter/pkg/exporter"
"github.com/lavenderfive/cosmos-exporter/pkg/exporter"
)

func SeiSingleHandler(w http.ResponseWriter, r *http.Request, s *exporter.Service) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/sei-cosmos-exporter/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"

"github.com/pfc-developer/cosmos-exporter/cmd/sei-cosmos-exporter/utils"
"github.com/lavenderfive/cosmos-exporter/cmd/sei-cosmos-exporter/utils"
)

// Parameter keys
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/pfc-developer/cosmos-exporter
module github.com/lavenderfive/cosmos-exporter

go 1.21

Expand Down Expand Up @@ -165,4 +165,4 @@ require (

replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

replace github.com/pfc-developer/cosmos-exporter => ./
replace github.com/lavenderfive/cosmos-exporter => ./
2 changes: 1 addition & 1 deletion pkg/cosmosdirectory/get_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/pfc-developer/cosmos-exporter/pkg/cosmosdirectory"
"github.com/lavenderfive/cosmos-exporter/pkg/cosmosdirectory"
)

func TestGetChain(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/pfc-developer/cosmos-exporter/pkg/cosmosdirectory"
"github.com/lavenderfive/cosmos-exporter/pkg/cosmosdirectory"
)

type GeneralMetrics struct {
Expand Down

0 comments on commit 33f9f2a

Please sign in to comment.