From f7917528cd48b10962ab67f29c99feff17fe308d Mon Sep 17 00:00:00 2001 From: Ryan Schneider Date: Thu, 10 Oct 2024 16:21:05 -0700 Subject: [PATCH] fixup: change imports to tdx-orderflow-proxy as well --- Makefile | 2 +- README.md | 4 ++-- cmd/httpserver/main.go | 4 ++-- common/vars.go | 2 +- proxy/proxy.go | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index f25b586..3ff41a2 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index f8d6852..c8e4553 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cmd/httpserver/main.go b/cmd/httpserver/main.go index 7fe5552..6eec0ce 100644 --- a/cmd/httpserver/main.go +++ b/cmd/httpserver/main.go @@ -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" ) diff --git a/common/vars.go b/common/vars.go index cdd86b3..24ee69c 100644 --- a/common/vars.go +++ b/common/vars.go @@ -3,5 +3,5 @@ package common var Version = "dev" const ( - PackageName = "github.com/flashbots/orderflow-proxy" + PackageName = "github.com/flashbots/tdx-orderflow-proxy" ) diff --git a/proxy/proxy.go b/proxy/proxy.go index d3c31e9..dee4338 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -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 {