From 821a673acf11bb247d912e483b71ef51f7fe6268 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Mon, 16 Dec 2024 22:18:16 -0300 Subject: [PATCH] Fix build issue --- yarn-project/sequencer-client/src/config.ts | 5 ++--- yarn-project/sequencer-client/src/index.ts | 1 - yarn-project/sequencer-client/src/publisher/index.ts | 1 - yarn-project/sequencer-client/src/sequencer/config.ts | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/yarn-project/sequencer-client/src/config.ts b/yarn-project/sequencer-client/src/config.ts index 5254df78ef8b..47f06247b536 100644 --- a/yarn-project/sequencer-client/src/config.ts +++ b/yarn-project/sequencer-client/src/config.ts @@ -1,4 +1,4 @@ -import { type AllowedElement } from '@aztec/circuit-types'; +import { type AllowedElement, type SequencerConfig } from '@aztec/circuit-types/config'; import { AztecAddress, Fr, FunctionSelector } from '@aztec/circuits.js'; import { type L1ContractsConfig, @@ -21,10 +21,9 @@ import { getPublisherConfigMappings, getTxSenderConfigMappings, } from './publisher/config.js'; -import { type SequencerConfig } from './sequencer/config.js'; export * from './publisher/config.js'; -export * from './sequencer/config.js'; +export { SequencerConfig }; /** Chain configuration. */ type ChainConfig = { diff --git a/yarn-project/sequencer-client/src/index.ts b/yarn-project/sequencer-client/src/index.ts index 1718ed0a3a63..cb826f2c5451 100644 --- a/yarn-project/sequencer-client/src/index.ts +++ b/yarn-project/sequencer-client/src/index.ts @@ -1,7 +1,6 @@ export * from './client/index.js'; export * from './config.js'; export * from './publisher/index.js'; -export * from './sequencer/index.js'; // Used by the node to simulate public parts of transactions. Should these be moved to a shared library? // ISSUE(#9832) diff --git a/yarn-project/sequencer-client/src/publisher/index.ts b/yarn-project/sequencer-client/src/publisher/index.ts index 5590025020a3..f0a2f3b50927 100644 --- a/yarn-project/sequencer-client/src/publisher/index.ts +++ b/yarn-project/sequencer-client/src/publisher/index.ts @@ -1,3 +1,2 @@ export { L1Publisher, L1SubmitEpochProofArgs } from './l1-publisher.js'; export * from './test-l1-publisher.js'; -export * from './config.js'; diff --git a/yarn-project/sequencer-client/src/sequencer/config.ts b/yarn-project/sequencer-client/src/sequencer/config.ts index 268baef40ca6..5bdc2772a992 100644 --- a/yarn-project/sequencer-client/src/sequencer/config.ts +++ b/yarn-project/sequencer-client/src/sequencer/config.ts @@ -1 +1 @@ -export { SequencerConfig } from '@aztec/circuit-types/config'; +export { type SequencerConfig } from '@aztec/circuit-types/config';