Skip to content

Commit

Permalink
chore(go.mod): fix module path (#3)
Browse files Browse the repository at this point in the history
* chore(go.mod): fix module path

* fixup: change imports to tdx-orderflow-proxy as well
  • Loading branch information
ryanschneider authored Oct 11, 2024
1 parent ef5523d commit 5888545
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ clean: ## Clean the build directory
.PHONY: build
build: ## Build the HTTP server
@mkdir -p ./build
go build -trimpath -ldflags "-X github.com/flashbots/orderflow-proxy/common.Version=${VERSION}" -v -o ./build/orderflow-proxy cmd/httpserver/main.go
go build -trimpath -ldflags "-X github.com/flashbots/tdx-orderflow-proxy/common.Version=${VERSION}" -v -o ./build/orderflow-proxy cmd/httpserver/main.go

##@ Test & Development

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# orderflow-proxy

[![Goreport status](https://goreportcard.com/badge/github.com/flashbots/orderflow-proxy)](https://goreportcard.com/report/github.com/flashbots/go-template)
[![Test status](https://github.com/flashbots/orderflow-proxy/actions/workflows/checks.yml/badge.svg?branch=main)](https://github.com/flashbots/go-template/actions?query=workflow%3A%22Checks%22)
[![Goreport status](https://goreportcard.com/badge/github.com/flashbots/tdx-orderflow-proxy)](https://goreportcard.com/report/github.com/flashbots/go-template)
[![Test status](https://github.com/flashbots/tdx-orderflow-proxy/actions/workflows/checks.yml/badge.svg?branch=main)](https://github.com/flashbots/go-template/actions?query=workflow%3A%22Checks%22)

## Getting started

Expand Down
4 changes: 2 additions & 2 deletions cmd/httpserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"time"

"github.com/VictoriaMetrics/metrics"
"github.com/flashbots/orderflow-proxy/common"
"github.com/flashbots/orderflow-proxy/proxy"
"github.com/flashbots/tdx-orderflow-proxy/common"
"github.com/flashbots/tdx-orderflow-proxy/proxy"
"github.com/google/uuid"
"github.com/urfave/cli/v2" // imports as package "cli"
)
Expand Down
2 changes: 1 addition & 1 deletion common/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package common
var Version = "dev"

const (
PackageName = "github.com/flashbots/orderflow-proxy"
PackageName = "github.com/flashbots/tdx-orderflow-proxy"
)
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/flashbots/orderflow-proxy
module github.com/flashbots/tdx-orderflow-proxy

go 1.22

Expand Down
2 changes: 1 addition & 1 deletion proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"time"

"github.com/ethereum/go-ethereum/crypto"
"github.com/flashbots/orderflow-proxy/metrics"
"github.com/flashbots/tdx-orderflow-proxy/metrics"
)

type Config struct {
Expand Down

0 comments on commit 5888545

Please sign in to comment.