From a7eaff414e258f5f15de1d05688a94aaa63b451b Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sun, 17 Mar 2024 16:43:11 +0100 Subject: [PATCH] generate the node key --- op-mantle-fullnode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op-mantle-fullnode.yml b/op-mantle-fullnode.yml index 1de34673..c4c7102d 100644 --- a/op-mantle-fullnode.yml +++ b/op-mantle-fullnode.yml @@ -119,7 +119,7 @@ services: image: ghcr.io/foundry-rs/foundry volumes: - "mantle/mainnet/:/config" - command: "cast w n |grep -i 'Private Key' |awk -F ': ' '{print $2}' |sed 's/0x//' > /config/p2p_node_key_txt" + command: ["sh", "-c", "cast w n | grep -i 'Private Key' | awk -F ': ' '{print $2}' | sed 's/0x//' > /config/p2p_node_key_txt"] volumes: mantle-fullnode: