diff --git a/yarn-project/sequencer-client/src/config.ts b/yarn-project/sequencer-client/src/config.ts index 5254df78ef8..47f06247b53 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 1718ed0a3a6..cb826f2c545 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 5590025020a..f0a2f3b5092 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 268baef40ca..5bdc2772a99 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';