Skip to content

Commit

Permalink
fix: staging ops
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-zhipeng committed Oct 16, 2023
1 parent 6b6c64e commit bf2a2dc
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 31 deletions.
8 changes: 4 additions & 4 deletions ops/testnet/staging/backend/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ locals {
local_cartographer_config = jsonencode({
logLevel = "debug"
chains = {
"1735356532" = {}
"1735353714" = {}
"9991" = {}
"1734439522" = {}
"1735356532" = { confirmations = 1 }
"1735353714" = { confirmations = 10 }
"9991" = { confirmations = 200 }
"1734439522" = { confirmations = 1 }
}
environment = var.stage
})
Expand Down
2 changes: 1 addition & 1 deletion ops/testnet/staging/backend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module "cartographer-db-alarms" {
enable_free_storage_space_too_low_alarm = true
stage = var.stage
environment = var.environment
sns_topic_subscription_emails = ["[email protected]", "rahul@connext.network"]
sns_topic_subscription_emails = ["[email protected]", "rahul@proximalabs.io", "[email protected]", "[email protected]"]
}

module "postgrest" {
Expand Down
46 changes: 23 additions & 23 deletions ops/testnet/staging/core/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ locals {
"1734439522" = {
providers = ["https://arb-goerli.g.alchemy.com/v2/${var.arbgoerli_alchemy_key_0}", "https://goerli-rollup.arbitrum.io/rpc"]
}
"2053862260" = {
providers = ["https://zksync2-testnet.zksync.dev"]
}
# "2053862260" = {
# providers = ["https://zksync2-testnet.zksync.dev"]
# }
}
web3SignerUrl = "https://${module.sequencer_web3signer.service_endpoint}"
relayers = [
Expand Down Expand Up @@ -163,12 +163,12 @@ locals {
queueLimit = 100000
subscribe = true
},
{
name = "2053862260"
limit = 1
queueLimit = 100000
subscribe = true
},
# {
# name = "2053862260"
# limit = 1
# queueLimit = 100000
# subscribe = true
# },
{
name = "1734439522"
limit = 1
Expand Down Expand Up @@ -197,11 +197,11 @@ locals {
target = "9991"
keys = ["9991"]
},
{
exchange = "sequencerX"
target = "2053862260"
keys = ["2053862260"]
},
# {
# exchange = "sequencerX"
# target = "2053862260"
# keys = ["2053862260"]
# },
{
exchange = "sequencerX"
target = "1734439522"
Expand Down Expand Up @@ -245,9 +245,9 @@ locals {
"1734439522" = {
providers = ["https://arb-goerli.g.alchemy.com/v2/${var.arbgoerli_alchemy_key_0}", "https://goerli-rollup.arbitrum.io/rpc"]
}
"2053862260" = {
providers = ["https://zksync2-testnet.zksync.dev"]
}
# "2053862260" = {
# providers = ["https://zksync2-testnet.zksync.dev"]
# }
}
cartographerUrl = "https://postgrest.testnet.staging.connext.ninja"
web3SignerUrl = "https://${module.router_web3signer.service_endpoint}"
Expand Down Expand Up @@ -276,9 +276,9 @@ locals {
"1734439522" = {
providers = ["https://arb-goerli.g.alchemy.com/v2/${var.arbgoerli_alchemy_key_0}", "https://goerli-rollup.arbitrum.io/rpc"]
}
"2053862260" = {
providers = ["https://zksync2-testnet.zksync.dev"]
}
# "2053862260" = {
# providers = ["https://zksync2-testnet.zksync.dev"]
# }
}
gelatoApiKey = "${var.gelato_api_key}"
relayers = [
Expand Down Expand Up @@ -326,9 +326,9 @@ locals {
"1734439522" = {
providers = ["https://arb-goerli.g.alchemy.com/v2/${var.arbgoerli_alchemy_key_0}", "https://goerli-rollup.arbitrum.io/rpc"]
}
"2053862260" = {
providers = ["https://zksync2-testnet.zksync.dev"]
}
# "2053862260" = {
# providers = ["https://zksync2-testnet.zksync.dev"]
# }
}
environment = var.stage
web3SignerUrl = "https://${module.relayer_web3signer.service_endpoint}"
Expand Down
4 changes: 4 additions & 0 deletions ops/testnet/staging/core/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ output "router-subscriber-service-endpoint" {
value = module.router_subscriber.service_endpoint
}

output "router-executor-service-endpoint" {
value = module.router_executor.service_endpoint
}

output "relayer-service-endpoint" {
value = module.relayer.service_endpoint
}
Expand Down
6 changes: 3 additions & 3 deletions ops/testnet/staging/core/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ variable "full_image_name_router_publisher" {

variable "full_image_name_router_subscriber" {
type = string
description = "router image name"
description = "lighthouse subscriber image name"
default = "ghcr.io/connext/router-subscriber:sha-b5bb49a"
}

variable "full_image_name_lighthouse_prover_subscriber" {
type = string
description = "router image name"
description = "lighthouse prover image name"
default = "ghcr.io/connext/lighthouse-subscriber:sha-b5bb49a"
}

Expand Down Expand Up @@ -200,5 +200,5 @@ variable "betteruptime_api_key" {

variable "betteruptime_requester_email" {
type = string
default = "layne@connext.network"
default = "layne@proximalabs.io"
}

0 comments on commit bf2a2dc

Please sign in to comment.