@aztec/aztec-node 4.1.0-nightly.20260315 → 4.1.0-nightly.20260317

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.
@@ -377,7 +377,7 @@ import { createBlobClientWithFileStores } from '@aztec/blob-client/client';
377
377
  import { Blob } from '@aztec/blob-lib';
378
378
  import { EpochCache } from '@aztec/epoch-cache';
379
379
  import { createEthereumChain } from '@aztec/ethereum/chain';
380
- import { getPublicClient } from '@aztec/ethereum/client';
380
+ import { getPublicClient, makeL1HttpTransport } from '@aztec/ethereum/client';
381
381
  import { RegistryContract, RollupContract } from '@aztec/ethereum/contracts';
382
382
  import { BlockNumber } from '@aztec/foundation/branded-types';
383
383
  import { chunkBy, compactArray, pick, unique } from '@aztec/foundation/collection';
@@ -413,7 +413,7 @@ import { getPackageVersion } from '@aztec/stdlib/update-checker';
413
413
  import { Attributes, getTelemetryClient, trackSpan } from '@aztec/telemetry-client';
414
414
  import { FullNodeCheckpointsBuilder as CheckpointsBuilder, FullNodeCheckpointsBuilder, NodeKeystoreAdapter, ValidatorClient, createBlockProposalHandler, createValidatorClient } from '@aztec/validator-client';
415
415
  import { createWorldStateSynchronizer } from '@aztec/world-state';
416
- import { createPublicClient, fallback, http } from 'viem';
416
+ import { createPublicClient } from 'viem';
417
417
  import { createSentinel } from '../sentinel/factory.js';
418
418
  import { createKeyStoreForValidator } from './config.js';
419
419
  import { NodeMetrics } from './node_metrics.js';
@@ -559,9 +559,9 @@ _dec = trackSpan('AztecNodeService.simulatePublicCalls', (tx)=>({
559
559
  }
560
560
  const publicClient = createPublicClient({
561
561
  chain: ethereumChain.chainInfo,
562
- transport: fallback(config.l1RpcUrls.map((url)=>http(url, {
563
- batch: false
564
- }))),
562
+ transport: makeL1HttpTransport(config.l1RpcUrls, {
563
+ timeout: config.l1HttpTimeoutMS
564
+ }),
565
565
  pollingInterval: config.viemPollingIntervalMS
566
566
  });
567
567
  const l1ContractsAddresses = await RegistryContract.collectAddresses(publicClient, config.l1Contracts.registryAddress, config.rollupVersion ?? 'canonical');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/aztec-node",
3
- "version": "4.1.0-nightly.20260315",
3
+ "version": "4.1.0-nightly.20260317",
4
4
  "main": "dest/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -65,32 +65,32 @@
65
65
  ]
66
66
  },
