From f8a4ccaad7c1c49e043880fab55dff8c12fe563f Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Fri, 14 Apr 2023 19:17:15 +0100 Subject: [PATCH] Deploy agents (#2096) ### Description Deploy to include new agent configs ### Drive-by changes rm txsubmission from infra following #2094 ### Related issues n/a ### Backward compatibility _Are these changes backward compatible?_ yes _Are there any infrastructure implications, e.g. changes that would prohibit deploying older commits using this infra tooling?_ Don't use txsubmission after this and #2094 ### Testing _What kind of testing have these changes undergone?_ Deployed & sent some msgs Co-authored-by: Mattie Conover --- typescript/infra/config/environments/mainnet2/agent.ts | 4 ++-- typescript/infra/config/environments/testnet3/agent.ts | 4 ++-- typescript/infra/src/agents/index.ts | 4 ---- typescript/infra/src/config/agent.ts | 4 ---- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/typescript/infra/config/environments/mainnet2/agent.ts b/typescript/infra/config/environments/mainnet2/agent.ts index 4ef95cc28..621a2fb46 100644 --- a/typescript/infra/config/environments/mainnet2/agent.ts +++ b/typescript/infra/config/environments/mainnet2/agent.ts @@ -26,7 +26,7 @@ export const hyperlane: AgentConfig = { context: Contexts.Hyperlane, docker: { repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', - tag: '5bf8aed-20230323-125721', + tag: 'd36cf61-20230414-164501', }, aws: { region: 'us-east-1', @@ -68,7 +68,7 @@ export const releaseCandidate: AgentConfig = { context: Contexts.ReleaseCandidate, docker: { repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', - tag: '5bf8aed-20230323-125721', + tag: 'd36cf61-20230414-164501', }, aws: { region: 'us-east-1', diff --git a/typescript/infra/config/environments/testnet3/agent.ts b/typescript/infra/config/environments/testnet3/agent.ts index 20996464c..1cd2584b9 100644 --- a/typescript/infra/config/environments/testnet3/agent.ts +++ b/typescript/infra/config/environments/testnet3/agent.ts @@ -26,7 +26,7 @@ export const hyperlane: AgentConfig = { context: Contexts.Hyperlane, docker: { repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', - tag: '5bf8aed-20230323-125721', + tag: 'd36cf61-20230414-164501', }, aws: { region: 'us-east-1', @@ -71,7 +71,7 @@ export const releaseCandidate: AgentConfig = { context: Contexts.ReleaseCandidate, docker: { repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', - tag: '5bf8aed-20230323-125721', + tag: 'd36cf61-20230414-164501', }, aws: { region: 'us-east-1', diff --git a/typescript/infra/src/agents/index.ts b/typescript/infra/src/agents/index.ts index f0d13788e..fe5c90fcf 100644 --- a/typescript/infra/src/agents/index.ts +++ b/typescript/infra/src/agents/index.ts @@ -4,7 +4,6 @@ import { utils } from '@hyperlane-xyz/utils'; import { Contexts } from '../../config/contexts'; import { AgentConfig, DeployEnvironment } from '../config'; import { ChainAgentConfig, CheckpointSyncerType } from '../config/agent'; -import { TransactionSubmissionType } from '../config/agent'; import { fetchGCPSecret } from '../utils/gcloud'; import { HelmCommand, @@ -63,9 +62,6 @@ async function helmValuesForChain( chains: agentConfig.environmentChainNames.map((envChainName) => ({ name: envChainName, disabled: !agentConfig.contextChainNames.includes(envChainName), - txsubmission: { - type: TransactionSubmissionType.Signer, - }, connection: baseConnectionConfig, })), // Only the relayer has the signers on the chains config object diff --git a/typescript/infra/src/config/agent.ts b/typescript/infra/src/config/agent.ts index 85129abb0..86394002c 100644 --- a/typescript/infra/src/config/agent.ts +++ b/typescript/infra/src/config/agent.ts @@ -188,10 +188,6 @@ export interface DockerConfig { tag: string; } -export enum TransactionSubmissionType { - Signer = 'signer', -} - export interface AgentConfig { runEnv: DeployEnvironment; namespace: string;