You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current prover-client config is split over multiple different components and packages. We should clean up the types and co-locate them in a single package to simplify imports and workspace dependencies
import { type ACVMConfig, type BBConfig } from '@aztec/bb-prover';
import {
type ProverAgentConfig,
type ProverBrokerConfig,
type ProverConfig,
} from '@aztec/circuit-types';
export type ProverClientConfig = ProverConfig & ProverAgentConfig & ProverBrokerConfig & BBConfig & ACVMConfig;
As part of this change also use the ProverBrokerConfig in the ProvingBroker class (see comment):
class ProvingBroker {
public constructor(
private database: ProvingBrokerDatabase,
{ jobTimeoutMs = 30, timeoutIntervalMs = 10, maxRetries = 3 }: ProofRequestBrokerConfig = {}, // <=== this type is a duplicate and we should get rid of it
private logger = createDebugLogger('aztec:prover-client:proving-broker'),
) {}
}
The text was updated successfully, but these errors were encountered:
The current prover-client config is split over multiple different components and packages. We should clean up the types and co-locate them in a single package to simplify imports and workspace dependencies
As part of this change also use the
ProverBrokerConfig
in theProvingBroker
class (see comment):The text was updated successfully, but these errors were encountered: