Revision a5fbbb3fb52309c968f1feffb2d371245081a451 authored by Marge Bot on 16 January 2024, 13:14:25 UTC, committed by Marge Bot on 16 January 2024, 13:14:25 UTC
Co-authored-by: Killian Delarue <killian.delarue@nomadic-labs.com> Approved-by: Arvid Jakobsson <arvid.jakobsson@nomadic-labs.com> Approved-by: Boubacar Sall <boubacar@nomadic-labs.com> Approved-by: pietro <pietro.abate@nomadic-labs.com> See merge request https://gitlab.com/tezos/tezos/-/merge_requests/11518
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://assets.nomadic-labs.cloud/dal_trusted_setup"
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_filecoin_g1_21
curl -s -o "${DAL_TRUSTED_SETUP}"/srs_zcash_g2 "${URL}"/srs_filecoin_g2_21
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...