Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yarn-project/archiver/src/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import { Buffer32 } from '@aztec/foundation/buffer';
import { merge } from '@aztec/foundation/collection';
import { Fr } from '@aztec/foundation/curves/bn254';
import { DateProvider } from '@aztec/foundation/timer';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { createStore } from '@aztec/kv-store/lmdb-v2';
import { protocolContractNames } from '@aztec/protocol-contracts';
import { BundledProtocolContractsProvider } from '@aztec/protocol-contracts/providers/bundle';
import { FunctionType, decodeFunctionSignature } from '@aztec/stdlib/abi';
import type { ArchiverEmitter } from '@aztec/stdlib/block';
import { type ContractClassPublic, computePublicBytecodeCommitment } from '@aztec/stdlib/contract';
import type { L1RollupConstants } from '@aztec/stdlib/epoch-helpers';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import { getTelemetryClient } from '@aztec/telemetry-client';

import { EventEmitter } from 'events';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/aztec-node/src/aztec-node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { type GenesisStateConfig, genesisStateConfigMappings } from '@aztec/ethe
import { type L1ContractAddresses, l1ContractAddressesMapping } from '@aztec/ethereum/l1-contract-addresses';
import { type ConfigMappingsType, booleanConfigHelper, getConfigFromMappings } from '@aztec/foundation/config';
import { EthAddress } from '@aztec/foundation/eth-address';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
import {
type KeyStore,
type ValidatorKeyStore,
Expand All @@ -27,6 +26,7 @@ import { slasherConfigMappings } from '@aztec/slasher';
import { AztecAddress } from '@aztec/stdlib/aztec-address';
import { type NodeRPCConfig, nodeRpcConfigMappings } from '@aztec/stdlib/config';
import type { SlasherConfig } from '@aztec/stdlib/interfaces/server';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/stdlib/kv-store';
import { type ValidatorClientConfig, validatorClientConfigMappings } from '@aztec/validator-client/config';
import { type WorldStateConfig, worldStateConfigMappings } from '@aztec/world-state/config';

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/aztec-node/src/sentinel/factory.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { EpochCache } from '@aztec/epoch-cache';
import { createLogger } from '@aztec/foundation/log';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { createStore } from '@aztec/kv-store/lmdb-v2';
import type { P2PClient } from '@aztec/p2p';
import type { L2BlockSource } from '@aztec/stdlib/block';
import type { SlasherConfig } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import type { SentinelConfig } from './config.js';
import { Sentinel } from './sentinel.js';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/aztec/src/cli/aztec_start_options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import {
isBooleanConfigValue,
omitConfigMappings,
} from '@aztec/foundation/config';
import { dataConfigMappings } from '@aztec/kv-store/config';
import { sharedNodeConfigMappings } from '@aztec/node-lib/config';
import { bootnodeConfigMappings, p2pConfigMappings } from '@aztec/p2p/config';
import { proverAgentConfigMappings, proverBrokerConfigMappings } from '@aztec/prover-client/broker/config';
import { proverNodeConfigMappings } from '@aztec/prover-node/config';
import { allPxeConfigMappings } from '@aztec/pxe/config';
import { sequencerClientConfigMappings } from '@aztec/sequencer-client/config';
import { chainConfigMappings, nodeRpcConfigMappings } from '@aztec/stdlib/config';
import { dataConfigMappings } from '@aztec/stdlib/kv-store';
import { telemetryClientConfigMappings } from '@aztec/telemetry-client/config';
import { worldStateConfigMappings } from '@aztec/world-state/config';

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/aztec/src/cli/cmds/start_archiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { createLogger } from '@aztec/aztec.js/log';
import { type BlobClientConfig, blobClientConfigMapping, createBlobClient } from '@aztec/blob-client/client';
import { getL1Config } from '@aztec/cli/config';
import type { NamespacedApiHandlers } from '@aztec/foundation/json-rpc/server';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
import { ArchiverApiSchema } from '@aztec/stdlib/interfaces/server';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/stdlib/kv-store';
import { getConfigEnvVars as getTelemetryClientConfig, initTelemetryClient } from '@aztec/telemetry-client';

import { extractRelevantOptions } from '../util.js';
Expand Down
3 changes: 1 addition & 2 deletions yarn-project/bot/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import {
secretStringConfigHelper,
} from '@aztec/foundation/config';
import { Fr } from '@aztec/foundation/curves/bn254';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
import { getVKTreeRoot } from '@aztec/noir-protocol-circuits-types/vk-tree';
import { protocolContractsHash } from '@aztec/protocol-contracts';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/stdlib/kv-store';
import { schemas, zodFor } from '@aztec/stdlib/schemas';
import type { ComponentsVersions } from '@aztec/stdlib/versioning';

Expand Down Expand Up @@ -130,7 +130,6 @@ export const BotConfigSchema = zodFor<BotConfig>()(
l1Mnemonic: undefined,
l1PrivateKey: undefined,
senderPrivateKey: undefined,
dataDirectory: undefined,
dataStoreMapSizeKb: 1_024 * 1_024,
...config,
})),
Expand Down
1 change: 1 addition & 0 deletions yarn-project/foundation/src/config/env_var.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export type EnvVar =
| 'BLOB_SINK_MAP_SIZE_KB'
| 'P2P_STORE_MAP_SIZE_KB'
| 'PROVER_BROKER_STORE_MAP_SIZE_KB'
| 'SIGNING_PROTECTION_MAP_SIZE_KB'
| 'WS_DB_MAP_SIZE_KB'
| 'ARCHIVE_TREE_MAP_SIZE_KB'
| 'NULLIFIER_TREE_MAP_SIZE_KB'
Expand Down
3 changes: 1 addition & 2 deletions yarn-project/kv-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"./lmdb": "./dest/lmdb/index.js",
"./lmdb-v2": "./dest/lmdb-v2/index.js",
"./indexeddb": "./dest/indexeddb/index.js",
"./stores": "./dest/stores/index.js",
"./config": "./dest/config.js"
"./stores": "./dest/stores/index.js"
},
"scripts": {
"build": "yarn clean && ../scripts/tsc.sh",
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/kv-store/src/indexeddb/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type Logger, createLogger } from '@aztec/foundation/log';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import type { DataStoreConfig } from '../config.js';
import { initStoreForRollupAndSchemaVersion } from '../utils.js';
import { AztecIndexedDBStore } from './store.js';

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/kv-store/src/lmdb-v2/factory.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { EthAddress } from '@aztec/foundation/eth-address';
import { type LoggerBindings, createLogger } from '@aztec/foundation/log';
import { DatabaseVersionManager } from '@aztec/stdlib/database-version/manager';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import { mkdir, mkdtemp, rm } from 'fs/promises';
import { tmpdir } from 'os';
import { join } from 'path';

