diff --git a/typescript/helloworld/src/app/app.ts b/typescript/helloworld/src/app/app.ts index c0fc6e772..44cc7e1d3 100644 --- a/typescript/helloworld/src/app/app.ts +++ b/typescript/helloworld/src/app/app.ts @@ -9,6 +9,7 @@ import { MultiProvider, Remotes, } from '@abacus-network/sdk'; +import { debug } from '@abacus-network/utils'; import { HelloWorldContracts } from './contracts'; @@ -51,7 +52,12 @@ export class HelloWorldApp< gasLimit, value, }); - console.log(tx); + debug('Sending hello message', { + from, + to, + message, + tx, + }); return tx.wait(chainConnection.confirmations); } diff --git a/typescript/infra/helm/helloworld-kathy/templates/stateful-set.yaml b/typescript/infra/helm/helloworld-kathy/templates/stateful-set.yaml index 73c193cc2..42744af4d 100644 --- a/typescript/infra/helm/helloworld-kathy/templates/stateful-set.yaml +++ b/typescript/infra/helm/helloworld-kathy/templates/stateful-set.yaml @@ -7,6 +7,11 @@ metadata: abacus/context: {{ .Values.abacus.context | quote }} app.kubernetes.io/component: kathy spec: + selector: + matchLabels: + app.kubernetes.io/component: kathy + replicas: 1 + serviceName: helloworld-kathy template: metadata: labels: *metadata_labels @@ -27,8 +32,8 @@ spec: - name: CHAINS_TO_SKIP value: {{ join "," .Values.chainsToSkip }} - name: KATHY_FULL_CYCLE_TIME - value: {{ .Values.fullCycleTime }} + value: "{{ .Values.fullCycleTime }}" - name: KATHY_MESSAGE_SEND_TIMEOUT - value: {{ .Values.messageSendTimeout }} + value: "{{ .Values.messageSendTimeout }}" - name: KATHY_MESSAGE_RECEIPT_TIMEOUT - value: {{ .Values.messageReceiptTimeout }} + value: "{{ .Values.messageReceiptTimeout }}" diff --git a/typescript/infra/helm/helloworld-kathy/values.yaml b/typescript/infra/helm/helloworld-kathy/values.yaml index 27a656e12..ad091d3b9 100644 --- a/typescript/infra/helm/helloworld-kathy/values.yaml +++ b/typescript/infra/helm/helloworld-kathy/values.yaml @@ -3,6 +3,7 @@ image: tag: abacus: runEnv: testnet2 + context: abacus # Only used for fetching secrets, so all chains should be included regardless of being skipped chains: [] chainsToSkip: [] diff --git a/typescript/infra/scripts/helloworld/kathy.ts b/typescript/infra/scripts/helloworld/kathy.ts index c8ace749b..3de18fd70 100644 --- a/typescript/infra/scripts/helloworld/kathy.ts +++ b/typescript/infra/scripts/helloworld/kathy.ts @@ -49,7 +49,8 @@ metricsRegister.registerMetric(messageReceiptSeconds); /** How long we should take to go through all the message pairings in milliseconds. 6hrs by default. */ const FULL_CYCLE_TIME = - parseInt(process.env['KATHY_FULL_CYCLE_TIME'] as string) || 1000 * 100; + parseInt(process.env['KATHY_FULL_CYCLE_TIME'] as string) || + 1000 * 60 * 60 * 6; if (!Number.isSafeInteger(FULL_CYCLE_TIME) || FULL_CYCLE_TIME <= 0) { error('Invalid cycle time provided'); process.exit(1);