@aztec/end-to-end 0.84.0-alpha-testnet.0 → 0.84.0-nightly.20250405

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.
@@ -8,12 +8,11 @@ import type { L1RollupConstants } from '@aztec/stdlib/epoch-helpers';
8
8
  import type { PublicClient } from 'viem';
9
9
  import { type EndToEndContext, type SetupOptions } from '../fixtures/utils.js';
10
10
  export declare const L1_BLOCK_TIME_IN_S: number;
11
- export declare const EPOCH_DURATION_IN_L2_SLOTS = 4;
12
11
  export declare const L2_SLOT_DURATION_IN_L1_SLOTS = 2;
13
12
  export declare const WORLD_STATE_BLOCK_HISTORY = 2;
14
13
  export declare const WORLD_STATE_BLOCK_CHECK_INTERVAL = 50;
15
14
  export declare const ARCHIVER_POLL_INTERVAL = 50;
16
- export type EpochsTestOpts = Partial<Pick<SetupOptions, 'startProverNode'>>;
15
+ export type EpochsTestOpts = Partial<Pick<SetupOptions, 'startProverNode' | 'aztecProofSubmissionWindow' | 'aztecEpochDuration' | 'proverTestDelayMs'>>;
17
16
  /**
18
17
  * Tests building of epochs using fast block times and short epochs.
19
18
  * Spawns an aztec node and a prover node with fake proofs.
@@ -30,6 +29,7 @@ export declare class EpochsTestContext {
30
29
  sequencerDelayer: Delayer;
31
30
  proverNodes: ProverNode[];
32
31
  nodes: AztecNodeService[];
32
+ epochDuration: number;
33
33
  static setup(opts?: EpochsTestOpts): Promise<EpochsTestContext>;
34
34
  setup(opts?: EpochsTestOpts): Promise<void>;
35
35
  teardown(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"epochs_test.d.ts","sourceRoot":"","sources":["../../src/e2e_epochs/epochs_test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAM,KAAK,MAAM,EAA8D,MAAM,iBAAiB,CAAC;AAC9G,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AA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YAAY,EAAE,iBAAiB,GAAG,4BAA4B,GAAG,oBAAoB,GAAG,mBAAmB,CAAC,CAClH,CAAC;AAEF;;;;GAIG;AACH,qBAAa,iBAAiB;IACrB,OAAO,EAAG,eAAe,CAAC;IAC1B,QAAQ,EAAG,YAAY,CAAC;IACxB,MAAM,EAAG,cAAc,CAAC;IACxB,SAAS,EAAG,iBAAiB,CAAC;IAC9B,MAAM,EAAG,MAAM,CAAC;IAChB,OAAO,EAAG,YAAY,CAAC;IACvB,aAAa,EAAG,OAAO,CAAC;IACxB,gBAAgB,EAAG,OAAO,CAAC;IAE3B,WAAW,EAAE,UAAU,EAAE,CAAM;IAC/B,KAAK,EAAE,gBAAgB,EAAE,CAAM;IAE/B,aAAa,EAAG,MAAM,CAAC;WAEV,KAAK,CAAC,IAAI,GAAE,cAAmB;IAMtC,KAAK,CAAC,IAAI,GAAE,cAAmB;IAoE/B,QAAQ;IAOR,gBAAgB;IAgBhB,sBAAsB;IAcnC,OAAO,CAAC,iBAAiB;IAKzB,0FAA0F;IAC7E,oBAAoB,CAAC,KAAK,EAAE,MAAM;IAO/C,sDAAsD;IACzC,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,SAAK;IAShE,iEAAiE;IACpD,4BAA4B,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,SAAK;IASjE,mEAAmE;IACtD,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,UAAU;IAclF,0EAA0E;IAC7D,mBAAmB,CAAC,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO;CAUtF"}
@@ -8,7 +8,6 @@ import { join } from 'path';
8
8
  import { createAndSyncProverNode, getPrivateKeyFromIndex, setup } from '../fixtures/utils.js';
9
9
  // This can be lowered to as much as 2s in non-CI
10
10
  export const L1_BLOCK_TIME_IN_S = process.env.L1_BLOCK_TIME ? parseInt(process.env.L1_BLOCK_TIME) : 8;
11
- export const EPOCH_DURATION_IN_L2_SLOTS = 4;
12
11
  export const L2_SLOT_DURATION_IN_L1_SLOTS = 2;
13
12
  export const WORLD_STATE_BLOCK_HISTORY = 2;
14
13
  export const WORLD_STATE_BLOCK_CHECK_INTERVAL = 50;
@@ -28,6 +27,7 @@ export const ARCHIVER_POLL_INTERVAL = 50;
28
27
  sequencerDelayer;
29
28
  proverNodes = [];
30
29
  nodes = [];
30
+ epochDuration;
31
31
  static async setup(opts = {}) {
32
32
  const test = new EpochsTestContext();
33
33
  await test.setup(opts);
@@ -36,19 +36,22 @@ export const ARCHIVER_POLL_INTERVAL = 50;
36
36
  async setup(opts = {}) {
37
37
  // Set up system without any account nor protocol contracts
38
38
  // and with faster block times and shorter epochs.
39
+ const aztecEpochDuration = opts.aztecEpochDuration ?? 4;
40
+ const proofSubmissionWindow = opts.aztecProofSubmissionWindow ?? aztecEpochDuration * 2 - 1;
39
41
  const context = await setup(0, {
40
42
  checkIntervalMs: 50,
41
43
  archiverPollingIntervalMS: ARCHIVER_POLL_INTERVAL,
42
44
  worldStateBlockCheckIntervalMS: WORLD_STATE_BLOCK_CHECK_INTERVAL,
43
45
  skipProtocolContracts: true,
44
46
  salt: 1,
45
- aztecEpochDuration: EPOCH_DURATION_IN_L2_SLOTS,
47
+ aztecEpochDuration,
46
48
  aztecSlotDuration: L1_BLOCK_TIME_IN_S * L2_SLOT_DURATION_IN_L1_SLOTS,
47
49
  ethereumSlotDuration: L1_BLOCK_TIME_IN_S,
48
- aztecProofSubmissionWindow: EPOCH_DURATION_IN_L2_SLOTS * 2 - 1,
50
+ aztecProofSubmissionWindow: proofSubmissionWindow,
49
51
  minTxsPerBlock: 0,
50
52
  realProofs: false,
51
53
  startProverNode: true,
54
+ proverTestDelayMs: opts.proverTestDelayMs ?? 0,
52
55
  // We use numeric incremental prover ids for simplicity, but we can switch to
53
56
  // using the prover's eth address if the proverId is used for something in the rollup contract
54
57
  proverId: Fr.fromString('1'),
@@ -78,12 +81,14 @@ export const ARCHIVER_POLL_INTERVAL = 50;
78
81
  throw new Error(`Could not find prover or sequencer delayer`);
79
82
  }
80
83
  // Constants used for time calculation
84
+ this.epochDuration = aztecEpochDuration;
81
85
  this.constants = {
82
- epochDuration: EPOCH_DURATION_IN_L2_SLOTS,
86
+ epochDuration: aztecEpochDuration,
83
87
  slotDuration: L1_BLOCK_TIME_IN_S * L2_SLOT_DURATION_IN_L1_SLOTS,
84
88
  l1StartBlock: await this.rollup.getL1StartBlock(),
85
89
  l1GenesisTime: await this.rollup.getL1GenesisTime(),
86
- ethereumSlotDuration: L1_BLOCK_TIME_IN_S
90
+ ethereumSlotDuration: L1_BLOCK_TIME_IN_S,
91
+ proofSubmissionWindow
87
92
  };
88
93
  this.logger.info(`L2 genesis at L1 block ${this.constants.l1StartBlock} (timestamp ${this.constants.l1GenesisTime})`);
89
94
  }
@@ -1 +1 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/fixtures/fixtures.ts"],"names":[],"mappings":";;AAAA,eAAO,MAAM,YAAY,OAAO,CAAC;AAEjC,eAAO,MAAM,oBAAoB,wBAKhC,CAAC;AAEF,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAEhD,eAAO,MAAM,QAAQ,gEAAgE,CAAC;AACtF,eAAO,MAAM,UAAU,QAAyF,CAAC;AACjH,eAAO,MAAM,WAAW,QAAyF,CAAC;AAGlH,eAAO,MAAM,oBAAoB,uEAAuE,CAAC;AACzG,eAAO,MAAM,mBAAmB,kEAAkE,CAAC;AACnG,eAAO,MAAM,qBAAqB,+EAA+E,CAAC;AAElH,eAAO,MAAM,yBAAyB,QAA6D,CAAC;AACpG,eAAO,MAAM,qBAAqB,QACwE,CAAC;AAC3G,eAAO,MAAM,oCAAoC,QAC+B,CAAC;AACjF,eAAO,MAAM,8BAA8B,QAAkE,CAAC;AAE9G,eAAO,MAAM,sBAAsB,SAAS,CAAC"}
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/fixtures/fixtures.ts"],"names":[],"mappings":";;AAAA,eAAO,MAAM,YAAY,OAAO,CAAC;AAEjC,eAAO,MAAM,oBAAoB,wBAKhC,CAAC;AAEF,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAEhD,eAAO,MAAM,QAAQ,gEAAgE,CAAC;AACtF,eAAO,MAAM,UAAU,QAAyF,CAAC;AACjH,eAAO,MAAM,WAAW,QAAyF,CAAC;AAGlH,eAAO,MAAM,oBAAoB,uEAAuE,CAAC;AACzG,eAAO,MAAM,mBAAmB,kEAAkE,CAAC;AACnG,eAAO,MAAM,qBAAqB,+EAA+E,CAAC;AAElH,eAAO,MAAM,yBAAyB,QAAgC,CAAC;AACvE,eAAO,MAAM,qBAAqB,QACwE,CAAC;AAC3G,eAAO,MAAM,oCAAoC,QAC+B,CAAC;AACjF,eAAO,MAAM,8BAA8B,QAAkE,CAAC;AAE9G,eAAO,MAAM,sBAAsB,SAAS,CAAC"}
@@ -14,7 +14,7 @@ export const U128_UNDERFLOW_ERROR = "Assertion failed: attempt to subtract with
14
14
  export const U128_OVERFLOW_ERROR = "Assertion failed: attempt to add with overflow 'self + other'";
15
15
  export const BITSIZE_TOO_BIG_ERROR = "Assertion failed: call to assert_max_bit_size 'self.__assert_max_bit_size'";
16
16
  // TODO(https://github.com/AztecProtocol/aztec-packages/issues/5818): Make these a fixed error after transition.
17
- export const DUPLICATE_NULLIFIER_ERROR = /dropped|duplicate nullifier|reverted|Nullifier collision/;
17
+ export const DUPLICATE_NULLIFIER_ERROR = /dropped|nullifier|reverted/i;
18
18
  export const NO_L1_TO_L2_MSG_ERROR = /No non-nullified L1 to L2 message found for message hash|Tried to consume nonexistent L1-to-L2 message/;
19
19
  export const STATIC_CALL_STATE_MODIFICATION_ERROR = /Static call cannot update the state, emit L2->L1 messages or generate logs.*/;
