-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: local Aztec devnet & sandbox (#24) * feat: being able to fetch block by height/hash (#25) * feat: aztec sandbox reachable from outside minikube (#28) * feat: storing l2 contract data (#17) * devops: https implementation (#29) * feat: initial ui block component (#35) * feat: aztec-listener catch-up from genesis (#34) * feat: add separate API-route for transactions #36 (#37) * feat: adding transactions page and transaction details page (#42) * feat: real data for block component (#41) * hotfix: removed unused import for DB-controller * bug: production frontend error fix (#43) --------- Co-authored-by: Filip Harald <[email protected]>
- Loading branch information
1 parent
a7b0942
commit 2264597
Showing
107 changed files
with
5,493 additions
and
7,154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CHICMOZ_AZTEC_API_KEY=xxx | ||
CHICMOZ_AZTEC_PRIVATE_KEY=xxx | ||
CHICMOZ_AZTEC_ETH_ADDRESS=xxx | ||
CHICMOZ_AZTEC_L1_DEV_COIN=xxx | ||
CHICMOZ_AZTEC_DEV_COIN_PORTAL=xxx | ||
CHICMOZ_AZTEC_L1_FEE_JUICE=xxx |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: anvil-ethereum-node | ||
name: anvil-ethereum-node | ||
namespace: chicmoz | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: anvil-ethereum-node | ||
strategy: {} | ||
template: | ||
metadata: | ||
labels: | ||
app: anvil-ethereum-node | ||
spec: | ||
containers: | ||
- image: ghcr.io/foundry-rs/foundry@sha256:29ba6e34379e79c342ec02d437beb7929c9e254261e8032b17e187be71a2609f | ||
name: anvil-ethereum-node | ||
resources: | ||
limits: | ||
memory: 4096Mi | ||
cpu: 250m | ||
args: | ||
- "anvil -p 8545 --host 0.0.0.0 --chain-id 31337" | ||
ports: | ||
- name: anvil-port | ||
containerPort: 8545 | ||
protocol: TCP | ||
status: {} |
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,20 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: ingress-anvil-ethereum-node | ||
namespace: chicmoz | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: anvil-ethereum-node.localhost | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: anvil-ethereum-node | ||
port: | ||
name: anvil-port | ||
path: / | ||
pathType: Prefix | ||
status: | ||
loadBalancer: {} |
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,13 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: anvil-ethereum-node | ||
namespace: chicmoz | ||
spec: | ||
selector: | ||
app: anvil-ethereum-node | ||
ports: | ||
- name: anvil-port | ||
protocol: TCP | ||
port: 8545 | ||
targetPort: 8545 |
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,93 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: aztec-devnet-node | ||
name: aztec-devnet-node | ||
namespace: chicmoz | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: aztec-devnet-node | ||
strategy: {} | ||
template: | ||
metadata: | ||
labels: | ||
app: aztec-devnet-node | ||
spec: | ||
containers: | ||
- image: aztecprotocol/aztec:devnet | ||
name: aztec-devnet-node | ||
resources: | ||
limits: | ||
memory: 4096Mi | ||
cpu: 250m | ||
args: | ||
- start | ||
- --pxe | ||
- --pxe.network | ||
- devnet | ||
- --pxe.apiKey=$(AZTEC_API_KEY) | ||
env: | ||
- name: AZTEC_API_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_API_KEY | ||
- name: DEBUG | ||
value: "aztec:*" | ||
- name: ETHEREUM_HOST | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_ETHEREUM_HOST | ||
- name: L1_CHAIN_ID | ||
value: "677692" | ||
- name: ARCHIVER_POLLING_INTERVAL_MS | ||
value: "50" | ||
- name: P2P_BLOCK_CHECK_INTERVAL_MS | ||
value: "50" | ||
- name: SEQ_TX_POLLING_INTERVAL_MS | ||
value: "50" | ||
- name: WS_BLOCK_CHECK_INTERVAL_MS | ||
value: "50" | ||
- name: PXE_BLOCK_POLLING_INTERVAL_MS | ||
value: "50" | ||
- name: ARCHIVER_VIEM_POLLING_INTERVAL_MS | ||
value: "500" | ||
- name: PXE_PORT | ||
value: "8080" | ||
- name: AZTEC_PORT | ||
value: "8080" | ||
- name: FAUCET_ENDPOINT | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_FAUCET_ENDPOINT | ||
- name: PRIVATE_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_PRIVATE_KEY | ||
- name: ETH_ADDRESS | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_ETH_ADDRESS | ||
- name: L1_DEV_COIN | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_L1_DEV_COIN | ||
- name: DEV_COIN_PORTAL | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_DEV_COIN_PORTAL | ||
- name: L1_FEE_JUICE | ||
valueFrom: | ||
secretKeyRef: | ||
name: global | ||
key: CHICMOZ_AZTEC_L1_FEE_JUICE | ||
status: {} |
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,13 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: aztec-devnet-node | ||
namespace: chicmoz | ||
spec: | ||
selector: | ||
app: aztec-devnet-node | ||
ports: | ||
- name: pxe-port | ||
protocol: TCP | ||
port: 8080 | ||
targetPort: 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 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,56 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: aztec-sandbox-node | ||
name: aztec-sandbox-node | ||
namespace: chicmoz | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: aztec-sandbox-node | ||
strategy: {} | ||
template: | ||
metadata: | ||
labels: | ||
app: aztec-sandbox-node | ||
spec: | ||
containers: | ||
- image: aztecprotocol/aztec:0.53.0 | ||
name: aztec-sandbox-node | ||
resources: | ||
limits: | ||
memory: 4096Mi | ||
cpu: 250m | ||
args: | ||
- start | ||
- --sandbox | ||
ports: | ||
- name: pxe-port | ||
containerPort: 8081 | ||
protocol: TCP | ||
env: | ||
- name: DEBUG | ||
value: "aztec:*" | ||
- name: ETHEREUM_HOST | ||
value: "http://anvil-ethereum-node:8545" | ||
- name: L1_CHAIN_ID | ||
value: "31337" | ||
- name: ARCHIVER_POLLING_INTERVAL_MS | ||
value: "50" | ||
- name: P2P_BLOCK_CHECK_INTERVAL_MS | ||
value: "50" | ||
- name: SEQ_TX_POLLING_INTERVAL_MS | ||
value: "50" | ||
- name: WS_BLOCK_CHECK_INTERVAL_MS | ||
value: "50" | ||
- name: PXE_BLOCK_POLLING_INTERVAL_MS | ||
value: "50" | ||
- name: ARCHIVER_VIEM_POLLING_INTERVAL_MS | ||
value: "500" | ||
- name: PXE_PORT | ||
value: "8081" | ||
- name: AZTEC_PORT | ||
value: "8081" | ||
status: {} |
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,22 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: ingress-aztec-sandbox-node | ||
namespace: chicmoz | ||
annotations: | ||
nginx.ingress.kubernetes.io/proxy-body-size: "0" | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: aztec-sandbox-node.localhost | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: aztec-sandbox-node | ||
port: | ||
name: pxe-port | ||
path: / | ||
pathType: Prefix | ||
status: | ||
loadBalancer: {} |
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,13 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: aztec-sandbox-node | ||
namespace: chicmoz | ||
spec: | ||
selector: | ||
app: aztec-sandbox-node | ||
ports: | ||
- name: pxe-port | ||
protocol: TCP | ||
port: 8081 | ||
targetPort: 8081 |
Oops, something went wrong.