From 42a168f6e483c66d507a926776e7daf291bd16ed Mon Sep 17 00:00:00 2001 From: i-norden Date: Wed, 1 Nov 2023 15:04:06 -0500 Subject: [PATCH] update config --- pkg/serve/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/serve/config.go b/pkg/serve/config.go index 7c12b3bb..24aa4c5e 100644 --- a/pkg/serve/config.go +++ b/pkg/serve/config.go @@ -110,6 +110,8 @@ type Config struct { ProxyOnError bool GetLogsBlockLimit int64 NodeNetworkID string + TracingEnabled bool + TracingPublic bool // Cache configuration. GroupCache *ethServerShared.GroupCacheConfig @@ -154,6 +156,8 @@ func NewConfig() (*Config, error) { c.ForwardGetStorageAt = viper.GetBool("ethereum.forwardGetStorageAt") c.ProxyOnError = viper.GetBool("ethereum.proxyOnError") c.EthHttpEndpoint = ethHTTPEndpoint + c.TracingEnabled = viper.GetBool("ethereum.tracingEnabled") + c.TracingPublic = viper.GetBool("ethereum.tracingPublic") if viper.IsSet("ethereum.getLogsBlockLimit") { c.GetLogsBlockLimit = viper.GetInt64("ethereum.getLogsBlockLimit")