From 95a91cb668e1c7a2bb5351bf5774359505a562c2 Mon Sep 17 00:00:00 2001 From: Julian <52217955+julianmerlo95@users.noreply.github.com> Date: Mon, 2 Sep 2024 12:13:48 -0300 Subject: [PATCH] [Blockchain Watcher] (CONFIG) Rename jobs pvc (#1653) * Rename jobs pvc * Rename jobs pvc * Remove fromBlock value * Add klayer ankr rpc for testnet --------- Co-authored-by: julian merlo --- deploy/blockchain-watcher/env/production-testnet.env | 2 +- deploy/blockchain-watcher/env/staging-testnet.env | 2 +- .../workers/circle-message-sent-events-1.yaml | 1 - .../blockchain-watcher/workers/solana-source-events-1.yaml | 4 ++-- deploy/blockchain-watcher/workers/source-events-2.yaml | 5 ++--- deploy/blockchain-watcher/workers/target-events-1.yaml | 4 ++-- 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/deploy/blockchain-watcher/env/production-testnet.env b/deploy/blockchain-watcher/env/production-testnet.env index ea0eff5d..c92ddb04 100644 --- a/deploy/blockchain-watcher/env/production-testnet.env +++ b/deploy/blockchain-watcher/env/production-testnet.env @@ -49,7 +49,7 @@ SUI_RPCS='["https://fullnode.testnet.sui.io:443"]' BASE_RPCS='["https://base-goerli.publicnode.com","https://goerli.base.org","https://base-goerli.public.blastapi.io"]' OPTIMISM_RPCS='["https://sepolia.optimism.io"]' ARBITRUM_RPCS='["https://goerli-rollup.arbitrum.io/rpc"]' -XLAYER_RPCS='["https://xlayertestrpc.okx.com", "https://testrpc.xlayer.tech"]' +XLAYER_RPCS='["https://rpc.ankr.com/xlayer_testnet/${token_ankr}", "https://xlayertestrpc.okx.com", "https://testrpc.xlayer.tech"]' KARURA_RPCS='["https://eth-rpc-acala-testnet.aca-staging.network"]' MANTLE_RPCS='["https://rpc.sepolia.mantle.xyz"]' INJECTIVE_RPCS='["https://k8s.testnet.tm.injective.network:443","https://injective-testnet-rpc.polkachu.com"]' diff --git a/deploy/blockchain-watcher/env/staging-testnet.env b/deploy/blockchain-watcher/env/staging-testnet.env index 82b3ecfc..7441486c 100644 --- a/deploy/blockchain-watcher/env/staging-testnet.env +++ b/deploy/blockchain-watcher/env/staging-testnet.env @@ -50,7 +50,7 @@ SUI_RPCS='["https://fullnode.testnet.sui.io:443"]' BASE_RPCS='["https://base-goerli.publicnode.com","https://goerli.base.org","https://base-goerli.public.blastapi.io"]' OPTIMISM_RPCS='["https://sepolia.optimism.io"]' ARBITRUM_RPCS='["https://goerli-rollup.arbitrum.io/rpc"]' -XLAYER_RPCS='["https://xlayertestrpc.okx.com", "https://testrpc.xlayer.tech"]' +XLAYER_RPCS='["https://rpc.ankr.com/xlayer_testnet/${token_ankr}", "https://xlayertestrpc.okx.com", "https://testrpc.xlayer.tech"]' KARURA_RPCS='["https://eth-rpc-acala-testnet.aca-staging.network"]' MANTLE_RPCS='["https://rpc.sepolia.mantle.xyz"]' INJECTIVE_RPCS='["https://k8s.testnet.tm.injective.network:443","https://injective-testnet-rpc.polkachu.com"]' diff --git a/deploy/blockchain-watcher/workers/circle-message-sent-events-1.yaml b/deploy/blockchain-watcher/workers/circle-message-sent-events-1.yaml index 5081cbf7..a23d1ef5 100644 --- a/deploy/blockchain-watcher/workers/circle-message-sent-events-1.yaml +++ b/deploy/blockchain-watcher/workers/circle-message-sent-events-1.yaml @@ -91,7 +91,6 @@ data: "blockBatchSize": 100, "commitment": "finalized", "interval": 15000, - "fromBlock": 16853349, "filters": [ { "addresses": ["0xa9fb1b3009dcb79e2fe346c16a604b8fa8ae0a79"], diff --git a/deploy/blockchain-watcher/workers/solana-source-events-1.yaml b/deploy/blockchain-watcher/workers/solana-source-events-1.yaml index e7a83e6d..5b4f001f 100644 --- a/deploy/blockchain-watcher/workers/solana-source-events-1.yaml +++ b/deploy/blockchain-watcher/workers/solana-source-events-1.yaml @@ -18,7 +18,7 @@ spec: apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: blockchain-watcher-solana-pvc + name: blockchain-watcher-solana-source-events-1-pvc namespace: {{ .NAMESPACE }} labels: app: {{ .NAME }}-solana-source-events-1 @@ -170,7 +170,7 @@ spec: volumes: - name: metadata-volume persistentVolumeClaim: - claimName: blockchain-watcher-solana-pvc + claimName: blockchain-watcher-solana-source-events-1-pvc - name: jobs-volume configMap: name: {{ .NAME }}-solana-source-events-1-jobs diff --git a/deploy/blockchain-watcher/workers/source-events-2.yaml b/deploy/blockchain-watcher/workers/source-events-2.yaml index 0e500a4a..39269071 100644 --- a/deploy/blockchain-watcher/workers/source-events-2.yaml +++ b/deploy/blockchain-watcher/workers/source-events-2.yaml @@ -18,7 +18,7 @@ spec: apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: blockchain-watcher-eth-1-pvc + name: blockchain-watcher-source-events-2-pvc namespace: {{ .NAMESPACE }} labels: app: {{ .NAME }}-source-events-2 @@ -457,7 +457,6 @@ data: "source": { "action": "PollEvm", "config": { - "fromBlock": 120604056, "blockBatchSize": 100, "commitment": "latest", "interval": 5000, @@ -995,7 +994,7 @@ spec: volumes: - name: metadata-volume persistentVolumeClaim: - claimName: blockchain-watcher-eth-1-pvc + claimName: blockchain-watcher-source-events-2-pvc - name: jobs-volume configMap: name: {{ .NAME }}-source-events-2-jobs diff --git a/deploy/blockchain-watcher/workers/target-events-1.yaml b/deploy/blockchain-watcher/workers/target-events-1.yaml index 53929bd5..9a8ccbb6 100644 --- a/deploy/blockchain-watcher/workers/target-events-1.yaml +++ b/deploy/blockchain-watcher/workers/target-events-1.yaml @@ -18,7 +18,7 @@ spec: apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: blockchain-watcher-eth-2-pvc + name: blockchain-watcher-target-events-1-pvc namespace: {{ .NAMESPACE }} labels: app: {{ .NAME }}-target-events-1 @@ -1193,7 +1193,7 @@ spec: volumes: - name: metadata-volume persistentVolumeClaim: - claimName: blockchain-watcher-eth-2-pvc + claimName: blockchain-watcher-target-events-1-pvc - name: jobs-volume configMap: name: {{ .NAME }}-target-events-1-jobs