Skip to content

Commit

Permalink
More dead code removal
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Sep 6, 2024
1 parent 0766ac1 commit c6371f6
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 280 deletions.
17 changes: 0 additions & 17 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ type Config struct {
QuickNodeEthereumRpcConfig EthereumRpcConfig
PostgresConfig PostgresConfig
EtherscanConfig EtherscanConfig
RabbitMqConfig RabbitMqConfig
}

type EthereumRpcConfig struct {
Expand All @@ -138,14 +137,6 @@ type EtherscanConfig struct {
ApiKeys []string
}

type RabbitMqConfig struct {
Username string
Password string
Url string
Secure bool
PrefetchCount int
}

func NewConfig() *Config {
return &Config{
Network: ParseNetwork(getPrefixedEnvVar("NETWORK")),
Expand Down Expand Up @@ -174,14 +165,6 @@ func NewConfig() *Config {
EtherscanConfig: EtherscanConfig{
ApiKeys: parseListEnvVar(getPrefixedEnvVar("ETHERSCAN_API_KEYS")),
},

RabbitMqConfig: RabbitMqConfig{
Username: getPrefixedEnvVar("RABBITMQ_USERNAME"),
Password: getPrefixedEnvVar("RABBITMQ_PASSWORD"),
Url: getPrefixedEnvVar("RABBITMQ_URL"),
Secure: parseBooleanEnvVar(getPrefixedEnvVar("RABBITMQ_SECURE")),
PrefetchCount: parseIntEnvVar(getPrefixedEnvVar("RABBITMQ_PREFETCH_COUNT"), 1),
},
}
}

Expand Down
109 changes: 0 additions & 109 deletions internal/queue/rabbitmq/config.go

This file was deleted.

121 changes: 0 additions & 121 deletions internal/queue/rabbitmq/rabbitmq.go

This file was deleted.

5 changes: 0 additions & 5 deletions internal/storage/storage.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package storage

import (
"github.com/Layr-Labs/sidecar/internal/clients/ethereum"
"github.com/Layr-Labs/sidecar/internal/parser"
"time"
)
Expand Down Expand Up @@ -82,10 +81,6 @@ type OperatorRestakedStrategies struct {
}

// Not tables
type BatchInsertTransactionLogs struct {
Transaction *ethereum.EthereumTransaction
ParsedTransaction *parser.ParsedTransaction
}

type ActiveAvsOperator struct {
Avs string
Expand Down
8 changes: 0 additions & 8 deletions protos/eigenlayer/blocklake/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ message BackfillRequest {
message BackfillResponse {
}

message PurgeQueuesRequest{}
message PurgeQueuesResponse{}

message IndexContractsRequest {
BackfillRange range = 1;
}
Expand All @@ -76,11 +73,6 @@ service Backfiller {
body: "*"
};
}
rpc PurgeQueues(PurgeQueuesRequest) returns (PurgeQueuesResponse) {
option (google.api.http) = {
post: "/v1/purge-queues"
};
}
rpc IndexContracts(IndexContractsRequest) returns (IndexContractsResponse) {
option (google.api.http) = {
post: "/v1/index-contracts"
Expand Down
8 changes: 0 additions & 8 deletions scripts/deployWriterPostgresProxy.sh

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/helperPods/deployPostgresProxy.sh

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/helperPods/deployPostgresProxyRo.sh

This file was deleted.

0 comments on commit c6371f6

Please sign in to comment.