Skip to content

Commit 4ed7205

Browse files
fix: vector-testnet should be treated as mainnet
1 parent eb0812b commit 4ed7205

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

bootstrap/instance/submitapi.tf

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,17 @@ resource "kubernetes_deployment_v1" "submitapi" {
5252
name = "main"
5353
image = var.image
5454
image_pull_policy = "IfNotPresent"
55-
args = [
55+
args = var.network == "vector-testnet" ? [
56+
"--mainnet",
57+
"--config",
58+
"/config/submit-api-config.json",
59+
"--socket-path",
60+
"/ipc/node.socket",
61+
"--port",
62+
local.container_port,
63+
"--listen-address",
64+
"0.0.0.0",
65+
] : [
5666
"--testnet-magic",
5767
var.testnet_magic,
5868
"--config",

0 commit comments

Comments
 (0)