-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into lx/reinstate-aggregation
- Loading branch information
Showing
939 changed files
with
43,473 additions
and
19,320 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
INFRA=$1 | ||
DEPLOY_TAG=$2 | ||
API_KEY=$3 | ||
|
||
# When destroying and applying terraforms, they may not be | ||
# ready for a while, as it must register with DNS etc. | ||
# This script waits on a healthy status from the infra - a valid response to a request | ||
# We retry every 20 seconds, and wait for a total of 5 minutes (15 times) | ||
|
||
if [ "$INFRA" == "mainnet-fork" ]; then | ||
export ETHEREUM_HOST="https://$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$API_KEY" | ||
curl -H "Content-Type: application/json" -X POST --data '{"method":"eth_chainId","params":[],"id":49,"jsonrpc":"2.0"}' \ | ||
--connect-timeout 30 \ | ||
--retry 15 \ | ||
--retry-delay 20 \ | ||
$ETHEREUM_HOST | ||
elif [ "$INFRA" == "pxe" ]; then | ||
export PXE_URL="https://api.aztec.network/$DEPLOY_TAG/aztec-pxe/$API_KEY/status" | ||
curl \ | ||
--connect-timeout 30 \ | ||
--retry 15 \ | ||
--retry-delay 20 \ | ||
$PXE_URL | ||
else | ||
echo "Invalid infra type" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,6 @@ cmake-build-debug | |
.arg | ||
.secret | ||
.bb_tmp | ||
|
||
# Terraform | ||
*.tfvars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
90b636e71333cfe46c5e3062ded34b583fcb64d5 | ||
453ed590ae3ae6ee8a8d3113419fc51b825b2538 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
".": "0.46.6", | ||
".": "0.47.0", | ||
"yarn-project/cli": "0.35.1", | ||
"yarn-project/aztec": "0.46.6", | ||
"barretenberg": "0.46.6", | ||
"barretenberg/ts": "0.46.6" | ||
"yarn-project/aztec": "0.47.0", | ||
"barretenberg": "0.47.0", | ||
"barretenberg/ts": "0.47.0" | ||
} |
Oops, something went wrong.