Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync testnet prod #6329

Closed
wants to merge 124 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
df8a5ec
Merge pull request #5754 from connext/main
preethamr Feb 23, 2024
67865d7
Merge pull request #5755 from connext/testnet-prod
preethamr Feb 23, 2024
6278072
Merge pull request #5759 from connext/main
wanglonghong Feb 24, 2024
c8a43ca
Merge pull request #5760 from connext/testnet-prod
wanglonghong Feb 24, 2024
c0dac30
chore: update twitter link
just-a-node Feb 24, 2024
306fcb2
Merge pull request #5763 from connext/ci-kick
LayneHaber Feb 24, 2024
8e82cbf
Merge pull request #5768 from connext/main
preethamr Feb 27, 2024
a6ca9f1
Merge pull request #5771 from connext/testnet-prod
preethamr Feb 27, 2024
8004a04
Merge pull request #5774 from connext/main
preethamr Feb 27, 2024
4e2474b
Merge pull request #5775 from connext/testnet-prod
preethamr Feb 27, 2024
b790106
fix: reduce lh config to be less than 4kb
preethamr Feb 28, 2024
872f014
fix: temporarily disable mode
wanglonghong Feb 28, 2024
159fb6e
Merge pull request #5777 from connext/disable-mode-until-executed
wanglonghong Feb 28, 2024
7d36314
Merge branch 'prod' into fix_4kb_lh_tf_limit
wanglonghong Feb 28, 2024
e57c923
Merge pull request #5776 from connext/fix_4kb_lh_tf_limit
wanglonghong Feb 28, 2024
20d1555
feat: enable
wanglonghong Feb 28, 2024
377150d
Merge pull request #5783 from connext/prepare-terraform-config-for-mode
preethamr Feb 28, 2024
8aecd48
fix: upgrade postgrest version
liu-zhipeng Feb 29, 2024
99bfbce
Merge pull request #5788 from connext/hotfix-upgrade-postgrest
preethamr Feb 29, 2024
dc9859a
fix: update postgrest docker version
liu-zhipeng Feb 29, 2024
d62de93
Merge pull request #5789 from connext/hotfix-upgrade-postgrest
preethamr Feb 29, 2024
08f893a
chore: reduce arbitrum batch
wanglonghong Feb 29, 2024
902c305
Merge pull request #5795 from connext/reduce-batch-to-arbitrum
wanglonghong Feb 29, 2024
4da7aac
Merge pull request #5807 from connext/main
preethamr Mar 1, 2024
d49d9b4
Merge pull request #5808 from connext/testnet-prod
preethamr Mar 1, 2024
aff0f1b
fix: wrong endpoint
wanglonghong Mar 4, 2024
dcc2cf5
Merge pull request #5812 from connext/missing-param-router-status
wanglonghong Mar 4, 2024
95269df
chore: decrease
wanglonghong Mar 8, 2024
feef8ad
Merge pull request #5823 from connext/increase-prover-rate
wanglonghong Mar 8, 2024
3aae40b
fix: prove l2 chains every two hours at least
preethamr Mar 9, 2024
481dab4
Merge pull request #5824 from connext/hotfix_prove_l2_2h
preethamr Mar 9, 2024
2a64589
Merge pull request #5829 from connext/main
preethamr Mar 10, 2024
b4441f4
Merge pull request #5830 from connext/testnet-prod
preethamr Mar 10, 2024
1418bd9
fix: revert lh origin handle check
preethamr Mar 10, 2024
35dc502
Merge pull request #5832 from connext/hotfix_revert_prover_handle_check
preethamr Mar 10, 2024
83d5647
Merge pull request #5836 from connext/main
preethamr Mar 11, 2024
9f70a3b
Merge branch 'prod' into testnet-prod
preethamr Mar 11, 2024
a0ebf6e
Merge pull request #5837 from connext/testnet-prod
preethamr Mar 11, 2024
1c758f4
fix: remove blast metis rpc
liu-zhipeng Mar 15, 2024
ac211ba
fix: add metis public rpcs instead of blast
preethamr Mar 15, 2024
c075d8d
Merge pull request #5852 from connext/hotfix-remove-metis-blast-rpc
preethamr Mar 15, 2024
43ec66c
fix: deploy metis runtime subgraph to goldsky
liu-zhipeng Mar 16, 2024
1ab00b1
chore: rebuild graph client
liu-zhipeng Mar 16, 2024
1b387d1
chore: fresh install
LayneHaber Mar 16, 2024
c6d0f8a
Merge pull request #5859 from connext/fix-metis-goldsky-subgraph
preethamr Mar 16, 2024
5c0799e
chore: rebuild graph client
liu-zhipeng Mar 17, 2024
21aff4e
Merge pull request #5861 from connext/fix-metis-stableswap-goldsky-su…
wanglonghong Mar 18, 2024
68b5af1
fix: bump postgrest version
preethamr Mar 18, 2024
0431ad2
Merge pull request #5867 from connext/bump_prod_postgrest_version
preethamr Mar 18, 2024
2dfb902
Merge pull request #5869 from connext/prod
preethamr Mar 18, 2024
a8181a3
Merge pull request #5872 from connext/main
wanglonghong Mar 19, 2024
df7fe67
Merge pull request #5878 from connext/testnet-prod
wanglonghong Mar 19, 2024
ea33b55
chore: add mode backup subgraph
LayneHaber Mar 19, 2024
8bbd0e6
chore: rebuild graphclient
LayneHaber Mar 19, 2024
6b50a08
fix: remove bad subgraph from client
LayneHaber Mar 19, 2024
fa18767
Merge pull request #5884 from connext/backup-subgraph-mode
preethamr Mar 20, 2024
c90ff52
fix: increase the default lambda timeout
LayneHaber Mar 20, 2024
8fc7f5b
Merge pull request #5885 from connext/increase-lambda-timeout
preethamr Mar 20, 2024
7877824
Merge pull request #5902 from connext/main
preethamr Mar 21, 2024
5ee8af8
Merge pull request #5903 from connext/testnet-prod
preethamr Mar 22, 2024
8668e5a
fix: remove zksync config from prod seq
preethamr Mar 22, 2024
296ef8d
Merge pull request #5909 from connext/remove_zksync_tf_config
preethamr Mar 22, 2024
9f1d173
fix: remove zksync config from all
wanglonghong Mar 23, 2024
1f84bcd
Merge pull request #5912 from connext/rm-zksync-config-from-all
wanglonghong Mar 23, 2024
6870ad9
Merge branch 'main' into testnet-prod
preethamr Mar 26, 2024
453c9ca
fix: resolve merge conflicts
preethamr Mar 26, 2024
077197f
Merge pull request #5922 from connext/testnet-prod
preethamr Mar 26, 2024
74bf529
fix: derisk LH proposehub from RPC delay risk
preethamr Mar 28, 2024
966dc90
Merge pull request #5931 from connext/hotfix_lh_rpc_delay
preethamr Mar 29, 2024
a688e3d
Merge pull request #5941 from connext/main
preethamr Mar 29, 2024
27dbfd3
Merge pull request #5948 from connext/main
preethamr Mar 30, 2024
a5d8fe1
fix: bump up max safe roots
preethamr Mar 30, 2024
afcfbbf
Merge pull request #5950 from connext/hotfix_max_safe_roots
preethamr Mar 30, 2024
6be5f3f
fix: enforce messaging fees in sequencer
preethamr Mar 31, 2024
0185c6d
Merge pull request #5955 from connext/enforce_msg_fee
preethamr Mar 31, 2024
d5d5add
Merge pull request #5979 from connext/prod
preethamr Apr 3, 2024
2d7f863
Merge pull request #5987 from connext/main
preethamr Apr 5, 2024
4ca2bed
Merge pull request #5988 from connext/testnet-prod
preethamr Apr 5, 2024
f3cc940
fix: 85% buffer
LayneHaber Apr 8, 2024
9f6dc35
Merge pull request #5994 from connext/hotfix-fee-buffer
preethamr Apr 8, 2024
2e7dfd8
fix: increase relayerfee tolerance to 99
preethamr Apr 8, 2024
5abc957
Merge pull request #5998 from connext/hotfix_inc_relayerfee_tolerance
preethamr Apr 8, 2024
62906d0
Merge pull request #6001 from connext/main
preethamr Apr 8, 2024
5b35c35
Merge pull request #6002 from connext/testnet-prod
preethamr Apr 9, 2024
1030e81
chore: limiting the possible iterations
wanglonghong Apr 9, 2024
ad183ff
Revert "Hotfix inc relayerfee tolerance"
wanglonghong Apr 10, 2024
1fd94fc
Merge pull request #6009 from connext/revert-5998-hotfix_inc_relayerf…
wanglonghong Apr 10, 2024
3db5165
feat: decrease http prefetch count
wanglonghong Apr 10, 2024
46dc09a
Merge pull request #6006 from connext/handle-infinite-requeue
wanglonghong Apr 10, 2024
45f15d4
fix: remove bware subgraph
liu-zhipeng Apr 11, 2024
b1adaa3
fix: mantle goldsky subgraph
liu-zhipeng Apr 11, 2024
d033e35
chore: rebuild graph client
liu-zhipeng Apr 11, 2024
2a1520c
Merge pull request #6017 from connext/fix-remove-bware-subgraph
wanglonghong Apr 11, 2024
b4270c7
fix: add bware subgraph again
liu-zhipeng Apr 11, 2024
6412ffc
Merge pull request #6019 from connext/fix-add-bware-subgraph
wanglonghong Apr 11, 2024
7623ad6
Merge pull request #6042 from connext/main
preethamr Apr 16, 2024
77e2268
Merge pull request #6047 from connext/main
preethamr Apr 16, 2024
59fa29e
fix: hotfix prode mode subg
preethamr Apr 17, 2024
d1f6088
fix: update graph client
preethamr Apr 17, 2024
1df78bb
Merge pull request #6064 from connext/mode_subg_hotfix
preethamr Apr 17, 2024
1045731
fix: lowercase
wanglonghong Apr 22, 2024
5a4a9b7
Merge pull request #6086 from connext/fix-use-lowercase-for-router-st…
wanglonghong Apr 22, 2024
f3061d9
Merge pull request #6110 from connext/main
preethamr Apr 25, 2024
cf2b8cf
Merge pull request #6111 from connext/testnet-prod
preethamr Apr 25, 2024
1496c8d
fix: change order or mode subgraphs
preethamr Apr 25, 2024
ec72598
fix: update graph client for mode config changes
preethamr Apr 25, 2024
f865f94
Merge pull request #6114 from connext/hotfix_mode_subgraphs
preethamr Apr 25, 2024
20553d4
fix: remove bware mode runtime subgraph
preethamr Apr 26, 2024
8e31432
fix: build graph client
preethamr Apr 26, 2024
8efc017
Merge pull request #6120 from connext/remove_bware_mode_runtime
preethamr Apr 27, 2024
a9a4ddf
fix: base name change
LayneHaber May 1, 2024
12c91c7
chore: rebuild client
LayneHaber May 1, 2024
ada17e4
Merge pull request #6138 from connext/hotfix-prod-client
LayneHaber May 1, 2024
ce188da
fix: add bware mode runtime
preethamr May 7, 2024
a903925
fix: remove goldsky
wanglonghong May 7, 2024
6b9e435
Merge pull request #6152 from connext/fix/hotfix_add_bware_mode
wanglonghong May 7, 2024
7e10d3b
fix: it returns weird errors
wanglonghong May 15, 2024
f3924e3
Merge pull request #6175 from connext/hotfix-remove-ankr-gnosis
wanglonghong May 15, 2024
f0e748d
Merge branch 'main' into testnet-prod
just-a-node May 15, 2024
d2e9c3c
Merge pull request #6179 from connext/testnet-prod-main-sync
preethamr May 15, 2024
476c73f
Merge remote-tracking branch 'origin/testnet-prod' into prod
preethamr May 16, 2024
162d1e2
Merge pull request #6183 from connext/prod
preethamr May 16, 2024
4d5f738
Merge pull request #6204 from connext/main
preethamr May 19, 2024
e33cb0c
Merge branch 'main' into testnet-prod
just-a-node Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ Project Link: [https://github.com/connext/monorepo](https://github.com/connext/m
[discord-shield]: https://img.shields.io/discord/454734546869551114?&logo=discord
[discord-url]: https://discord.gg/m93Sqf4
[twitter-shield]: https://img.shields.io/twitter/follow/ConnextNetwork?style=social
[twitter-url]: https://twitter.com/ConnextNetwork
[twitter-url]: https://twitter.com/Connext
1 change: 1 addition & 0 deletions connext-vesting
Submodule connext-vesting added at 9e6c44
2 changes: 1 addition & 1 deletion ops/mainnet/prod/backend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module "postgrest" {
vpc_id = module.network.vpc_id
lb_subnets = module.network.public_subnets
internal_lb = false
docker_image = "postgrest/postgrest:v10.0.0.20221011"
docker_image = "postgrest/postgrest:v12.0.2"
container_family = "postgrest"
container_port = 3000
loadbalancer_port = 80
Expand Down
79 changes: 40 additions & 39 deletions ops/mainnet/prod/core/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ locals {
providers = ["https://bsc-mainnet.blastapi.io/${var.blast_key}", "https://bsc-dataseed1.binance.org", "https://bsc-dataseed2.binance.org", "https://rpc.ankr.com/bsc"]
}
"6778479" = {
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis"],
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com"],
excludeListFromRelayerFee = ["0x6D4D82aE73DC9059Ac83B085b2505e00b5eF8511"]
}
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
"2053862243" = {
providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
}
# "2053862243" = {
# providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
# }
"1887071085" = {
providers = ["https://polygon-zkevm-mainnet.blastapi.io/${var.blast_key}"]
}
Expand All @@ -132,7 +132,7 @@ locals {
providers = ["https://ava-mainnet.blastapi.io/${var.blast_key}/ext/bc/C/rpc"]
}
"1835365481" = {
providers = ["https://metis-mainnet.blastapi.io/${var.blast_key}"]
providers = ["https://metis.drpc.org", "https://andromeda.metis.io/?owner=1088"]
}
"1835101812" = {
providers = ["https://mantle-mainnet.blastapi.io/${var.blast_key}"]
Expand All @@ -157,8 +157,8 @@ locals {
url = "https://${module.relayer_server.service_endpoint}"
}
]
relayerFeeTolerance = 60
checkOnlyExecuteFee = true
relayerFeeTolerance = 85
checkOnlyExecuteFee = false
environment = var.stage
database = {
url = local.default_db_url
Expand All @@ -179,7 +179,7 @@ locals {
queues = [
{
name = "http"
limit = 100
limit = 10
queueLimit = 1000000
subscribe = true
},
Expand Down Expand Up @@ -225,12 +225,12 @@ locals {
queueLimit = 1000000
subscribe = true
},
{
name = "2053862243"
limit = 1
queueLimit = 1000000
subscribe = true
},
# {
# name = "2053862243"
# limit = 1
# queueLimit = 1000000
# subscribe = true
# },
{
name = "1887071085"
limit = 1
Expand Down Expand Up @@ -315,11 +315,11 @@ locals {
target = "1818848877"
keys = ["1818848877"]
},
{
exchange = "sequencerX"
target = "2053862243"
keys = ["2053862243"]
},
# {
# exchange = "sequencerX"
# target = "2053862243"
# keys = ["2053862243"]
# },
{
exchange = "sequencerX"
target = "1887071085"
Expand Down Expand Up @@ -403,9 +403,9 @@ locals {
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
"2053862243" = {
providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
}
# "2053862243" = {
# providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
# }
"1887071085" = {
providers = ["https://polygon-zkevm-mainnet.blastapi.io/${var.blast_key}"]
}
Expand All @@ -416,7 +416,7 @@ locals {
providers = ["https://ava-mainnet.blastapi.io/${var.blast_key}/ext/bc/C/rpc"]
}
"1835365481" = {
providers = ["https://metis-mainnet.blastapi.io/${var.blast_key}"]
providers = ["https://metis.drpc.org", "https://andromeda.metis.io/?owner=1088"]
}
"1835101812" = {
providers = ["https://mantle-mainnet.blastapi.io/${var.blast_key}"]
Expand Down Expand Up @@ -445,29 +445,29 @@ locals {
logLevel = "debug"
chains = {
"6648936" = {
providers = ["https://eth-mainnet.alchemyapi.io/v2/${var.mainnet_alchemy_key_1}", "https://eth-mainnet.blastapi.io/${var.blast_key}"]
providers = ["https://eth-mainnet.blastapi.io/${var.blast_key}"]
},
"1869640809" = {
providers = ["https://optimism-mainnet.blastapi.io/${var.blast_key}", "https://mainnet.optimism.io"]
providers = ["https://optimism-mainnet.blastapi.io/${var.blast_key}"]
},
"1886350457" = {
providers = ["https://polygon-mainnet.g.alchemy.com/v2/${var.polygon_alchemy_key_0}", "https://poly-mainnet.gateway.pokt.network/v1/lb/${var.pokt_key}", "https://polygon-mainnet.blastapi.io/${var.blast_key}", "https://polygon.llamarpc.com"]
providers = ["https://polygon-mainnet.blastapi.io/${var.blast_key}"]
},
"1634886255" = {
providers = ["https://arb-mainnet.g.alchemy.com/v2/${var.arbitrum_alchemy_key_0}", "https://arb1.arbitrum.io/rpc"]
providers = ["https://arb-mainnet.g.alchemy.com/v2/${var.arbitrum_alchemy_key_0}"]
},
"6450786" = {
providers = ["https://bsc-mainnet.blastapi.io/${var.blast_key}", "https://bsc-dataseed1.binance.org", "https://bsc-dataseed2.binance.org"]
providers = ["https://bsc-mainnet.blastapi.io/${var.blast_key}"]
}
"6778479" = {
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}", "https://rpc.gnosischain.com"]
providers = ["https://gnosis-mainnet.blastapi.io/${var.blast_key}"]
}
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
"2053862243" = {
providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}"]
}
# "2053862243" = {
# providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
# }
"1887071085" = {
providers = ["https://polygon-zkevm-mainnet.blastapi.io/${var.blast_key}"]
}
Expand All @@ -478,7 +478,7 @@ locals {
providers = ["https://ava-mainnet.blastapi.io/${var.blast_key}/ext/bc/C/rpc"]
}
"1835365481" = {
providers = ["https://metis-mainnet.blastapi.io/${var.blast_key}"]
providers = ["https://metis.drpc.org", "https://andromeda.metis.io/?owner=1088"]
}
"1835101812" = {
providers = ["https://mantle-mainnet.blastapi.io/${var.blast_key}"]
Expand Down Expand Up @@ -526,7 +526,7 @@ locals {
"6450786" = 10,
"6778479" = 10,
"1818848877" = 10,
"2053862243" = 10,
# "2053862243" = 10,
"1887071085" = 10,
"1650553709" = 10,
"1635148152" = 10,
Expand Down Expand Up @@ -570,6 +570,7 @@ locals {
server = {
adminToken = var.admin_token_lighthouse_prover_subscriber
}
maxSafeRoots = 9
})

local_relayer_config = jsonencode({
Expand Down Expand Up @@ -603,9 +604,9 @@ locals {
"1818848877" = {
providers = ["https://linea-mainnet.infura.io/v3/${var.infura_key}", "https://rpc.linea.build"]
}
"2053862243" = {
providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
}
# "2053862243" = {
# providers = ["https://zksync-mainnet.blastapi.io/${var.blast_key}"]
# }
"1887071085" = {
providers = ["https://polygon-zkevm-mainnet.blastapi.io/${var.blast_key}"]
}
Expand All @@ -616,7 +617,7 @@ locals {
providers = ["https://ava-mainnet.blastapi.io/${var.blast_key}/ext/bc/C/rpc"]
}
"1835365481" = {
providers = ["https://metis-mainnet.blastapi.io/${var.blast_key}"]
providers = ["https://metis.drpc.org", "https://andromeda.metis.io/?owner=1088"]
}
"1835101812" = {
providers = ["https://mantle-mainnet.blastapi.io/${var.blast_key}"]
Expand Down
2 changes: 1 addition & 1 deletion ops/mainnet/prod/core/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ module "lighthouse_prover_cron" {
container_env_vars = merge(local.lighthouse_env_vars, {
LIGHTHOUSE_SERVICE = "prover-pub"
})
schedule_expression = "rate(60 minutes)"
schedule_expression = "rate(10 minutes)"
timeout = 300
memory_size = 10240
lambda_in_vpc = true
Expand Down
2 changes: 1 addition & 1 deletion ops/modules/lambda/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ variable "schedule_expression" {

variable "timeout" {
description = "timeout for lambda"
default = 500
default = 750
}


Expand Down
2 changes: 1 addition & 1 deletion ops/testnet/prod/backend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module "postgrest" {
vpc_id = module.network.vpc_id
lb_subnets = module.network.public_subnets
internal_lb = false
docker_image = "postgrest/postgrest:v10.0.0.20221011"
docker_image = "postgrest/postgrest:v12.0.2"
container_family = "postgrest"
container_port = 3000
loadbalancer_port = 80
Expand Down
Loading
Loading