diff --git a/entrypoint.sh b/entrypoint.sh index 264620d..bee10a6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -70,8 +70,8 @@ gen_cl_config(){ fi /usr/local/bin/eth2-testnet-genesis "${genesis_args[@]}" /usr/local/bin/zcli pretty bellatrix BeaconState /data/custom_config_data/genesis.ssz > /data/custom_config_data/parsedBeaconState.json - jq -r '.eth1_data.block_hash' /data/custom_config_data/parsedBeaconState.json > /data/custom_config_data/deposit_contract_block_hash.txt - jq -r '.genesis_validators_root' /data/custom_config_data/parsedBeaconState.json > /data/custom_config_data/genesis_validators_root.txt + jq -r '.eth1_data.block_hash' /data/custom_config_data/parsedBeaconState.json | tr -d '\n' > /data/custom_config_data/deposit_contract_block_hash.txt + jq -r '.genesis_validators_root' /data/custom_config_data/parsedBeaconState.json | tr -d '\n' > /data/custom_config_data/genesis_validators_root.txt else echo "cl genesis already exists. skipping generation..." fi