Fix rust output (#340)

pull/354/head
Nam Chu Hoai 3 years ago committed by GitHub
parent 39047bbf9f
commit 66123c10b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      typescript/infra/src/config/agent.ts
  2. 6
      typescript/infra/src/core/deploy.ts

@ -76,8 +76,8 @@ export type RustConfig = {
environment: DeployEnvironment;
signers: Partial<Record<ChainName, RustSigner>>;
// Agents have not yet been moved to use the Outbox/Inbox names.
replicas: Partial<Record<ChainName, RustContractBlock>>;
home: RustContractBlock;
inboxes: Partial<Record<ChainName, RustContractBlock>>;
outbox: RustContractBlock;
tracing: {
level: string;
fmt: 'json';

@ -178,8 +178,8 @@ export class AbacusCoreDeployer extends AbacusAppDeployer<
const rustConfig: RustConfig = {
environment,
signers: {},
replicas: {},
home: outbox,
inboxes: {},
outbox,
tracing: {
level: 'debug',
fmt: 'json',
@ -204,7 +204,7 @@ export class AbacusCoreDeployer extends AbacusAppDeployer<
},
};
rustConfig.replicas[remoteName] = inbox;
rustConfig.inboxes[remoteName] = inbox;
}
AbacusAppDeployer.writeJson(filepath, rustConfig);
}

Loading…
Cancel
Save