Skip to content

Commit

Permalink
Update start-testnet-client CSS download (#307)
Browse files Browse the repository at this point in the history
- Use the contents of production.json to determine the URL of the consensus-enclave.css
  • Loading branch information
joekottke authored Jul 22, 2020
1 parent c37d354 commit 09b09dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion start-testnet-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ source "$HOME/.cargo/env"
pushd "$(dirname "$0")"

echo "Pulling down TestNet consensus validator signature material"
curl -O https://enclave-distribution.test.mobilecoin.com/pool/81708af1c53bc1c3a44eac9060f664277d5c8e6a/bf7fa957a6a94acb588851bc8767eca5776c79f4fc2aa6bcb99312c3c386c/consensus-enclave.css

SIGSTRUCT_URI=$(curl -s https://enclave-distribution.test.mobilecoin.com/production.json | grep sigstruct | awk '{print $2}' | tr -d \")
curl -O https://enclave-distribution.test.mobilecoin.com/${SIGSTRUCT_URI}

TARGETDIR=./target/release

Expand Down

0 comments on commit 09b09dc

Please sign in to comment.