@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.
- package/dest/bench/client_flows/client_flows_benchmark.d.ts +3 -3
- package/dest/bench/client_flows/client_flows_benchmark.d.ts.map +1 -1
- package/dest/bench/client_flows/client_flows_benchmark.js +1 -1
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts +4 -4
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts.map +1 -1
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.js +1 -1
- package/dest/e2e_epochs/epochs_test.d.ts +1 -1
- package/dest/e2e_epochs/epochs_test.d.ts.map +1 -1
- package/dest/e2e_epochs/epochs_test.js +0 -2
- package/dest/e2e_fees/fees_test.d.ts +3 -3
- package/dest/e2e_fees/fees_test.d.ts.map +1 -1
- package/dest/e2e_p2p/inactivity_slash_test.d.ts +1 -1
- package/dest/e2e_p2p/inactivity_slash_test.d.ts.map +1 -1
- package/dest/e2e_p2p/inactivity_slash_test.js +3 -6
- package/dest/e2e_p2p/p2p_network.d.ts +4 -5
- package/dest/e2e_p2p/p2p_network.d.ts.map +1 -1
- package/dest/e2e_p2p/p2p_network.js +6 -8
- package/dest/fixtures/e2e_prover_test.d.ts +3 -3
- package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
- package/dest/fixtures/e2e_prover_test.js +0 -1
- package/dest/fixtures/setup_p2p_test.js +3 -3
- package/dest/fixtures/snapshot_manager.d.ts +6 -6
- package/dest/fixtures/snapshot_manager.d.ts.map +1 -1
- package/dest/fixtures/snapshot_manager.js +18 -10
- package/dest/fixtures/utils.d.ts +9 -459
- package/dest/fixtures/utils.d.ts.map +1 -1
- package/dest/fixtures/utils.js +22 -54
- package/dest/fixtures/with_telemetry_utils.d.ts +2 -2
- package/dest/fixtures/with_telemetry_utils.d.ts.map +1 -1
- package/dest/fixtures/with_telemetry_utils.js +2 -2
- package/dest/shared/cross_chain_test_harness.js +1 -1
- package/dest/shared/uniswap_l1_l2.d.ts +3 -3
- package/dest/shared/uniswap_l1_l2.d.ts.map +1 -1
- package/dest/shared/uniswap_l1_l2.js +1 -1
- package/dest/spartan/tx_metrics.d.ts +39 -0
- package/dest/spartan/tx_metrics.d.ts.map +1 -0
- package/dest/spartan/tx_metrics.js +95 -0
- package/dest/spartan/utils.d.ts +2 -2
- package/dest/spartan/utils.d.ts.map +1 -1
- package/dest/spartan/utils.js +2 -2
- package/package.json +38 -38
- package/src/bench/client_flows/client_flows_benchmark.ts +3 -2
- package/src/e2e_cross_chain_messaging/cross_chain_messaging_test.ts +11 -7
- package/src/e2e_epochs/epochs_test.ts +0 -2
- package/src/e2e_fees/fees_test.ts +2 -2
- package/src/e2e_p2p/inactivity_slash_test.ts +3 -6
- package/src/e2e_p2p/p2p_network.ts +4 -10
- package/src/fixtures/e2e_prover_test.ts +3 -3
- package/src/fixtures/setup_p2p_test.ts +3 -3
- package/src/fixtures/snapshot_manager.ts +34 -16
- package/src/fixtures/utils.ts +50 -103
- package/src/fixtures/with_telemetry_utils.ts +2 -2
- package/src/shared/cross_chain_test_harness.ts +1 -1
- package/src/shared/uniswap_l1_l2.ts +4 -3
- package/src/spartan/tx_metrics.ts +130 -0
- package/src/spartan/utils.ts +2 -2
- package/dest/fixtures/setup_l1_contracts.d.ts +0 -477
- package/dest/fixtures/setup_l1_contracts.d.ts.map +0 -1
- package/dest/fixtures/setup_l1_contracts.js +0 -17
- 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
|
-
};
|