From fe4538b36c1cdb19c0c7245f7a73c9f5ee131a4a Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:21:41 +0000 Subject: [PATCH] chore: remove dependency cycles in `sequencer-client` (#4017) --- yarn-project/sequencer-client/src/client/sequencer-client.ts | 4 +++- .../sequencer-client/src/sequencer/public_processor.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/yarn-project/sequencer-client/src/client/sequencer-client.ts b/yarn-project/sequencer-client/src/client/sequencer-client.ts index e826a761262..90a3003f5b7 100644 --- a/yarn-project/sequencer-client/src/client/sequencer-client.ts +++ b/yarn-project/sequencer-client/src/client/sequencer-client.ts @@ -5,8 +5,10 @@ import { WorldStateSynchronizer } from '@aztec/world-state'; import { SoloBlockBuilder } from '../block_builder/solo_block_builder.js'; import { SequencerClientConfig } from '../config.js'; import { getGlobalVariableBuilder } from '../global_variable_builder/index.js'; -import { Sequencer, SequencerConfig, getL1Publisher, getVerificationKeys } from '../index.js'; +import { getVerificationKeys } from '../mocks/verification_keys.js'; import { EmptyRollupProver } from '../prover/empty.js'; +import { getL1Publisher } from '../publisher/index.js'; +import { Sequencer, SequencerConfig } from '../sequencer/index.js'; import { PublicProcessorFactory } from '../sequencer/public_processor.js'; import { RealRollupCircuitSimulator } from '../simulator/rollup.js'; diff --git a/yarn-project/sequencer-client/src/sequencer/public_processor.ts b/yarn-project/sequencer-client/src/sequencer/public_processor.ts index f48eebbecfe..3d6010530f9 100644 --- a/yarn-project/sequencer-client/src/sequencer/public_processor.ts +++ b/yarn-project/sequencer-client/src/sequencer/public_processor.ts @@ -49,7 +49,7 @@ import { to2Fields } from '@aztec/foundation/serialize'; import { Timer } from '@aztec/foundation/timer'; import { MerkleTreeOperations } from '@aztec/world-state'; -import { getVerificationKeys } from '../index.js'; +import { getVerificationKeys } from '../mocks/verification_keys.js'; import { EmptyPublicProver } from '../prover/empty.js'; import { PublicProver } from '../prover/index.js'; import { PublicKernelCircuitSimulator } from '../simulator/index.js';