[Blockchain Watcher] (ENV) Add more rpcs (#1160)

* Add more rpcs for testnet and mainnet

* Add more RESOURCES_LIMITS_MEMORY in production-testnet env

* Remove sui RPC

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
This commit is contained in:
Julian 2024-02-28 15:16:28 -03:00 committed by GitHub
parent a882355c05
commit 161878b15b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 75 additions and 19 deletions

View File

@ -45,14 +45,22 @@
"name": "polygon",
"network": "mumbai",
"chainId": 5,
"rpcs": ["https://rpc-mumbai.maticvigil.com"],
"rpcs": [
"https://rpc-mumbai.maticvigil.com",
"https://polygon-mumbai.blockpi.network/v1/rpc/public",
"https://polygon-testnet.public.blastapi.io"
],
"timeout": 10000
},
"avalanche": {
"name": "avalanche",
"network": "fuji",
"chainId": 6,
"rpcs": ["https://api.avax-test.network/ext/bc/C/rpc"],
"rpcs": [
"https://api.avax-test.network/ext/bc/C/rpc",
"https://avalanche-fuji-c-chain.publicnode.com",
"https://endpoints.omniatech.io/v1/avax/fuji/public"
],
"timeout": 10000
},
"oasis": {
@ -66,7 +74,11 @@
"name": "fantom",
"network": "testnet",
"chainId": 10,
"rpcs": ["https://rpc.testnet.fantom.network"],
"rpcs": [
"https://rpc.testnet.fantom.network",
"https://fantom-testnet.publicnode.com",
"https://fantom-testnet.public.blastapi.io"
],
"timeout": 10000
},
"karura": {
@ -94,14 +106,22 @@
"name": "celo",
"network": "alfajores",
"chainId": 14,
"rpcs": ["https://alfajores-forno.celo-testnet.org"],
"rpcs": [
"https://alfajores-forno.celo-testnet.org",
"https://celo-alfajores-rpc.allthatnode.com"
],
"timeout": 10000
},
"moonbeam": {
"name": "moonbeam",
"network": "testnet",
"chainId": 16,
"rpcs": ["https://rpc.api.moonbase.moonbeam.network"],
"rpcs": [
"https://rpc.api.moonbase.moonbeam.network",
"https://moonbase-alpha.public.blastapi.io",
"https://rpc.testnet.moonbeam.network",
"https://moonbase.unitedbloc.com:1000"
],
"timeout": 10000
},
"sui": {
@ -129,7 +149,11 @@
"name": "base",
"network": "goerli",
"chainId": 30,
"rpcs": ["https://base-goerli.publicnode.com"],
"rpcs": [
"https://base-goerli.publicnode.com",
"https://goerli.base.org",
"https://base-goerli.public.blastapi.io"
],
"timeout": 10000
},
"ethereum-sepolia": {

View File

@ -12,7 +12,8 @@
"https://rpc.mevblocker.io/noreverts",
"https://rpc.notadegen.com/eth",
"https://endpoints.omniatech.io/v1/eth/mainnet/public",
"https://ethereum.publicnode.com"
"https://ethereum.publicnode.com",
"https://eth-mainnet.public.blastapi.io"
]
},
"bsc": {
@ -30,7 +31,9 @@
"rpcs": [
"https://rpc-mainnet.matic.quiknode.pro",
"https://polygon-rpc.com",
"https://rpc-mainnet.maticvigil.com"
"https://rpc-mainnet.maticvigil.com",
"https://endpoints.omniatech.io/v1/matic/mainnet/public",
"https://polygon-bor.publicnode.com"
]
},
"avalanche": {
@ -38,7 +41,9 @@
"rpcs": [
"https://avalanche.blockpi.network/v1/rpc/public",
"https://api.avax.network/ext/bc/C/rpc",
"https://avalanche.public-rpc.com"
"https://avalanche.public-rpc.com",
"https://endpoints.omniatech.io/v1/avax/mainnet/public",
"https://avalanche-c-chain.publicnode.com"
]
},
"oasis": {
@ -51,6 +56,7 @@
"https://fantom.publicnode.com",
"https://rpc.fantom.network",
"https://rpc2.fantom.network",
"https://rpc3.fantom.network",
"https://rpc.ftm.tools"
]
},
@ -75,7 +81,7 @@
},
"celo": {
"network": "mainnet",
"rpcs": ["https://forno.celo.org"]
"rpcs": ["https://forno.celo.org", "https://1rpc.io/celo"]
},
"moonbeam": {
"network": "mainnet",
@ -88,11 +94,19 @@
},
"arbitrum": {
"network": "mainnet",
"rpcs": ["https://arb1.arbitrum.io/rpc", "https://arbitrum.blockpi.network/v1/rpc/public"]
"rpcs": [
"https://endpoints.omniatech.io/v1/arbitrum/one/public",
"https://arbitrum.blockpi.network/v1/rpc/public",
"https://arb1.arbitrum.io/rpc"
]
},
"optimism": {
"network": "mainnet",
"rpcs": ["https://mainnet.optimism.io", "https://optimism.publicnode.com"]
"rpcs": [
"https://op-pokt.nodies.app",
"https://mainnet.optimism.io",
"https://optimism.publicnode.com"
]
},
"base": {
"network": "mainnet",
@ -100,7 +114,9 @@
"https://base-pokt.nodies.app",
"https://base.publicnode.com",
"https://mainnet.base.org",
"https://rpc.notadegen.com/base"
"https://rpc.notadegen.com/base",
"https://1rpc.io/base",
"https://endpoints.omniatech.io/v1/base/mainnet/public"
]
},
"sui": {

View File

@ -8,10 +8,10 @@ IMAGE_NAME=
PORT=3005
LOG_LEVEL=debug
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_MEMORY=356Mi
RESOURCES_LIMITS_CPU=200m
RESOURCES_REQUESTS_MEMORY=96Mi
RESOURCES_REQUESTS_CPU=100m
RESOURCES_REQUESTS_CPU=150m
NODE_OPTIONS=--max-old-space-size=200
AWS_IAM_ROLE=

View File

@ -608,10 +608,6 @@ spec:
- name: POLYGON_RPCS
value: '{{ .POLYGON_RPCS }}'
{{ end }}
{{ if .AVALANCHE_RPCS }}
- name: AVALANCHE_RPCS
value: '{{ .AVALANCHE_RPCS }}'
{{ end }}
{{ if .BASE_SEPOLIA_RPCS }}
- name: BASE_SEPOLIA_RPCS
value: '{{ .BASE_SEPOLIA_RPCS }}'
@ -624,6 +620,10 @@ spec:
- name: ARBITRUM_SEPOLIA_RPCS
value: '{{ .ARBITRUM_SEPOLIA_RPCS }}'
{{ end }}
{{ if .CELO_RPCS }}
- name: CELO_RPCS
value: '{{ .CELO_RPCS }}'
{{ end }}
resources:
limits:
memory: {{ .RESOURCES_LIMITS_MEMORY }}

View File

@ -664,6 +664,14 @@ spec:
- name: ETHEREUM_HOLESKY_RPCS
value: '{{ .ETHEREUM_HOLESKY_RPCS }}'
{{ end }}
{{ if .BSC_RPCS }}
- name: BSC_RPCS
value: '{{ .BSC_RPCS }}'
{{ end }}
{{ if .AVALANCHE_RPCS }}
- name: AVALANCHE_RPCS
value: '{{ .AVALANCHE_RPCS }}'
{{ end }}
resources:
limits:
memory: {{ .RESOURCES_LIMITS_MEMORY }}

View File

@ -790,6 +790,14 @@ spec:
- name: ETHEREUM_HOLESKY_RPCS
value: '{{ .ETHEREUM_HOLESKY_RPCS }}'
{{ end }}
{{ if .BSC_RPCS }}
- name: BSC_RPCS
value: '{{ .BSC_RPCS }}'
{{ end }}
{{ if .CELO_RPCS }}
- name: CELO_RPCS
value: '{{ .CELO_RPCS }}'
{{ end }}
resources:
limits:
memory: {{ .RESOURCES_LIMITS_MEMORY }}