@aztec/archiver 2.1.0-rc.21 → 2.1.0-rc.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ export const archiverConfigMappings = {
22
22
  archiverStoreMapSizeKb: {
23
23
  env: 'ARCHIVER_STORE_MAP_SIZE_KB',
24
24
  parseEnv: (val)=>val ? +val : undefined,
25
- description: 'The maximum possible size of the archiver DB in KB. Overwrites the general dataStoreMapSizeKB.'
25
+ description: 'The maximum possible size of the archiver DB in KB. Overwrites the general dataStoreMapSizeKb.'
26
26
  },
27
27
  skipValidateBlockAttestations: {
28
28
  description: 'Whether to skip validating block attestations (use only for testing).',
package/dest/factory.js CHANGED
@@ -10,7 +10,7 @@ export const ARCHIVER_STORE_NAME = 'archiver';
10
10
  /** Creates an archiver store. */ export async function createArchiverStore(userConfig) {
11
11
  const config = {
12
12
  ...userConfig,
13
- dataStoreMapSizeKB: userConfig.archiverStoreMapSizeKb ?? userConfig.dataStoreMapSizeKB
13
+ dataStoreMapSizeKb: userConfig.archiverStoreMapSizeKb ?? userConfig.dataStoreMapSizeKb
14
14
  };
15
15
  const store = await createStore(ARCHIVER_STORE_NAME, ARCHIVER_DB_VERSION, config, createLogger('archiver:lmdb'));
16
16
  return new KVArchiverDataStore(store, config.maxLogs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/archiver",
3
- "version": "2.1.0-rc.21",
3
+ "version": "2.1.0-rc.22",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -66,18 +66,18 @@
66
66
  ]
67
67
  },
68
68
  "dependencies": {
69
- "@aztec/blob-lib": "2.1.0-rc.21",
70
- "@aztec/blob-sink": "2.1.0-rc.21",
71
- "@aztec/constants": "2.1.0-rc.21",
72
- "@aztec/epoch-cache": "2.1.0-rc.21",
73
- "@aztec/ethereum": "2.1.0-rc.21",
74
- "@aztec/foundation": "2.1.0-rc.21",
75
- "@aztec/kv-store": "2.1.0-rc.21",
76
- "@aztec/l1-artifacts": "2.1.0-rc.21",
77
- "@aztec/noir-protocol-circuits-types": "2.1.0-rc.21",
78
- "@aztec/protocol-contracts": "2.1.0-rc.21",
79
- "@aztec/stdlib": "2.1.0-rc.21",
80
- "@aztec/telemetry-client": "2.1.0-rc.21",
69
+ "@aztec/blob-lib": "2.1.0-rc.22",
70
+ "@aztec/blob-sink": "2.1.0-rc.22",
71
+ "@aztec/constants": "2.1.0-rc.22",
72
+ "@aztec/epoch-cache": "2.1.0-rc.22",
73
+ "@aztec/ethereum": "2.1.0-rc.22",
74
+ "@aztec/foundation": "2.1.0-rc.22",
75
+ "@aztec/kv-store": "2.1.0-rc.22",
76
+ "@aztec/l1-artifacts": "2.1.0-rc.22",
77
+ "@aztec/noir-protocol-circuits-types": "2.1.0-rc.22",
78
+ "@aztec/protocol-contracts": "2.1.0-rc.22",
79
+ "@aztec/stdlib": "2.1.0-rc.22",
80
+ "@aztec/telemetry-client": "2.1.0-rc.22",
81
81
  "lodash.groupby": "^4.6.0",
82
82
  "lodash.omit": "^4.5.0",
83
83
  "tsc-watch": "^6.0.0",
@@ -44,7 +44,7 @@ export const archiverConfigMappings: ConfigMappingsType<ArchiverConfig> = {
44
44
  archiverStoreMapSizeKb: {
45
45
  env: 'ARCHIVER_STORE_MAP_SIZE_KB',
46
46
  parseEnv: (val: string | undefined) => (val ? +val : undefined),
47
- description: 'The maximum possible size of the archiver DB in KB. Overwrites the general dataStoreMapSizeKB.',
47
+ description: 'The maximum possible size of the archiver DB in KB. Overwrites the general dataStoreMapSizeKb.',
48
48
  },
49
49
  skipValidateBlockAttestations: {
50
50
  description: 'Whether to skip validating block attestations (use only for testing).',
package/src/factory.ts CHANGED
@@ -20,7 +20,7 @@ export async function createArchiverStore(
20
20
  ) {
21
21
  const config = {
22
22
  ...userConfig,
23
- dataStoreMapSizeKB: userConfig.archiverStoreMapSizeKb ?? userConfig.dataStoreMapSizeKB,
23
+ dataStoreMapSizeKb: userConfig.archiverStoreMapSizeKb ?? userConfig.dataStoreMapSizeKb,
24
24
  };
25
25
  const store = await createStore(ARCHIVER_STORE_NAME, ARCHIVER_DB_VERSION, config, createLogger('archiver:lmdb'));
26
26
  return new KVArchiverDataStore(store, config.maxLogs);