-
Notifications
You must be signed in to change notification settings - Fork 233
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 sync-noir
* master: (102 commits) chore(ci): make syncing out to Noir manual (#5997) docs: update emit_event.md (#5964) chore: yarn build:dev don't clear terminal (#5970) fix: deploy L1 contracts before starting node (#5969) refactor: using poseidon2 when computing a nullifier (#5906) chore(ci): reenable spot git subrepo push --branch=master noir-projects/aztec-nr git_subrepo.sh: Fix parent in .gitrepo file. [skip ci] chore: replace relative paths to noir-protocol-circuits git subrepo push --branch=master barretenberg feat: Keshas skipping plus conditions for grand prod relations (#5766) feat!: delete field note (#5959) feat: Sync from noir (#5955) chore: Run flakey e2e tests on CI but allow failure (#5937) feat(avm): avm circuit FDIV opcode (#5958) feat!: remove slow updates tree (#5954) fix(avm): comments and assert (#5956) refactor: renaming `noir-compiler` as `builder` (#5951) feat(avm): negative tests (#5919) feat(avm): shift relations (#5716) ...
- Loading branch information
Showing
657 changed files
with
13,153 additions
and
16,137 deletions.
There are no files selected for viewing
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
File renamed without changes.
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,23 @@ | ||
{ | ||
"name": "React App", | ||
"image": "node:lts-bookworm", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||
}, | ||
"onCreateCommand": "cp -R /root/workspace /root/scripts && rm -rf /root/workspace/* && sh /root/scripts/onCreateCommand.sh app react", | ||
"postAttachCommand": "sh /root/scripts/postAttachCommand.sh app react", | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": ["noir-lang.vscode-noir"] | ||
} | ||
}, | ||
"hostRequirements": { | ||
"cpus": 8, | ||
"memory": "8gb", | ||
"storage": "32gb" | ||
}, | ||
"workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/scripts,target=/root/workspace,type=bind", | ||
"workspaceFolder": "/root/workspace", | ||
"forwardPorts": [8080] | ||
} |
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,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
TYPE=$1 | ||
NAME=$2 | ||
|
||
|
||
curl -s install.aztec.network | NON_INTERACTIVE=1 BIN_PATH=/usr/local/bin bash -s | ||
docker compose -f $HOME/.aztec/docker-compose.yml pull | ||
|
||
if ! grep -q "PXE_URL" ~/.bashrc; then | ||
echo "export PXE_URL=https://\$CODESPACE_NAME-8080.preview.\$GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN" >> ~/.bashrc | ||
fi | ||
|
||
yes | npx create-aztec-app -t $TYPE -n $NAME -s | ||
mv react/* react/.* . | ||
rm -rf react | ||
|
||
yarn | ||
|
||
npx -y playwright install --with-deps | ||
yarn prep |
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,65 @@ | ||
#!/usr/bin/env bash | ||
TYPE=$1 | ||
NAME=$2 | ||
|
||
apt install gh | ||
gh codespace ports visibility 8080:public -c $CODESPACE_NAME | ||
|
||
(nohup /usr/local/bin/aztec sandbox &) | ||
|
||
r=$(tput sgr0) # Reset color | ||
bold=$(tput bold) # Bold text | ||
g=$(tput setaf 46) # Light Green | ||
b=$(tput setaf 21) # Bright Blue | ||
p=$(tput setaf 13) # Magenta | ||
y=$(tput setaf 226) # Bright Yellow | ||
c=$(tput setaf 51) # Cyan | ||
o=$(tput setaf 208) # Orange | ||
|
||
# Function to print colored text | ||
print_colored() { | ||
case $2 in | ||
green) | ||
color=$g | ||
;; | ||
blue) | ||
color=$b | ||
;; | ||
magenta) | ||
color=$p | ||
;; | ||
yellow) | ||
color=$y | ||
;; | ||
cyan) | ||
color=$c | ||
;; | ||
orange) | ||
color=$o | ||
;; | ||
*) | ||
color=$r | ||
;; | ||
esac | ||
echo "${color}$1${r}" | ||
} | ||
|
||
echo | ||
echo "${bold}${c} █████╗ ███████╗████████╗███████╗ ██████╗${r}" | ||
echo "${bold}${o}██╔══██╗╚══███╔╝╚══██╔══╝██╔════╝██╔════╝${r}" | ||
echo "${bold}${g}███████║ ███╔╝ ██║ █████╗ ██║${r}" | ||
echo "${bold}${b}██╔══██║ ███╔╝ ██║ ██╔══╝ ██║${r}" | ||
echo "${bold}${p}██║ ██║███████╗ ██║ ███████╗╚██████╗${r}" | ||
echo "${bold}${y}╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝ ╚═════╝${r}" | ||
echo | ||
print_colored "${bold}Sandbox Codespace" "cyan" | ||
print_colored "${bold}Your codespace is ready with your chosen box! 🎉" "cyan" | ||
echo | ||
print_colored "All the packages are already installed, and you can now run yarn dev or any other package.json script." "magenta" | ||
print_colored "You can also use this codespace for its running sandbox, by connecting your local environment to it." "magenta" | ||
echo | ||
print_colored "To do so, set the PXE_URL to this codespace's sandbox URL:" "magenta" | ||
print_colored "${PXE_URL}" "green" | ||
print_colored "ex. PXE_URL=\"${PXE_URL}\" yarn dev" | ||
echo | ||
print_colored "${bold}Enjoy your sandbox! 🏖️" "orange" |
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 @@ | ||
{ | ||
"name": "Token Contract Only", | ||
"image": "node:lts-bookworm", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||
}, | ||
"onCreateCommand": ".devcontainer/scripts/onCreateCommand.sh contract token_contract", | ||
"postAttachCommand": ".devcontainer/scripts/postAttachCommand.sh contract token_contract", | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": ["noir-lang.vscode-noir"] | ||
} | ||
}, | ||
"workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/token_contract,target=/root/workspace,type=bind", | ||
"workspaceFolder": "/root/workspace", | ||
"hostRequirements": { | ||
"cpus": 8, | ||
"memory": "8gb", | ||
"storage": "32gb" | ||
}, | ||
"mounts": [ | ||
{ | ||
"source": "${localWorkspaceFolder}/.devcontainer/scripts", | ||
"target": "/root/workspace/.devcontainer/scripts", | ||
"type": "bind" | ||
} | ||
], | ||
"forwardPorts": [8080] | ||
} |
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 @@ | ||
{ | ||
"name": "Vanilla Typescript App", | ||
"image": "node:lts-bookworm", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||
}, | ||
"onCreateCommand": ".devcontainer/scripts/onCreateCommand.sh app vanilla", | ||
"postAttachCommand": ".devcontainer/scripts/postAttachCommand.sh app vanilla", | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": ["noir-lang.vscode-noir"] | ||
} | ||
}, | ||
"workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/vanilla,target=/root/workspace,type=bind", | ||
"workspaceFolder": "/root/workspace", | ||
"hostRequirements": { | ||
"cpus": 8, | ||
"memory": "8gb", | ||
"storage": "32gb" | ||
}, | ||
"mounts": [ | ||
{ | ||
"source": "${localWorkspaceFolder}/.devcontainer/scripts", | ||
"target": "/root/workspace/.devcontainer/scripts", | ||
"type": "bind" | ||
} | ||
], | ||
"forwardPorts": [8080] | ||
} |
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
Oops, something went wrong.