Skip to content

Commit

Permalink
Remove metrics package
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Sep 21, 2023
1 parent 87d697c commit 7d602dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
13 changes: 0 additions & 13 deletions metrics/metrics.go

This file was deleted.

3 changes: 0 additions & 3 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"github.com/NethermindEth/juno/db/pebble"
"github.com/NethermindEth/juno/jsonrpc"
"github.com/NethermindEth/juno/l1"
"github.com/NethermindEth/juno/metrics"
"github.com/NethermindEth/juno/migration"
"github.com/NethermindEth/juno/p2p"
"github.com/NethermindEth/juno/rpc"
Expand Down Expand Up @@ -86,8 +85,6 @@ type Node struct {
// New sets the config and logger to the StarknetNode.
// Any errors while parsing the config on creating logger will be returned.
func New(cfg *Config, version string) (*Node, error) { //nolint:gocyclo,funlen
metrics.Enabled = cfg.Metrics

if cfg.DatabasePath == "" {
dirPrefix, err := utils.DefaultDataDir()
if err != nil {
Expand Down

0 comments on commit 7d602dd

Please sign in to comment.