Skip to content

Commit 3a45d3c

Browse files
committed
Revert "Add orderflow proxy sender component"
This reverts commit e97ccc6.
1 parent e97ccc6 commit 3a45d3c

File tree

3 files changed

+0
-39
lines changed

3 files changed

+0
-39
lines changed

internal/catalog.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ func init() {
2020
register(&BuilderHub{})
2121
register(&BuilderHubPostgres{})
2222
register(&BuilderHubMockProxy{})
23-
register(&OrderflowProxySender{})
2423
}
2524

2625
func FindComponent(name string) Service {

internal/components.go

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -493,38 +493,6 @@ func (b *BuilderHubMockProxy) Name() string {
493493
return "builder-hub-mock-proxy"
494494
}
495495

496-
type OrderflowProxySender struct {
497-
ConfigHubEndpoint string
498-
SignerKey string
499-
}
500-
501-
func (o *OrderflowProxySender) Run(service *service, ctx *ExContext) {
502-
service.
503-
WithImage("docker.io/flashbots/orderflow-proxy-sender").
504-
WithTag("latest").
505-
WithArgs(
506-
"--listen-address", fmt.Sprintf("0.0.0.0:%s", `{{Port "http" 8080}}`),
507-
"--builder-confighub-endpoint", Connect(o.ConfigHubEndpoint, "http"),
508-
"--orderflow-signer-key", o.SignerKey,
509-
"--connections-per-peer", "10",
510-
"--metrics-addr", fmt.Sprintf("0.0.0.0:%s", `{{Port "metrics" 8090}}`),
511-
"--log-json",
512-
).
513-
WithPort("http", 8080).
514-
WithPort("metrics", 8090).
515-
WithReady(ReadyCheck{
516-
Test: []string{"CMD-SHELL", "wget -q --spider http://localhost:8080 || curl -s http://localhost:8080 > /dev/null"},
517-
Interval: 1 * time.Second,
518-
Timeout: 5 * time.Second,
519-
Retries: 3,
520-
StartPeriod: 3 * time.Second,
521-
})
522-
}
523-
524-
func (o *OrderflowProxySender) Name() string {
525-
return "orderflow-proxy-sender"
526-
}
527-
528496
type OpReth struct {
529497
}
530498

internal/recipe_buildernet.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ type BuilderNetRecipe struct {
1515

1616
// Add mock proxy for testing
1717
includeMockProxy bool
18-
19-
// Add orderflow proxy sender
20-
includeOrderflowProxySender bool
21-
22-
// Orderflow proxy signer key
23-
orderflowProxySignerKey string
2418
}
2519

2620
func (b *BuilderNetRecipe) Name() string {

0 commit comments

Comments
 (0)