Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion dappnode_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"upstream": [
{
"repo": "AztecProtocol/aztec-packages",
"version": "v2.1.2",
"version": "v2.1.3",
"arg": "UPSTREAM_VERSION"
}
],
Expand Down Expand Up @@ -45,5 +45,12 @@
"sequencer"
]
}
],
"backup": [
{
"name": "keystore",
"path": "/keystore",
"service": "sequencer"
}
]
}
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ services:
build:
context: sequencer
args:
UPSTREAM_VERSION: v2.1.2
UPSTREAM_VERSION: v2.1.3
DATA_DIRECTORY: /data
volumes:
- sequencer-data:/data
- keystore-data:/keystore
environment:
KEY_STORE_DIRECTORY: /keystore
DATA_DIRECTORY: /data
COINBASE: ""
VALIDATOR_PRIVATE_KEYS: ""
LOG_LEVEL: info
restart: unless-stopped
volumes:
sequencer-data: {}
keystore-data: {}
4 changes: 4 additions & 0 deletions package_variants/mainnet/dappnode_package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "aztec.dnp.dappnode.eth",
"version": "0.1.0"
}
12 changes: 12 additions & 0 deletions package_variants/mainnet/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3.5"
services:
sequencer:
build:
args:
NETWORK: "mainnet"
environment:
ETHEREUM_HOSTS: http://execution.mainnet.dncore.dappnode:8545
L1_CONSENSUS_HOST_URLS: http://beacon-chain.mainnet.dncore.dappnode:3500
ports:
- 40400:40400/tcp
- 40400:40400/udp
9 changes: 5 additions & 4 deletions package_variants/sepolia/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ services:
args:
NETWORK: "testnet"
environment:
ETHEREUM_HOSTS: http://geth.sepolia-geth.dappnode:8545
L1_CONSENSUS_HOST_URLS: http://prysm-sepolia.dappnode:3500
ETHEREUM_HOSTS: http://execution.sepolia.dncore.dappnode:8545
L1_CONSENSUS_HOST_URLS: http://beacon-chain.sepolia.dncore.dappnode:3500
P2P_PORT: 40401
ports:
- 40400:40400/tcp
- 40400:40400/udp
- 40401:40401/tcp
- 40401:40401/udp
2 changes: 0 additions & 2 deletions sequencer/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -euo pipefail
# — Required environment variables
: "${ETHEREUM_HOSTS?Need to set ETHEREUM_HOSTS}"
: "${L1_CONSENSUS_HOST_URLS?Need to set L1_CONSENSUS_HOST_URLS}"
: "${VALIDATOR_PRIVATE_KEYS?Need to set VALIDATOR_PRIVATE_KEYS}"
: "${COINBASE?Need to set COINBASE}"
: "${_DAPPNODE_GLOBAL_PUBLIC_IP?Need to set _DAPPNODE_GLOBAL_PUBLIC_IP (your public IP)}"
: "${NETWORK?Need to set NETWORK (build arg)}"
: "${LOG_LEVEL:=info}"
Expand Down
8 changes: 4 additions & 4 deletions setup-wizard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ fields:
type: environment
name: VALIDATOR_PRIVATE_KEYS
service: [sequencer]
title: Validator Private Key
title: Validator Private Key - DEPRECATED, just for backup purposes
description: "Private key of testnet L1 EOA that holds Sepolia ETH (0.01 Sepolia ETH can get you started)"
required: true
required: false
secret: true
pattern: '^0x[a-fA-F0-9]{64}$'
patternErrorMessage: "Please enter a valid private key (0x followed by 64 hexadecimal characters)"
Expand All @@ -40,8 +40,8 @@ fields:
type: environment
name: COINBASE
service: [sequencer]
title: Coinbase Address
title: Coinbase Address - DEPRECATED, just for backup purposes
description: "Recipient of block rewards (for node security on mainnet, this should be a different address to the validator eoa)"
required: true
required: false
pattern: '^0x[a-fA-F0-9]{40}$'
patternErrorMessage: "Please enter a valid Ethereum address (0x followed by 40 hexadecimal characters)"