diff --git a/yarn-project/sequencer-client/src/global_variable_builder/global_builder.ts b/yarn-project/sequencer-client/src/global_variable_builder/global_builder.ts index 57d959dde225..076dd08ddca8 100644 --- a/yarn-project/sequencer-client/src/global_variable_builder/global_builder.ts +++ b/yarn-project/sequencer-client/src/global_variable_builder/global_builder.ts @@ -47,10 +47,11 @@ export interface GlobalVariableBuilder { } /** - * Simple implementation of a builder that uses the minimum time possible for the global variables. + * Simple test implementation of a builder that uses the minimum time possible for the global variables. + * Also uses a "hack" to make use of the warp cheatcode that manipulates time on Aztec. */ -export class SimpleGlobalVariableBuilder implements GlobalVariableBuilder { - private log = createDebugLogger('aztec:sequencer:simple_global_variable_builder'); +export class SimpleTestGlobalVariableBuilder implements GlobalVariableBuilder { + private log = createDebugLogger('aztec:sequencer:simple_test_global_variable_builder'); constructor(private readonly reader: L1GlobalReader) {} /** diff --git a/yarn-project/sequencer-client/src/global_variable_builder/index.ts b/yarn-project/sequencer-client/src/global_variable_builder/index.ts index b3b666b75139..8de0248afcc2 100644 --- a/yarn-project/sequencer-client/src/global_variable_builder/index.ts +++ b/yarn-project/sequencer-client/src/global_variable_builder/index.ts @@ -1,8 +1,8 @@ import { GlobalReaderConfig } from './config.js'; -import { GlobalVariableBuilder, SimpleGlobalVariableBuilder } from './global_builder.js'; +import { GlobalVariableBuilder, SimpleTestGlobalVariableBuilder } from './global_builder.js'; import { ViemReader } from './viem-reader.js'; -export { SimpleGlobalVariableBuilder } from './global_builder.js'; +export { SimpleTestGlobalVariableBuilder as SimpleGlobalVariableBuilder } from './global_builder.js'; export { GlobalReaderConfig } from './config.js'; /** @@ -11,5 +11,5 @@ export { GlobalReaderConfig } from './config.js'; * @returns A new instance of the global variable builder. */ export function getGlobalVariableBuilder(config: GlobalReaderConfig): GlobalVariableBuilder { - return new SimpleGlobalVariableBuilder(new ViemReader(config)); + return new SimpleTestGlobalVariableBuilder(new ViemReader(config)); }