From 208fcfbf5364d6045a23d7168e8977bf2925afda Mon Sep 17 00:00:00 2001 From: cventastic Date: Thu, 3 Nov 2022 09:29:18 +0100 Subject: [PATCH] xdai-archive.yml tracestore flags not working via environment --- xdai-archive.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/xdai-archive.yml b/xdai-archive.yml index 529c5fb3..58ab80eb 100644 --- a/xdai-archive.yml +++ b/xdai-archive.yml @@ -11,7 +11,13 @@ services: image: nethermindeth/nethermind:TracesDB restart: always stop_grace_period: 1m - command: '--JsonRpc.Enabled true --JsonRpc.Host 0.0.0.0 --Metrics.Enabled true' + command: | + --JsonRpc.Enabled true \ + --JsonRpc.Host 0.0.0.0 \ + --Metrics.Enabled true \ + --TraceStore.Enabled true \ + --TraceStore.BlocksToKeep 0 \ + --TraceStore.TraceTypes Trace,Rewards,VmTrace,StateDiff ports: - '30303:30303/tcp' # p2p - '30303:30303/udp' # p2p @@ -26,9 +32,6 @@ services: environment: - NETHERMIND_CONFIG=xdai_archive - NETHERMIND_JSONRPCCONFIG_ENGINEENABLEDMODULES=[Eth,AccountAbstraction,Subscribe,TxPool,Web3,Personal,Proof,Net,Parity,Health,Trace] - - NETHERMIND_TRACESTORE_ENABLED=[True] - - NETHERMIND_TRACESTORE_BLOCKSTOKEEP=[0] - - NETHERMIND_TRACESTORE_TRACETYPES=[Trace,Rewards,VmTrace,StateDiff] - NETHERMIND_METRICSCONFIG_EXPOSEPORT=9091 logging: options: