@aztec/sequencer-client 3.0.0-nightly.20251110 → 3.0.0-nightly.20251111
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.
|
@@ -83,7 +83,8 @@ import { Sequencer } from '../sequencer/index.js';
|
|
|
83
83
|
// In theory, the L1 slot has an initial 4s phase where the block is propagated, so we could
|
|
84
84
|
// make it with a propagation time into slot equal to 4s. However, we prefer being conservative.
|
|
85
85
|
// See https://www.blocknative.com/blog/anatomy-of-a-slot#7 for more info.
|
|
86
|
-
const
|
|
86
|
+
const maxInclusionBasedOnChain = isAnvilTestChain(config.l1ChainId) ? ethereumSlotDuration - 1 : 0;
|
|
87
|
+
const maxL1TxInclusionTimeIntoSlot = config.maxL1TxInclusionTimeIntoSlot ?? maxInclusionBasedOnChain;
|
|
87
88
|
const l1Constants = {
|
|
88
89
|
l1GenesisTime,
|
|
89
90
|
slotDuration: Number(slotDuration),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/sequencer-client",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251111",
|
|
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": "3.0.0-nightly.
|
|
30
|
-
"@aztec/bb-prover": "3.0.0-nightly.
|
|
31
|
-
"@aztec/blob-lib": "3.0.0-nightly.
|
|
32
|
-
"@aztec/blob-sink": "3.0.0-nightly.
|
|
33
|
-
"@aztec/constants": "3.0.0-nightly.
|
|
34
|
-
"@aztec/epoch-cache": "3.0.0-nightly.
|
|
35
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
36
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
37
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
38
|
-
"@aztec/merkle-tree": "3.0.0-nightly.
|
|
39
|
-
"@aztec/node-keystore": "3.0.0-nightly.
|
|
40
|
-
"@aztec/noir-acvm_js": "3.0.0-nightly.
|
|
41
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
42
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.
|
|
43
|
-
"@aztec/noir-types": "3.0.0-nightly.
|
|
44
|
-
"@aztec/p2p": "3.0.0-nightly.
|
|
45
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
46
|
-
"@aztec/prover-client": "3.0.0-nightly.
|
|
47
|
-
"@aztec/simulator": "3.0.0-nightly.
|
|
48
|
-
"@aztec/slasher": "3.0.0-nightly.
|
|
49
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
50
|
-
"@aztec/telemetry-client": "3.0.0-nightly.
|
|
51
|
-
"@aztec/validator-client": "3.0.0-nightly.
|
|
52
|
-
"@aztec/world-state": "3.0.0-nightly.
|
|
29
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251111",
|
|
30
|
+
"@aztec/bb-prover": "3.0.0-nightly.20251111",
|
|
31
|
+
"@aztec/blob-lib": "3.0.0-nightly.20251111",
|
|
32
|
+
"@aztec/blob-sink": "3.0.0-nightly.20251111",
|
|
33
|
+
"@aztec/constants": "3.0.0-nightly.20251111",
|
|
34
|
+
"@aztec/epoch-cache": "3.0.0-nightly.20251111",
|
|
35
|
+
"@aztec/ethereum": "3.0.0-nightly.20251111",
|
|
36
|
+
"@aztec/foundation": "3.0.0-nightly.20251111",
|
|
37
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20251111",
|
|
38
|
+
"@aztec/merkle-tree": "3.0.0-nightly.20251111",
|
|
39
|
+
"@aztec/node-keystore": "3.0.0-nightly.20251111",
|
|
40
|
+
"@aztec/noir-acvm_js": "3.0.0-nightly.20251111",
|
|
41
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251111",
|
|
42
|
+
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251111",
|
|
43
|
+
"@aztec/noir-types": "3.0.0-nightly.20251111",
|
|
44
|
+
"@aztec/p2p": "3.0.0-nightly.20251111",
|
|
45
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251111",
|
|
46
|
+
"@aztec/prover-client": "3.0.0-nightly.20251111",
|
|
47
|
+
"@aztec/simulator": "3.0.0-nightly.20251111",
|
|
48
|
+
"@aztec/slasher": "3.0.0-nightly.20251111",
|
|
49
|
+
"@aztec/stdlib": "3.0.0-nightly.20251111",
|
|
50
|
+
"@aztec/telemetry-client": "3.0.0-nightly.20251111",
|
|
51
|
+
"@aztec/validator-client": "3.0.0-nightly.20251111",
|
|
52
|
+
"@aztec/world-state": "3.0.0-nightly.20251111",
|
|
53
53
|
"lodash.chunk": "^4.2.0",
|
|
54
54
|
"tslib": "^2.4.0",
|
|
55
55
|
"viem": "npm:@spalladino/viem@2.38.2-eip7594.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aztec/archiver": "3.0.0-nightly.
|
|
59
|
-
"@aztec/kv-store": "3.0.0-nightly.
|
|
58
|
+
"@aztec/archiver": "3.0.0-nightly.20251111",
|
|
59
|
+
"@aztec/kv-store": "3.0.0-nightly.20251111",
|
|
60
60
|
"@jest/globals": "^30.0.0",
|
|
61
61
|
"@types/jest": "^30.0.0",
|
|
62
62
|
"@types/lodash.chunk": "^4.2.7",
|
|
@@ -154,8 +154,8 @@ export class SequencerClient {
|
|
|
154
154
|
// In theory, the L1 slot has an initial 4s phase where the block is propagated, so we could
|
|
155
155
|
// make it with a propagation time into slot equal to 4s. However, we prefer being conservative.
|
|
156
156
|
// See https://www.blocknative.com/blog/anatomy-of-a-slot#7 for more info.
|
|
157
|
-
const
|
|
158
|
-
|
|
157
|
+
const maxInclusionBasedOnChain = isAnvilTestChain(config.l1ChainId) ? ethereumSlotDuration - 1 : 0;
|
|
158
|
+
const maxL1TxInclusionTimeIntoSlot = config.maxL1TxInclusionTimeIntoSlot ?? maxInclusionBasedOnChain;
|
|
159
159
|
|
|
160
160
|
const l1Constants = {
|
|
161
161
|
l1GenesisTime,
|