Skip to content

Commit

Permalink
Merge pull request #5068 from connext/linea-mainnet-deployment
Browse files Browse the repository at this point in the history
feat: Linea mainnet deployment
  • Loading branch information
liu-zhipeng authored Nov 15, 2023
2 parents 30e8549 + b4bcb03 commit 80e3195
Show file tree
Hide file tree
Showing 93 changed files with 195,671 additions and 81,027 deletions.
5 changes: 3 additions & 2 deletions ops/env/mainnet/core/secrets.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"telegram_chat_id": "ENC[AES256_GCM,data:rh4ZXGVFCdeuF35ARLU=,iv:RMawywjIKIjO7UaosZu8yJwqb8pBNHo2sVZx1Z/HleY=,tag:HYkdxIzilPks1VFGUVUReA==,type:str]",
"betteruptime_api_key": "ENC[AES256_GCM,data:uPeoc6yenNIOLAp6aVE8Fwhe1oRMqLe4,iv:u77FsAFpYUGoULD5KfocOO/RQZpJObSDc2X+6tQbqJU=,tag:6lICgnJa5lB67dHpPvk83Q==,type:str]",
"graph_api_key": "ENC[AES256_GCM,data:5nkRWDAxzEiAt6XLPaJtgAPjG0axjJMPbrK23IIt/AU=,iv:wznDtTml4RUp2QZyWy7bzYJEej083+Qm9pQOCvb00bY=,tag:z/pxF0tK2XhS+QCHsVNCBA==,type:str]",
"infura_key": "ENC[AES256_GCM,data:OJ5IB0ajF9EfslXx8TKe1VDoOyyzQfrbd8THNcv4aUc=,iv:PfyJjRdJBfkg5i+YjuGOJowJKr+ADwETgaO5MhpLcP4=,tag:KIunMKrRW+WRQ7ahGSTZng==,type:str]",
"sops": {
"kms": [
{
Expand All @@ -42,8 +43,8 @@
"azure_kv": null,
"hc_vault": null,
"age": null,
"lastmodified": "2023-05-23T05:55:32Z",
"mac": "ENC[AES256_GCM,data:K6Czhh9QffEIdLzcDyAfz6Rs3iruhWV9EuBrhCsQFmI/ao00h6slDwQeJ7Gx2lqBBO5oLf69+snl+3aF8mLZTsEXWIBzjvTDuKwGvz7I+IG0bl6A5hD0ImbOIZU5awVYzADxsGjvhVOsTIqIhAHQpcSjTBpfyrkjwgOWwBhpQ8o=,iv:niemKPXuTQWn0+CY0F0hMecpxVDECw/RMSu6gPZ3KAo=,tag:TLF/HOIlfKM/mGzvqT9nAg==,type:str]",
"lastmodified": "2023-10-31T18:54:10Z",
"mac": "ENC[AES256_GCM,data:Bhw6WTSj4Hjr+jySmu1IbuwbeqkR0x3dXw6DA3yhcMyOsPDjQDCyaEENAj7A65DkuFi8Npa9+oq+C2l0M+ylo/GoaG/fCVD63XbElZImQPkcJJBIq6TsEkG44LWoUkrihMQVlmNegwuT9RbzSsxQQQiYeBdnaLaUBCRYWoKzYk0=,iv:5bdL/u3tmIUEIv5zbltDe7FjwLdnls7dnzh1vE6oTtA=,tag:hnDACS/LVFQ2nAbotOmRbQ==,type:str]",
"pgp": null,
"unencrypted_suffix": "_unencrypted",
"version": "3.7.3"
Expand Down
4 changes: 4 additions & 0 deletions ops/mainnet/prod/backend/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ locals {
"6778479" = {
providers = ["https://rpc.ankr.com/gnosis"]
}
"1818848877" = {
providers = ["https://rpc.linea.build"]
}
}

# The following are defined in variables.tf and don't map to the
Expand Down Expand Up @@ -81,6 +84,7 @@ locals {
"1634886255" = { confirmations = 1 }
"6450786" = { confirmations = 50 }
"6778479" = { confirmations = 100 }
"1818848877" = { confirmations = 10 }
}
environment = var.stage
healthUrls = {
Expand Down
29 changes: 28 additions & 1 deletion ops/mainnet/prod/core/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ locals {
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis"],
excludeListFromRelayerFee = ["0x6D4D82aE73DC9059Ac83B085b2505e00b5eF8511"]
}
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
}
web3SignerUrl = "https://${module.sequencer_web3signer.service_endpoint}"
relayers = [
Expand Down Expand Up @@ -198,6 +201,12 @@ locals {
queueLimit = 1000000
subscribe = true
},
{
name = "1818848877"
limit = 1
queueLimit = 1000000
subscribe = true
}
]
bindings = [
{
Expand Down Expand Up @@ -235,6 +244,11 @@ locals {
target = "6778479"
keys = ["6778479"]
},
{
exchange = "sequencerX"
target = "1818848877"
keys = ["1818848877"]
},
]
executerTimeout = 300000
prefetch = 1
Expand Down Expand Up @@ -280,6 +294,9 @@ locals {
"6778479" = {
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis"]
}
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
}
cartographerUrl = "https://postgrest.mainnet.connext.ninja"
web3SignerUrl = "https://${module.router_web3signer.service_endpoint}"
Expand Down Expand Up @@ -315,6 +332,9 @@ locals {
"6778479" = {
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com"]
}
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
}
gelatoApiKey = "${var.gelato_api_key}"
environment = var.stage
Expand Down Expand Up @@ -349,7 +369,8 @@ locals {
"1886350457" = 10,
"1634886255" = 10,
"6450786" = 10,
"6778479" = 10
"6778479" = 10,
"1818848877" = 10
}
messageQueue = {
connection = {
Expand Down Expand Up @@ -394,6 +415,9 @@ locals {
"6778479" = {
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis"]
}
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
}
environment = var.stage
web3SignerUrl = "https://${module.relayer_web3signer.service_endpoint}"
Expand Down Expand Up @@ -424,6 +448,9 @@ locals {
"6778479" = {
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis", "https://xdai-rpc.gateway.pokt.network", "https://rpc.gnosis.gateway.fm"]
}
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
}
web3SignerUrl = "https://${module.watcher_web3signer.service_endpoint}"
environment = var.stage
Expand Down
4 changes: 4 additions & 0 deletions ops/mainnet/prod/core/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ variable "blast_key" {
type = string
}

variable "infura_key" {
type = string
}

variable "pokt_key" {
type = string
}
Expand Down
Loading

0 comments on commit 80e3195

Please sign in to comment.