Skip to content

Commit b3f77b1

Browse files
committed
fix(fast-inbox): bump the proving broker database schema version (A-1375)
Persisted broker jobs are keyed by the numeric ProvingRequestType, and this branch inserts BLOCK_ROOT_MSGS_ONLY_ROLLUP into the middle of the enum, shifting every later value. A prover restarted in place over an existing data directory would otherwise dequeue a stale job and hand it to the wrong prover method; the version check already discards a database whose schema version does not match.
1 parent 182ecbd commit b3f77b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • yarn-project/prover-client/src/proving_broker/proving_broker_database

yarn-project/prover-client/src/proving_broker/proving_broker_database/persisted.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import type { ProverBrokerConfig } from '../config.js';
2727
import type { ProvingBrokerDatabase } from '../proving_broker_database.js';
2828

2929
class SingleEpochDatabase {
30-
public static readonly SCHEMA_VERSION = 1;
30+
public static readonly SCHEMA_VERSION = 2;
3131

3232
private jobs: AztecAsyncMap<ProvingJobId, string>;
3333
private jobResults: AztecAsyncMap<ProvingJobId, string>;

0 commit comments

Comments
 (0)