Skip to content

Commit e8d418a

Browse files
authored
[Performance] Fix Nil Pointer Exception and other misc package updates (#478)
This PR fixes the references to the old repository after the move and fixes a nil pointer panic that was crashing PATH
1 parent 2b0578f commit e8d418a

File tree

234 files changed

+540
-540
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+540
-540
lines changed

.github/workflows/main-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
DOCKER_METADATA_PR_HEAD_SHA: "true"
4444
with:
4545
images: |
46-
ghcr.io/buildwithgrove/path
46+
ghcr.io/pokt-network/path
4747
tags: |
4848
type=semver,pattern={{version}}
4949
type=semver,pattern={{major}}.{{minor}}
@@ -58,7 +58,7 @@ jobs:
5858
DOCKER_METADATA_PR_HEAD_SHA: "true"
5959
with:
6060
images: |
61-
ghcr.io/buildwithgrove/path
61+
ghcr.io/pokt-network/path
6262
tags: |
6363
type=semver,pattern={{version}},suffix=-cgo
6464
type=semver,pattern={{major}}.{{minor}},suffix=-cgo

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM golang:1.24-alpine3.20 AS builder
66
RUN apk add --no-cache git make build-base
77

88
# Set working directory
9-
WORKDIR /go/src/github.com/buildwithgrove/path
9+
WORKDIR /go/src/github.com/pokt-network/path
1010

1111
# Copy only go.mod and go.sum first to leverage Docker's build cache
1212
COPY go.mod go.sum ./

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<br/>
77

88
![Static Badge](https://img.shields.io/badge/Maintained_by-Grove-green)
9-
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/buildwithgrove/path/main-build.yml)
9+
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/pokt-network/path/main-build.yml)
1010
![GitHub last commit](https://img.shields.io/github/last-commit/buildwithgrove/path)
1111
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/buildwithgrove/path)
1212
![GitHub Release](https://img.shields.io/github/v/release/buildwithgrove/path)
13-
![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/buildwithgrove/path/total)
13+
![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/pokt-network/path/total)
1414
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/buildwithgrove/path)
1515
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr/buildwithgrove/path)
1616
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-closed/buildwithgrove/path)
@@ -31,7 +31,7 @@ The source code for the documentation is available in the `docs` directory.
3131

3232
## Support
3333

34-
For Bug Reports and Enhancement Requests, please open an [Issue](https://github.com/buildwithgrove/path/issues).
34+
For Bug Reports and Enhancement Requests, please open an [Issue](https://github.com/pokt-network/path/issues).
3535

3636
For Technical Support please open a ticket in [Grove's Discord](https://discord.gg/build-with-grove).
3737

@@ -48,4 +48,4 @@ See the following docs for more information:
4848

4949
## License
5050

51-
This project is licensed under the MIT License; see the [LICENSE](https://github.com/buildwithgrove/path/blob/main/LICENSE) file for details.
51+
This project is licensed under the MIT License; see the [LICENSE](https://github.com/pokt-network/path/blob/main/LICENSE) file for details.

cmd/data.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66

77
"github.com/pokt-network/poktroll/pkg/polylog"
88

9-
"github.com/buildwithgrove/path/config"
10-
"github.com/buildwithgrove/path/data"
11-
"github.com/buildwithgrove/path/gateway"
9+
"github.com/pokt-network/path/config"
10+
"github.com/pokt-network/path/data"
11+
"github.com/pokt-network/path/gateway"
1212
)
1313

1414
// setupHTTPDataReporter initializes and starts the HTTP data reporter.

cmd/hydrator.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88

99
"github.com/pokt-network/poktroll/pkg/polylog"
1010

11-
"github.com/buildwithgrove/path/config"
12-
"github.com/buildwithgrove/path/gateway"
13-
"github.com/buildwithgrove/path/protocol"
11+
"github.com/pokt-network/path/config"
12+
"github.com/pokt-network/path/gateway"
13+
"github.com/pokt-network/path/protocol"
1414
)
1515

1616
// TODO_TECHDEBT: Make this configurable.

cmd/main.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ import (
1515
"github.com/pokt-network/poktroll/pkg/polylog"
1616
"github.com/pokt-network/poktroll/pkg/polylog/polyzero"
1717

18-
configpkg "github.com/buildwithgrove/path/config"
19-
"github.com/buildwithgrove/path/gateway"
20-
"github.com/buildwithgrove/path/health"
21-
"github.com/buildwithgrove/path/metrics"
22-
"github.com/buildwithgrove/path/metrics/devtools"
23-
protocolPkg "github.com/buildwithgrove/path/protocol"
24-
"github.com/buildwithgrove/path/request"
25-
"github.com/buildwithgrove/path/router"
18+
configpkg "github.com/pokt-network/path/config"
19+
"github.com/pokt-network/path/gateway"
20+
"github.com/pokt-network/path/health"
21+
"github.com/pokt-network/path/metrics"
22+
"github.com/pokt-network/path/metrics/devtools"
23+
protocolPkg "github.com/pokt-network/path/protocol"
24+
"github.com/pokt-network/path/request"
25+
"github.com/pokt-network/path/router"
2626
)
2727

2828
// Version information injected at build time via ldflags

cmd/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/pokt-network/poktroll/pkg/polylog"
77

8-
"github.com/buildwithgrove/path/metrics"
8+
"github.com/pokt-network/path/metrics"
99
)
1010

1111
// TODO_TECHDEBT(@adshmh): Support configurable pprof server address/port.

cmd/qos.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import (
66

77
"github.com/pokt-network/poktroll/pkg/polylog"
88

9-
"github.com/buildwithgrove/path/config"
10-
"github.com/buildwithgrove/path/gateway"
11-
"github.com/buildwithgrove/path/protocol"
12-
"github.com/buildwithgrove/path/qos/cosmos"
13-
"github.com/buildwithgrove/path/qos/evm"
14-
"github.com/buildwithgrove/path/qos/solana"
9+
"github.com/pokt-network/path/config"
10+
"github.com/pokt-network/path/gateway"
11+
"github.com/pokt-network/path/protocol"
12+
"github.com/pokt-network/path/qos/cosmos"
13+
"github.com/pokt-network/path/qos/evm"
14+
"github.com/pokt-network/path/qos/solana"
1515
)
1616

1717
// getServiceQoSInstances returns all QoS instances to be used by the Gateway and the EndpointHydrator.

cmd/shannon.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55

66
"github.com/pokt-network/poktroll/pkg/polylog"
77

8-
shannonconfig "github.com/buildwithgrove/path/config/shannon"
9-
"github.com/buildwithgrove/path/gateway"
10-
"github.com/buildwithgrove/path/protocol/shannon"
8+
shannonconfig "github.com/pokt-network/path/config/shannon"
9+
"github.com/pokt-network/path/gateway"
10+
"github.com/pokt-network/path/protocol/shannon"
1111
)
1212

1313
// getShannonFullNode builds and returns a Shannon FullNode configuration.

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"gopkg.in/yaml.v3"
88

9-
"github.com/buildwithgrove/path/config/shannon"
9+
"github.com/pokt-network/path/config/shannon"
1010
)
1111

1212
/* --------------------------------- Gateway Config Struct -------------------------------- */

0 commit comments

Comments
 (0)