Skip to content

Commit

Permalink
fix extract command and add jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladinlight committed May 12, 2023
1 parent b8f3f09 commit 9c25fc0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configs/coins/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"verification_source": "ac75605e5fce3fd92517f008cce71f471d78501b8156e6853862e056bc9569f7",
"extract_command": "unzip -d backend",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/Nethermind.Runner --config gnosis --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --Network.P2PPort {{.Ports.BackendP2P}} --JsonRpc.Port {{.Ports.BackendHttp}} --JsonRpc.EnabledModules \"eth,net,web3,debug,subscribe,txpool,rpc\" --Init.WebSocketsEnabled true --JsonRpc.WebSocketsPort {{.Ports.BackendRPC}} --JsonRpc.EnginePort {{.Ports.BackendAuthRpc}} 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/Nethermind.Runner --config gnosis --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --Network.P2PPort {{.Ports.BackendP2P}} --JsonRpc.Port {{.Ports.BackendHttp}} --JsonRpc.EnabledModules \"eth,net,web3,debug,subscribe,txpool,rpc\" --Init.WebSocketsEnabled true --JsonRpc.WebSocketsPort {{.Ports.BackendRPC}} --JsonRpc.EnginePort {{.Ports.BackendAuthRpc}} --JsonRpc.JwtSecretFile {{.Env.BackendDataPath}}/gnosis_consensus/backend/beacon/jwt.hex 2>&1 >> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "",
"service_type": "simple",
Expand Down
2 changes: 1 addition & 1 deletion configs/coins/gnosis_archive.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"verification_source": "ac75605e5fce3fd92517f008cce71f471d78501b8156e6853862e056bc9569f7",
"extract_command": "unzip -d backend",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/Nethermind.Runner --config gnosis_archive --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --Network.P2PPort {{.Ports.BackendP2P}} --JsonRpc.Port {{.Ports.BackendHttp}} --JsonRpc.EnabledModules \"eth,net,web3,debug,subscribe,txpool,rpc\" --Init.WebSocketsEnabled true --JsonRpc.WebSocketsPort {{.Ports.BackendRPC}} --JsonRpc.EnginePort {{.Ports.BackendAuthRpc}} 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/Nethermind.Runner --config gnosis_archive --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --Network.P2PPort {{.Ports.BackendP2P}} --JsonRpc.Port {{.Ports.BackendHttp}} --JsonRpc.EnabledModules \"eth,net,web3,debug,subscribe,txpool,rpc\" --Init.WebSocketsEnabled true --JsonRpc.WebSocketsPort {{.Ports.BackendRPC}} --JsonRpc.EnginePort {{.Ports.BackendAuthRpc}} --JsonRpc.JwtSecretFile {{.Env.BackendDataPath}}/gnosis_archive_consensus/backend/beacon/jwt.hex 2>&1 >> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "",
"service_type": "simple",
Expand Down
4 changes: 2 additions & 2 deletions configs/coins/gnosis_archive_consensus.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"binary_url": "https://github.com/sigp/lighthouse/releases/download/v4.1.0/lighthouse-v4.1.0-x86_64-unknown-linux-gnu.tar.gz",
"verification_type": "gpg",
"verification_source": "https://github.com/sigp/lighthouse/releases/download/v4.1.0/lighthouse-v4.1.0-x86_64-unknown-linux-gnu.tar.gz.asc",
"extract_command": "tar -C backend --strip 1 -xf",
"extract_command": "tar -C backend -xf",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/lighthouse beacon_node --network gnosis --disable-upnp --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port {{.Ports.BackendP2P}} --http --http-port {{.Ports.BackendHttp}} --execution-endpoint http://127.0.0.1:8576 --checkpoint-sync-url https://checkpoint.gnosischain.com/ 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/lighthouse beacon_node --network gnosis --disable-upnp --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port {{.Ports.BackendP2P}} --http --http-port {{.Ports.BackendHttp}} --execution-endpoint http://127.0.0.1:8576 --checkpoint-sync-url https://checkpoint.gnosischain.com/ --execution-jwt-secret-key ba31ba13b58d8169af0a490ae464b472c5d6a8c38b5cbe6a7a5c338ba70e624f 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "",
"service_type": "simple",
Expand Down
4 changes: 2 additions & 2 deletions configs/coins/gnosis_consensus.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"binary_url": "https://github.com/sigp/lighthouse/releases/download/v4.1.0/lighthouse-v4.1.0-x86_64-unknown-linux-gnu.tar.gz",
"verification_type": "gpg",
"verification_source": "https://github.com/sigp/lighthouse/releases/download/v4.1.0/lighthouse-v4.1.0-x86_64-unknown-linux-gnu.tar.gz.asc",
"extract_command": "tar -C backend --strip 1 -xf",
"extract_command": "tar -C backend -xf",
"exclude_files": [],
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/lighthouse beacon_node --network gnosis --disable-upnp --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port {{.Ports.BackendP2P}} --http --http-port {{.Ports.BackendHttp}} --execution-endpoint http://127.0.0.1:8574 --checkpoint-sync-url https://checkpoint.gnosischain.com/ 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/lighthouse beacon_node --network gnosis --disable-upnp --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port {{.Ports.BackendP2P}} --http --http-port {{.Ports.BackendHttp}} --execution-endpoint http://127.0.0.1:8574 --checkpoint-sync-url https://checkpoint.gnosischain.com/ --execution-jwt-secret-key ba31ba13b58d8169af0a490ae464b472c5d6a8c38b5cbe6a7a5c338ba70e624f 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
"postinst_script_template": "",
"service_type": "simple",
Expand Down

0 comments on commit 9c25fc0

Please sign in to comment.