https://gitlab.com/tezos/tezos
Raw File
Tip revision: ad7c7943579a37fb5a953f1332d0ce90e5e6e015 authored by Danny Willems on 14 March 2023, 15:34:26 UTC
Manifest: add missing transitive deps
Tip revision: ad7c794
install_dal_trusted_setup.sh
#!/usr/bin/env bash

set -e

script_dir="$(cd "$(dirname "$0")" && pwd -P)"

#shellcheck source=scripts/version.sh
. "$script_dir"/version.sh

# Install DAL trusted setup.
DAL_TRUSTED_SETUP="${OPAM_SWITCH_PREFIX}/share/dal-trusted-setup"
URL="https://f001.backblazeb2.com/file/shareshare"

echo "Installing DAL trusted setup in ${DAL_TRUSTED_SETUP}"
rm -rf "${DAL_TRUSTED_SETUP}"
mkdir -p "${DAL_TRUSTED_SETUP}"

curl -s -o "${DAL_TRUSTED_SETUP}"/srs_zcash_g1 "${URL}"/srs_zcash_g1
curl -s -o "${DAL_TRUSTED_SETUP}"/srs_zcash_g2 "${URL}"/srs_zcash_g2
back to top