@aztec/sequencer-client 2.1.8 → 2.1.9
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.
|
@@ -23,6 +23,8 @@ export type PublisherConfig = L1TxUtilsConfig & BlobSinkConfig & {
|
|
|
23
23
|
publisherAllowInvalidStates?: boolean;
|
|
24
24
|
/** Whether to run in fisherman mode: builds blocks on every slot for validation without publishing to L1 */
|
|
25
25
|
fishermanMode?: boolean;
|
|
26
|
+
/** Address of the forwarder contract to wrap all L1 transactions through (for testing purposes only) */
|
|
27
|
+
publisherForwarderAddress?: EthAddress;
|
|
26
28
|
};
|
|
27
29
|
export declare const getTxSenderConfigMappings: (scope: 'PROVER' | 'SEQ') => ConfigMappingsType<Omit<TxSenderConfig, 'l1Contracts'>>;
|
|
28
30
|
export declare function getTxSenderConfigFromEnv(scope: 'PROVER' | 'SEQ'): Omit<TxSenderConfig, 'l1Contracts'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/publisher/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,yBAAyB,CAAC;AACrF,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,eAAe,EAGrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,kBAAkB,EACvB,WAAW,EAGZ,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG;IAC5C;;OAEG;IACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,KAAK,MAAM,EAAE,CAAC,EAAE,CAAC;IAEpD;;OAEG;IACH,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,GAC3C,cAAc,GAAG;IACf,oGA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CAmBvD,CAAC;AAEH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,GAAG,eAAe,CAElF"}
|
package/dest/publisher/config.js
CHANGED
|
@@ -34,6 +34,11 @@ export const getPublisherConfigMappings = (scope)=>({
|
|
|
34
34
|
description: 'Whether to run in fisherman mode: builds blocks on every slot for validation without publishing to L1',
|
|
35
35
|
...booleanConfigHelper(false)
|
|
36
36
|
},
|
|
37
|
+
publisherForwarderAddress: {
|
|
38
|
+
env: scope === `PROVER` ? `PROVER_PUBLISHER_FORWARDER_ADDRESS` : `SEQ_PUBLISHER_FORWARDER_ADDRESS`,
|
|
39
|
+
description: 'Address of the forwarder contract to wrap all L1 transactions through (for testing purposes only)',
|
|
40
|
+
parseEnv: (val)=>val ? EthAddress.fromString(val) : undefined
|
|
41
|
+
},
|
|
37
42
|
...l1TxUtilsConfigMappings,
|
|
38
43
|
...blobSinkConfigMapping
|
|
39
44
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/sequencer-client",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -26,37 +26,37 @@
|
|
|
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.1.
|
|
30
|
-
"@aztec/bb-prover": "2.1.
|
|
31
|
-
"@aztec/blob-lib": "2.1.
|
|
32
|
-
"@aztec/blob-sink": "2.1.
|
|
33
|
-
"@aztec/constants": "2.1.
|
|
34
|
-
"@aztec/epoch-cache": "2.1.
|
|
35
|
-
"@aztec/ethereum": "2.1.
|
|
36
|
-
"@aztec/foundation": "2.1.
|
|
37
|
-
"@aztec/l1-artifacts": "2.1.
|
|
38
|
-
"@aztec/merkle-tree": "2.1.
|
|
39
|
-
"@aztec/node-keystore": "2.1.
|
|
40
|
-
"@aztec/noir-acvm_js": "2.1.
|
|
41
|
-
"@aztec/noir-contracts.js": "2.1.
|
|
42
|
-
"@aztec/noir-protocol-circuits-types": "2.1.
|
|
43
|
-
"@aztec/noir-types": "2.1.
|
|
44
|
-
"@aztec/p2p": "2.1.
|
|
45
|
-
"@aztec/protocol-contracts": "2.1.
|
|
46
|
-
"@aztec/prover-client": "2.1.
|
|
47
|
-
"@aztec/simulator": "2.1.
|
|
48
|
-
"@aztec/slasher": "2.1.
|
|
49
|
-
"@aztec/stdlib": "2.1.
|
|
50
|
-
"@aztec/telemetry-client": "2.1.
|
|
51
|
-
"@aztec/validator-client": "2.1.
|
|
52
|
-
"@aztec/world-state": "2.1.
|
|
29
|
+
"@aztec/aztec.js": "2.1.9",
|
|
30
|
+
"@aztec/bb-prover": "2.1.9",
|
|
31
|
+
"@aztec/blob-lib": "2.1.9",
|
|
32
|
+
"@aztec/blob-sink": "2.1.9",
|
|
33
|
+
"@aztec/constants": "2.1.9",
|
|
34
|
+
"@aztec/epoch-cache": "2.1.9",
|
|
35
|
+
"@aztec/ethereum": "2.1.9",
|
|
36
|
+
"@aztec/foundation": "2.1.9",
|
|
37
|
+
"@aztec/l1-artifacts": "2.1.9",
|
|
38
|
+
"@aztec/merkle-tree": "2.1.9",
|
|
39
|
+
"@aztec/node-keystore": "2.1.9",
|
|
40
|
+
"@aztec/noir-acvm_js": "2.1.9",
|
|
41
|
+
"@aztec/noir-contracts.js": "2.1.9",
|
|
42
|
+
"@aztec/noir-protocol-circuits-types": "2.1.9",
|
|
43
|
+
"@aztec/noir-types": "2.1.9",
|
|
44
|
+
"@aztec/p2p": "2.1.9",
|
|
45
|
+
"@aztec/protocol-contracts": "2.1.9",
|
|
46
|
+
"@aztec/prover-client": "2.1.9",
|
|
47
|
+
"@aztec/simulator": "2.1.9",
|
|
48
|
+
"@aztec/slasher": "2.1.9",
|
|
49
|
+
"@aztec/stdlib": "2.1.9",
|
|
50
|
+
"@aztec/telemetry-client": "2.1.9",
|
|
51
|
+
"@aztec/validator-client": "2.1.9",
|
|
52
|
+
"@aztec/world-state": "2.1.9",
|
|
53
53
|
"lodash.chunk": "^4.2.0",
|
|
54
54
|
"tslib": "^2.4.0",
|
|
55
55
|
"viem": "npm:@aztec/viem@2.38.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aztec/archiver": "2.1.
|
|
59
|
-
"@aztec/kv-store": "2.1.
|
|
58
|
+
"@aztec/archiver": "2.1.9",
|
|
59
|
+
"@aztec/kv-store": "2.1.9",
|
|
60
60
|
"@jest/globals": "^30.0.0",
|
|
61
61
|
"@types/jest": "^30.0.0",
|
|
62
62
|
"@types/lodash.chunk": "^4.2.7",
|
package/src/publisher/config.ts
CHANGED
|
@@ -37,6 +37,8 @@ export type PublisherConfig = L1TxUtilsConfig &
|
|
|
37
37
|
publisherAllowInvalidStates?: boolean;
|
|
38
38
|
/** Whether to run in fisherman mode: builds blocks on every slot for validation without publishing to L1 */
|
|
39
39
|
fishermanMode?: boolean;
|
|
40
|
+
/** Address of the forwarder contract to wrap all L1 transactions through (for testing purposes only) */
|
|
41
|
+
publisherForwarderAddress?: EthAddress;
|
|
40
42
|
};
|
|
41
43
|
|
|
42
44
|
export const getTxSenderConfigMappings: (
|
|
@@ -76,6 +78,11 @@ export const getPublisherConfigMappings: (
|
|
|
76
78
|
'Whether to run in fisherman mode: builds blocks on every slot for validation without publishing to L1',
|
|
77
79
|
...booleanConfigHelper(false),
|
|
78
80
|
},
|
|
81
|
+
publisherForwarderAddress: {
|
|
82
|
+
env: scope === `PROVER` ? `PROVER_PUBLISHER_FORWARDER_ADDRESS` : `SEQ_PUBLISHER_FORWARDER_ADDRESS`,
|
|
83
|
+
description: 'Address of the forwarder contract to wrap all L1 transactions through (for testing purposes only)',
|
|
84
|
+
parseEnv: (val: string) => (val ? EthAddress.fromString(val) : undefined),
|
|
85
|
+
},
|
|
79
86
|
...l1TxUtilsConfigMappings,
|
|
80
87
|
...blobSinkConfigMapping,
|
|
81
88
|
});
|