From 33f9f2ab837dc30d772352dc009093d016415b51 Mon Sep 17 00:00:00 2001 From: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com> Date: Wed, 5 Jun 2024 12:59:47 -0700 Subject: [PATCH] Remove external dependencies Signed-off-by: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com> --- .golangci.yml | 2 +- README.md | 4 ++-- cmd/cosmos-exporter/main.go | 2 +- cmd/inj-cosmos-exporter/Injective.go | 2 +- cmd/inj-cosmos-exporter/main.go | 2 +- cmd/inj-cosmos-exporter/single.go | 2 +- cmd/kuji-cosmos-exporter/kuji.go | 2 +- cmd/kuji-cosmos-exporter/main.go | 2 +- cmd/kuji-cosmos-exporter/single.go | 2 +- cmd/sei-cosmos-exporter/main.go | 2 +- cmd/sei-cosmos-exporter/sei.go | 4 ++-- cmd/sei-cosmos-exporter/single.go | 2 +- cmd/sei-cosmos-exporter/types/params.go | 2 +- go.mod | 4 ++-- pkg/cosmosdirectory/get_test.go | 2 +- pkg/exporter/general.go | 2 +- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index f42de34..3a8eb94 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 diff --git a/README.md b/README.md index 3231794..6dfecd1 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cmd/cosmos-exporter/main.go b/cmd/cosmos-exporter/main.go index 8f862af..5bab11c 100644 --- a/cmd/cosmos-exporter/main.go +++ b/cmd/cosmos-exporter/main.go @@ -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 ( diff --git a/cmd/inj-cosmos-exporter/Injective.go b/cmd/inj-cosmos-exporter/Injective.go index 9e4a1a2..1dacc87 100644 --- a/cmd/inj-cosmos-exporter/Injective.go +++ b/cmd/inj-cosmos-exporter/Injective.go @@ -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" ) /* diff --git a/cmd/inj-cosmos-exporter/main.go b/cmd/inj-cosmos-exporter/main.go index 46e50e3..219564e 100644 --- a/cmd/inj-cosmos-exporter/main.go +++ b/cmd/inj-cosmos-exporter/main.go @@ -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 ( diff --git a/cmd/inj-cosmos-exporter/single.go b/cmd/inj-cosmos-exporter/single.go index 00de906..131f045 100644 --- a/cmd/inj-cosmos-exporter/single.go +++ b/cmd/inj-cosmos-exporter/single.go @@ -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) { diff --git a/cmd/kuji-cosmos-exporter/kuji.go b/cmd/kuji-cosmos-exporter/kuji.go index c5a98b1..d3ba7c9 100644 --- a/cmd/kuji-cosmos-exporter/kuji.go +++ b/cmd/kuji-cosmos-exporter/kuji.go @@ -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" ) /* diff --git a/cmd/kuji-cosmos-exporter/main.go b/cmd/kuji-cosmos-exporter/main.go index 39ad7b2..27e0fbd 100644 --- a/cmd/kuji-cosmos-exporter/main.go +++ b/cmd/kuji-cosmos-exporter/main.go @@ -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 ( diff --git a/cmd/kuji-cosmos-exporter/single.go b/cmd/kuji-cosmos-exporter/single.go index d9526b5..30bb14c 100644 --- a/cmd/kuji-cosmos-exporter/single.go +++ b/cmd/kuji-cosmos-exporter/single.go @@ -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) { diff --git a/cmd/sei-cosmos-exporter/main.go b/cmd/sei-cosmos-exporter/main.go index b63019e..1b2e2ab 100644 --- a/cmd/sei-cosmos-exporter/main.go +++ b/cmd/sei-cosmos-exporter/main.go @@ -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 ( diff --git a/cmd/sei-cosmos-exporter/sei.go b/cmd/sei-cosmos-exporter/sei.go index 4641de2..91813f3 100644 --- a/cmd/sei-cosmos-exporter/sei.go +++ b/cmd/sei-cosmos-exporter/sei.go @@ -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" ) /* diff --git a/cmd/sei-cosmos-exporter/single.go b/cmd/sei-cosmos-exporter/single.go index d98a182..d73560d 100644 --- a/cmd/sei-cosmos-exporter/single.go +++ b/cmd/sei-cosmos-exporter/single.go @@ -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) { diff --git a/cmd/sei-cosmos-exporter/types/params.go b/cmd/sei-cosmos-exporter/types/params.go index 6b77df4..8ada8a5 100644 --- a/cmd/sei-cosmos-exporter/types/params.go +++ b/cmd/sei-cosmos-exporter/types/params.go @@ -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 diff --git a/go.mod b/go.mod index a31c760..7e96dc4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pfc-developer/cosmos-exporter +module github.com/lavenderfive/cosmos-exporter go 1.21 @@ -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 => ./ diff --git a/pkg/cosmosdirectory/get_test.go b/pkg/cosmosdirectory/get_test.go index 63d0246..69c0d7c 100644 --- a/pkg/cosmosdirectory/get_test.go +++ b/pkg/cosmosdirectory/get_test.go @@ -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) { diff --git a/pkg/exporter/general.go b/pkg/exporter/general.go index 5d5b419..884b725 100644 --- a/pkg/exporter/general.go +++ b/pkg/exporter/general.go @@ -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 {