67
67
  "dependencies": {
68
- "@aztec/archiver": "4.1.0-nightly.20260315",
69
- "@aztec/bb-prover": "4.1.0-nightly.20260315",
70
- "@aztec/blob-client": "4.1.0-nightly.20260315",
71
- "@aztec/blob-lib": "4.1.0-nightly.20260315",
72
- "@aztec/constants": "4.1.0-nightly.20260315",
73
- "@aztec/epoch-cache": "4.1.0-nightly.20260315",
74
- "@aztec/ethereum": "4.1.0-nightly.20260315",
75
- "@aztec/foundation": "4.1.0-nightly.20260315",
76
- "@aztec/kv-store": "4.1.0-nightly.20260315",
77
- "@aztec/l1-artifacts": "4.1.0-nightly.20260315",
78
- "@aztec/merkle-tree": "4.1.0-nightly.20260315",
79
- "@aztec/node-keystore": "4.1.0-nightly.20260315",
80
- "@aztec/node-lib": "4.1.0-nightly.20260315",
81
- "@aztec/noir-protocol-circuits-types": "4.1.0-nightly.20260315",
82
- "@aztec/p2p": "4.1.0-nightly.20260315",
83
- "@aztec/protocol-contracts": "4.1.0-nightly.20260315",
84
- "@aztec/prover-client": "4.1.0-nightly.20260315",
85
- "@aztec/prover-node": "4.1.0-nightly.20260315",
86
- "@aztec/sequencer-client": "4.1.0-nightly.20260315",
87
- "@aztec/simulator": "4.1.0-nightly.20260315",
88
- "@aztec/slasher": "4.1.0-nightly.20260315",
89
- "@aztec/stdlib": "4.1.0-nightly.20260315",
90
- "@aztec/telemetry-client": "4.1.0-nightly.20260315",
91
- "@aztec/validator-client": "4.1.0-nightly.20260315",
92
- "@aztec/validator-ha-signer": "4.1.0-nightly.20260315",
93
- "@aztec/world-state": "4.1.0-nightly.20260315",
68
+ "@aztec/archiver": "4.1.0-nightly.20260317",
69
+ "@aztec/bb-prover": "4.1.0-nightly.20260317",
70
+ "@aztec/blob-client": "4.1.0-nightly.20260317",
71
+ "@aztec/blob-lib": "4.1.0-nightly.20260317",
72
+ "@aztec/constants": "4.1.0-nightly.20260317",
73
+ "@aztec/epoch-cache": "4.1.0-nightly.20260317",
74
+ "@aztec/ethereum": "4.1.0-nightly.20260317",
75
+ "@aztec/foundation": "4.1.0-nightly.20260317",
76
+ "@aztec/kv-store": "4.1.0-nightly.20260317",
77
+ "@aztec/l1-artifacts": "4.1.0-nightly.20260317",
78
+ "@aztec/merkle-tree": "4.1.0-nightly.20260317",
79
+ "@aztec/node-keystore": "4.1.0-nightly.20260317",
80
+ "@aztec/node-lib": "4.1.0-nightly.20260317",
81
+ "@aztec/noir-protocol-circuits-types": "4.1.0-nightly.20260317",
82
+ "@aztec/p2p": "4.1.0-nightly.20260317",
83
+ "@aztec/protocol-contracts": "4.1.0-nightly.20260317",
84
+ "@aztec/prover-client": "4.1.0-nightly.20260317",
85
+ "@aztec/prover-node": "4.1.0-nightly.20260317",
86
+ "@aztec/sequencer-client": "4.1.0-nightly.20260317",
87
+ "@aztec/simulator": "4.1.0-nightly.20260317",
88
+ "@aztec/slasher": "4.1.0-nightly.20260317",
89
+ "@aztec/stdlib": "4.1.0-nightly.20260317",
90
+ "@aztec/telemetry-client": "4.1.0-nightly.20260317",
91
+ "@aztec/validator-client": "4.1.0-nightly.20260317",
92
+ "@aztec/validator-ha-signer": "4.1.0-nightly.20260317",
93
+ "@aztec/world-state": "4.1.0-nightly.20260317",
94
94
  "koa": "^2.16.1",
95
95
  "koa-router": "^13.1.1",
96
96
  "tslib": "^2.4.0",
@@ -5,7 +5,7 @@ import { Blob } from '@aztec/blob-lib';
5
5
  import { ARCHIVE_HEIGHT, type L1_TO_L2_MSG_TREE_HEIGHT, type NOTE_HASH_TREE_HEIGHT } from '@aztec/constants';
6
6
  import { EpochCache, type EpochCacheInterface } from '@aztec/epoch-cache';
7
7
  import { createEthereumChain } from '@aztec/ethereum/chain';
8
- import { getPublicClient } from '@aztec/ethereum/client';
8
+ import { getPublicClient, makeL1HttpTransport } from '@aztec/ethereum/client';
9
9
  import { RegistryContract, RollupContract } from '@aztec/ethereum/contracts';
10
10
  import type { L1ContractAddresses } from '@aztec/ethereum/l1-contract-addresses';
11
11
  import { BlockNumber, CheckpointNumber, EpochNumber, SlotNumber } from '@aztec/foundation/branded-types';
@@ -113,7 +113,7 @@ import {
113
113
  } from '@aztec/validator-client';
114
114
  import { createWorldStateSynchronizer } from '@aztec/world-state';
115
115
 
116
- import { createPublicClient, fallback, http } from 'viem';
116
+ import { createPublicClient } from 'viem';
117
117
 
118
118
  import { createSentinel } from '../sentinel/factory.js';
119
119
  import { Sentinel } from '../sentinel/sentinel.js';
@@ -257,7 +257,7 @@ export class AztecNodeService implements AztecNode, AztecNodeAdmin, Traceable {
257
257
 
258
258
  const publicClient = createPublicClient({
259
259
  chain: ethereumChain.chainInfo,
260
- transport: fallback(config.l1RpcUrls.map((url: string) => http(url, { batch: false }))),
260
+ transport: makeL1HttpTransport(config.l1RpcUrls, { timeout: config.l1HttpTimeoutMS }),
261
261
  pollingInterval: config.viemPollingIntervalMS,
262
262
  });
263
263