import type { DataStoreConfig } from '../config.js';
import { AztecLMDBStoreV2 } from './store.js';

const MAX_READERS = 16;
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/kv-store/src/lmdb/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type Logger, createLogger } from '@aztec/foundation/log';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import { join } from 'path';

import type { DataStoreConfig } from '../config.js';
import { initStoreForRollupAndSchemaVersion } from '../utils.js';
import { AztecLmdbStore } from './store.js';

Expand Down
5 changes: 3 additions & 2 deletions yarn-project/node-lib/src/actions/snapshot-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import type { L1ContractsConfig } from '@aztec/ethereum/config';
import type { EthAddress } from '@aztec/foundation/eth-address';
import { tryRmDir } from '@aztec/foundation/fs';
import type { Logger } from '@aztec/foundation/log';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { P2P_STORE_NAME } from '@aztec/p2p';
import type { ChainConfig } from '@aztec/stdlib/config';
import { DatabaseVersionManager } from '@aztec/stdlib/database-version/manager';
import { type ReadOnlyFileStore, createReadOnlyFileStore } from '@aztec/stdlib/file-store';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import {
type SnapshotMetadata,
type SnapshotsIndexMetadata,
Expand All @@ -31,7 +31,8 @@ type SnapshotSyncConfig = Pick<SharedNodeConfig, 'syncMode'> &
Pick<ChainConfig, 'l1ChainId' | 'rollupVersion'> &
Pick<L1ContractsConfig, 'aztecEpochDuration'> &
Pick<ArchiverConfig, 'archiverStoreMapSizeKb' | 'maxLogs'> &
Required<DataStoreConfig> &
DataStoreConfig &
Required<Pick<DataStoreConfig, 'l1Contracts'>> &
EthereumClientConfig & {
snapshotsUrls?: string[];
minL1BlocksToTriggerReplace?: number;
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/node-lib/src/actions/upload-snapshot.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { ARCHIVER_DB_VERSION, type Archiver } from '@aztec/archiver';
import { tryRmDir } from '@aztec/foundation/fs';
import type { Logger } from '@aztec/foundation/log';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import type { ChainConfig } from '@aztec/stdlib/config';
import { createFileStore } from '@aztec/stdlib/file-store';
import type { WorldStateSynchronizer } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import { uploadSnapshotToIndex } from '@aztec/stdlib/snapshots';
import { WORLD_STATE_DB_VERSION } from '@aztec/world-state';

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/node-lib/src/factories/l1_tx_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { omit } from '@aztec/foundation/collection';
import type { EthAddress } from '@aztec/foundation/eth-address';
import { createLogger } from '@aztec/foundation/log';
import type { DateProvider } from '@aztec/foundation/timer';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { createStore } from '@aztec/kv-store/lmdb-v2';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import type { TelemetryClient } from '@aztec/telemetry-client';

import type { L1TxScope } from '../metrics/l1_tx_metrics.js';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/client/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { BlockNumber } from '@aztec/foundation/branded-types';
import { type Logger, createLogger } from '@aztec/foundation/log';
import { DateProvider } from '@aztec/foundation/timer';
import type { AztecAsyncKVStore } from '@aztec/kv-store';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { AztecLMDBStoreV2, createStore } from '@aztec/kv-store/lmdb-v2';
import type { L2BlockSource } from '@aztec/stdlib/block';
import type { ChainConfig } from '@aztec/stdlib/config';
import type { ContractDataSource } from '@aztec/stdlib/contract';
import type { AztecNode, ClientProtocolCircuitVerifier, WorldStateSynchronizer } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import { type TelemetryClient, getTelemetryClient } from '@aztec/telemetry-client';

import { P2PClient } from '../client/p2p_client.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { SecretValue } from '@aztec/foundation/config';
import { createLogger } from '@aztec/foundation/log';
import { sleep } from '@aztec/foundation/sleep';
import { DateProvider, Timer, executeTimeout } from '@aztec/foundation/timer';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { openTmpStore } from '@aztec/kv-store/lmdb-v2';
import type { L2BlockSource } from '@aztec/stdlib/block';
import type { ContractDataSource } from '@aztec/stdlib/contract';
import type { ClientProtocolCircuitVerifier } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import { PeerErrorSeverity } from '@aztec/stdlib/p2p';
import type { Tx, TxValidationResult } from '@aztec/stdlib/tx';
import { type TelemetryClient, getTelemetryClient } from '@aztec/telemetry-client';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
secretStringConfigHelper,
} from '@aztec/foundation/config';
import { Fr } from '@aztec/foundation/curves/bn254';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
import { FunctionSelector } from '@aztec/stdlib/abi/function-selector';
import { AztecAddress } from '@aztec/stdlib/aztec-address';
import {
Expand All @@ -21,6 +20,7 @@ import {
chainConfigMappings,
sharedSequencerConfigMappings,
} from '@aztec/stdlib/config';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/stdlib/kv-store';

import {
type BatchTxRequesterConfig,
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/test-helpers/make-test-p2p-clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { SecretValue } from '@aztec/foundation/config';
import { type Logger, createLogger } from '@aztec/foundation/log';
import { retryUntil } from '@aztec/foundation/retry';
import { sleep } from '@aztec/foundation/sleep';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { openTmpStore } from '@aztec/kv-store/lmdb-v2';
import type { WorldStateSynchronizer } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import { createP2PClient } from '../client/index.js';
import type { P2PClient } from '../client/p2p_client.js';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/test-helpers/reqresp-nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { EpochCache } from '@aztec/epoch-cache';
import { timesParallel } from '@aztec/foundation/collection';
import { SecretValue } from '@aztec/foundation/config';
import { createLogger } from '@aztec/foundation/log';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { openTmpStore } from '@aztec/kv-store/lmdb-v2';
import type { L2BlockSource } from '@aztec/stdlib/block';
import { type ChainConfig, emptyChainConfig } from '@aztec/stdlib/config';
Expand All @@ -12,6 +11,7 @@ import type {
IVCProofVerificationResult,
WorldStateSynchronizer,
} from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import type { Tx } from '@aztec/stdlib/tx';
import { compressComponentVersions } from '@aztec/stdlib/versioning';
import { type TelemetryClient, getTelemetryClient } from '@aztec/telemetry-client';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import { Fr } from '@aztec/foundation/curves/bn254';
import { type Logger, createLogger } from '@aztec/foundation/log';
import { sleep } from '@aztec/foundation/sleep';
import { DateProvider, Timer } from '@aztec/foundation/timer';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { openTmpStore } from '@aztec/kv-store/lmdb-v2';
import { getVKTreeRoot } from '@aztec/noir-protocol-circuits-types/vk-tree';
import { protocolContractsHash } from '@aztec/protocol-contracts';
import type { L2BlockSource } from '@aztec/stdlib/block';
import type { ContractDataSource } from '@aztec/stdlib/contract';
import type { ClientProtocolCircuitVerifier, WorldStateSynchronizer } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import { type BlockProposal, P2PMessage } from '@aztec/stdlib/p2p';
import { ChonkProof } from '@aztec/stdlib/proofs';
import { makeAztecAddress, makeBlockHeader, makeBlockProposal, mockTx } from '@aztec/stdlib/testing';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/util.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { SecretValue } from '@aztec/foundation/config';
import { createLogger } from '@aztec/foundation/log';
import type { AztecAsyncKVStore } from '@aztec/kv-store';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { openTmpStore } from '@aztec/kv-store/lmdb-v2';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import { generateKeyPair, marshalPrivateKey } from '@libp2p/crypto/keys';
import { createSecp256k1PeerId } from '@libp2p/peer-id-factory';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/util.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SecretValue } from '@aztec/foundation/config';
import type { Logger } from '@aztec/foundation/log';
import type { AztecAsyncKVStore, AztecAsyncSingleton } from '@aztec/kv-store';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import type { GossipSub } from '@chainsafe/libp2p-gossipsub';
import { generateKeyPair, marshalPrivateKey, unmarshalPrivateKey } from '@libp2p/crypto/keys';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/prover-client/src/proving_broker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
numberConfigHelper,
} from '@aztec/foundation/config';
import { pickConfigMappings } from '@aztec/foundation/config';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
import { type ChainConfig, chainConfigMappings } from '@aztec/stdlib/config';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/stdlib/kv-store';
import { ProvingRequestType } from '@aztec/stdlib/proofs';

import { z } from 'zod';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createArchiverStore } from '@aztec/archiver';
import type { L1ContractsConfig } from '@aztec/ethereum/config';
import type { Logger } from '@aztec/foundation/log';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { type ProverClientConfig, createProverClient } from '@aztec/prover-client';
import { ProverBrokerConfig, createAndStartProvingBroker } from '@aztec/prover-client/broker';
import { PublicProcessorFactory } from '@aztec/simulator/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import { getTelemetryClient } from '@aztec/telemetry-client';
import { createWorldState } from '@aztec/world-state';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { tryRmDir } from '@aztec/foundation/fs';
import { jsonStringify } from '@aztec/foundation/json-rpc';
import type { Logger } from '@aztec/foundation/log';
import { isoDate } from '@aztec/foundation/string';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { buildSnapshotMetadata, createBackups } from '@aztec/node-lib/actions';
import type { ChainConfig } from '@aztec/stdlib/config';
import { type FileStore, createFileStore } from '@aztec/stdlib/file-store';
import type { WorldStateSynchronizer } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import { type UploadSnapshotMetadata, getBasePath, uploadSnapshotData } from '@aztec/stdlib/snapshots';
import { WORLD_STATE_DB_VERSION } from '@aztec/world-state';

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/prover-node/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
numberConfigHelper,
pickConfigMappings,
} from '@aztec/foundation/config';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
import { type KeyStoreConfig, keyStoreConfigMappings } from '@aztec/node-keystore/config';
import { ethPrivateKeySchema } from '@aztec/node-keystore/schemas';
import type { KeyStore } from '@aztec/node-keystore/types';
Expand All @@ -24,6 +23,7 @@ import {
proverPublisherConfigMappings,
proverTxSenderConfigMappings,
} from '@aztec/sequencer-client/config';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/stdlib/kv-store';