20
20
  export const STATIC_CONTEXT_ASSERTION_ERROR = /Assertion failed: Function .* can only be called statically.*/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/end-to-end",
3
- "version": "0.84.0-alpha-testnet.0",
3
+ "version": "0.84.0-nightly.20250405",
4
4
  "type": "module",
5
5
  "exports": "./dest/index.js",
6
6
  "inherits": [
@@ -26,37 +26,37 @@
26
26
  "formatting": "run -T prettier --check ./src && run -T eslint ./src"
27
27
  },
28
28
  "dependencies": {
29
- "@aztec/accounts": "0.84.0-alpha-testnet.0",
30
- "@aztec/archiver": "0.84.0-alpha-testnet.0",
31
- "@aztec/aztec": "0.84.0-alpha-testnet.0",
32
- "@aztec/aztec-node": "0.84.0-alpha-testnet.0",
33
- "@aztec/aztec.js": "0.84.0-alpha-testnet.0",
34
- "@aztec/bb-prover": "0.84.0-alpha-testnet.0",
35
- "@aztec/blob-lib": "0.84.0-alpha-testnet.0",
36
- "@aztec/blob-sink": "0.84.0-alpha-testnet.0",
37
- "@aztec/bot": "0.84.0-alpha-testnet.0",
38
- "@aztec/constants": "0.84.0-alpha-testnet.0",
39
- "@aztec/entrypoints": "0.84.0-alpha-testnet.0",
40
- "@aztec/epoch-cache": "0.84.0-alpha-testnet.0",
41
- "@aztec/ethereum": "0.84.0-alpha-testnet.0",
42
- "@aztec/foundation": "0.84.0-alpha-testnet.0",
43
- "@aztec/kv-store": "0.84.0-alpha-testnet.0",
44
- "@aztec/l1-artifacts": "0.84.0-alpha-testnet.0",
45
- "@aztec/merkle-tree": "0.84.0-alpha-testnet.0",
46
- "@aztec/noir-contracts.js": "0.84.0-alpha-testnet.0",
47
- "@aztec/noir-noirc_abi": "0.84.0-alpha-testnet.0",
48
- "@aztec/noir-protocol-circuits-types": "0.84.0-alpha-testnet.0",
49
- "@aztec/p2p": "0.84.0-alpha-testnet.0",
50
- "@aztec/protocol-contracts": "0.84.0-alpha-testnet.0",
51
- "@aztec/prover-client": "0.84.0-alpha-testnet.0",
52
- "@aztec/prover-node": "0.84.0-alpha-testnet.0",
53
- "@aztec/pxe": "0.84.0-alpha-testnet.0",
54
- "@aztec/sequencer-client": "0.84.0-alpha-testnet.0",
55
- "@aztec/simulator": "0.84.0-alpha-testnet.0",
56
- "@aztec/stdlib": "0.84.0-alpha-testnet.0",
57
- "@aztec/telemetry-client": "0.84.0-alpha-testnet.0",
58
- "@aztec/validator-client": "0.84.0-alpha-testnet.0",
59
- "@aztec/world-state": "0.84.0-alpha-testnet.0",
29
+ "@aztec/accounts": "0.84.0-nightly.20250405",
30
+ "@aztec/archiver": "0.84.0-nightly.20250405",
31
+ "@aztec/aztec": "0.84.0-nightly.20250405",
32
+ "@aztec/aztec-node": "0.84.0-nightly.20250405",
33
+ "@aztec/aztec.js": "0.84.0-nightly.20250405",
34
+ "@aztec/bb-prover": "0.84.0-nightly.20250405",
35
+ "@aztec/blob-lib": "0.84.0-nightly.20250405",
36
+ "@aztec/blob-sink": "0.84.0-nightly.20250405",
37
+ "@aztec/bot": "0.84.0-nightly.20250405",
38
+ "@aztec/constants": "0.84.0-nightly.20250405",
39
+ "@aztec/entrypoints": "0.84.0-nightly.20250405",
40
+ "@aztec/epoch-cache": "0.84.0-nightly.20250405",
41
+ "@aztec/ethereum": "0.84.0-nightly.20250405",
42
+ "@aztec/foundation": "0.84.0-nightly.20250405",
43
+ "@aztec/kv-store": "0.84.0-nightly.20250405",
44
+ "@aztec/l1-artifacts": "0.84.0-nightly.20250405",
45
+ "@aztec/merkle-tree": "0.84.0-nightly.20250405",
46
+ "@aztec/noir-contracts.js": "0.84.0-nightly.20250405",
47
+ "@aztec/noir-noirc_abi": "0.84.0-nightly.20250405",
48
+ "@aztec/noir-protocol-circuits-types": "0.84.0-nightly.20250405",
49
+ "@aztec/p2p": "0.84.0-nightly.20250405",
50
+ "@aztec/protocol-contracts": "0.84.0-nightly.20250405",
51
+ "@aztec/prover-client": "0.84.0-nightly.20250405",
52
+ "@aztec/prover-node": "0.84.0-nightly.20250405",
53
+ "@aztec/pxe": "0.84.0-nightly.20250405",
54
+ "@aztec/sequencer-client": "0.84.0-nightly.20250405",
55
+ "@aztec/simulator": "0.84.0-nightly.20250405",
56
+ "@aztec/stdlib": "0.84.0-nightly.20250405",
57
+ "@aztec/telemetry-client": "0.84.0-nightly.20250405",
58
+ "@aztec/validator-client": "0.84.0-nightly.20250405",
59
+ "@aztec/world-state": "0.84.0-nightly.20250405",
60
60
  "@iarna/toml": "^2.2.5",
61
61
  "@jest/globals": "^29.5.0",
62
62
  "@msgpack/msgpack": "^3.0.0-beta2",
@@ -24,13 +24,14 @@ import {
24
24
 
25
25
  // This can be lowered to as much as 2s in non-CI
26
26
  export const L1_BLOCK_TIME_IN_S = process.env.L1_BLOCK_TIME ? parseInt(process.env.L1_BLOCK_TIME) : 8;
27
- export const EPOCH_DURATION_IN_L2_SLOTS = 4;
28
27
  export const L2_SLOT_DURATION_IN_L1_SLOTS = 2;
29
28
  export const WORLD_STATE_BLOCK_HISTORY = 2;
30
29
  export const WORLD_STATE_BLOCK_CHECK_INTERVAL = 50;
31
30
  export const ARCHIVER_POLL_INTERVAL = 50;
32
31
 
33
- export type EpochsTestOpts = Partial<Pick<SetupOptions, 'startProverNode'>>;
32
+ export type EpochsTestOpts = Partial<
33
+ Pick<SetupOptions, 'startProverNode' | 'aztecProofSubmissionWindow' | 'aztecEpochDuration' | 'proverTestDelayMs'>
34
+ >;
34
35
 
35
36
  /**
36
37
  * Tests building of epochs using fast block times and short epochs.
@@ -50,6 +51,8 @@ export class EpochsTestContext {
50
51
  public proverNodes: ProverNode[] = [];
51
52
  public nodes: AztecNodeService[] = [];
52
53
 
54
+ public epochDuration!: number;
55
+
53
56
  public static async setup(opts: EpochsTestOpts = {}) {
54
57
  const test = new EpochsTestContext();
55
58
  await test.setup(opts);
@@ -59,19 +62,22 @@ export class EpochsTestContext {
59
62
  public async setup(opts: EpochsTestOpts = {}) {
60
63
  // Set up system without any account nor protocol contracts
61
64
  // and with faster block times and shorter epochs.
65
+ const aztecEpochDuration = opts.aztecEpochDuration ?? 4;
66
+ const proofSubmissionWindow = opts.aztecProofSubmissionWindow ?? aztecEpochDuration * 2 - 1;
62
67
  const context = await setup(0, {
63
68
  checkIntervalMs: 50,
64
69
  archiverPollingIntervalMS: ARCHIVER_POLL_INTERVAL,
65
70
  worldStateBlockCheckIntervalMS: WORLD_STATE_BLOCK_CHECK_INTERVAL,
66
71
  skipProtocolContracts: true,
67
72
  salt: 1,
68
- aztecEpochDuration: EPOCH_DURATION_IN_L2_SLOTS,
73
+ aztecEpochDuration,
69
74
  aztecSlotDuration: L1_BLOCK_TIME_IN_S * L2_SLOT_DURATION_IN_L1_SLOTS,
70
75
  ethereumSlotDuration: L1_BLOCK_TIME_IN_S,
71
- aztecProofSubmissionWindow: EPOCH_DURATION_IN_L2_SLOTS * 2 - 1,
76
+ aztecProofSubmissionWindow: proofSubmissionWindow,
72
77
  minTxsPerBlock: 0,
73
78
  realProofs: false,
74
79
  startProverNode: true,
80
+ proverTestDelayMs: opts.proverTestDelayMs ?? 0,
75
81
  // We use numeric incremental prover ids for simplicity, but we can switch to
76
82
  // using the prover's eth address if the proverId is used for something in the rollup contract
77
83
  proverId: Fr.fromString('1'),
@@ -106,12 +112,14 @@ export class EpochsTestContext {
106
112
  }
107
113
 
108
114
  // Constants used for time calculation
115
+ this.epochDuration = aztecEpochDuration;
109
116
  this.constants = {
110
- epochDuration: EPOCH_DURATION_IN_L2_SLOTS,
117
+ epochDuration: aztecEpochDuration,
111
118
  slotDuration: L1_BLOCK_TIME_IN_S * L2_SLOT_DURATION_IN_L1_SLOTS,
112
119
  l1StartBlock: await this.rollup.getL1StartBlock(),
113
120
  l1GenesisTime: await this.rollup.getL1GenesisTime(),
114
121
  ethereumSlotDuration: L1_BLOCK_TIME_IN_S,
122
+ proofSubmissionWindow,
115
123
  };
116
124
 
117
125
  this.logger.info(
@@ -18,7 +18,7 @@ export const U128_UNDERFLOW_ERROR = "Assertion failed: attempt to subtract with
18
18
  export const U128_OVERFLOW_ERROR = "Assertion failed: attempt to add with overflow 'self + other'";
19
19
  export const BITSIZE_TOO_BIG_ERROR = "Assertion failed: call to assert_max_bit_size 'self.__assert_max_bit_size'";
20
20
  // TODO(https://github.com/AztecProtocol/aztec-packages/issues/5818): Make these a fixed error after transition.
21
- export const DUPLICATE_NULLIFIER_ERROR = /dropped|duplicate nullifier|reverted|Nullifier collision/;
21
+ export const DUPLICATE_NULLIFIER_ERROR = /dropped|nullifier|reverted/i;
22
22
  export const NO_L1_TO_L2_MSG_ERROR =
23
23
  /No non-nullified L1 to L2 message found for message hash|Tried to consume nonexistent L1-to-L2 message/;
24
24
  export const STATIC_CALL_STATE_MODIFICATION_ERROR =
@@ -4,6 +4,7 @@
4
4
  set -eux
5
5
 
6
6
  export WALLET_DATA_DIRECTORY=$(mktemp -d)/up_quick_start
7
+ export PXE_PROVER="none"
7
8
 
8
9
  function on_exit {
9
10
  echo "Cleaning up $WALLET_DATA_DIRECTORY..."