@aztec/end-to-end 3.0.0-nightly.20251211 → 3.0.0-nightly.20251213

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.
Files changed (60) hide show
  1. package/dest/bench/client_flows/client_flows_benchmark.d.ts +3 -3
  2. package/dest/bench/client_flows/client_flows_benchmark.d.ts.map +1 -1
  3. package/dest/bench/client_flows/client_flows_benchmark.js +1 -1
  4. package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts +4 -4
  5. package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts.map +1 -1
  6. package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.js +1 -1
  7. package/dest/e2e_epochs/epochs_test.d.ts +1 -1
  8. package/dest/e2e_epochs/epochs_test.d.ts.map +1 -1
  9. package/dest/e2e_epochs/epochs_test.js +0 -2
  10. package/dest/e2e_fees/fees_test.d.ts +3 -3
  11. package/dest/e2e_fees/fees_test.d.ts.map +1 -1
  12. package/dest/e2e_p2p/inactivity_slash_test.d.ts +1 -1
  13. package/dest/e2e_p2p/inactivity_slash_test.d.ts.map +1 -1
  14. package/dest/e2e_p2p/inactivity_slash_test.js +3 -6
  15. package/dest/e2e_p2p/p2p_network.d.ts +4 -5
  16. package/dest/e2e_p2p/p2p_network.d.ts.map +1 -1
  17. package/dest/e2e_p2p/p2p_network.js +6 -8
  18. package/dest/fixtures/e2e_prover_test.d.ts +3 -3
  19. package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
  20. package/dest/fixtures/e2e_prover_test.js +0 -1
  21. package/dest/fixtures/setup_p2p_test.js +3 -3
  22. package/dest/fixtures/snapshot_manager.d.ts +6 -6
  23. package/dest/fixtures/snapshot_manager.d.ts.map +1 -1
  24. package/dest/fixtures/snapshot_manager.js +18 -10
  25. package/dest/fixtures/utils.d.ts +9 -459
  26. package/dest/fixtures/utils.d.ts.map +1 -1
  27. package/dest/fixtures/utils.js +22 -54
  28. package/dest/fixtures/with_telemetry_utils.d.ts +2 -2
  29. package/dest/fixtures/with_telemetry_utils.d.ts.map +1 -1
  30. package/dest/fixtures/with_telemetry_utils.js +2 -2
  31. package/dest/shared/cross_chain_test_harness.js +1 -1
  32. package/dest/shared/uniswap_l1_l2.d.ts +3 -3
  33. package/dest/shared/uniswap_l1_l2.d.ts.map +1 -1
  34. package/dest/shared/uniswap_l1_l2.js +1 -1
  35. package/dest/spartan/tx_metrics.d.ts +39 -0
  36. package/dest/spartan/tx_metrics.d.ts.map +1 -0
  37. package/dest/spartan/tx_metrics.js +95 -0
  38. package/dest/spartan/utils.d.ts +2 -2
  39. package/dest/spartan/utils.d.ts.map +1 -1
  40. package/dest/spartan/utils.js +2 -2
  41. package/package.json +38 -38
  42. package/src/bench/client_flows/client_flows_benchmark.ts +3 -2
  43. package/src/e2e_cross_chain_messaging/cross_chain_messaging_test.ts +11 -7
  44. package/src/e2e_epochs/epochs_test.ts +0 -2
  45. package/src/e2e_fees/fees_test.ts +2 -2
  46. package/src/e2e_p2p/inactivity_slash_test.ts +3 -6
  47. package/src/e2e_p2p/p2p_network.ts +4 -10
  48. package/src/fixtures/e2e_prover_test.ts +3 -3
  49. package/src/fixtures/setup_p2p_test.ts +3 -3
  50. package/src/fixtures/snapshot_manager.ts +34 -16
  51. package/src/fixtures/utils.ts +50 -103
  52. package/src/fixtures/with_telemetry_utils.ts +2 -2
  53. package/src/shared/cross_chain_test_harness.ts +1 -1
  54. package/src/shared/uniswap_l1_l2.ts +4 -3
  55. package/src/spartan/tx_metrics.ts +130 -0
  56. package/src/spartan/utils.ts +2 -2
  57. package/dest/fixtures/setup_l1_contracts.d.ts +0 -477
  58. package/dest/fixtures/setup_l1_contracts.d.ts.map +0 -1
  59. package/dest/fixtures/setup_l1_contracts.js +0 -17
  60. package/src/fixtures/setup_l1_contracts.ts +0 -27
@@ -1,17 +0,0 @@
1
- import { deployL1Contracts } from '@aztec/ethereum/deploy-l1-contracts';
2
- import { getVKTreeRoot } from '@aztec/noir-protocol-circuits-types/vk-tree';
3
- import { protocolContractsHash } from '@aztec/protocol-contracts';
4
- import { foundry } from 'viem/chains';
5
- export { deployAndInitializeTokenAndBridgeContracts } from '../shared/cross_chain_test_harness.js';
6
- export const setupL1Contracts = async (l1RpcUrl, account, logger, args)=>{
7
- const l1Data = await deployL1Contracts([
8
- l1RpcUrl
9
- ], account, foundry, logger, {
10
- vkTreeRoot: getVKTreeRoot(),
11
- protocolContractsHash,
12
- salt: undefined,
13
- realVerifier: false,
14
- ...args
15
- });
16
- return l1Data;
17
- };
@@ -1,27 +0,0 @@
1
- import type { Logger } from '@aztec/aztec.js/log';
2
- import type { L1ContractsConfig } from '@aztec/ethereum/config';
3
- import { type DeployL1ContractsArgs, deployL1Contracts } from '@aztec/ethereum/deploy-l1-contracts';
4
- import { getVKTreeRoot } from '@aztec/noir-protocol-circuits-types/vk-tree';
5
- import { protocolContractsHash } from '@aztec/protocol-contracts';
6
-
7
- import type { HDAccount, PrivateKeyAccount } from 'viem';
8
- import { foundry } from 'viem/chains';
9
-
10
- export { deployAndInitializeTokenAndBridgeContracts } from '../shared/cross_chain_test_harness.js';
11
-
12
- export const setupL1Contracts = async (
13
- l1RpcUrl: string,
14
- account: HDAccount | PrivateKeyAccount,
15
- logger: Logger,
16
- args: Pick<DeployL1ContractsArgs, 'genesisArchiveRoot' | 'initialValidators'> & L1ContractsConfig,
17
- ) => {
18
- const l1Data = await deployL1Contracts([l1RpcUrl], account, foundry, logger, {
19
- vkTreeRoot: getVKTreeRoot(),
20
- protocolContractsHash,
21
- salt: undefined,
22
- realVerifier: false,
23
- ...args,
24
- });
25
-
26
- return l1Data;
27
- };