Skip to content

Commit 80e3195

Browse files
authored
Merge pull request #5068 from connext/linea-mainnet-deployment
feat: Linea mainnet deployment
2 parents 30e8549 + b4bcb03 commit 80e3195

File tree

93 files changed

+195671
-81027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+195671
-81027
lines changed

ops/env/mainnet/core/secrets.prod.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"telegram_chat_id": "ENC[AES256_GCM,data:rh4ZXGVFCdeuF35ARLU=,iv:RMawywjIKIjO7UaosZu8yJwqb8pBNHo2sVZx1Z/HleY=,tag:HYkdxIzilPks1VFGUVUReA==,type:str]",
3030
"betteruptime_api_key": "ENC[AES256_GCM,data:uPeoc6yenNIOLAp6aVE8Fwhe1oRMqLe4,iv:u77FsAFpYUGoULD5KfocOO/RQZpJObSDc2X+6tQbqJU=,tag:6lICgnJa5lB67dHpPvk83Q==,type:str]",
3131
"graph_api_key": "ENC[AES256_GCM,data:5nkRWDAxzEiAt6XLPaJtgAPjG0axjJMPbrK23IIt/AU=,iv:wznDtTml4RUp2QZyWy7bzYJEej083+Qm9pQOCvb00bY=,tag:z/pxF0tK2XhS+QCHsVNCBA==,type:str]",
32+
"infura_key": "ENC[AES256_GCM,data:OJ5IB0ajF9EfslXx8TKe1VDoOyyzQfrbd8THNcv4aUc=,iv:PfyJjRdJBfkg5i+YjuGOJowJKr+ADwETgaO5MhpLcP4=,tag:KIunMKrRW+WRQ7ahGSTZng==,type:str]",
3233
"sops": {
3334
"kms": [
3435
{
@@ -42,8 +43,8 @@
4243
"azure_kv": null,
4344
"hc_vault": null,
4445
"age": null,
45-
"lastmodified": "2023-05-23T05:55:32Z",
46-
"mac": "ENC[AES256_GCM,data:K6Czhh9QffEIdLzcDyAfz6Rs3iruhWV9EuBrhCsQFmI/ao00h6slDwQeJ7Gx2lqBBO5oLf69+snl+3aF8mLZTsEXWIBzjvTDuKwGvz7I+IG0bl6A5hD0ImbOIZU5awVYzADxsGjvhVOsTIqIhAHQpcSjTBpfyrkjwgOWwBhpQ8o=,iv:niemKPXuTQWn0+CY0F0hMecpxVDECw/RMSu6gPZ3KAo=,tag:TLF/HOIlfKM/mGzvqT9nAg==,type:str]",
46+
"lastmodified": "2023-10-31T18:54:10Z",
47+
"mac": "ENC[AES256_GCM,data:Bhw6WTSj4Hjr+jySmu1IbuwbeqkR0x3dXw6DA3yhcMyOsPDjQDCyaEENAj7A65DkuFi8Npa9+oq+C2l0M+ylo/GoaG/fCVD63XbElZImQPkcJJBIq6TsEkG44LWoUkrihMQVlmNegwuT9RbzSsxQQQiYeBdnaLaUBCRYWoKzYk0=,iv:5bdL/u3tmIUEIv5zbltDe7FjwLdnls7dnzh1vE6oTtA=,tag:hnDACS/LVFQ2nAbotOmRbQ==,type:str]",
4748
"pgp": null,
4849
"unencrypted_suffix": "_unencrypted",
4950
"version": "3.7.3"

ops/mainnet/prod/backend/config.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ locals {
5050
"6778479" = {
5151
providers = ["https://rpc.ankr.com/gnosis"]
5252
}
53+
"1818848877" = {
54+
providers = ["https://rpc.linea.build"]
55+
}
5356
}
5457

5558
# The following are defined in variables.tf and don't map to the
@@ -81,6 +84,7 @@ locals {
8184
"1634886255" = { confirmations = 1 }
8285
"6450786" = { confirmations = 50 }
8386
"6778479" = { confirmations = 100 }
87+
"1818848877" = { confirmations = 10 }
8488
}
8589
environment = var.stage
8690
healthUrls = {

ops/mainnet/prod/core/config.tf

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ locals {
123123
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis"],
124124
excludeListFromRelayerFee = ["0x6D4D82aE73DC9059Ac83B085b2505e00b5eF8511"]
125125
}
126+
"1818848877" = {
127+
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
128+
}
126129
}
127130
web3SignerUrl = "https://${module.sequencer_web3signer.service_endpoint}"
128131
relayers = [
@@ -198,6 +201,12 @@ locals {
198201
queueLimit = 1000000
199202
subscribe = true
200203
},
204+
{
205+
name = "1818848877"
206+
limit = 1
207+
queueLimit = 1000000
208+
subscribe = true
209+
}
201210
]
202211
bindings = [
203212
{
@@ -235,6 +244,11 @@ locals {
235244
target = "6778479"
236245
keys = ["6778479"]
237246
},
247+
{
248+
exchange = "sequencerX"
249+
target = "1818848877"
250+
keys = ["1818848877"]
251+
},
238252
]
239253
executerTimeout = 300000
240254
prefetch = 1
@@ -280,6 +294,9 @@ locals {
280294
"6778479" = {
281295
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis"]
282296
}
297+
"1818848877" = {
298+
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
299+
}
283300
}
284301
cartographerUrl = "https://postgrest.mainnet.connext.ninja"
285302
web3SignerUrl = "https://${module.router_web3signer.service_endpoint}"
@@ -315,6 +332,9 @@ locals {
315332
"6778479" = {
316333
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com"]
317334
}
335+
"1818848877" = {
336+
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
337+
}
318338
}
319339
gelatoApiKey = "${var.gelato_api_key}"
320340
environment = var.stage
@@ -349,7 +369,8 @@ locals {
349369
"1886350457" = 10,
350370
"1634886255" = 10,
351371
"6450786" = 10,
352-
"6778479" = 10
372+
"6778479" = 10,
373+
"1818848877" = 10
353374
}
354375
messageQueue = {
355376
connection = {
@@ -394,6 +415,9 @@ locals {
394415
"6778479" = {
395416
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis"]
396417
}
418+
"1818848877" = {
419+
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
420+
}
397421
}
398422
environment = var.stage
399423
web3SignerUrl = "https://${module.relayer_web3signer.service_endpoint}"
@@ -424,6 +448,9 @@ locals {
424448
"6778479" = {
425449
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"]
426450
}
451+
"1818848877" = {
452+
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
453+
}
427454
}
428455
web3SignerUrl = "https://${module.watcher_web3signer.service_endpoint}"
429456
environment = var.stage

ops/mainnet/prod/core/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ variable "blast_key" {
138138
type = string
139139
}
140140

141+
variable "infura_key" {
142+
type = string
143+
}
144+
141145
variable "pokt_key" {
142146
type = string
143147
}

0 commit comments

Comments
 (0)