@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.
- package/dest/aztec-node/server.js +5 -5
- package/package.json +27 -27
- package/src/aztec-node/server.ts +3 -3
|
@@ -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
|
|
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:
|
|
563
|
-
|
|
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.
|
|
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.
|
|
69
|
-
"@aztec/bb-prover": "4.1.0-nightly.
|
|
70
|
-
"@aztec/blob-client": "4.1.0-nightly.
|
|
71
|
-
"@aztec/blob-lib": "4.1.0-nightly.
|
|
72
|
-
"@aztec/constants": "4.1.0-nightly.
|
|
73
|
-
"@aztec/epoch-cache": "4.1.0-nightly.
|
|
74
|
-
"@aztec/ethereum": "4.1.0-nightly.
|
|
75
|
-
"@aztec/foundation": "4.1.0-nightly.
|
|
76
|
-
"@aztec/kv-store": "4.1.0-nightly.
|
|
77
|
-
"@aztec/l1-artifacts": "4.1.0-nightly.
|
|
78
|
-
"@aztec/merkle-tree": "4.1.0-nightly.
|
|
79
|
-
"@aztec/node-keystore": "4.1.0-nightly.
|
|
80
|
-
"@aztec/node-lib": "4.1.0-nightly.
|
|
81
|
-
"@aztec/noir-protocol-circuits-types": "4.1.0-nightly.
|
|
82
|
-
"@aztec/p2p": "4.1.0-nightly.
|
|
83
|
-
"@aztec/protocol-contracts": "4.1.0-nightly.
|
|
84
|
-
"@aztec/prover-client": "4.1.0-nightly.
|
|
85
|
-
"@aztec/prover-node": "4.1.0-nightly.
|
|
86
|
-
"@aztec/sequencer-client": "4.1.0-nightly.
|
|
87
|
-
"@aztec/simulator": "4.1.0-nightly.
|
|
88
|
-
"@aztec/slasher": "4.1.0-nightly.
|
|
89
|
-
"@aztec/stdlib": "4.1.0-nightly.
|
|
90
|
-
"@aztec/telemetry-client": "4.1.0-nightly.
|
|
91
|
-
"@aztec/validator-client": "4.1.0-nightly.
|
|
92
|
-
"@aztec/validator-ha-signer": "4.1.0-nightly.
|
|
93
|
-
"@aztec/world-state": "4.1.0-nightly.
|
|
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",
|
package/src/aztec-node/server.ts
CHANGED
|
@@ -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
|
|
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:
|
|
260
|
+
transport: makeL1HttpTransport(config.l1RpcUrls, { timeout: config.l1HttpTimeoutMS }),
|
|
261
261
|
pollingInterval: config.viemPollingIntervalMS,
|
|
262
262
|
});
|
|
263
263
|
|