2022-09-05 08:57:02 +00:00
|
|
|
vega_binary_path = "vega"
|
|
|
|
|
|
|
|
network "testnet" {
|
|
|
|
ethereum {
|
|
|
|
chain_id = "1440"
|
|
|
|
network_id = "1441"
|
2022-11-30 10:48:22 +00:00
|
|
|
endpoint = "ws://127.0.0.1:8545/"
|
2022-09-05 08:57:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
faucet "faucet-1" {
|
|
|
|
wallet_pass = "f4uc3tw4ll3t-v3g4-p4ssphr4e3"
|
|
|
|
|
|
|
|
template = <<-EOT
|
|
|
|
[Node]
|
|
|
|
Port = 3002
|
|
|
|
IP = "127.0.0.1"
|
|
|
|
EOT
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_start {
|
|
|
|
docker_service "ganache-1" {
|
2023-11-22 08:02:47 +00:00
|
|
|
image = "vegaprotocol/ganache:v1.2.4"
|
2022-09-05 08:57:02 +00:00
|
|
|
cmd = "ganache-cli"
|
|
|
|
args = [
|
|
|
|
"--blockTime", "1",
|
|
|
|
"--chainId", "1440",
|
|
|
|
"--networkId", "1441",
|
|
|
|
"-h", "0.0.0.0",
|
|
|
|
"-p", "8545",
|
|
|
|
"-m", "ozone access unlock valid olympic save include omit supply green clown session",
|
|
|
|
"--db", "/app/ganache-db",
|
|
|
|
]
|
|
|
|
static_port {
|
|
|
|
value = 8545
|
|
|
|
to = 8545
|
|
|
|
}
|
|
|
|
auth_soft_fail = true
|
|
|
|
}
|
|
|
|
docker_service "postgres-1" {
|
2023-08-31 17:35:46 +00:00
|
|
|
# Read me for more details: https://github.com/vegaprotocol/docker/tree/main/timescaledb#timescaledb
|
|
|
|
image = "vegaprotocol/vegacapsule-timescaledb:2.8.0-pg14-v0.0.1"
|
2022-09-05 08:57:02 +00:00
|
|
|
cmd = "postgres"
|
|
|
|
args = []
|
2023-08-31 17:35:46 +00:00
|
|
|
env = {}
|
2022-10-14 15:54:27 +00:00
|
|
|
|
2022-09-05 08:57:02 +00:00
|
|
|
static_port {
|
|
|
|
value = 5232
|
|
|
|
to = 5432
|
|
|
|
}
|
2022-10-06 12:40:15 +00:00
|
|
|
resources {
|
|
|
|
cpu = 600
|
|
|
|
memory = 900
|
|
|
|
}
|
|
|
|
|
2022-11-08 17:44:01 +00:00
|
|
|
volume_mounts = ["${network_home_path}:${network_home_path}"]
|
|
|
|
|
2022-09-05 08:57:02 +00:00
|
|
|
auth_soft_fail = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
genesis_template_file = "./genesis.tmpl"
|
|
|
|
smart_contracts_addresses_file = "./public_smart_contracts_addresses.json"
|
|
|
|
|
|
|
|
node_set "validators" {
|
|
|
|
count = 2
|
|
|
|
mode = "validator"
|
|
|
|
|
|
|
|
node_wallet_pass = "n0d3w4ll3t-p4ssphr4e3"
|
|
|
|
vega_wallet_pass = "w4ll3t-p4ssphr4e3"
|
|
|
|
ethereum_wallet_pass = "ch41nw4ll3t-3th3r3um-p4ssphr4e3"
|
|
|
|
|
|
|
|
config_templates {
|
|
|
|
vega_file = "./node_set_templates/default/vega_validators.tmpl"
|
|
|
|
tendermint_file = "./node_set_templates/default/tendermint_validators.tmpl"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
node_set "full" {
|
|
|
|
count = 1
|
|
|
|
mode = "full"
|
2022-10-06 12:40:15 +00:00
|
|
|
use_data_node = true
|
2022-09-05 08:57:02 +00:00
|
|
|
|
2022-10-14 15:54:27 +00:00
|
|
|
pre_start_probe {
|
|
|
|
postgres {
|
|
|
|
connection = "user=vega dbname=vega{{ .NodeNumber }} password=vega port=5232 sslmode=disable"
|
|
|
|
query = "select 10 + 10"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-05 08:57:02 +00:00
|
|
|
config_templates {
|
|
|
|
vega_file = "./node_set_templates/default/vega_full.tmpl"
|
|
|
|
tendermint_file = "./node_set_templates/default/tendermint_full.tmpl"
|
|
|
|
data_node_file = "./node_set_templates/default/data_node_full_external_postgres.tmpl"
|
|
|
|
}
|
|
|
|
}
|
2022-10-14 15:54:27 +00:00
|
|
|
}
|