Skip to content

Commit e9e1f9c

Browse files
committed
Fixed compile errors
1 parent 38307da commit e9e1f9c

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

packages/sequencer/src/worker/worker/LocalTaskWorkerModule.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,16 @@ export class VanillaTaskWorkerModules {
153153
return {
154154
StateTransitionTask: {},
155155
RuntimeProvingTask: {},
156-
BlockProvingTask: {},
157-
BlockReductionTask: {},
156+
TransactionProvingTask: {},
158157
BlockBuildingTask: {},
158+
BlockReductionTask: {},
159159
StateTransitionReductionTask: {},
160160
SettlementProvingTask: {},
161161
CircuitCompilerTask: {},
162162
WorkerRegistrationTask: {},
163-
};
163+
} satisfies ModulesConfig<
164+
ReturnType<typeof VanillaTaskWorkerModules.allTasks>
165+
>;
164166
}
165167
}
166168

packages/stack/src/scripts/graphql/server.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -210,17 +210,7 @@ export async function startServer() {
210210

211211
Mempool: {},
212212
BatchProducerModule: {},
213-
LocalTaskWorkerModule: {
214-
StateTransitionTask: {},
215-
// SettlementProvingTask: {},
216-
BlockBuildingTask: {},
217-
BlockProvingTask: {},
218-
BlockReductionTask: {},
219-
RuntimeProvingTask: {},
220-
StateTransitionReductionTask: {},
221-
CircuitCompilerTask: {},
222-
WorkerRegistrationTask: {},
223-
},
213+
LocalTaskWorkerModule: VanillaTaskWorkerModules.defaultConfig(),
224214
BaseLayer: {},
225215
TaskQueue: {},
226216

0 commit comments

Comments
 (0)