File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed
Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Testnet Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - testnet
7+ pull_request :
8+ branches :
9+ - testnet
10+ workflow_dispatch :
11+
12+ concurrency :
13+ group : testnet-deploy
14+ cancel-in-progress : true
15+
16+ jobs :
17+ testnet-deploy-account :
18+ name : Deploy Account to Testnet
19+ runs-on : ubuntu-latest
20+ env :
21+ AZTEC_ENV : testnet
22+ L1_PRIVATE_KEY : ${{ secrets.L1_PRIVATE_KEY }}
23+
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v5
27+
28+ - name : Read Aztec version from config
29+ run : echo "AZTEC_VERSION=$(jq -r '.settings.version' config/testnet.json)" >> $GITHUB_ENV
30+
31+ - name : Set up Node.js
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : " 24"
35+ cache : " yarn"
36+
37+ - name : Install project dependencies
38+ run : yarn
39+
40+ - name : Deploy account to testnet
41+ run : yarn deploy-account::testnet
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " testnet" ,
3+ "environment" : " testnet" ,
4+ "network" : {
5+ "nodeUrl" : " https://rpc.testnet.aztec-labs.com" ,
6+ "l1RpcUrl" : " https://ethereum-sepolia-rpc.publicnode.com" ,
7+ "l1ChainId" : 11155111
8+ },
9+ "settings" : {
10+ "skipLocalNetwork" : true ,
11+ "version" : " 4.2.0-aztecnr-rc.2"
12+ },
13+ "timeouts" : {
14+ "deployTimeout" : 1200000 ,
15+ "txTimeout" : 180000 ,
16+ "waitTimeout" : 60000
17+ }
18+ }
Original file line number Diff line number Diff line change 1515 "compile" : " aztec compile" ,
1616 "deploy" : " NODE_NO_WARNINGS=1 node --loader ts-node/esm scripts/deploy_contract.ts" ,
1717 "deploy-account" : " NODE_NO_WARNINGS=1 node --loader ts-node/esm scripts/deploy_account.ts" ,
18+ "deploy-account::testnet" : " NODE_NO_WARNINGS=1 AZTEC_ENV=testnet node --loader ts-node/esm scripts/deploy_account.ts" ,
1819 "interaction-existing-contract" : " NODE_NO_WARNINGS=1 node --loader ts-node/esm scripts/interaction_existing_contract.ts" ,
1920 "multiple-wallet" : " NODE_NO_WARNINGS=1 node --loader ts-node/esm scripts/multiple_wallet.ts" ,
2021 "get-block" : " NODE_NO_WARNINGS=1 node --loader ts-node/esm scripts/get_block.ts" ,
You can’t perform that action at this time.
0 commit comments