Skip to content

Commit

Permalink
5834 x1 for mainnet - Main (#6130)
Browse files Browse the repository at this point in the history
* feat: add x layer domain

* feat: create domain hh task

* chore: correct str used in domain conversion

* feat: x layer mainnet hh & amb config

* feat: polygon zkevm bridge v2 abi and hh task

* fix: IPolygonZkEVMBridge

* fix: comment

* fix: X Layer L2 bridge contract address

* fix: update XLayer amb address

* feat: x layer config

* feat: x layer contract deployed

* feat: Xlayer mainnet hub connector deploy

* feat: x layer staging subgraph deploy

* fix: x layer staging init config (TODO: update multisig)

* fix: sendoutboundroot hh task

* feat: x layer lighthouse draft

* fix: x layer spoke mirror network id and redeploy

* fix: x layer claim hh task

* fix:  processFromRoot xlayer

* fix: unit tests

* fix: typo

* feat:  X Layer prod contract deployment

* feat: add multichain safe deploy command

* config: add correctly deployed safes

* config: remove hardcoded gas limit by default

* feat: add router admin assignment

* feat: get write tx for single message

* fix: handle no-args case

* feat: x layer prod subgraph

* feat: add xlayer safes

* fix: contract package bump

* fix: x layer WETH init

* feat: rebuild graph client

* feat: x layer ops

* feat: track roots sent from L1 to L2 in subgraph

* chore: update dependencies

* fix: update handler name

* chore: add xlayer graphclient & rebuild

* fix: empty claim, correct connector

* fix: save root message from L2 -> L1

* Revert "fix: save root message from L2 -> L1"

This reverts commit 07a0d6d.

* test: add unit tests for sendoutboundroot

* feat: (wip) multiple transactions

* feat: (wip) process spoke and oull messages from helper

* fix: remove subgraph changes

* fix: remove unused imports

* feat: rebuild graphclient

* fix: LH lint fix

* fix: processFromRoot for x layer

* fix: cleaner errors on undefined key

* fix: comments, logs, id of spoke claim

* fix: rename

* fix: existing tests

* fix: add xlayer helper tests

* fix: coverage

* fix: coverage

* fix: coverage

* fix: coverage

* fix: coverage

* ts fix

* fix: temp

* fix: remove logs

* fix: remove consoles

* fix: graphclient

* fix: prod ops config removed

---------

Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
Co-authored-by: just-a-node <eye1717@gmail.com>
Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: preethamr <preethamr@users.noreply.github.com>
  • Loading branch information
5 people authored Apr 30, 2024
1 parent 4b1df48 commit 66b0d0b
Show file tree
Hide file tree
Showing 173 changed files with 488,546 additions and 461,580 deletions.
Empty file added 5432
Empty file.
6 changes: 3 additions & 3 deletions ops/env/mainnet/core/secrets.staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"azure_kv": null,
"hc_vault": null,
"age": null,
"lastmodified": "2024-01-23T23:33:32Z",
"mac": "ENC[AES256_GCM,data:Bs8kkvs6Dh4MP16yAbOafFdpHYTlNNzwOJRtW+d8dVQgK9laKuAzFgCk+d5f+ouqc+42z09GPbe899g06rBNkkPeCiE+mRMkAgb1RKU45BMXdQz2rekt/aZlMzRmUIIDKWiRyuc3Y2pyPJQNMaPfrsbNTau1uR/OTvpllG3wylg=,iv:hD0tAu7DCKxwcU1uN7uCYTzYtipB9tMi4cgfNvPIUu8=,tag:OZT0TFuqvsm/ZZJkuRvQdA==,type:str]",
"lastmodified": "2024-04-23T08:20:33Z",
"mac": "ENC[AES256_GCM,data:JhfT//c6k/TTb6NQTzf+O6k0mbIEXAiyOuChARaPcLwtZCEjFhBUiK0IzDaIDm/rqiTEM3LxuFZgFIUI+qj7Nwj0LPPVU45749DcBa+psI3z5Hc3RPzwr1THxAVhsjcSkhj4UCCNB9u0td6GW0qLeQ4thxSwLF65kXiAUTWBdyg=,iv:vpdTb8Gavqq1supKqp/rwUiO9XlSf1s4bpZ+4yM9HVQ=,tag:If1JKzC+uEyqRydFdhHXpg==,type:str]",
"pgp": null,
"unencrypted_suffix": "_unencrypted",
"version": "3.7.3"
"version": "3.8.1"
}
}
2 changes: 1 addition & 1 deletion ops/mainnet/prod/backend/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ locals {
}
"1836016741" = {
providers = ["https://mode-mainnet.blastapi.io/${var.blast_key}", "https://mainnet.mode.network/"]
}
}
}

# The following are defined in variables.tf and don't map to the
Expand Down
14 changes: 7 additions & 7 deletions ops/mainnet/prod/core/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ locals {
}
"1836016741" = {
providers = ["https://mode-mainnet.blastapi.io/${var.blast_key}", "https://mainnet.mode.network/"]
}
}
}
web3SignerUrl = "https://${module.sequencer_web3signer.service_endpoint}"
relayers = [
Expand Down Expand Up @@ -263,7 +263,7 @@ locals {
limit = 1
queueLimit = 1000000
subscribe = true
}
},
]
bindings = [
{
Expand Down Expand Up @@ -340,7 +340,7 @@ locals {
exchange = "sequencerX"
target = "1836016741"
keys = ["1836016741"]
}
},
]
executerTimeout = 300000
prefetch = 1
Expand Down Expand Up @@ -409,7 +409,7 @@ locals {
}
"1836016741" = {
providers = ["https://mode-mainnet.blastapi.io/${var.blast_key}", "https://mainnet.mode.network/"]
}
}
}
cartographerUrl = "https://postgrest.mainnet.connext.ninja"
web3SignerUrl = "https://${module.router_web3signer.service_endpoint}"
Expand Down Expand Up @@ -468,7 +468,7 @@ locals {
}
"1836016741" = {
providers = ["https://mode-mainnet.blastapi.io/${var.blast_key}", "https://mainnet.mode.network/"]
}
}
}
gelatoApiKey = "${var.gelato_api_key}"
environment = var.stage
Expand Down Expand Up @@ -529,7 +529,7 @@ locals {
"1635148152" = 14400,
"1835365481" = 14400,
"1835101812" = 14400,
"1836016741" = 14400
"1836016741" = 14400
}
messageQueue = {
connection = {
Expand Down Expand Up @@ -601,7 +601,7 @@ locals {
}
"1836016741" = {
providers = ["https://mode-mainnet.blastapi.io/${var.blast_key}", "https://mainnet.mode.network/"]
}
}
}
environment = var.stage
web3SignerUrl = "https://${module.relayer_web3signer.service_endpoint}"
Expand Down
Loading

0 comments on commit 66b0d0b

Please sign in to comment.