diff --git a/kurtosis_package/dockerfiles/egnkey.Dockerfile b/kurtosis_package/dockerfiles/egnkey.Dockerfile index 6df97356..b7be35a6 100644 --- a/kurtosis_package/dockerfiles/egnkey.Dockerfile +++ b/kurtosis_package/dockerfiles/egnkey.Dockerfile @@ -1,5 +1,5 @@ FROM golang:1.23 -RUN go install github.com/Layr-Labs/eigensdk-go/cmd/egnkey@latest +RUN go install github.com/Layr-Labs/eigensdk-go/cmd/egnkey@565bb44 ENTRYPOINT "egnkey" diff --git a/kurtosis_package/keys.star b/kurtosis_package/keys.star index 7a4d6461..0a7f6dec 100644 --- a/kurtosis_package/keys.star +++ b/kurtosis_package/keys.star @@ -35,7 +35,7 @@ def generate_all_keys(plan, context, keys): def generate_keys(plan, egnkey_service_name, key_type, artifact_name): output_dir = "/_output" - cmd = "rm -rf {output} && mkdir -p {output} && \ + cmd = "set -e ; rm -rf {output} && mkdir -p {output} && \ egnkey generate --key-type {type} --num-keys 1 --output-dir {output} ; \ cat {output}/password.txt | tr -d '\n'".format( output=output_dir, type=key_type @@ -55,7 +55,7 @@ def generate_keys(plan, egnkey_service_name, key_type, artifact_name): description="Storing " + key_type + " key", ) - cmd = "cat {}/private_key_hex.txt | tr -d '\n'".format(output_dir) + cmd = "set -e ; cat {}/private_key_hex.txt | tr -d '\n'".format(output_dir) result = plan.exec( service_name=egnkey_service_name,