Skip to content

Commit c5832a7

Browse files
committed
change nova to auto-evm
1 parent 45e5f4d commit c5832a7

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

resources/mainnet/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module "mainnet" {
7676
instance-count = var.instance_count["nova-indexer"]
7777
docker-org = "autonomys"
7878
docker-tag = "mainnet-2024-nov-28"
79-
domain-prefix = "nova-indexer"
79+
domain-prefix = "auto-evm-indexer"
8080
reserved-only = false
8181
prune = false
8282
node-dsn-port = 30433
@@ -109,7 +109,7 @@ module "mainnet" {
109109
instance-count = var.instance_count["domain"]
110110
docker-org = "autonomys"
111111
docker-tag = "mainnet-2024-nov-28"
112-
domain-prefix = ["nova", "autoid"]
112+
domain-prefix = ["auto-evm", "autoid"]
113113
reserved-only = false
114114
prune = false
115115
node-dsn-port = 30433

resources/mainnet/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ variable "domain_id" {
2020
variable "domain_labels" {
2121
description = "Tag of the domain to run"
2222
type = list(string)
23-
default = ["nova", "autoid"]
23+
default = ["auto-evm", "autoid"]
2424
}
2525

2626
variable "instance_type" {

resources/taurus/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module "taurus" {
7676
instance-count = var.instance_count["nova-indexer"]
7777
docker-org = "autonomys"
7878
docker-tag = "taurus-2024-nov-05"
79-
domain-prefix = "nova-indexer"
79+
domain-prefix = "auto-evm-indexer"
8080
reserved-only = false
8181
prune = false
8282
node-dsn-port = 30433
@@ -109,7 +109,7 @@ module "taurus" {
109109
instance-count = var.instance_count["domain"]
110110
docker-org = "autonomys"
111111
docker-tag = "taurus-2024-nov-05"
112-
domain-prefix = ["nova", "autoid"]
112+
domain-prefix = ["auto-evm", "autoid"]
113113
reserved-only = false
114114
prune = false
115115
node-dsn-port = 30433

resources/taurus/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ variable "domain_id" {
2020
variable "domain_labels" {
2121
description = "Tag of the domain to run"
2222
type = list(string)
23-
default = ["nova", "autoid"]
23+
default = ["auto-evm", "autoid"]
2424
}
2525

2626
variable "instance_type" {

templates/terraform/network-primitives/bootstrap_node_autoid_provisioner.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ resource "null_resource" "start-bootstrap-nodes-autoid" {
156156
"echo NODE_DSN_PORT=${var.bootstrap-node-autoid-config.node-dsn-port} >> /home/${var.ssh_user}/subspace/.env",
157157
"echo OPERATOR_PORT=${var.bootstrap-node-autoid-config.operator-port} >> /home/${var.ssh_user}/subspace/.env",
158158
"echo GENESIS_HASH=${var.bootstrap-node-autoid-config.genesis-hash} >> /home/${var.ssh_user}/subspace/.env",
159+
"echo POT_EXTERNAL_ENTROPY=${var.pot_external_entropy} >> /home/${var.ssh_user}/subspace/.env",
159160

160161
# create docker compose file
161162
"bash /home/${var.ssh_user}/subspace/create_compose_file.sh ${var.bootstrap-node-autoid-config.reserved-only} ${length(local.bootstrap_nodes_autoid_ip_v4)} ${count.index} ${length(local.bootstrap_nodes_ip_v4)} ${var.domain-node-config.enable-domains} ",

templates/terraform/network-primitives/bootstrap_node_evm_provisioner.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ resource "null_resource" "start-bootstrap-nodes-evm" {
156156
"echo NODE_DSN_PORT=${var.bootstrap-node-evm-config.node-dsn-port} >> /home/${var.ssh_user}/subspace/.env",
157157
"echo OPERATOR_PORT=${var.bootstrap-node-evm-config.operator-port} >> /home/${var.ssh_user}/subspace/.env",
158158
"echo GENESIS_HASH=${var.bootstrap-node-evm-config.genesis-hash} >> /home/${var.ssh_user}/subspace/.env",
159+
"echo POT_EXTERNAL_ENTROPY=${var.pot_external_entropy} >> /home/${var.ssh_user}/subspace/.env",
159160

160161
# create docker compose file
161162
"bash /home/${var.ssh_user}/subspace/create_compose_file.sh ${var.bootstrap-node-evm-config.reserved-only} ${length(local.bootstrap_nodes_evm_ip_v4)} ${count.index} ${length(local.bootstrap_nodes_ip_v4)} ${var.domain-node-config.enable-domains} ",

templates/terraform/network-primitives/dns.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,31 +97,31 @@ resource "cloudflare_record" "bootstrap_ipv6" {
9797
resource "cloudflare_record" "bootstrap_evm" {
9898
count = length(local.bootstrap_nodes_evm_ip_v4)
9999
zone_id = data.cloudflare_zone.cloudflare_zone.id
100-
name = "bootstrap-${count.index}.nova.${var.network_name}"
100+
name = "bootstrap-${count.index}.${var.domain-node-config.domain-prefix[0]}.${var.network_name}"
101101
value = local.bootstrap_nodes_evm_ip_v4[count.index]
102102
type = "A"
103103
}
104104

105105
resource "cloudflare_record" "bootstrap_evm_ipv6" {
106106
count = length(local.bootstrap_nodes_evm_ip_v4)
107107
zone_id = data.cloudflare_zone.cloudflare_zone.id
108-
name = "bootstrap-${count.index}.nova.${var.network_name}"
108+
name = "bootstrap-${count.index}.${var.domain-node-config.domain-prefix[0]}.${var.network_name}"
109109
value = local.bootstrap_nodes_evm_ip_v6[count.index]
110110
type = "AAAA"
111111
}
112112

113113
resource "cloudflare_record" "bootstrap_auto" {
114114
count = length(local.bootstrap_nodes_autoid_ip_v4)
115115
zone_id = data.cloudflare_zone.cloudflare_zone.id
116-
name = "bootstrap-${count.index}.auto.${var.network_name}"
116+
name = "bootstrap-${count.index}.${var.domain-node-config.domain-prefix[1]}.${var.network_name}"
117117
value = local.bootstrap_nodes_autoid_ip_v4[count.index]
118118
type = "A"
119119
}
120120

121121
resource "cloudflare_record" "bootstrap_auto_ipv6" {
122122
count = length(local.bootstrap_nodes_autoid_ip_v4)
123123
zone_id = data.cloudflare_zone.cloudflare_zone.id
124-
name = "bootstrap-${count.index}.auto.${var.network_name}"
124+
name = "bootstrap-${count.index}.${var.domain-node-config.domain-prefix[1]}.${var.network_name}"
125125
value = local.bootstrap_nodes_autoid_ip_v6[count.index]
126126
type = "AAAA"
127127
}

0 commit comments

Comments
 (0)