diff --git a/rust/config/testnet2/alfajores_config.json b/rust/config/testnet2/alfajores_config.json index 8ee0ec82e..cf11541ff 100644 --- a/rust/config/testnet2/alfajores_config.json +++ b/rust/config/testnet2/alfajores_config.json @@ -34,7 +34,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/arbitrumrinkeby_config.json b/rust/config/testnet2/arbitrumrinkeby_config.json index fb1347174..b608f4bdc 100644 --- a/rust/config/testnet2/arbitrumrinkeby_config.json +++ b/rust/config/testnet2/arbitrumrinkeby_config.json @@ -48,7 +48,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/bsctestnet_config.json b/rust/config/testnet2/bsctestnet_config.json index ddb270ccf..f2653e88a 100644 --- a/rust/config/testnet2/bsctestnet_config.json +++ b/rust/config/testnet2/bsctestnet_config.json @@ -48,7 +48,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/fuji_config.json b/rust/config/testnet2/fuji_config.json index 73fb2cba7..7e1d9399c 100644 --- a/rust/config/testnet2/fuji_config.json +++ b/rust/config/testnet2/fuji_config.json @@ -34,7 +34,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/kovan_config.json b/rust/config/testnet2/kovan_config.json index e95d6e3bd..b0ec60b32 100644 --- a/rust/config/testnet2/kovan_config.json +++ b/rust/config/testnet2/kovan_config.json @@ -34,7 +34,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/mumbai_config.json b/rust/config/testnet2/mumbai_config.json index 9c36909d8..31299e81b 100644 --- a/rust/config/testnet2/mumbai_config.json +++ b/rust/config/testnet2/mumbai_config.json @@ -94,7 +94,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/optimismkovan_config.json b/rust/config/testnet2/optimismkovan_config.json index 33e1b0418..1420e129b 100644 --- a/rust/config/testnet2/optimismkovan_config.json +++ b/rust/config/testnet2/optimismkovan_config.json @@ -48,7 +48,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/rust/helm/abacus-agent/templates/checkpointer-external-secret.yaml b/rust/helm/abacus-agent/templates/checkpointer-external-secret.yaml index 9316bf81c..4d99fef6a 100644 --- a/rust/helm/abacus-agent/templates/checkpointer-external-secret.yaml +++ b/rust/helm/abacus-agent/templates/checkpointer-external-secret.yaml @@ -5,6 +5,8 @@ metadata: name: {{ include "abacus-agent.fullname" . }}-checkpointer-external-secret labels: {{- include "abacus-agent.labels" . | nindent 4 }} + annotations: + update-on-redeploy: "{{ now }}" spec: secretStoreRef: name: {{ include "abacus-agent.cluster-secret-store.name" . }} diff --git a/rust/helm/abacus-agent/templates/external-secret.yaml b/rust/helm/abacus-agent/templates/external-secret.yaml index 89a05ea8e..ef4895eb5 100644 --- a/rust/helm/abacus-agent/templates/external-secret.yaml +++ b/rust/helm/abacus-agent/templates/external-secret.yaml @@ -4,6 +4,8 @@ metadata: name: {{ include "abacus-agent.fullname" . }}-external-secret labels: {{- include "abacus-agent.labels" . | nindent 4 }} + annotations: + update-on-redeploy: "{{ now }}" spec: secretStoreRef: name: {{ include "abacus-agent.cluster-secret-store.name" . }} diff --git a/rust/helm/abacus-agent/templates/kathy-external-secret.yaml b/rust/helm/abacus-agent/templates/kathy-external-secret.yaml index b538a34e2..078bcc9b8 100644 --- a/rust/helm/abacus-agent/templates/kathy-external-secret.yaml +++ b/rust/helm/abacus-agent/templates/kathy-external-secret.yaml @@ -5,6 +5,8 @@ metadata: name: {{ include "abacus-agent.fullname" . }}-kathy-external-secret labels: {{- include "abacus-agent.labels" . | nindent 4 }} + annotations: + update-on-redeploy: "{{ now }}" spec: secretStoreRef: name: {{ include "abacus-agent.cluster-secret-store.name" . }} diff --git a/rust/helm/abacus-agent/templates/relayer-external-secret.yaml b/rust/helm/abacus-agent/templates/relayer-external-secret.yaml index 960df2814..dceafeb45 100644 --- a/rust/helm/abacus-agent/templates/relayer-external-secret.yaml +++ b/rust/helm/abacus-agent/templates/relayer-external-secret.yaml @@ -5,6 +5,8 @@ metadata: name: {{ include "abacus-agent.fullname" . }}-relayer-external-secret labels: {{- include "abacus-agent.labels" . | nindent 4 }} + annotations: + update-on-redeploy: "{{ now }}" spec: secretStoreRef: name: {{ include "abacus-agent.cluster-secret-store.name" . }} diff --git a/rust/helm/abacus-agent/templates/validator-external-secret.yaml b/rust/helm/abacus-agent/templates/validator-external-secret.yaml index 557dfa7ba..9520cdd6f 100644 --- a/rust/helm/abacus-agent/templates/validator-external-secret.yaml +++ b/rust/helm/abacus-agent/templates/validator-external-secret.yaml @@ -5,6 +5,8 @@ metadata: name: {{ include "abacus-agent.fullname" . }}-validator-external-secret labels: {{- include "abacus-agent.labels" . | nindent 4 }} + annotations: + update-on-redeploy: "{{ now }}" spec: secretStoreRef: name: {{ include "abacus-agent.cluster-secret-store.name" . }} diff --git a/typescript/infra/config/environments/testnet2/agent.ts b/typescript/infra/config/environments/testnet2/agent.ts index 87046cd01..d1c331308 100644 --- a/typescript/infra/config/environments/testnet2/agent.ts +++ b/typescript/infra/config/environments/testnet2/agent.ts @@ -9,7 +9,7 @@ export const agent: AgentConfig = { runEnv: 'testnet2', docker: { repo: 'gcr.io/abacus-labs-dev/abacus-agent', - tag: 'sha-0b525b2', + tag: 'sha-d664980', }, aws: { region: 'us-east-1', @@ -36,24 +36,13 @@ export const agent: AgentConfig = { }, kathy: { default: { - enabled: false, - interval: 60 * 2, + enabled: true, + interval: 60 * 60, chat: { type: 'static', - message: '', - recipient: '', - }, - }, - chainOverrides: { - alfajores: { - enabled: true, - interval: 60 * 2, - chat: { - type: 'static', - message: 'f00', - recipient: - '0x000000000000000000000000d0d0ff5589da9b43031f8adf576b08476f587191', - }, + message: 'f00', + recipient: + '0x000000000000000000000000d0d0ff5589da9b43031f8adf576b08476f587191', }, }, }, diff --git a/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json b/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json index 8ee0ec82e..cf11541ff 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json @@ -34,7 +34,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json b/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json index fb1347174..b608f4bdc 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json @@ -48,7 +48,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json b/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json index ddb270ccf..f2653e88a 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json @@ -48,7 +48,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json b/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json index 73fb2cba7..7e1d9399c 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json @@ -34,7 +34,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json b/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json index e95d6e3bd..b0ec60b32 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json @@ -34,7 +34,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json b/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json index 9c36909d8..31299e81b 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json @@ -94,7 +94,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json b/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json index 33e1b0418..1420e129b 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json @@ -48,7 +48,7 @@ "domain": "80001", "name": "mumbai", "rpcStyle": "ethereum", - "finalityBlocks": "500", + "finalityBlocks": "32", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/src/config/agent.ts b/typescript/infra/src/config/agent.ts index f6a7bc7ba..d43982032 100644 --- a/typescript/infra/src/config/agent.ts +++ b/typescript/infra/src/config/agent.ts @@ -13,7 +13,7 @@ import { DeployEnvironment } from './environment'; // Allows a "default" config to be specified and any per-chain overrides. interface ChainOverridableConfig { default: T; - chainOverrides?: Partial>; + chainOverrides?: Partial>>; } // Returns the default config with any overriden values specified for the provided chain. diff --git a/typescript/sdk/src/chain-metadata.ts b/typescript/sdk/src/chain-metadata.ts index d4dbc9f4e..4dfcef7ec 100644 --- a/typescript/sdk/src/chain-metadata.ts +++ b/typescript/sdk/src/chain-metadata.ts @@ -62,7 +62,7 @@ export const kovan: ChainMetadata = { export const mumbai: ChainMetadata = { id: 80001, - finalityBlocks: 500, + finalityBlocks: 32, paginate: { // eth_getLogs and eth_newFilter are limited to a 10,000 blocks range blocks: 10000,