@@ -65,34 +65,34 @@ func (g *Nethermind) getEth2ContainerRequest() (*tc.ContainerRequest, error) {
6565 }
6666
6767 command := []string {
68- "--datadir= /nethermind" ,
69- "--config= /none.cfg" ,
70- fmt . Sprintf ( "--Init.ChainSpecPath= %s/chainspec.json" , g .generatedDataContainerDir ),
71- "--Init.DiscoveryEnabled= false" ,
72- "--Init.WebSocketsEnabled= true" ,
73- fmt . Sprintf ( "--JsonRpc.WebSocketsPort=%s " , DEFAULT_EVM_NODE_WS_PORT ) ,
74- fmt . Sprintf ( "--Blocks.SecondsPerSlot= %d" , g .chainConfig .SecondsPerSlot ),
75- "--JsonRpc.Enabled= true" ,
76- "--JsonRpc.EnabledModules= net,eth,consensus,subscribe,web3,admin,txpool,debug,trace" ,
77- "--JsonRpc.Host= 0.0.0.0" ,
78- fmt . Sprintf ( "--JsonRpc.Port=%s " , DEFAULT_EVM_NODE_HTTP_PORT ) ,
79- "--JsonRpc.EngineHost= 0.0.0.0" ,
80- "--JsonRpc.EnginePort=" + ETH2_EXECUTION_PORT ,
81- fmt . Sprintf ( "--JsonRpc.JwtSecretFile=%s " , getJWTSecretFileLocationInsideContainer (g .generatedDataContainerDir ) ),
82- fmt . Sprintf ( "--KeyStore.KeyStoreDirectory=%s " , getKeystoreDirLocationInsideContainer (g .generatedDataContainerDir ) ),
83- "--KeyStore.BlockAuthorAccount= 0x123463a4b065722e99115d6c222f267d9cabb524" ,
84- "--KeyStore.UnlockAccounts= 0x123463a4b065722e99115d6c222f267d9cabb524" ,
85- fmt . Sprintf ( "--KeyStore.PasswordFiles=%s " , getAccountPasswordFileInsideContainer (g .generatedDataContainerDir ) ),
86- "--Network.MaxActivePeers= 0" ,
87- "--Network.OnlyStaticPeers= true" ,
88- "--HealthChecks.Enabled= true" , // default slug /health
89- fmt . Sprintf ( "--log=%s " , strings .ToUpper (g .LogLevel ) ),
68+ "--datadir" , " /nethermind" ,
69+ "--config" , " /none.cfg" ,
70+ "--Init.ChainSpecPath" , fmt . Sprintf ( " %s/chainspec.json" , g .generatedDataContainerDir ),
71+ "--Init.DiscoveryEnabled" , " false" ,
72+ "--Init.WebSocketsEnabled" , " true" ,
73+ "--JsonRpc.WebSocketsPort" , DEFAULT_EVM_NODE_WS_PORT ,
74+ "--Blocks.SecondsPerSlot" , fmt . Sprintf ( " %d" , g .chainConfig .SecondsPerSlot ),
75+ "--JsonRpc.Enabled" , " true" ,
76+ "--JsonRpc.EnabledModules" , " net,eth,consensus,subscribe,web3,admin,txpool,debug,trace" ,
77+ "--JsonRpc.Host" , " 0.0.0.0" ,
78+ "--JsonRpc.Port" , DEFAULT_EVM_NODE_HTTP_PORT ,
79+ "--JsonRpc.EngineHost" , " 0.0.0.0" ,
80+ "--JsonRpc.EnginePort" , ETH2_EXECUTION_PORT ,
81+ "--JsonRpc.JwtSecretFile" , getJWTSecretFileLocationInsideContainer (g .generatedDataContainerDir ),
82+ "--KeyStore.KeyStoreDirectory" , getKeystoreDirLocationInsideContainer (g .generatedDataContainerDir ),
83+ "--KeyStore.BlockAuthorAccount" , " 0x123463a4b065722e99115d6c222f267d9cabb524" ,
84+ "--KeyStore.UnlockAccounts" , " 0x123463a4b065722e99115d6c222f267d9cabb524" ,
85+ "--KeyStore.PasswordFiles" , getAccountPasswordFileInsideContainer (g .generatedDataContainerDir ),
86+ "--Network.MaxActivePeers" , " 0" ,
87+ "--Network.OnlyStaticPeers" , " true" ,
88+ "--HealthChecks.Enabled" , " true" , // default slug /health
89+ "--log" , strings .ToUpper (g .LogLevel ),
9090 }
9191
9292 if g .LogLevel == "trace" {
93- command = append (command , "--TraceStore.Enabled= true" )
94- command = append (command , "--Network.DiagTracerEnabled= true" )
95- command = append (command , "--TxPool.ReportMinutes= 1" )
93+ command = append (command , "--TraceStore.Enabled" , " true" )
94+ command = append (command , "--Network.DiagTracerEnabled" , " true" )
95+ command = append (command , "--TxPool.ReportMinutes" , " 1" )
9696 }
9797
9898 return & tc.ContainerRequest {
0 commit comments