@aztec/sequencer-client 2.0.3-rc.1 → 2.0.3-rc.11
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.
- package/dest/config.d.ts +2 -1
- package/dest/config.d.ts.map +1 -1
- package/dest/config.js +2 -0
- package/package.json +27 -26
- package/src/config.ts +3 -0
package/dest/config.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type L1ContractsConfig, type L1ReaderConfig } from '@aztec/ethereum';
|
|
2
2
|
import { type ConfigMappingsType } from '@aztec/foundation/config';
|
|
3
|
+
import { type KeyStoreConfig } from '@aztec/node-keystore';
|
|
3
4
|
import { type P2PConfig } from '@aztec/p2p';
|
|
4
5
|
import { type ChainConfig, type SequencerConfig } from '@aztec/stdlib/config';
|
|
5
6
|
import { type ValidatorClientConfig } from '@aztec/validator-client';
|
|
@@ -10,7 +11,7 @@ export declare const DEFAULT_ATTESTATION_PROPAGATION_TIME = 2;
|
|
|
10
11
|
/**
|
|
11
12
|
* Configuration settings for the SequencerClient.
|
|
12
13
|
*/
|
|
13
|
-
export type SequencerClientConfig = PublisherConfig & ValidatorClientConfig & TxSenderConfig & SequencerConfig & L1ReaderConfig & ChainConfig & Pick<P2PConfig, 'txPublicSetupAllowList'> & Pick<L1ContractsConfig, 'ethereumSlotDuration' | 'aztecSlotDuration' | 'aztecEpochDuration'>;
|
|
14
|
+
export type SequencerClientConfig = PublisherConfig & KeyStoreConfig & ValidatorClientConfig & TxSenderConfig & SequencerConfig & L1ReaderConfig & ChainConfig & Pick<P2PConfig, 'txPublicSetupAllowList'> & Pick<L1ContractsConfig, 'ethereumSlotDuration' | 'aztecSlotDuration' | 'aztecEpochDuration'>;
|
|
14
15
|
export declare const sequencerConfigMappings: ConfigMappingsType<SequencerConfig>;
|
|
15
16
|
export declare const sequencerClientConfigMappings: ConfigMappingsType<SequencerClientConfig>;
|
|
16
17
|
/**
|
package/dest/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,cAAc,EAGpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,kBAAkB,EAKxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,YAAY,CAAC;AAE/D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAuB,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAE,KAAK,qBAAqB,EAAiC,MAAM,yBAAyB,CAAC;AAEpG,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EAGpB,MAAM,uBAAuB,CAAC;AAE/B,cAAc,uBAAuB,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,eAAO,MAAM,oCAAoC,IAAI,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,eAAe,GACjD,qBAAqB,GACrB,cAAc,GACd,eAAe,GACf,cAAc,GACd,WAAW,GACX,IAAI,CAAC,SAAS,EAAE,wBAAwB,CAAC,GACzC,IAAI,CAAC,iBAAiB,EAAE,sBAAsB,GAAG,mBAAmB,GAAG,oBAAoB,CAAC,CAAC;AAE/F,eAAO,MAAM,uBAAuB,EAAE,kBAAkB,CAAC,eAAe,CAuGvE,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,kBAAkB,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,cAAc,EAGpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,kBAAkB,EAKxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,KAAK,cAAc,EAA0B,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,YAAY,CAAC;AAE/D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAuB,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAE,KAAK,qBAAqB,EAAiC,MAAM,yBAAyB,CAAC;AAEpG,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EAGpB,MAAM,uBAAuB,CAAC;AAE/B,cAAc,uBAAuB,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,eAAO,MAAM,oCAAoC,IAAI,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,eAAe,GACjD,cAAc,GACd,qBAAqB,GACrB,cAAc,GACd,eAAe,GACf,cAAc,GACd,WAAW,GACX,IAAI,CAAC,SAAS,EAAE,wBAAwB,CAAC,GACzC,IAAI,CAAC,iBAAiB,EAAE,sBAAsB,GAAG,mBAAmB,GAAG,oBAAoB,CAAC,CAAC;AAE/F,eAAO,MAAM,uBAAuB,EAAE,kBAAkB,CAAC,eAAe,CAuGvE,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,kBAAkB,CAAC,qBAAqB,CASnF,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,qBAAqB,CAExD"}
|
package/dest/config.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { l1ContractsConfigMappings, l1ReaderConfigMappings } from '@aztec/ethereum';
|
|
2
2
|
import { booleanConfigHelper, getConfigFromMappings, numberConfigHelper, pickConfigMappings } from '@aztec/foundation/config';
|
|
3
3
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
4
|
+
import { keyStoreConfigMappings } from '@aztec/node-keystore';
|
|
4
5
|
import { p2pConfigMappings } from '@aztec/p2p';
|
|
5
6
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
6
7
|
import { chainConfigMappings } from '@aztec/stdlib/config';
|
|
@@ -112,6 +113,7 @@ export const sequencerConfigMappings = {
|
|
|
112
113
|
export const sequencerClientConfigMappings = {
|
|
113
114
|
...validatorClientConfigMappings,
|
|
114
115
|
...sequencerConfigMappings,
|
|
116
|
+
...keyStoreConfigMappings,
|
|
115
117
|
...l1ReaderConfigMappings,
|
|
116
118
|
...getTxSenderConfigMappings('SEQ'),
|
|
117
119
|
...getPublisherConfigMappings('SEQ'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/sequencer-client",
|
|
3
|
-
"version": "2.0.3-rc.
|
|
3
|
+
"version": "2.0.3-rc.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -26,37 +26,38 @@
|
|
|
26
26
|
"test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --config jest.integration.config.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aztec/aztec.js": "2.0.3-rc.
|
|
30
|
-
"@aztec/bb-prover": "2.0.3-rc.
|
|
31
|
-
"@aztec/blob-lib": "2.0.3-rc.
|
|
32
|
-
"@aztec/blob-sink": "2.0.3-rc.
|
|
33
|
-
"@aztec/constants": "2.0.3-rc.
|
|
34
|
-
"@aztec/epoch-cache": "2.0.3-rc.
|
|
35
|
-
"@aztec/ethereum": "2.0.3-rc.
|
|
36
|
-
"@aztec/foundation": "2.0.3-rc.
|
|
37
|
-
"@aztec/l1-artifacts": "2.0.3-rc.
|
|
38
|
-
"@aztec/merkle-tree": "2.0.3-rc.
|
|
39
|
-
"@aztec/
|
|
40
|
-
"@aztec/noir-
|
|
41
|
-
"@aztec/noir-
|
|
42
|
-
"@aztec/noir-types": "2.0.3-rc.
|
|
43
|
-
"@aztec/
|
|
44
|
-
"@aztec/
|
|
45
|
-
"@aztec/
|
|
46
|
-
"@aztec/
|
|
47
|
-
"@aztec/
|
|
48
|
-
"@aztec/
|
|
49
|
-
"@aztec/
|
|
50
|
-
"@aztec/
|
|
51
|
-
"@aztec/
|
|
29
|
+
"@aztec/aztec.js": "2.0.3-rc.11",
|
|
30
|
+
"@aztec/bb-prover": "2.0.3-rc.11",
|
|
31
|
+
"@aztec/blob-lib": "2.0.3-rc.11",
|
|
32
|
+
"@aztec/blob-sink": "2.0.3-rc.11",
|
|
33
|
+
"@aztec/constants": "2.0.3-rc.11",
|
|
34
|
+
"@aztec/epoch-cache": "2.0.3-rc.11",
|
|
35
|
+
"@aztec/ethereum": "2.0.3-rc.11",
|
|
36
|
+
"@aztec/foundation": "2.0.3-rc.11",
|
|
37
|
+
"@aztec/l1-artifacts": "2.0.3-rc.11",
|
|
38
|
+
"@aztec/merkle-tree": "2.0.3-rc.11",
|
|
39
|
+
"@aztec/node-keystore": "2.0.3-rc.11",
|
|
40
|
+
"@aztec/noir-acvm_js": "2.0.3-rc.11",
|
|
41
|
+
"@aztec/noir-contracts.js": "2.0.3-rc.11",
|
|
42
|
+
"@aztec/noir-protocol-circuits-types": "2.0.3-rc.11",
|
|
43
|
+
"@aztec/noir-types": "2.0.3-rc.11",
|
|
44
|
+
"@aztec/p2p": "2.0.3-rc.11",
|
|
45
|
+
"@aztec/protocol-contracts": "2.0.3-rc.11",
|
|
46
|
+
"@aztec/prover-client": "2.0.3-rc.11",
|
|
47
|
+
"@aztec/simulator": "2.0.3-rc.11",
|
|
48
|
+
"@aztec/slasher": "2.0.3-rc.11",
|
|
49
|
+
"@aztec/stdlib": "2.0.3-rc.11",
|
|
50
|
+
"@aztec/telemetry-client": "2.0.3-rc.11",
|
|
51
|
+
"@aztec/validator-client": "2.0.3-rc.11",
|
|
52
|
+
"@aztec/world-state": "2.0.3-rc.11",
|
|
52
53
|
"lodash.chunk": "^4.2.0",
|
|
53
54
|
"lodash.pick": "^4.4.0",
|
|
54
55
|
"tslib": "^2.4.0",
|
|
55
56
|
"viem": "2.23.7"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
|
-
"@aztec/archiver": "2.0.3-rc.
|
|
59
|
-
"@aztec/kv-store": "2.0.3-rc.
|
|
59
|
+
"@aztec/archiver": "2.0.3-rc.11",
|
|
60
|
+
"@aztec/kv-store": "2.0.3-rc.11",
|
|
60
61
|
"@jest/globals": "^30.0.0",
|
|
61
62
|
"@types/jest": "^30.0.0",
|
|
62
63
|
"@types/lodash.chunk": "^4.2.7",
|
package/src/config.ts
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
pickConfigMappings,
|
|
13
13
|
} from '@aztec/foundation/config';
|
|
14
14
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
15
|
+
import { type KeyStoreConfig, keyStoreConfigMappings } from '@aztec/node-keystore';
|
|
15
16
|
import { type P2PConfig, p2pConfigMappings } from '@aztec/p2p';
|
|
16
17
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
17
18
|
import { type ChainConfig, type SequencerConfig, chainConfigMappings } from '@aztec/stdlib/config';
|
|
@@ -33,6 +34,7 @@ export const DEFAULT_ATTESTATION_PROPAGATION_TIME = 2;
|
|
|
33
34
|
* Configuration settings for the SequencerClient.
|
|
34
35
|
*/
|
|
35
36
|
export type SequencerClientConfig = PublisherConfig &
|
|
37
|
+
KeyStoreConfig &
|
|
36
38
|
ValidatorClientConfig &
|
|
37
39
|
TxSenderConfig &
|
|
38
40
|
SequencerConfig &
|
|
@@ -149,6 +151,7 @@ export const sequencerConfigMappings: ConfigMappingsType<SequencerConfig> = {
|
|
|
149
151
|
export const sequencerClientConfigMappings: ConfigMappingsType<SequencerClientConfig> = {
|
|
150
152
|
...validatorClientConfigMappings,
|
|
151
153
|
...sequencerConfigMappings,
|
|
154
|
+
...keyStoreConfigMappings,
|
|
152
155
|
...l1ReaderConfigMappings,
|
|
153
156
|
...getTxSenderConfigMappings('SEQ'),
|
|
154
157
|
...getPublisherConfigMappings('SEQ'),
|