Fix ENV var for relayer signer aws keys (#400)

pull/402/head
Nam Chu Hoai 3 years ago committed by GitHub
parent 5f549bbaad
commit 301df65edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      typescript/infra/src/agents/index.ts

@ -171,12 +171,12 @@ export async function getAgentEnvVars<Networks extends ChainName>(
role === KEY_ROLE_ENUM.Kathy
) {
chainNames.forEach((chainName) => {
const key = new AgentAwsKey(agentConfig, role, chainName);
const key = new AgentAwsKey(agentConfig, role, outboxChainName);
envVars = envVars.concat(
configEnvVars(
key.keyConfig,
'BASE',
`SIGNERS_${outboxChainName.toUpperCase()}_`,
`SIGNERS_${chainName.toUpperCase()}_`,
),
);
});

Loading…
Cancel
Save