export type ProverNodeConfig = ProverClientUserConfig &
ProverPublisherConfig &
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/prover-node/src/prover-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type { Fr } from '@aztec/foundation/curves/bn254';
import { memoize } from '@aztec/foundation/decorators';
import { createLogger } from '@aztec/foundation/log';
import { DateProvider } from '@aztec/foundation/timer';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { PublicProcessorFactory } from '@aztec/simulator/server';
import type { L2BlockSource } from '@aztec/stdlib/block';
import type { Checkpoint } from '@aztec/stdlib/checkpoint';
Expand All @@ -24,6 +23,7 @@ import {
type WorldStateSynchronizer,
tryStop,
} from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';
import type { L1ToL2MessageSource } from '@aztec/stdlib/messaging';
import type { Tx } from '@aztec/stdlib/tx';
import {
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/pxe/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
numberConfigHelper,
parseBooleanEnv,
} from '@aztec/foundation/config';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config';
import { type ChainConfig, chainConfigMappings } from '@aztec/stdlib/config';
import { type DataStoreConfig, dataConfigMappings } from '@aztec/stdlib/kv-store';

export { getPackageInfo } from './package_info.js';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ describe('CheckpointVoter HA Integration', () => {
signingTimeoutMs: 3000,
maxStuckDutiesAgeMs: 72000,
databaseUrl: 'postgresql://test',
dataStoreMapSizeKb: 128 * 1024 * 1024,
};

// Create HA signer with pglite pool
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/slasher/src/factory/create_facade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { unique } from '@aztec/foundation/collection';
import { EthAddress } from '@aztec/foundation/eth-address';
import { createLogger } from '@aztec/foundation/log';
import { DateProvider } from '@aztec/foundation/timer';
import type { DataStoreConfig } from '@aztec/kv-store/config';
import { createStore } from '@aztec/kv-store/lmdb-v2';
import { getSlotAtTimestamp } from '@aztec/stdlib/epoch-helpers';
import type { SlasherConfig } from '@aztec/stdlib/interfaces/server';
import type { DataStoreConfig } from '@aztec/stdlib/kv-store';

import { SlasherClientFacade } from '../slasher_client_facade.js';
import type { SlasherClientInterface } from '../slasher_client_interface.js';
Expand Down
Loading
Loading