From e21905701d14d47602ff379496c2b18b6c773113 Mon Sep 17 00:00:00 2001 From: marcello33 Date: Fri, 8 Nov 2024 17:46:55 +0100 Subject: [PATCH] chg: sort imports --- internal/cli/server/server.go | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/internal/cli/server/server.go b/internal/cli/server/server.go index f85108bc64..713b99f1db 100644 --- a/internal/cli/server/server.go +++ b/internal/cli/server/server.go @@ -3,7 +3,6 @@ package server import ( "context" "fmt" - "google.golang.org/grpc/reflection" "io" "math/big" "net" @@ -12,18 +11,6 @@ import ( "runtime" "time" - "github.com/mattn/go-colorable" - "github.com/mattn/go-isatty" - "go.opentelemetry.io/otel" - "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc" - "go.opentelemetry.io/otel/propagation" - "go.opentelemetry.io/otel/sdk/resource" - sdktrace "go.opentelemetry.io/otel/sdk/trace" - semconv "go.opentelemetry.io/otel/semconv/v1.4.0" - "google.golang.org/grpc" - - protobor "github.com/maticnetwork/polyproto/bor" - "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/cmd/utils" @@ -42,10 +29,22 @@ import ( "github.com/ethereum/go-ethereum/metrics/influxdb" "github.com/ethereum/go-ethereum/metrics/prometheus" "github.com/ethereum/go-ethereum/node" + "github.com/mattn/go-colorable" + "github.com/mattn/go-isatty" + "go.opentelemetry.io/otel" + "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc" + "go.opentelemetry.io/otel/propagation" + "go.opentelemetry.io/otel/sdk/resource" + sdktrace "go.opentelemetry.io/otel/sdk/trace" + semconv "go.opentelemetry.io/otel/semconv/v1.4.0" + "google.golang.org/grpc" + "google.golang.org/grpc/reflection" // Force-load the tracer engines to trigger registration _ "github.com/ethereum/go-ethereum/eth/tracers/js" _ "github.com/ethereum/go-ethereum/eth/tracers/native" + + protobor "github.com/maticnetwork/polyproto/bor" ) type Server struct {